I have a customer that is seeing something similar to this. I thought about filing a new bug, but this might be sufficient to just piggy back this one.
They have running VMs that are boot from ceph volume and also has attached ceph volumes.
He adds a new monitor to his ceph cluster and updates ceph.conf on all of the openstack nodes to reflect the new monitor IP.
He does a live migration to try and get nova to update the libvirt.xml and it seems that only the volumes section is updated, not the vms section.
He added a patch to migration.py to fix this, but wasn't sure it was the right thing to do. I have added his patch as an attachment here.
Let me know if this might be ok, and I can submit the patch to gerrit.
I have a customer that is seeing something similar to this. I thought about filing a new bug, but this might be sufficient to just piggy back this one.
They have running VMs that are boot from ceph volume and also has attached ceph volumes.
He adds a new monitor to his ceph cluster and updates ceph.conf on all of the openstack nodes to reflect the new monitor IP.
He does a live migration to try and get nova to update the libvirt.xml and it seems that only the volumes section is updated, not the vms section.
He added a patch to migration.py to fix this, but wasn't sure it was the right thing to do. I have added his patch as an attachment here.
Let me know if this might be ok, and I can submit the patch to gerrit.
This is a copy of xml after the live migrate.
<disk type='network' device='disk'> b180-4528- 93ed-76ae82edf8 32'/> 3b97914e- 3f9b-410a- b3d9-6c1a832441 36_disk' > <-- this one is NOT changed, old ips 168.200. 12' port='6789'/> 168.200. 14' port='6789'/> 168.200. 24' port='6789'/> 168.240. 17' port='6789'/> 168.240. 23' port='6789'/> backingStore/ > disk0'/ > b180-4528- 93ed-76ae82edf8 32'/> volume- 6d04520d- 0029-499c- af81-516a7ba37a 54'> <-- this one is changed, new ips 168.200. 12' port='6789'/> 168.200. 14' port='6789'/> 168.200. 24' port='6789'/> 168.210. 15' port='6789'/> 168.240. 17' port='6789'/> 168.240. 23' port='6789'/> backingStore/ > serial> 6d04520d- 0029-499c- af81-516a7ba37a 54</serial> disk1'/ >
<driver name='qemu' type='raw' cache='none'/>
<auth username='nova'>
<secret type='ceph' uuid='820ccd0b-
</auth>
<source protocol='rbd' name='vms/
<host name='192.
<host name='192.
<host name='192.
<host name='192.
<host name='192.
</source>
<
<target dev='vda' bus='virtio'/>
<alias name='virtio-
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</disk>
<disk type='network' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<auth username='nova'>
<secret type='ceph' uuid='820ccd0b-
</auth>
<source protocol='rbd' name='volumes/
<host name='192.
<host name='192.
<host name='192.
<host name='192.
<host name='192.
<host name='192.
</source>
<
<target dev='vdb' bus='virtio'/>
<
<alias name='virtio-
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
</disk>