Re: [ovirt-users] latest CentOS libvirt updates safe?

2016-06-27 Thread Pavel Gashev
Upgrading libvirt doesn’t touch running VMs, if there are no active VM 
operations (start/stop/snapshots/migration). I upgrade libvirt/qemu/vdsm on the 
fly. Just stop the engine to make sure that nothing will interrupt the upgrade.

On 25/06/16 17:57, "users-boun...@ovirt.org on behalf of Robert Story" 
 wrote:

I have oVirt 3.5.x on CentOS 7 hosts. These hosts have updates which
include livbirt:

 libvirt-client   x86_64  1.2.17-13.el7_2.5  updates  4.3 M
 libvirt-daemon   x86_64  1.2.17-13.el7_2.5  updates  585 k
 libvirt-daemon-config-nwfilter   x86_64  1.2.17-13.el7_2.5  updates  122 k
 libvirt-daemon-driver-interface  x86_64  1.2.17-13.el7_2.5  updates  162 k
 libvirt-daemon-driver-networkx86_64  1.2.17-13.el7_2.5  updates  302 k
 libvirt-daemon-driver-nodedevx86_64  1.2.17-13.el7_2.5  updates  161 k
 libvirt-daemon-driver-nwfilter   x86_64  1.2.17-13.el7_2.5  updates  185 k
 libvirt-daemon-driver-qemu   x86_64  1.2.17-13.el7_2.5  updates  571 k
 libvirt-daemon-driver-secret x86_64  1.2.17-13.el7_2.5  updates  155 k
 libvirt-daemon-driver-storagex86_64  1.2.17-13.el7_2.5  updates  328 k
 libvirt-daemon-kvm   x86_64  1.2.17-13.el7_2.5  updates  118 k
 libvirt-lock-sanlock

Is it safe to let yum update these packages while the host has running VMs?
in maintenance mode? or not at all?


Robert

-- 
Senior Software Engineer @ Parsons


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


Re: [ovirt-users] latest CentOS libvirt updates safe?

2016-06-26 Thread Christophe TREFOIS
This is how I upgrade.

Works.

Dr Christophe Trefois, Dipl.-Ing.  
Technical Specialist / Post-Doc

UNIVERSITÉ DU LUXEMBOURG

LUXEMBOURG CENTRE FOR SYSTEMS BIOMEDICINE
Campus Belval | House of Biomedicine  
6, avenue du Swing 
L-4367 Belvaux  
T: +352 46 66 44 6124 
F: +352 46 66 44 6949  
http://www.uni.lu/lcsb




This message is confidential and may contain privileged information. 
It is intended for the named recipient only. 
If you receive it in error please notify me and permanently delete the original 
message and any copies. 


  

> On 26 Jun 2016, at 08:57, Yedidyah Bar David  wrote:
> 
> On Sun, Jun 26, 2016 at 4:14 AM, Brett I. Holcomb  
> wrote:
>> 
>> 
>> On 06/25/2016 08:10 PM, Nir Soffer wrote:
>>> 
>>> On Sat, Jun 25, 2016 at 8:51 PM, Brett I. Holcomb 
>>> wrote:
 
 
 On 06/25/2016 10:57 AM, Robert Story wrote:
 
 I have oVirt 3.5.x on CentOS 7 hosts. These hosts have updates which
 include livbirt:
 
  libvirt-client   x86_64  1.2.17-13.el7_2.5  updates
 4.3 M
  libvirt-daemon   x86_64  1.2.17-13.el7_2.5  updates
 585 k
  libvirt-daemon-config-nwfilter   x86_64  1.2.17-13.el7_2.5  updates
 122 k
  libvirt-daemon-driver-interface  x86_64  1.2.17-13.el7_2.5  updates
 162 k
  libvirt-daemon-driver-networkx86_64  1.2.17-13.el7_2.5  updates
 302 k
  libvirt-daemon-driver-nodedevx86_64  1.2.17-13.el7_2.5  updates
 161 k
  libvirt-daemon-driver-nwfilter   x86_64  1.2.17-13.el7_2.5  updates
 185 k
  libvirt-daemon-driver-qemu   x86_64  1.2.17-13.el7_2.5  updates
 571 k
  libvirt-daemon-driver-secret x86_64  1.2.17-13.el7_2.5  updates
 155 k
  libvirt-daemon-driver-storagex86_64  1.2.17-13.el7_2.5  updates
 328 k
  libvirt-daemon-kvm   x86_64  1.2.17-13.el7_2.5  updates
 118 k
  libvirt-lock-sanlock
 
 Is it safe to let yum update these packages while the host has running
 VMs?
 in maintenance mode? or not at all?
 
 
 Robert
 
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
 
 I saw a response where we are supposed to go to maintenance mode and then
 VMs will migrate but i've got nowhere to migrate to as I'm on a host with
 hosted Engine and no other host to migrate to.  So do I shutdown all VMs
 and
 then go to maintenance mode and then update and reboot my host?
