Re: [ovirt-users] HELP ESXI SERVER UNDER OVIRT-ENGINE

2016-11-21 Thread Barak Korren
On 22 November 2016 at 09:05, Ali Mumcu  wrote:
> Hello Friends;
> I wanna to learn something about  if it is possible or not.
> Can we run esxı servers under the ovirt-engine ?
> Thanks.

No.
For ESXi-like minimal hypervisor image you can try ovirt-node.
If you want to manage multiple virtualization systems from the same UI
you can try ManageIQ [1].

[1]: http://manageiq.org/

-- 
Barak Korren
bkor...@redhat.com
RHEV-CI Team
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] HELP ESXI SERVER UNDER OVIRT-ENGINE

2016-11-21 Thread Ali Mumcu
Hello Friends;
I wanna to learn something about  if it is possible or not.
Can we run esxı servers under the ovirt-engine ?
Thanks.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] oVirt 4 and Neutron

2016-11-21 Thread Devin Acosta

oVirt Users:

My work is currently deploying oVirt 4.0.5 into our Development 
environment. I see there use to be a maintained Openstack Neutron image 
that could be used with oVirt to provide SDN functionality. I'm 
suspecting that the reason for the image no longer being maintained is 
because it became a hassle to keep updated and patched. From what I 
understand the current idea is to just point your oVirt installation to 
an already installed Openstack setup. I can easily install an image and 
install the latest Openstack (Keystone/Neutron) and then point oVirt to 
it, but I want to understand if that is the proper way to move forward. 
Is there a general consensus with the way oVirt is moving in regards to 
Software Defined Networking and Neutron in general? Just want to ensure 
I understand it clearly before just installing my own Neutron if there 
is going to be another method.


Any feedback is appreciated.

Devin Acosta RHCA



smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Unable to add host

2016-11-21 Thread Phillip Bailey
On Sun, Nov 20, 2016 at 10:54 AM, Oscar Segarra 
wrote:

>
>
> I'd like to know the difference between None, Deploy and Undeploy from the
> Hosted Engine option as well:
>
> [image: Imágenes integradas 1]
>
>
These options are referring to the deployment of hosted engine components
that allow the hosted engine VM to run on a host. You can get more
information from the feature page [1]. I am currently working on improving
the UI around this functionality [2], so please let me know if you have any
additional questions after checking out the feature page.

[1]
http://www.ovirt.org/develop/release-management/features/sla/deploy-hosted-engine-hosts-via-engine/
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1369827


> Thanks a lot.
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] kdump integration warnings

2016-11-21 Thread Michael Watters
I have two brand new ovirt hosts running ovirt 3.6 which are giving a
warning message whenever the host is activated.

>Kdump integration is enabled for host ovirt-node-production1, but
kdump is not configured properly on host.

The server does have the kdump package installed and the service is
running according to systemctl.  Do I need to update the
/etc/kdump.conf file to work properly or does ovirt do that on its own?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Self hosted single server network requirements

2016-11-21 Thread Derek Atkins
Hi,

On Mon, November 21, 2016 4:30 pm, Mark Steckel wrote:
>
[snip]
>> >> > Advice so far seems to be:
>> >> > * Use 'screen' when deploying. Easy
>> >> > * Don't use/disable Network-Manager. Easy
>> >> > * Preconfigure the ovirtmgmt bridge. I've got questions...
>> >> >
>> >> > The server has a public /32 as the primary IP, and a public /29
>> which
>> >> > will be used for the VMs.
>> >> >
>> >> > Besides creating the ovirtmgmt bridge is there anything specific
>> for
>> >> > how I should configure it?
[snip]
>
> Yeah, I was hoping that would be the case for me too. :-)

For what it's worth, it took me about 4 tries to get it all working.
I wound up using a script I found to clean the host and re-install it all.
 Of course the cleanup process let the firewall in a state where it
blocked all traffic (including SSH), but I figured that part out on the
2nd try so added it back into my script for the 3rd.  ;)

The other difference is that I had already created a bond0 interface which
was my default (with a non-NM-controlled static network).  However, that
shouldn't have made a difference.

>> What did your /etc/sysconfig/network-scripts/ifcfg- file look like?
>> (And what does the ifcfg-ovirtmgmt file look like)?
>
> Sadly, thinking I messed things up I scrubbed the machine and started
> over. I have a fresh CentOS 7.2 install waiting to run 'hosted-engine
> --deploy' on it once I have a better sense what if anything I need to
> prepare from a networking stand point.

Okay, so go and try it!  :)

Worst case, you need to run hosted-engine-cleanup.sh and then reset the
firewall and reboot, and then re-install everything:

https://access.redhat.com/documentation/en/red-hat-virtualization/4.0/paged/self-hosted-engine-guide/chapter-2-deploying-self-hosted-engine
http://www.ovirt.org/documentation/how-to/hosted-engine/#fresh-install

[snip]
>> >> As for the /29 -- don't worry about it now, that would be a routing
>> >> issue you can apply later.  Is it the same network as the /32?  Or is
>> it
>> >> a different network?
>> >
>> > Different.
>>
>> I assume both networks are available on your host interface?
>
> At this point only the /32 is on the host interface. The /29 is not
> assigned at the moment.

You shouldn't need to "assign" anything in the /29 to the host.  All
that's important is that the physical network can reach the /29.  I.e.,
you could do something like:

 /32   /32/29
router --- host   VMs
 /29

The host will bridge the network to the VMs, but it can be on a different
network.

> Mark

-derek

-- 
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Self hosted single server network requirements

2016-11-21 Thread Mark Steckel

