Bug 1576751 - live migration broken when live_migration_inbound_addr is set and transport = ssh
Summary: live migration broken when live_migration_inbound_addr is set and transport =...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-nova
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z3
: 12.0 (Pike)
Assignee: Martin Schuppert
QA Contact: Joe H. Rahme
URL:
Whiteboard:
Depends On: 1564445
Blocks: 1576750
TreeView+ depends on / blocked
 
Reported: 2018-05-10 10:37 UTC by Ollie Walsh
Modified: 2022-07-09 11:23 UTC (History)
23 users (show)

Fixed In Version: puppet-nova-11.5.0-4.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1564445
Environment:
Last Closed: 2018-08-20 12:59:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1765462 0 None None None 2018-05-10 10:37:12 UTC
OpenStack gerrit 562818 0 None None None 2018-05-10 10:37:12 UTC
OpenStack gerrit 567831 0 None None None 2018-05-11 11:19:13 UTC
Red Hat Issue Tracker OSP-9027 0 None None None 2022-07-09 11:23:04 UTC
Red Hat Product Errata RHSA-2018:2331 0 None None None 2018-08-20 13:01:55 UTC

Comment 10 Joe H. Rahme 2018-07-30 17:34:27 UTC
Verified by checking that live_migration_inbound_addr is set correctly:

[heat-admin@compute-0 ~]$ sudo docker exec -i nova_libvirt grep live_migration_inbound_addr /etc/nova/nova.conf
# * ``live_migration_tunnelled``: The live_migration_inbound_addr value is
#live_migration_inbound_addr=<None>
live_migration_inbound_addr=172.17.1.12
# * ``live_migration_inbound_addr``: If ``live_migration_inbound_addr`` value
# and ``live_migration_inbound_addr`` respectively.
# * ``live_migration_inbound_addr``: The live_migration_inbound_addr value is


And that block live migration works:


(overcloud) [stack@undercloud-0 ~]$ openstack server show vm1
+-------------------------------------+---------------------------------------------------------------------+
| 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-00000001                                                   |
| OS-EXT-STS:power_state              | Running                                                             |
| OS-EXT-STS:task_state               | None                                                                |
| OS-EXT-STS:vm_state                 | active                                                              |
| OS-SRV-USG:launched_at              | 2018-07-30T17:27:37.000000                                          |
| OS-SRV-USG:terminated_at            | None                                                                |
| accessIPv4                          |                                                                     |
| accessIPv6                          |                                                                     |
| addresses                           | nova=10.0.0.210                                                     |
| config_drive                        |                                                                     |
| created                             | 2018-07-30T17:27:22Z                                                |
| flavor                              | m1.micro (40efafd6-eeb7-4688-95ac-47d286baf3ce)                     |
| hostId                              | 6cee379e8bf963be56b72d206baf7ce2b52a74fc915eb8dc38541d7e            |
| id                                  | e83e5dc5-15d9-43c0-a40b-a876be2149ce                                |
| image                               | cirros-0.3.5-x86_64-disk.img (c27f5cfa-9db3-4724-b674-a22cc1d7157d) |
| key_name                            | None                                                                |
| name                                | vm1                                                                 |
| progress                            | 0                                                                   |
| project_id                          | 49fbfa669d784274ad6cadbed285c3ea                                    |
| properties                          |                                                                     |
| security_groups                     | name='default'                                                      |
| status                              | ACTIVE                                                              |
| updated                             | 2018-07-30T17:27:37Z                                                |
| user_id                             | 83f4a4baa55d43a89d24fc42c5c5bffd                                    |
| volumes_attached                    |                                                                     |
+-------------------------------------+---------------------------------------------------------------------+
(overcloud) [stack@undercloud-0 ~]$ openstack server migrate --live compute-0.localdomain --block-migration vm1
(overcloud) [stack@undercloud-0 ~]$ sleep 5; openstack server show vm1
+-------------------------------------+---------------------------------------------------------------------+
| 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-00000001                                                   |
| OS-EXT-STS:power_state              | Running                                                             |
| OS-EXT-STS:task_state               | None                                                                |
| OS-EXT-STS:vm_state                 | active                                                              |
| OS-SRV-USG:launched_at              | 2018-07-30T17:27:37.000000                                          |
| OS-SRV-USG:terminated_at            | None                                                                |
| accessIPv4                          |                                                                     |
| accessIPv6                          |                                                                     |
| addresses                           | nova=10.0.0.210                                                     |
| config_drive                        |                                                                     |
| created                             | 2018-07-30T17:27:22Z                                                |
| flavor                              | m1.micro (40efafd6-eeb7-4688-95ac-47d286baf3ce)                     |
| hostId                              | 877edd7b551d76db1040dcbe8af4186f7d98d2762361e059af55647c            |
| id                                  | e83e5dc5-15d9-43c0-a40b-a876be2149ce                                |
| image                               | cirros-0.3.5-x86_64-disk.img (c27f5cfa-9db3-4724-b674-a22cc1d7157d) |
| key_name                            | None                                                                |
| name                                | vm1                                                                 |
| progress                            | 0                                                                   |
| project_id                          | 49fbfa669d784274ad6cadbed285c3ea                                    |
| properties                          |                                                                     |
| security_groups                     | name='default'                                                      |
| status                              | ACTIVE                                                              |
| updated                             | 2018-07-30T17:32:22Z                                                |
| user_id                             | 83f4a4baa55d43a89d24fc42c5c5bffd                                    |
| volumes_attached                    |                                                                     |
+-------------------------------------+---------------------------------------------------------------------+

Comment 12 errata-xmlrpc 2018-08-20 12:59:48 UTC
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/RHSA-2018:2331


Note You need to log in before you can comment on or make changes to this bug.