Fix migration across apps when using VMs created from image
When using the config libvirt-image-backend=rbd, VMs
created from image have their disk data stored in ceph
instead of the compute node itself.
When performing live-migrations, both nodes need to
access the same ceph credentials to access the VM's
disk in ceph, but this is currently not possible
if the nodes involved pertain to different
nova-compute charm apps.
This patch changes app name sent to ceph to 'nova-compute',
allowing all nova-compute apps to use the same ceph auth.
This patch also includes the charmhelpers sync
from PR: #840
Reviewed: https:/ /review. opendev. org/c/openstack /charm- nova-compute/ +/889642 /opendev. org/openstack/ charm-nova- compute/ commit/ c3c2cf0349c086d ad7f23b180c3ee9 ea0f865e8f
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit c3c2cf0349c086d ad7f23b180c3ee9 ea0f865e8f
Author: Rodrigo Barbieri <email address hidden>
Date: Tue Jul 25 14:02:30 2023 -0300
Fix migration across apps when using VMs created from image
When using the config libvirt- image-backend= rbd, VMs
created from image have their disk data stored in ceph
instead of the compute node itself.
When performing live-migrations, both nodes need to
access the same ceph credentials to access the VM's
disk in ceph, but this is currently not possible
if the nodes involved pertain to different
nova-compute charm apps.
This patch changes app name sent to ceph to 'nova-compute',
allowing all nova-compute apps to use the same ceph auth.
This patch also includes the charmhelpers sync
from PR: #840
Closes-bug: #2028559 d7225db0c677f1a 8f5ebb7984d
Change-Id: I7222661017655f