- Derek Atkins  wrote:
> Hi,
> 
> On Mon, November 21, 2016 4:21 pm, Mark Steckel wrote:
> >
> > - Derek Atkins  wrote:
> >> Hi,
> >>
> >> Mark Steckel  writes:
> >>
> >> > Thanks all who have responded so far.
> >> >
> >> > Advice so far seems to be:
> >> > * Use 'screen' when deploying. Easy
> >> > * Don't use/disable Network-Manager. Easy
> >> > * Preconfigure the ovirtmgmt bridge. I've got questions...
> >> >
> >> > The server has a public /32 as the primary IP, and a public /29 which
> >> > will be used for the VMs.
> >> >
> >> > Besides creating the ovirtmgmt bridge is there anything specific for
> >> > how I should configure it?
> >>
> >> My recommendation is that you just set up non-NM-controlled static
> >> network using your public /32.  Then the hosted-engine --deploy process
> >> should take that config and apply it to ovirtmgmt bridge.  At least,
> >> that's what happened for me when I did it.  I don't think you need to
> >> set up the ovirtmgmt bridge manually.
> >
> > This is what I initially did and then lost Internet access when the /32
> > was migrated to the ovirtmgmt bridge.
> >
> > I then used KVM console access to access the box, but it could no longer
> > access it's public gateway. It was at this point then I surmised that
> > something was amiss.
> 
> Hmm.  That's odd.  "If worked for me"..

Yeah, I was hoping that would be the case for me too. :-)

> 
> What did your /etc/sysconfig/network-scripts/ifcfg- file look like? 
> (And what does the ifcfg-ovirtmgmt file look like)?

Sadly, thinking I messed things up I scrubbed the machine and started over. I 
have a fresh CentOS 7.2 install waiting to run 'hosted-engine --deploy' on it 
once I have a better sense what if anything I need to prepare from a networking 
stand point.





> 
> >
> >>
> >> As for the /29 -- don't worry about it now, that would be a routing
> >> issue you can apply later.  Is it the same network as the /32?  Or is it
> >> a different network?
> >
> > Different.
> 
> I assume both networks are available on your host interface?

At this point only the /32 is on the host interface. The /29 is not assigned at 
the moment.

Mark



> 
> -derek
> 
> -- 
>Derek Atkins 617-623-3745
>de...@ihtfp.com www.ihtfp.com
>Computer and Internet Security Consultant
> 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Self hosted single server network requirements

2016-11-21 Thread Derek Atkins
Hi,

On Mon, November 21, 2016 4:21 pm, Mark Steckel wrote:
>
> - Derek Atkins  wrote:
>> Hi,
>>
>> Mark Steckel  writes:
>>
>> > Thanks all who have responded so far.
>> >
>> > Advice so far seems to be:
>> > * Use 'screen' when deploying. Easy
>> > * Don't use/disable Network-Manager. Easy
>> > * Preconfigure the ovirtmgmt bridge. I've got questions...
>> >
>> > The server has a public /32 as the primary IP, and a public /29 which
>> > will be used for the VMs.
>> >
>> > Besides creating the ovirtmgmt bridge is there anything specific for
>> > how I should configure it?
>>
>> My recommendation is that you just set up non-NM-controlled static
>> network using your public /32.  Then the hosted-engine --deploy process
>> should take that config and apply it to ovirtmgmt bridge.  At least,
>> that's what happened for me when I did it.  I don't think you need to
>> set up the ovirtmgmt bridge manually.
>
> This is what I initially did and then lost Internet access when the /32
> was migrated to the ovirtmgmt bridge.
>
> I then used KVM console access to access the box, but it could no longer
> access it's public gateway. It was at this point then I surmised that
> something was amiss.

Hmm.  That's odd.  "If worked for me"..

What did your /etc/sysconfig/network-scripts/ifcfg- file look like? 
(And what does the ifcfg-ovirtmgmt file look like)?

>
>>
>> As for the /29 -- don't worry about it now, that would be a routing
>> issue you can apply later.  Is it the same network as the /32?  Or is it
>> a different network?
>
> Different.

I assume both networks are available on your host interface?

-derek

-- 
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Self hosted single server network requirements

2016-11-21 Thread Mark Steckel

- Derek Atkins  wrote:
> Hi,
> 
> Mark Steckel  writes:
> 
> > Thanks all who have responded so far.
> >
> > Advice so far seems to be:
> > * Use 'screen' when deploying. Easy
> > * Don't use/disable Network-Manager. Easy
> > * Preconfigure the ovirtmgmt bridge. I've got questions...
> >
> > The server has a public /32 as the primary IP, and a public /29 which
> > will be used for the VMs.
> >
> > Besides creating the ovirtmgmt bridge is there anything specific for
> > how I should configure it?
> 
> My recommendation is that you just set up non-NM-controlled static
> network using your public /32.  Then the hosted-engine --deploy process
> should take that config and apply it to ovirtmgmt bridge.  At least,
> that's what happened for me when I did it.  I don't think you need to
> set up the ovirtmgmt bridge manually.

This is what I initially did and then lost Internet access when the /32 was 
migrated to the ovirtmgmt bridge.

I then used KVM console access to access the box, but it could no longer access 
it's public gateway. It was at this point then I surmised that something was 
amiss.

> 
> As for the /29 -- don't worry about it now, that would be a routing
> issue you can apply later.  Is it the same network as the /32?  Or is it
> a different network?

Different.


