rbdimages information isn't updated during a live migration.
I have a customer that has updated their ceph cluster and added a new monitor IP.
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.
They have running VMs that are boot from ceph volume and also has attached ceph volumes.
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.
rbdimages information isn't updated during a live migration.
I have a customer that has updated their ceph cluster and added a new monitor IP.
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.
They have running VMs that are boot from ceph volume and also has attached ceph volumes.
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.
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>