Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2017:2815
Verified by attempting a live migration of an instance with a config drive attached. 1. On both compute nodes, make sure `openstack-nova-migration` is installed [heat-admin@compute-0 ~]$ rpm -qa | grep migration openstack-nova-migration-13.1.4-10.el7ost.noarch 2. Boot an instance with config drive enabled [stack@undercloud-0 ~]$ nova boot --image f30b84e0-72c4-469b-bda2-8539fb26da38 --flavor m1.tiny --config-drive true vm2 /usr/lib/python2.7/site-packages/keyring/backends/Gnome.py:6: PyGIWarning: GnomeKeyring was imported without specifying a version first. Use gi.require_version('GnomeKeyring', '1.0') before import to ensure that the right version gets loaded. from gi.repository import GnomeKeyring +--------------------------------------+-------------------------------------------------------------------------+ | Property | Value | +--------------------------------------+-------------------------------------------------------------------------+ | OS-DCF:diskConfig | MANUAL | | OS-EXT-AZ:availability_zone | | | OS-EXT-SRV-ATTR:host | - | | OS-EXT-SRV-ATTR:hostname | vm2 | | OS-EXT-SRV-ATTR:hypervisor_hostname | - | | OS-EXT-SRV-ATTR:instance_name | instance-00000002 | | OS-EXT-SRV-ATTR:kernel_id | | | OS-EXT-SRV-ATTR:launch_index | 0 | | OS-EXT-SRV-ATTR:ramdisk_id | | | OS-EXT-SRV-ATTR:reservation_id | r-ho4yhzq4 | | OS-EXT-SRV-ATTR:root_device_name | - | | OS-EXT-SRV-ATTR:user_data | - | | OS-EXT-STS:power_state | 0 | | OS-EXT-STS:task_state | scheduling | | OS-EXT-STS:vm_state | building | | OS-SRV-USG:launched_at | - | | OS-SRV-USG:terminated_at | - | | accessIPv4 | | | accessIPv6 | | | adminPass | MGrUs8cSnsby | | config_drive | True | | created | 2017-09-14T13:43:56Z | | description | - | | flavor | m1.tiny (1) | | hostId | | | host_status | | | id | d81f6a37-c7ff-487e-9bfb-cccff9e1470f | | image | cirros-0.3.4-x86_64-disk.img_alt (f30b84e0-72c4-469b-bda2-8539fb26da38) | | key_name | - | | locked | False | | metadata | {} | | name | vm2 | | os-extended-volumes:volumes_attached | [] | | progress | 0 | | security_groups | default | | status | BUILD | | tenant_id | d2599726e116491782d410f0c068866f | | updated | 2017-09-14T13:43:56Z | | user_id | 6a065b6e65d54ee99fce6460ba46cb73 | +--------------------------------------+-------------------------------------------------------------------------+ [stack@undercloud-0 ~]$ nova show vm2 /usr/lib/python2.7/site-packages/keyring/backends/Gnome.py:6: PyGIWarning: GnomeKeyring was imported without specifying a version first. Use gi.require_version('GnomeKeyring', '1.0') before import to ensure that the right version gets loaded. from gi.repository import GnomeKeyring +--------------------------------------+-------------------------------------------------------------------------+ | Property | Value | +--------------------------------------+-------------------------------------------------------------------------+ | OS-DCF:diskConfig | MANUAL | | OS-EXT-AZ:availability_zone | nova | | OS-EXT-SRV-ATTR:host | compute-1.localdomain | | OS-EXT-SRV-ATTR:hostname | vm2 | | OS-EXT-SRV-ATTR:hypervisor_hostname | compute-1.localdomain | | OS-EXT-SRV-ATTR:instance_name | instance-00000002 | | OS-EXT-SRV-ATTR:kernel_id | | | OS-EXT-SRV-ATTR:launch_index | 0 | | OS-EXT-SRV-ATTR:ramdisk_id | | | OS-EXT-SRV-ATTR:reservation_id | r-ho4yhzq4 | | OS-EXT-SRV-ATTR:root_device_name | /dev/vda | | OS-EXT-SRV-ATTR:user_data | - | | OS-EXT-STS:power_state | 1 | | OS-EXT-STS:task_state | - | | OS-EXT-STS:vm_state | active | | OS-SRV-USG:launched_at | 2017-09-14T13:44:05.000000 | | OS-SRV-USG:terminated_at | - | | accessIPv4 | | | accessIPv6 | | | config_drive | True | | created | 2017-09-14T13:43:56Z | | description | - | | flavor | m1.tiny (1) | | hostId | 7fb5e1c4ac9eabacf6e753b42f63bf9dd5ae0c5b4e04266830f81600 | | host_status | UP | | id | d81f6a37-c7ff-487e-9bfb-cccff9e1470f | | image | cirros-0.3.4-x86_64-disk.img_alt (f30b84e0-72c4-469b-bda2-8539fb26da38) | | key_name | - | | locked | False | | metadata | {} | | name | vm2 | | os-extended-volumes:volumes_attached | [] | | progress | 0 | | public network | 10.0.0.210 | | security_groups | default | | status | ACTIVE | | tenant_id | d2599726e116491782d410f0c068866f | | updated | 2017-09-14T13:44:05Z | | user_id | 6a065b6e65d54ee99fce6460ba46cb73 | +--------------------------------------+-------------------------------------------------------------------------+ 3. Live migrate the instance [stack@undercloud-0 ~]$ nova live-migration vm2 compute-0.localdomain /usr/lib/python2.7/site-packages/keyring/backends/Gnome.py:6: PyGIWarning: GnomeKeyring was imported without specifying a version first. Use gi.require_version('GnomeKeyring', '1.0') before import to ensure that the right version gets loaded. from gi.repository import GnomeKeyring [stack@undercloud-0 ~]$ nova show vm2 /usr/lib/python2.7/site-packages/keyring/backends/Gnome.py:6: PyGIWarning: GnomeKeyring was imported without specifying a version first. Use gi.require_version('GnomeKeyring', '1.0') before import to ensure that the right version gets loaded. from gi.repository import GnomeKeyring +--------------------------------------+-------------------------------------------------------------------------+ | Property | Value | +--------------------------------------+-------------------------------------------------------------------------+ | OS-DCF:diskConfig | MANUAL | | OS-EXT-AZ:availability_zone | nova | | OS-EXT-SRV-ATTR:host | compute-0.localdomain | | OS-EXT-SRV-ATTR:hostname | vm2 | | OS-EXT-SRV-ATTR:hypervisor_hostname | compute-0.localdomain | | OS-EXT-SRV-ATTR:instance_name | instance-00000002 | | OS-EXT-SRV-ATTR:kernel_id | | | OS-EXT-SRV-ATTR:launch_index | 0 | | OS-EXT-SRV-ATTR:ramdisk_id | | | OS-EXT-SRV-ATTR:reservation_id | r-ho4yhzq4 | | OS-EXT-SRV-ATTR:root_device_name | /dev/vda | | OS-EXT-SRV-ATTR:user_data | - | | OS-EXT-STS:power_state | 1 | | OS-EXT-STS:task_state | - | | OS-EXT-STS:vm_state | active | | OS-SRV-USG:launched_at | 2017-09-14T13:44:05.000000 | | OS-SRV-USG:terminated_at | - | | accessIPv4 | | | accessIPv6 | | | config_drive | True | | created | 2017-09-14T13:43:56Z | | description | - | | flavor | m1.tiny (1) | | hostId | 8b9e10c436304dae6582e4940aa30f28e9a2f5af6e02bc302c9b867f | | host_status | UP | | id | d81f6a37-c7ff-487e-9bfb-cccff9e1470f | | image | cirros-0.3.4-x86_64-disk.img_alt (f30b84e0-72c4-469b-bda2-8539fb26da38) | | key_name | - | | locked | False | | metadata | {} | | name | vm2 | | os-extended-volumes:volumes_attached | [] | | progress | 0 | | public network | 10.0.0.210 | | security_groups | default | | status | ACTIVE | | tenant_id | d2599726e116491782d410f0c068866f | | updated | 2017-09-14T13:54:23Z | | user_id | 6a065b6e65d54ee99fce6460ba46cb73 | +--------------------------------------+-------------------------------------------------------------------------+