> 
> > Thanks
> > Mark
> 
> -derek
> 
> > - Paul-Erik Törrönen  wrote:
> >> On 2016-11-19 11:28, Joop wrote:
> >> > I have never setup such a server but if you create the ovirtmgmt bridge
> >> > first then the deploy will leave it alone and you won't lose network
> >> > connectivity.
> >> 
> >> I've set up almost the described combination (I do run the vm-engine on 
> >> a separate laptop), and found that running the commandline stuff in a 
> >> screen helps a lot, the setup commands can then complete instead of 
> >> being interrupted as your (ssh-)session is killed.
> >> 
> >> I also enountered the same issue of network connection loss as the 
> >> ovirtmgmt-interface took over my primary connection, but I was able to 
> >> continue as I  had several network devices on my hardware which I had 
> >> already configured, and was able to access the server through them.
> >> 
> >> If you only have one network interface, then I would recommend running 
> >> the commands in a screen, and in the case of losing the connection, 
> >> reconnect to the screen through the KVM.
> >> 
> >> My 0.02€
> >> 
> >> Poltsi
> >> ___
> >> Users mailing list
> >> Users@ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> 
> -- 
>Derek Atkins 617-623-3745
>de...@ihtfp.com www.ihtfp.com
>Computer and Internet Security Consultant

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Self hosted single server network requirements

2016-11-21 Thread Derek Atkins
Hi,

Mark Steckel  writes:

> Thanks all who have responded so far.
>
> Advice so far seems to be:
> * Use 'screen' when deploying. Easy
> * Don't use/disable Network-Manager. Easy
> * Preconfigure the ovirtmgmt bridge. I've got questions...
>
> The server has a public /32 as the primary IP, and a public /29 which
> will be used for the VMs.
>
> Besides creating the ovirtmgmt bridge is there anything specific for
> how I should configure it?

My recommendation is that you just set up non-NM-controlled static
network using your public /32.  Then the hosted-engine --deploy process
should take that config and apply it to ovirtmgmt bridge.  At least,
that's what happened for me when I did it.  I don't think you need to
set up the ovirtmgmt bridge manually.

As for the /29 -- don't worry about it now, that would be a routing
issue you can apply later.  Is it the same network as the /32?  Or is it
a different network?

> Thanks
> Mark

-derek

> - Paul-Erik Törrönen  wrote:
>> On 2016-11-19 11:28, Joop wrote:
>> > I have never setup such a server but if you create the ovirtmgmt bridge
>> > first then the deploy will leave it alone and you won't lose network
>> > connectivity.
>> 
>> I've set up almost the described combination (I do run the vm-engine on 
>> a separate laptop), and found that running the commandline stuff in a 
>> screen helps a lot, the setup commands can then complete instead of 
>> being interrupted as your (ssh-)session is killed.
>> 
>> I also enountered the same issue of network connection loss as the 
>> ovirtmgmt-interface took over my primary connection, but I was able to 
>> continue as I  had several network devices on my hardware which I had 
>> already configured, and was able to access the server through them.
>> 
>> If you only have one network interface, then I would recommend running 
>> the commands in a screen, and in the case of losing the connection, 
>> reconnect to the screen through the KVM.
>> 
>> My 0.02€
>> 
>> Poltsi
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

-- 
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ?==?utf-8?q? Hook to add firewall rules

2016-11-21 Thread Claude Durocher

Ok, i've configured my custom iptable rules with "engine-config --get 
IPTablesConfigSiteCustom" on the engine. Now, how do I apply this on already 
deployed nodes?



Le Dimanche, Novembre 20, 2016 02:51 EST, Yedidyah Bar David  
a écrit:
 On Fri, Nov 18, 2016 at 1:42 AM, Claude Durocher
 wrote:
> I've implemented sucessfully a hook to edit the configuration of some of my
> nics on my ovirt hosts.
>
> Is there a way to add firewall rules (iptables) with vdsm hooks?

Please search for 'IPTablesConfigSiteCustom'. Best,
--
Didi

 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Fail after update (Centos 7.2 oVirt 4.0)

2016-11-21 Thread Marcio Costa
Hello friends.
After I have updated one host with "yum update -y", I have this message and
the host fails to connect to storage server (ISO type) (other host not
updated yet are working fine):