>>> 
>>> In this case you cannot put the host into maintenance, since hosted
>>> engine is running on this host.
>>> 
>>> Adding Simone to add more details on hosted engine upgrades.
>>> 
>>> Nir
>> 
>> Thanks.  That will be a big help.
> 
> Didn't test, I think this will work:
> 
> 1. Shutdown all other VMs (as you already did)
> 2. Move to global maintenance: hosted-engine --set-maintenance --mode=global
> 3. Cleanly shutdown engine vm
> 4. stop HA daemons: service ovirt-ha-agent stop ; service ovirt-ha-broker stop
> 5. yum update what you need/want
> 6. Reboot (perhaps not always needed)
> 7. See that HA daemons started
> 8. Exit global maintenance: hosted-engine --set-maintenance --mode=none
> 9. Start engine vm (or see that HA starts it)
> -- 
> 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


Re: [ovirt-users] latest CentOS libvirt updates safe?

2016-06-26 Thread Yedidyah Bar David
On Sun, Jun 26, 2016 at 4:14 AM, Brett I. Holcomb  wrote:
>
>
> On 06/25/2016 08:10 PM, Nir Soffer wrote:
>>
>> On Sat, Jun 25, 2016 at 8:51 PM, Brett I. Holcomb 
>> wrote:
>>>
>>>
>>> On 06/25/2016 10:57 AM, Robert Story wrote:
>>>
>>> I have oVirt 3.5.x on CentOS 7 hosts. These hosts have updates which
>>> include livbirt:
>>>
>>>   libvirt-client   x86_64  1.2.17-13.el7_2.5  updates
>>> 4.3 M
>>>   libvirt-daemon   x86_64  1.2.17-13.el7_2.5  updates
>>> 585 k
>>>   libvirt-daemon-config-nwfilter   x86_64  1.2.17-13.el7_2.5  updates
>>> 122 k
>>>   libvirt-daemon-driver-interface  x86_64  1.2.17-13.el7_2.5  updates
>>> 162 k
>>>   libvirt-daemon-driver-networkx86_64  1.2.17-13.el7_2.5  updates
>>> 302 k
>>>   libvirt-daemon-driver-nodedevx86_64  1.2.17-13.el7_2.5  updates
>>> 161 k
>>>   libvirt-daemon-driver-nwfilter   x86_64  1.2.17-13.el7_2.5  updates
>>> 185 k
>>>   libvirt-daemon-driver-qemu   x86_64  1.2.17-13.el7_2.5  updates
>>> 571 k
>>>   libvirt-daemon-driver-secret x86_64  1.2.17-13.el7_2.5  updates
>>> 155 k
>>>   libvirt-daemon-driver-storagex86_64  1.2.17-13.el7_2.5  updates
>>> 328 k
>>>   libvirt-daemon-kvm   x86_64  1.2.17-13.el7_2.5  updates
>>> 118 k
>>>   libvirt-lock-sanlock
>>>
>>> Is it safe to let yum update these packages while the host has running
>>> VMs?
>>> in maintenance mode? or not at all?
>>>
>>>
>>> Robert
>>>
>>>
>>>
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>> I saw a response where we are supposed to go to maintenance mode and then
>>> VMs will migrate but i've got nowhere to migrate to as I'm on a host with
>>> hosted Engine and no other host to migrate to.  So do I shutdown all VMs
>>> and
>>> then go to maintenance mode and then update and reboot my host?
>>
>> In this case you cannot put the host into maintenance, since hosted
>> engine is running on this host.
>>
>> Adding Simone to add more details on hosted engine upgrades.
>>
>> Nir
>
> Thanks.  That will be a big help.

Didn't test, I think this will work:

1. Shutdown all other VMs (as you already did)
2. Move to global maintenance: hosted-engine --set-maintenance --mode=global
3. Cleanly shutdown engine vm
4. stop HA daemons: service ovirt-ha-agent stop ; service ovirt-ha-broker stop
5. yum update what you need/want
6. Reboot (perhaps not always needed)
7. See that HA daemons started
8. Exit global maintenance: hosted-engine --set-maintenance --mode=none
9. Start engine vm (or see that HA starts it)
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] latest CentOS libvirt updates safe?

2016-06-25 Thread Brett I. Holcomb



On 06/25/2016 08:10 PM, Nir Soffer wrote:

On Sat, Jun 25, 2016 at 8:51 PM, Brett I. Holcomb  wrote:


On 06/25/2016 10:57 AM, Robert Story wrote:

I have oVirt 3.5.x on CentOS 7 hosts. These hosts have updates which
include livbirt:

  libvirt-client   x86_64  1.2.17-13.el7_2.5  updates
4.3 M
  libvirt-daemon   x86_64  1.2.17-13.el7_2.5  updates
585 k
  libvirt-daemon-config-nwfilter   x86_64  1.2.17-13.el7_2.5  updates
122 k
  libvirt-daemon-driver-interface  x86_64  1.2.17-13.el7_2.5  updates
162 k
  libvirt-daemon-driver-networkx86_64  1.2.17-13.el7_2.5  updates
302 k
  libvirt-daemon-driver-nodedevx86_64  1.2.17-13.el7_2.5  updates
161 k
  libvirt-daemon-driver-nwfilter   x86_64  1.2.17-13.el7_2.5  updates
185 k
  libvirt-daemon-driver-qemu   x86_64  1.2.17-13.el7_2.5  updates
571 k
  libvirt-daemon-driver-secret x86_64  1.2.17-13.el7_2.5  updates
155 k
  libvirt-daemon-driver-storagex86_64  1.2.17-13.el7_2.5  updates
328 k
  libvirt-daemon-kvm   x86_64  1.2.17-13.el7_2.5  updates
118 k
  libvirt-lock-sanlock

Is it safe to let yum update these packages while the host has running VMs?
in maintenance mode? or not at all?


Robert



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


I saw a response where we are supposed to go to maintenance mode and then
VMs will migrate but i've got nowhere to migrate to as I'm on a host with
hosted Engine and no other host to migrate to.  So do I shutdown all VMs and
then go to maintenance mode and then update and reboot my host?

In this case you cannot put the host into maintenance, since hosted
engine is running on this host.

Adding Simone to add more details on hosted engine upgrades.

Nir

Thanks.  That will be a big help.

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


Re: [ovirt-users] latest CentOS libvirt updates safe?

2016-06-25 Thread Nir Soffer
On Sat, Jun 25, 2016 at 8:51 PM, Brett I. Holcomb  wrote:
>
>
> On 06/25/2016 10:57 AM, Robert Story wrote:
>
> I have oVirt 3.5.x on CentOS 7 hosts. These hosts have updates which
> include livbirt:
>
>  libvirt-client   x86_64  1.2.17-13.el7_2.5  updates
> 4.3 M
>  libvirt-daemon   x86_64  1.2.17-13.el7_2.5  updates
> 585 k
>  libvirt-daemon-config-nwfilter   x86_64  1.2.17-13.el7_2.5  updates
> 122 k
>  libvirt-daemon-driver-interface  x86_64  1.2.17-13.el7_2.5  updates
> 162 k
>  libvirt-daemon-driver-networkx86_64  1.2.17-13.el7_2.5  updates
> 302 k
>  libvirt-daemon-driver-nodedevx86_64  1.2.17-13.el7_2.5  updates
> 161 k
>  libvirt-daemon-driver-nwfilter   x86_64  1.2.17-13.el7_2.5  updates
> 185 k
>  libvirt-daemon-driver-qemu   x86_64  1.2.17-13.el7_2.5  updates
> 571 k
>  libvirt-daemon-driver-secret x86_64  1.2.17-13.el7_2.5  updates
> 155 k
>  libvirt-daemon-driver-storagex86_64  1.2.17-13.el7_2.5  updates
> 328 k
>  libvirt-daemon-kvm   x86_64  1.2.17-13.el7_2.5  updates
> 118 k
>  libvirt-lock-sanlock
>
> Is it safe to let yum update these packages while the host has running VMs?
> in maintenance mode? or not at all?
>
>
> Robert
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
> I saw a response where we are supposed to go to maintenance mode and then
> VMs will migrate but i've got nowhere to migrate to as I'm on a host with
> hosted Engine and no other host to migrate to.  So do I shutdown all VMs and
> then go to maintenance mode and then update and reboot my host?

In this case you cannot put the host into maintenance, since hosted
engine is running on this host.

Adding Simone to add more details on hosted engine upgrades.

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


Re: [ovirt-users] latest CentOS libvirt updates safe?

2016-06-25 Thread Brett I. Holcomb



On 06/25/2016 10:57 AM, Robert Story wrote:

I have oVirt 3.5.x on CentOS 7 hosts. These hosts have updates which
include livbirt:

  libvirt-client   x86_64  1.2.17-13.el7_2.5  updates  4.3 M
  libvirt-daemon   x86_64  1.2.17-13.el7_2.5  updates  585 k
  libvirt-daemon-config-nwfilter   x86_64  1.2.17-13.el7_2.5  updates  122 k
  libvirt-daemon-driver-interface  x86_64  1.2.17-13.el7_2.5  updates  162 k
  libvirt-daemon-driver-networkx86_64  1.2.17-13.el7_2.5  updates  302 k
  libvirt-daemon-driver-nodedevx86_64  1.2.17-13.el7_2.5  updates  161 k
  libvirt-daemon-driver-nwfilter   x86_64  1.2.17-13.el7_2.5  updates  185 k
  libvirt-daemon-driver-qemu   x86_64  1.2.17-13.el7_2.5  updates  571 k
  libvirt-daemon-driver-secret x86_64  1.2.17-13.el7_2.5  updates  155 k
  libvirt-daemon-driver-storagex86_64  1.2.17-13.el7_2.5  updates  328 k
  libvirt-daemon-kvm   x86_64  1.2.17-13.el7_2.5  updates  118 k
  libvirt-lock-sanlock

Is it safe to let yum update these packages while the host has running VMs?
in maintenance mode? or not at all?


Robert



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


I saw a response where we are supposed to go to maintenance mode and 
then VMs will migrate but i've got nowhere to migrate to as I'm on a 
host with hosted Engine and no other host to migrate to.  So do I 
shutdown all VMs and then go to maintenance mode and then update and 
reboot my host?


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


Re: [ovirt-users] latest CentOS libvirt updates safe?

2016-06-25 Thread Nir Soffer
On Sat, Jun 25, 2016 at 5:57 PM, Robert Story  wrote:
> I have oVirt 3.5.x on CentOS 7 hosts. These hosts have updates which
> include livbirt:
>
>  libvirt-client   x86_64  1.2.17-13.el7_2.5  updates  4.3 
> M
>  libvirt-daemon   x86_64  1.2.17-13.el7_2.5  updates  585 
> k
>  libvirt-daemon-config-nwfilter   x86_64  1.2.17-13.el7_2.5  updates  122 
> k
>  libvirt-daemon-driver-interface  x86_64  1.2.17-13.el7_2.5  updates  162 
> k
>  libvirt-daemon-driver-networkx86_64  1.2.17-13.el7_2.5  updates  302 
> k
>  libvirt-daemon-driver-nodedevx86_64  1.2.17-13.el7_2.5  updates  161 
> k
>  libvirt-daemon-driver-nwfilter   x86_64  1.2.17-13.el7_2.5  updates  185 
> k
>  libvirt-daemon-driver-qemu   x86_64  1.2.17-13.el7_2.5  updates  571 
> k
>  libvirt-daemon-driver-secret x86_64  1.2.17-13.el7_2.5  updates  155 
> k
>  libvirt-daemon-driver-storagex86_64  1.2.17-13.el7_2.5  updates  328 
> k
>  libvirt-daemon-kvm   x86_64  1.2.17-13.el7_2.5  updates  118 
> k
>  libvirt-lock-sanlock
>
> Is it safe to let yum update these packages while the host has running VMs?
> in maintenance mode? or not at all?

The safest way is to put a host into maintenance before updating.
All vms will be migrated to other hosts before the host is deactivated.

Some packages like sanlock cannot be updated while host is connected
to storage; trying to update them may kill sanlock, which will cause the
watchdog to reboot your host, killing your vms.

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


[ovirt-users] latest CentOS libvirt updates safe?

2016-06-25 Thread Robert Story
I have oVirt 3.5.x on CentOS 7 hosts. These hosts have updates which
include livbirt:

 libvirt-client   x86_64  1.2.17-13.el7_2.5  updates  4.3 M
 libvirt-daemon   x86_64  1.2.17-13.el7_2.5  updates  585 k
 libvirt-daemon-config-nwfilter   x86_64  1.2.17-13.el7_2.5  updates  122 k
 libvirt-daemon-driver-interface  x86_64  1.2.17-13.el7_2.5  updates  162 k
 libvirt-daemon-driver-networkx86_64  1.2.17-13.el7_2.5  updates  302 k
 libvirt-daemon-driver-nodedevx86_64  1.2.17-13.el7_2.5  updates  161 k
 libvirt-daemon-driver-nwfilter   x86_64  1.2.17-13.el7_2.5  updates  185 k
 libvirt-daemon-driver-qemu   x86_64  1.2.17-13.el7_2.5  updates  571 k
 libvirt-daemon-driver-secret x86_64  1.2.17-13.el7_2.5  updates  155 k
 libvirt-daemon-driver-storagex86_64  1.2.17-13.el7_2.5  updates  328 k
 libvirt-daemon-kvm   x86_64  1.2.17-13.el7_2.5  updates  118 k
 libvirt-lock-sanlock

Is it safe to let yum update these packages while the host has running VMs?
in maintenance mode? or not at all?


Robert

-- 
Senior Software Engineer @ Parsons


pgpkSKIC8GM2W.pgp
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users