This site requires JavaScript to be enabled to function correctly, please enable it.
Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Summary:
Live migration of instance with config disk fails in nova-migration-wrapper
Product:
Red Hat OpenStack
Reporter:
Ollie Walsh <owalsh>
Component:
openstack-nova Assignee:
Ollie Walsh <owalsh>
Status:
CLOSED
ERRATA
QA Contact:
Joe H. Rahme <jhakimra>
Severity:
high
Docs Contact:
Priority:
high
Version:
9.0 (Mitaka) CC:
awaugama, berrange, dasmith, eglynn, jhakimra, jjoyce, kchamart, lruzicka, lyarwood, mbooth, owalsh, sbauza, sferdjao, sgordon, srevivo, vromanso
Target Milestone:
zstream Keywords:
Regression, Triaged, ZStream
Target Release:
9.0 (Mitaka)
Hardware:
Unspecified
OS:
Unspecified
Whiteboard:
Fixed In Version:
openstack-nova-13.1.4-9.el7ost
Doc Type:
Bug Fix
Doc Text:
The list of ssh commands that were permitted for live-migration and cold-migration/resize was incomplete. The problem has been fixed.
Story Points:
---
Clone Of:
1476332
Environment:
Last Closed:
2017-09-27 13:10:03 UTC
Type:
Bug
Regression:
---
Mount Type:
---
Documentation:
---
CRM:
Verified Versions:
Category:
---
oVirt Team:
---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team:
---
Target Upstream Version:
Embargoed:
Bug Depends On:
1476332 , 1481402 , 1481404
Bug Blocks:
1481397
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 | +--------------------------------------+-------------------------------------------------------------------------+