Thread-25::WARNING::2016-11-21
17:26:18,152::lvm::376::Storage.LVM::(_reloadvgs) lvm vgs failed: 5 [] ['
WARNING: lvmetad is running but disabled. Restart lvmetad before enabling
it!', '  Volume group "b55443b5-39a0-4cb6-8018-9c508815dd28" not found', '
Cannot process volume group b55443b5-39a0-4cb6-8018-9c508815dd28']
Thread-25::ERROR::2016-11-21
17:26:18,155::sdc::146::Storage.StorageDomainCache::(_findDomain) domain
b55443b5-39a0-4cb6-8018-9c508815dd28 not found
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/sdc.py", line 144, in _findDomain
dom = findMethod(sdUUID)
  File "/usr/share/vdsm/storage/sdc.py", line 174, in _findUnfetchedDomain
raise se.StorageDomainDoesNotExist(sdUUID)
StorageDomainDoesNotExist: Storage domain does not exist:
(u'b55443b5-39a0-4cb6-8018-9c508815dd28',)
Thread-25::ERROR::2016-11-21
17:26:18,156::monitor::328::Storage.Monitor::(_setupLoop) Setting up
monitor for b55443b5-39a0-4cb6-8018-9c508815dd28 failed
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/monitor.py", line 325, in _setupLoop
self._setupMonitor()
  File "/usr/share/vdsm/storage/monitor.py", line 348, in _setupMonitor
self._produceDomain()
  File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 405, in
wrapper
value = meth(self, *a, **kw)
  File "/usr/share/vdsm/storage/monitor.py", line 366, in _produceDomain
self.domain = sdCache.produce(self.sdUUID)
  File "/usr/share/vdsm/storage/sdc.py", line 101, in produce
domain.getRealDomain()
  File "/usr/share/vdsm/storage/sdc.py", line 53, in getRealDomain
return self._cache._realProduce(self._sdUUID)
  File "/usr/share/vdsm/storage/sdc.py", line 125, in _realProduce
domain = self._findDomain(sdUUID)
  File "/usr/share/vdsm/storage/sdc.py", line 144, in _findDomain
dom = findMethod(sdUUID)
  File "/usr/share/vdsm/storage/sdc.py", line 174, in _findUnfetchedDomain
raise se.StorageDomainDoesNotExist(sdUUID)
StorageDomainDoesNotExist: Storage domain does not exist:
(u'b55443b5-39a0-4cb6-8018-9c508815dd28',)

The status of the host is "UP", but I still receiving the messages about
the host trying connect to iso domain.
I appreciate any help about, thanks!
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Fwd: spice console resolution now exceeding 1024x768

2016-11-21 Thread Uri Lublin

On 11/16/2016 06:16 PM, Yaniv Dary wrote:

On Tue, Nov 15, 2016 at 9:08 PM, John Nguyen > wrote:

Sorry I'm quite new to this

Thank you Yaniv,


I'm running CentOS 7.2, with kernel 3.10.0-327.28.3 on both my guest
vm and ovirt host

both the QXL driver and the spice-vdagent are installed on my guest vm.
xorg-x11-drv-qxl version 0.1.1 18.el7
spice-vdagent-0.14.0-10.el7

I'm running ovirt 4.0.4.4

John



On Tue, Nov 15, 2016 at 11:50 AM, Yaniv Dary > wrote:

Missing information on:
- What OS is running on the guest ?
- Is the QXL driver installed on the guest ?
- Is spice-vdagent installed and is running on the guest ?

Thanks

Yaniv Dary Technical Product Manager Red Hat Israel

On Fri, Nov 4, 2016 at 3:40 AM, John Nguyen wrote:
Hello,

I'm very sorry if this question has been covered before.
I've recently deployed the Ovirt 4 release on a CentOS 7.2
host.  I'm delighted with the dashboard improvements over
the 3.6 release. However I'm experiencing an issue with
trying to resize my spice console pass 1024x768 resolution.
The vm to shows an "Unknown Display".

Any guidance would be greatly appreciated.

Yours,
John N




Hello John,

This seems to be unrelated to Spice, and also happens with VNC
and without QXL device.

I suppose you are trying to change the resolution from within
the guest using system Settings -> Displays.

Please try the following methods:
1. Simply enlarge the "console" window with your mouse
   on the client side. With Spice (and vdagent running),
   that should adjust your guest resolution (although
   may not be exactly 1024x768). Or

2. In your guest, try to adjust resolution using xrandr:
   open a gnome-terminal and run
   xrandr | grep Virtual  ( make sure "Virtual-0" is the name to use)
   xrandr | grep '*'  ( see the resolution before/after the change)
   xrandr --output Virtual-0 --mode 1024x768  (set the resolution)

Hope that helps,
Uri.

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Self hosted single server network requirements

2016-11-21 Thread Mark Steckel
Thanks all who have responded so far.

Advice so far seems to be:
* Use 'screen' when deploying. Easy
* Don't use/disable Network-Manager. Easy
* Preconfigure the ovirtmgmt bridge. I've got questions...

The server has a public /32 as the primary IP, and a public /29 which will be 
used for the VMs.

Besides creating the ovirtmgmt bridge is there anything specific for how I 
should configure it?

Thanks
Mark


- Paul-Erik Törrönen  wrote:
> On 2016-11-19 11:28, Joop wrote:
> > I have never setup such a server but if you create the ovirtmgmt bridge
> > first then the deploy will leave it alone and you won't lose network
> > connectivity.
> 
> I've set up almost the described combination (I do run the vm-engine on 
> a separate laptop), and found that running the commandline stuff in a 
> screen helps a lot, the setup commands can then complete instead of 
> being interrupted as your (ssh-)session is killed.
> 
> I also enountered the same issue of network connection loss as the 
> ovirtmgmt-interface took over my primary connection, but I was able to 
> continue as I  had several network devices on my hardware which I had 
> already configured, and was able to access the server through them.
> 
> If you only have one network interface, then I would recommend running 
> the commands in a screen, and in the case of losing the connection, 
> reconnect to the screen through the KVM.
> 
> My 0.02€
> 
> Poltsi
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Self hosted single server network requirements

2016-11-21 Thread Mark Steckel

- Yedidyah Bar David  wrote:
> On Sat, Nov 19, 2016 at 11:28 AM, Joop  wrote:
> > On 18-11-2016 23:47, Mark Steckel wrote:
> >> Hi folks,
> >>
> >> I'm a complete OVirt newbie trying to set up a self hosted, single server 
> >> and looking for some pointers to get going... (While new to OVirt, I'm 
> >> long time sysadmin so not totally clueless.)
> 
> Welcome :-)

Thanks!


