Bug 1539769
| Summary: | Live migration is not configured completely during an OSP8 update | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Ollie Walsh <owalsh> |
| Component: | python-tripleoclient | Assignee: | RHOS Maint <rhos-maint> |
| Status: | CLOSED ERRATA | QA Contact: | Marius Cornea <mcornea> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 8.0 (Liberty) | CC: | agurenko, augol, beth.white, bschmaus, ccollett, hbrock, jhakimra, jjoyce, jslagle, lbezdick, mandreou, mbultel, mburns, mschuppe, owalsh, rhel-osp-director-maint, slinaber |
| Target Milestone: | zstream | Keywords: | Triaged, ZStream |
| Target Release: | 8.0 (Liberty) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-tripleoclient-0.3.4-17.el7ost, openstack-tripleo-common-0.3.1-6.el7ost | Doc Type: | Bug Fix |
| Doc Text: |
Previously, when updating from OSP8 GA to the latest packages that contain the fixes for CVE-2017-2637, an ssh key pair was not added to the generated passwords. As a result, live-migration was disabled.
With this update, the required ssh key-pair is now automatically generated during a minor update to packages containing the fix for CVE-2017-2637.
|
Story Points: | --- |
| Clone Of: | 1464504 | Environment: | |
| Last Closed: | 2018-03-15 12:47:12 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: | 1464504, 1466878, 1466879, 1501470, 1501471, 1501472, 1501473 | ||
| Bug Blocks: | |||
|
Description
Ollie Walsh
2018-01-29 15:03:56 UTC
After minor update from GA to latest I was able to successfully live migrate an instance:
[stack@undercloud-0 ~]$ openstack server list
+--------------------------------------+---------------------+--------+---------------------------------------+
| ID | Name | Status | Networks |
+--------------------------------------+---------------------+--------+---------------------------------------+
| e1b1a870-9d08-4507-96e4-d9a7266927e4 | instance_93a4534f61 | ACTIVE | internal_net=192.168.0.13, 10.0.0.211 |
+--------------------------------------+---------------------+--------+---------------------------------------+
[stack@undercloud-0 ~]$ openstack server show instance_93a4534f61
+--------------------------------------+----------------------------------------------------------+
| Field | Value |
+--------------------------------------+----------------------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-AZ:availability_zone | nova |
| OS-EXT-SRV-ATTR:host | compute-1.localdomain |
| OS-EXT-SRV-ATTR:hypervisor_hostname | compute-1.localdomain |
| OS-EXT-SRV-ATTR:instance_name | instance-00000003 |
| OS-EXT-STS:power_state | 1 |
| OS-EXT-STS:task_state | None |
| OS-EXT-STS:vm_state | active |
| OS-SRV-USG:launched_at | 2018-03-13T21:07:29.000000 |
| OS-SRV-USG:terminated_at | None |
| accessIPv4 | |
| accessIPv6 | |
| addresses | internal_net=192.168.0.13, 10.0.0.211 |
| config_drive | |
| created | 2018-03-13T21:07:19Z |
| flavor | v1-1G-5G (1e22ef7c-e7a8-43f9-99a4-c372086aed06) |
| hostId | c614d4550fa4b803dff912d5025b64797909d022722c85c664dfba14 |
| id | e1b1a870-9d08-4507-96e4-d9a7266927e4 |
| image | upgrade_workload (58ff7e40-029e-447e-a9e3-ccb452249d28) |
| key_name | userkey |
| name | instance_93a4534f61 |
| os-extended-volumes:volumes_attached | [] |
| progress | 0 |
| project_id | 29c9ee42a19e45ecb9c1fce17fa9f1eb |
| properties | |
| security_groups | [{u'name': u'allow-icmp-ssh'}] |
| status | ACTIVE |
| updated | 2018-03-13T21:07:30Z |
| user_id | e107b882324748ce96e059dac27deb05 |
+--------------------------------------+----------------------------------------------------------+
[stack@undercloud-0 ~]$ nova live-migration instance_93a4534f61 compute-0.localdomain
[stack@undercloud-0 ~]$ openstack server show instance_93a4534f61
+--------------------------------------+----------------------------------------------------------+
| Field | Value |
+--------------------------------------+----------------------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-AZ:availability_zone | nova |
| OS-EXT-SRV-ATTR:host | compute-0.localdomain |
| OS-EXT-SRV-ATTR:hypervisor_hostname | compute-0.localdomain |
| OS-EXT-SRV-ATTR:instance_name | instance-00000003 |
| OS-EXT-STS:power_state | 1 |
| OS-EXT-STS:task_state | None |
| OS-EXT-STS:vm_state | active |
| OS-SRV-USG:launched_at | 2018-03-13T21:07:29.000000 |
| OS-SRV-USG:terminated_at | None |
| accessIPv4 | |
| accessIPv6 | |
| addresses | internal_net=192.168.0.13, 10.0.0.211 |
| config_drive | |
| created | 2018-03-13T21:07:19Z |
| flavor | v1-1G-5G (1e22ef7c-e7a8-43f9-99a4-c372086aed06) |
| hostId | 803c66f68845a204e2b123b81b7bca2e7dd9b2320c72c7e3d1793029 |
| id | e1b1a870-9d08-4507-96e4-d9a7266927e4 |
| image | upgrade_workload (58ff7e40-029e-447e-a9e3-ccb452249d28) |
| key_name | userkey |
| name | instance_93a4534f61 |
| os-extended-volumes:volumes_attached | [] |
| progress | 0 |
| project_id | 29c9ee42a19e45ecb9c1fce17fa9f1eb |
| properties | |
| security_groups | [{u'name': u'allow-icmp-ssh'}] |
| status | ACTIVE |
| updated | 2018-03-14T01:07:50Z |
| user_id | e107b882324748ce96e059dac27deb05 |
+--------------------------------------+----------------------------------------------------------+
[root@compute-0 ~]# grep live_migration /etc/nova/nova.conf | grep -v ^#
live_migration_uri=qemu+ssh://nova_migration@%s/system?keyfile=/etc/nova/migration/identity
live_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE, VIR_MIGRATE_PEER2PEER, VIR_MIGRATE_LIVE, VIR_MIGRATE_TUNNELLED
[root@compute-0 ~]# exit
[root@compute-1 ~]# grep live_migration /etc/nova/nova.conf | grep -v ^#
live_migration_uri=qemu+ssh://nova_migration@%s/system?keyfile=/etc/nova/migration/identity
live_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE, VIR_MIGRATE_PEER2PEER, VIR_MIGRATE_LIVE, VIR_MIGRATE_TUNNELLED
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-2018:0543 |