> 
> >>
> >> The server I'm using has a 4-core CPU, 64 GB of ram, and a pair of 500 GB 
> >> SSDs set up with RAID 1 and running CentOS 7.2. (I do not have physical 
> >> access to the server but can get KVM access when required.)
> >>
> >> The goal is to set up this server as a self hosted, single server OVirt 
> >> platform. Nothing mission critical, just want to be able to spin up VMs 
> >> when needed and destroy them afterwards.
> >>
> >> Trying to use OVirt 4.0.4 (now 4.0.5).
> >>
> >> I've read some docs for setting this up including those just below as well 
> >> as a bunch of googling and reading through the list archive.
> >>
> >>http://www.ovirt.org/documentation/how-to/hosted-engine/
> >>
> >> http://www.ovirt.org/develop/release-management/features/heapplianceflow/
> >>
> >> http://www.ovirt.org/blog/2016/08/up-and-running-with-ovirt-4-0-and-gluster-storage/
> >>
> >> Every time I execute "hosted-engine --deploy" the process "hangs" when it 
> >> migrates the public IP address to a virtual nic interface. And in this 
> >> case, by "hang" I mean that I lose the connection to the server. I have no 
> >> idea if the process finishes or errors out.
> 
> Can you share logs at this point? Including /var/log/vdsm/* and
> /var/log/ovirt-hosted-engine-setup/* . If you have KVM access, you
> might manage to get them. Or copy after a reboot.
> Also please share your network configuration. Are you using
> NetworkManager (IIRC unsupported currently)? DHCP? Static IP conf?

I reinstalled the OS (wiping the logs) since my initial email. When/if it fails 
again I will provide the logs.


> 
> >>
> >> So obviously I'm doing something wrong.
> 
> Or it might be a bug.
> 
> >>
> >> I suspect that I need to take care of some network requirement before 
> >> starting. However, I can't find anything in the docs of how to prep the 
> >> server network environment before running "hosted-engine --deploy".
> >>
> >> Should probably also mention that some, if not all of the VMs will need a 
> >> public IP address. The physical server has a /29 to get started.
> >>
> > I have never setup such a server but if you create the ovirtmgmt bridge
> > first then the deploy will leave it alone and you won't lose network
> > connectivity.
> 
> See also [1]. Adding Dan (who wrote this). Best,
> 
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1301879#c1

Comments 4 in the link above mentions an "Installation Guide." Besides the 
"Quick Start Guide" and the links I initially reference I have not seen a 
"Installation Guide". Am I just missing it?

Thanks
Mark



> -- 
> Didi
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Storage questions

2016-11-21 Thread Oscar Segarra
Hi,

I'm planning to deploy a scalable VDI infraestructure where each phisical
host can run over 100 VDIs and I'd like to deploy 10 physical hosts (1000
VDIs).

In order to avoid performance problems (replicating 1000VDIs changes over
gluster network I think can provoque performance problems) I have thought
to use local storage for VDI assuming that VDIs cannot be migrated between
phisical hosts.

¿Is my worry founded in terms of performance?
¿Is it possible to utilize local SSD storage for VDIs?

I'd like to configure a gluster volume for backup on rotational disks
(tiered+replica 2+ stripe=2) just to provide HA if a physical host fails.

¿Is it possible to use rsync for backing up VDIs?
If not ¿How can I sync/backup  the VDIs running on local storage on the
gluster shared storage?
If a physical host fails ¿How can I start the latest backup of the VDI on
the shared gluster?

Thanks a lot
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [HELP] unmapping a deleted storage domain triggers crash ovirt

2016-11-21 Thread Andrea Ghelardi
Hello Nir,

Actually Ovirt3.5 host crashes even if the storage domain has been destroyed / 
removed from ovirt (hence ovirt has no knowledge of this storage and its mpath 
device and don’t bother about it). But I guess this is what you refer to when 
you write about “handling of unmapped luns”.

However, now that I caught you online, could you confirm that deleting an 
entity ( storage domain) from Ovirt should release the sanlock?
In other words: what is the supported way to delete an iscsi SAN volume?
My current approach is:

1)  Maintenance storage domain from ovirt4

2)  Detach+remove or just destroy storage domain from ovirt4

3)  Wait ~10 minutes

4)  Access SAN control panel and unmap+delete  associated volume.

5)  Eventually, access every host server and remove mpath device manually 
(multipath -f )

SAN is a DELL Compellent SC040
Cheers
AG

From: Nir Soffer [mailto:nsof...@redhat.com]
Sent: Thursday, November 17, 2016 18:59
To: Andrea Ghelardi 
Cc: users@ovirt.org
Subject: Re: [ovirt-users] [HELP] unmapping a deleted storage domain triggers 
crash ovirt

On Thu, Nov 17, 2016 at 5:48 PM, Andrea Ghelardi 
> wrote:
Hello again,

Just to provide an update for future reference, I’ve been unable to sort this 
problem out.
However, Ovirt4 does not show this failure.

Handling of unmapped luns was fixed in 3.6.

The best way is to upgrade to 3.6, and then upgrade to 4, and I think this is 
also
the only supported upgrade path.


My current approach to move VMs from one installation to another is:
1)Shutdown VM in ovirt3.
2)Maintenance VM storage - do you mean the storage server?
3)Clone VM storage at LUN level
4)Import cloned storage in ovirt4
5)Import VM in ovirt4
If everything is ok:

You must put the storage domain to maintenance here.

Since we don't support yet removal of pv from a storage domain, you cannot
remove a lun from a storage, you must remove the entire storage domain.

6a)  detach + remove original VM storage in ovirt3
7a)  remove mappings for original VM storage LUN in ovirt3; this imply 
cluster instability (sanlock crash on hosts);
8a)  recover cluster; this implies shutting down host (and its VM) one 
by one
9a)  delete unmapped original LUN from storage manager

When Sanlock freeze on host, the only solution found so far is to reboot it. 
This has to be done on all host experiencing this problem (which basically 
means: all hosts in the cluster)

If sanlock freezed it means that you unmapped a lun that was used by sanlock.
This is not supported.


Cheers
AG


From: Andrea Ghelardi
Sent: Tuesday, November 08, 2016 16:40
To: users@ovirt.org
Subject: [HELP] unmapping a deleted storage domain triggers crash ovirt

Hello people,

something’s not right in my ovirt infrastructure.
I currently have two different ovirt installation:
Ovirt3: 7 hosts linked to Compellent iscsi storage running ovirt 3.5.6
Ovirt4: 4 hosts linked to (same) Compellent iscsi storage running ovirt 4.0.4

I’m currently moving my guests from ovirt3 to ovirt4.
Since iscsi storage is linked to both installations, my high level approach is:

1)  Shutdown VM in ovirt3.

2)  Maintenance + detach + remove VM storage in ovirt3

3)  Change LUN mapping via iscsi storage manager from ovirt3 to ovirt4

4)  Import storage in ovirt4

5)  Import VM in ovirt4

6)  Run and cheers with high grade liquor. GOTO step 1 for different VM.

Now, as soon as I perform step 3 (remove mappings from LUN), ovirt3 goes crazy 
and eventually forces me to reboot all hosts one by one.
I tried different low level approaches to unmap LUN mpath’ed from hosts with 
inconsistent results.
A notable error log extract is:
Nov  8 15:30:52 sovana vdsm root ERROR Process failed with rc=1 out='\nudevadm 
settle - timeout of 5 seconds reached, the event queue contains:\n  
/sys/devices/virtual/block/dm-39 (8603)\n  /sys/devices/virtual/block/dm-39 
(8604)\n  /sys
/devices/virtual/block/dm-39 (8605)\n  /sys/devices/virtual/block/dm-39 
(8606)\n  /sys/devices/virtual/block/dm-39 (8607)\n  
/sys/devices/virtual/block/dm-39 (8608)\n  /sys/devices/virtual/block/dm-39 
(8609)\n  /sys/devices/virtual/block
/dm-39 (8610)\n  /sys/devices/virtual/block/dm-39 (8611)\n  
/sys/devices/virtual/block/dm-39 (8612)\n  /sys/devices/virtual/block/dm-39 
(8613)\n  /sys/devices/virtual/block/dm-39 (8614)\n  
/sys/devices/virtual/block/dm-39 (8615)\n  /sys/
devices/virtual/block/dm-39 (8616)\n  /sys/devices/virtual/block/dm-39 (8617)\n 
 /sys/devices/virtual/block/dm-39 (8618)\n  /sys/devices/virtual/block/dm-39 
(8619)\n  /sys/devices/virtual/block/dm-39 (8620)\n  /sys/devices/virtual/block/
dm-39 (8621)\n  /sys/devices/virtual/block/dm-39 (8622)\n  
/sys/devices/virtual/block/dm-39 (8623)\n  /sys/devices/virtual/block/dm-39 
(8624)\n  

Re: [ovirt-users] can't import vm from KVM host

2016-11-21 Thread Shahar Havivi
Nelson, 
There is a new patch -
Please test it and if it fail can you send the vdsm error trace please.

 Shahar.
On 20.11.16 10:36, Shahar Havivi wrote:
> On 18.11.16 09:34, Nelson Lameiras wrote:
> > Hello Shahar,
> > 
> > I've rebuild my test system and installed recently released ovirt 4.0.5 + 
> > gerrit patch => still no luck. vdsm always gives me same error : 
> Hi,
> 
> yes once you have the alias you are half way there.
> but your alias path looks wrong, it starts with white-space:
> '/  var/lib/libvirt/images/rhel7.1.img'
> 
> check it via 'virsh -r dumpxml '
> and look if the white space are there two
> 
> regarding the pool you can check it too via virsh
> virsh pool-list
> and all pool-* commands (to create one), if you have problems building pool
> let me know.
> 
>  Shahar.
> > 
> > "
> > jsonrpc.Executor/6::ERROR::2016-11-17 
> > 16:38:56,320::v2v::934::root::(_add_disk_info) Error getting disk size
> > Traceback (most recent call last):
> >   File "/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 931, in 
> > _add_disk_info
> > vol = conn.storageVolLookupByPath(disk['alias'])
> >   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 4596, in 
> > storageVolLookupByPath
> > if ret is None:raise libvirtError('virStorageVolLookupByPath() failed', 
> > conn=self)
> > libvirtError: Volume de stockage introuvable : no storage vol with matching 
> > path '/dev/sdc'
> > jsonrpc.Executor/6::DEBUG::2016-11-17 
> > 16:38:56,325::__init__::555::jsonrpc.JsonRpcServer::(_handle_request) 
> > Return 'Host.getExternalVMs' in bridge with [{'status': 'Down', 'graphics': 
> > 'spice', 'arch': 'x86_64', 'disks': [ {'capacity': '8589934592', 'format': 
> > 'RAW', 'dev': 'hdd', 'allocation': '8589942784', 'alias': '/  
> > var/lib/libvirt/images/rhel7.1.img', 'type': 'disk'}, {'alias': '/dev/sdc', 
> > 'type': 'disk', 'dev': 'hdb', 'format': 'RAW'}], 'vmId': 
> > 'd0ddc4f6-a208-4286-a665-fb9e54d14bef', 'smp': 1, 'has_snapshots': False, 
> > 'video': 'qxl', 'memSize': 1  024, 'vmName': 'rhel7.1', 'networks': 
> > [{'model': 'virtio', 'macAddr': '52:54:00:00:d7:76', 'type': 'network'}]}]
> > "
> > 
> > FYI I added a normal disk (file based) to the VM ir order to try to 
> > understand what's happening. As expected, this disk is seen by the oVirt 
> > (without patch)
> > 
> > I do reckon something in the above log :
> > 
> >  'disks': [
> >{'capacity': '8589934592', 'format': 'RAW', 'dev': 'hdd', 'allocation': 
> > '8589942784', 'alias': '/  var/lib/libvirt/images/rhel7.1.img', 'type': 
> > 'disk'}, 
> >{'alias': '/dev/sdc', 'type': 'disk', 'dev': 'hdb', 'format': 'RAW'}
> >  ], 
> > 
> > the "alias" line is clearly new since it did not appear before de patch! 
> > something is working ;)
> > 
> > I confirm that when I created the test VM (via virt-manager), I gave 
> > directly the path to the device (/dev/sdc), so there is no "pool" to be 
> > addressed defined on libvirt! 
> > I read https://gerrit.ovirt.org/#/c/64272/4/ and I agree with Tomas 
> > findings : Currently the conversion process is expecting a volume on a pool 
> > and it's not able to use a block device directly.
> > 
> > So I'm hopping a solution can be found to this problem. We have a few 
> > hundreds VM waiting to be migrated in production and we don't have a NFS 
> > server, so this is our only option so far.
> > 
> > I'm able to test any patch quickly if needed, do not hesitate.
> > 
> > cordialement, regards, 
> > Nelson LAMEIRAS 
> > 
> > Lyra Network 
> > Service Projets et Processus 
> > Tel : +33 (0) 5 32 09 09 70 
> > 109 rue de l’innovation 
> > 31670 Labège - France 
> > www.lyra-network.com
> > 
> > - Original Message -
> > From: "Shahar Havivi" 
> > To: "Nelson Lameiras" 
> > Cc: "Tomas Golembiovsky" , "Michal Skrivanek" 
> > , users@ovirt.org
> > Sent: Tuesday, November 8, 2016 12:16:55 PM
> > Subject: Re: [ovirt-users] can't import vm from KVM host
> > 
> > On 08.11.16 10:58, Nelson Lameiras wrote:
> > > Hi Shahar,
> > > 
> > > We try to prioritise vm behaviour predictability over ressources 
> > > consumption, so "thin provisionning" is not a option for us. 
> > > "Preallocated" is always selected over default behaviour.
> > > 
> > > Nevertheless, while trying to import a KVM vm (from another host), I get 
> > > a 0 disk count on the VM, which means I do not event get to the point 
> > > where I can chose allocation policy (usually next screen).
> > > This is true with or without patch proposed below (assuming it has not 
> > > changed since sept 29).
> > 
> > I assume that this line is failing:
> > vol = conn.storageVolLookupByPath(disk['alias'])
> > it may be the reason that the storage is not part of a pool.
> > (look at pool-xxx commands via virsh)
> > 
> > If it doesn't work it may be related to a different API that we will need to
> > implement as Tomas suggested in the gerrit patch.
> 

[ovirt-users] Cloning a VM with Ceph/Cinder based disk leaves disk in locked state

2016-11-21 Thread Thomas Klute
Dear oVirt Users,

we're using cinder (based on the Kolla setup) to provide storage for
ovirt. Everything works fine except the clone process of a VM.
Cloning a VM with NFS based storage works as expected, thus I think it's
the cinder integration that causes the problem here.

When cloning a VM with cinder/ceph-based storage we see, that the VM
clone is created, the attached image is cloned as well, but the
disk/image remains in locked state. We then need to issue a

"update images set imagestatus=1 where imagestatus=2;"

on the engine to make the VM clone work.

Is this a bug in the cinder integration?

Thanks and best regards,
 Thomas

engine.log:
2016-11-21 10:00:20,216 INFO  [org.ovirt.engine.core.bll.CloneVmCommand]
(default task-19) [2dd83801] Lock Acquired to object
'EngineLock:{exclusiveLocks='[vm-vertr-kp-klon=]',
sharedLocks='[897d96c8-0ea9-4d06-b815-66a42b63c49b=,
e5e06033-e099-4efe-a5cd-9de2ebc0238b=]'}'
2016-11-21 10:00:21,290 INFO  [org.ovirt.engine.core.bll.CloneVmCommand]
(default task-19) [] Running command: CloneVmCommand internal: false.
Entities affected :  ID: 897d96c8-0ea9-4d06-b815-66a42b63c49b Type:
VMAction group CREATE_VM with role type USER
2016-11-21 10:00:21,846 INFO 
[org.ovirt.engine.core.bll.storage.disk.cinder.CloneSingleCinderDiskCommand]
(default task-19) [4c8e58b8] Running command:
CloneSingleCinderDiskCommand internal: true. Entities affected :  ID:
1f342ea3-49f8-4f65-bf15-ce48514e9bd3 Type: StorageAction group
CONFIGURE_VM_STORAGE with role type USER
2016-11-21 10:00:23,143 INFO 
[org.ovirt.engine.core.bll.AddGraphicsDeviceCommand] (default task-19)
[420ca5bf] Running command: AddGraphicsDeviceCommand internal: true.
Entities affected :  ID: b9f78fd2-9a55-42f0-9ae9-7bca4ae93d9a Type:
VMAction group EDIT_VM_PROPERTIES with role type USER
2016-11-21 10:00:23,151 INFO 
[org.ovirt.engine.core.bll.AddGraphicsDeviceCommand] (default task-19)
[7f72e8e4] Running command: AddGraphicsDeviceCommand internal: true.
Entities affected :  ID: b9f78fd2-9a55-42f0-9ae9-7bca4ae93d9a Type:
VMAction group EDIT_VM_PROPERTIES with role type USER
2016-11-21 10:00:23,222 INFO 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(default task-19) [7f72e8e4] Correlation ID: 2dd83801, Job ID:
a02e5069-a9ef-4b1b-8ec1-b1922d2e3135, Call Stack: null, Custom Event ID:
-1, Message: VM vm-vertr-kp-klon was created by admin@internal-authz.
2016-11-21 10:00:23,240 INFO  [org.ovirt.engine.core.bll.CloneVmCommand]
(default task-19) [7f72e8e4] Lock freed to object
'EngineLock:{exclusiveLocks='[vm-vertr-kp-klon=]',
sharedLocks='[897d96c8-0ea9-4d06-b815-66a42b63c49b=,
e5e06033-e099-4efe-a5cd-9de2ebc0238b=]'}'
2016-11-21 10:00:29,283 INFO 
[org.ovirt.engine.core.bll.storage.disk.cinder.CloneSingleCinderDiskCommandCallback]
(DefaultQuartzScheduler9) [4c8e58b8] Command 'CloneSingleCinderDisk' id:
'a76696d7-f698-4591-9a26-888f47462888' child commands '[]' executions
were completed, status 'SUCCEEDED'
2016-11-21 10:00:29,284 INFO 
[org.ovirt.engine.core.bll.storage.disk.cinder.CloneSingleCinderDiskCommandCallback]
(DefaultQuartzScheduler9) [4c8e58b8] Command 'CloneSingleCinderDisk' id:
'a76696d7-f698-4591-9a26-888f47462888' Updating status to 'SUCCEEDED',
The command end method logic will be executed by one of its parent commands.

Packets:
ovirt-engine-jboss-as-7.1.1-1.el7.centos.x86_64
ovirt-vmconsole-proxy-1.0.4-1.el7.centos.noarch
ovirt-engine-wildfly-overlay-10.0.0-1.el7.noarch
ovirt-engine-setup-base-4.0.5.5-1.el7.centos.noarch
ovirt-guest-agent-common-1.0.12-3.el7.noarch
ovirt-engine-setup-plugin-ovirt-engine-4.0.5.5-1.el7.centos.noarch
ovirt-host-deploy-1.5.3-1.el7.centos.noarch
ovirt-engine-websocket-proxy-4.0.5.5-1.el7.centos.noarch
ovirt-engine-extensions-api-impl-4.0.5.5-1.el7.centos.noarch
ovirt-engine-wildfly-10.1.0-1.el7.x86_64
ovirt-engine-dbscripts-4.0.5.5-1.el7.centos.noarch
ovirt-engine-restapi-4.0.5.5-1.el7.centos.noarch
ovirt-vmconsole-1.0.4-1.el7.centos.noarch
ovirt-release36-3.6.6-1.noarch
ovirt-engine-lib-4.0.5.5-1.el7.centos.noarch
ovirt-setup-lib-1.0.2-1.el7.centos.noarch
ovirt-engine-setup-plugin-ovirt-engine-common-4.0.5.5-1.el7.centos.noarch
ovirt-engine-setup-plugin-vmconsole-proxy-helper-4.0.5.5-1.el7.centos.noarch
ovirt-engine-setup-plugin-websocket-proxy-4.0.5.5-1.el7.centos.noarch
ovirt-host-deploy-java-1.5.3-1.el7.centos.noarch
ovirt-iso-uploader-4.0.2-1.el7.centos.noarch
ovirt-engine-setup-4.0.5.5-1.el7.centos.noarch
ovirt-engine-extension-aaa-jdbc-1.1.1-1.el7.noarch
ovirt-imageio-common-0.4.0-1.el7.noarch
ovirt-imageio-proxy-setup-0.4.0-0.201608310602.gita9b573b.el7.centos.noarch
ovirt-image-uploader-4.0.1-1.el7.centos.noarch

Re: [ovirt-users] remote-viewer from admin vs user portal

2016-11-21 Thread Tomas Jelinek


- Original Message -
> From: "Gianluca Cecchi" 
> To: "Simone Tiraboschi" 
> Cc: "users" 
> Sent: Thursday, October 13, 2016 9:03:04 PM
> Subject: Re: [ovirt-users] remote-viewer from admin vs user portal
> 
> On Thu, Oct 13, 2016 at 9:31 AM, Simone Tiraboschi < stira...@redhat.com >
> wrote:
> 
> 
> 
> 
> Ciao Gianluca,
> Have you compared also the content of the two console.vv files?
> 
> 
> It seems this:
> 
> $ diff user_portal.txt admin_portal.txt
> 5c5
> < password=USuJCbk3UhzK
> ---
> > password=4ZAr/w23pFPV
> 16c16
> <
> usb-filter=-1,60186,1,256,1|-1,1118,245,-1,1|-1,1133,2245,-1,1|-1,1133,2242,5,1|8,-1,-1,-1,1|7,-1,-1,-1,1|-1,-1,-1,-1,0
> ---
> > usb-filter=-1,-1,-1,-1,0

This is not related but looks like a bug. Could you please open a bug against 
user portal with the fact the usb-filter is not filled in user portal?

> 19a20
> > proxy= http://192.168.1.215:3128/
> 27c28

This looks like the most interesting difference. Where do you have your spice 
proxy defined? I guess on cluster.
I have a suspicion that there is a bug that when the user does not have access 
to the cluster (e.g. basic user)
than it can not see the spice proxy.

Could you please try to connect to the console from user portal using an admin 
user and check if the
proxy is filled correctly?

> <
> sso-token=f5PtHwvwE6erjVBfGpaLeUWmD9iEOeM3OXzAAocXDz4VQ-uYNsTUt1x9NXohbCalxFUw947sZfzZyvfevTEaBA
> ---
> > sso-token=pFNiF5viL6jiu9FZIdeEsvD74eA2OuPGjzZTFa_IfPoGXFMRkQSTmrGTB0J5lbTJ6Na_rKkGVMExxUsneLfhzw
> 

The strange thing is also that there is no difference between the 
admin=1 in webadmin vs admin=0 for user portal.

So, long story short, are you using the same user to test this from 
webadmin/userportal?
If not, could you please try to connect from user portal with the same user as 
from webadmin and check if the 
diff between the two .vv files is smaller?

Thanx,
Tomas

> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users