Bug 1537069 - live-migration with boot from volume + config_drive takes a very long time.
Summary: live-migration with boot from volume + config_drive takes a very long time.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 10.0 (Newton)
Hardware: x86_64
OS: Linux
high
urgent
Target Milestone: z8
: 10.0 (Newton)
Assignee: Matthew Booth
QA Contact: Joe H. Rahme
URL:
Whiteboard:
: 1585960 (view as bug list)
Depends On: 1473863
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-22 11:35 UTC by Matthew Booth
Modified: 2023-01-13 10:43 UTC (History)
24 users (show)

Fixed In Version: openstack-nova-14.1.0-4.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1473863
Environment:
Last Closed: 2018-05-17 15:33:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1719362 0 None None None 2018-01-22 11:35:45 UTC
OpenStack gerrit 507202 0 None None None 2018-01-22 11:35:45 UTC
Red Hat Issue Tracker OSP-4833 0 None None None 2021-12-10 15:47:26 UTC
Red Hat Product Errata RHBA-2018:1595 0 None None None 2018-05-17 15:34:56 UTC

Comment 16 Joe H. Rahme 2018-05-09 13:01:54 UTC
Verification steps:


[stack@undercloud-0 ~]$ nova boot --flavor m1.tiny --block-device source=image,id=95a980f2-95ba-4de0-9a35-cf6bdff6b963,dest=volume,size=20,shutdown=preserve,bootindex=0 --nic net-id=4880e65c-b396-499e-8a2d-0536f5f95474 --config-drive True vm1
+--------------------------------------+-------------------------------------------------+
| Property                             | Value                                           |
+--------------------------------------+-------------------------------------------------+
| OS-DCF:diskConfig                    | MANUAL                                          |
| OS-EXT-AZ:availability_zone          |                                                 |
| OS-EXT-SRV-ATTR:host                 | -                                               |
| OS-EXT-SRV-ATTR:hostname             | vm1                                             |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | -                                               |
| OS-EXT-SRV-ATTR:instance_name        |                                                 |
| 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-n2k8hnnp                                      |
| 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                            | 4A8jkJtzrKpi                                    |
| config_drive                         | True                                            |
| created                              | 2018-05-09T12:56:20Z                            |
| description                          | -                                               |
| flavor                               | m1.tiny (354facee-e49f-4266-bfb1-0b9f0b2c42ca)  |
| hostId                               |                                                 |
| host_status                          |                                                 |
| id                                   | 34800130-2469-4242-b766-f33dec77537f            |
| image                                | Attempt to boot from volume - no image supplied |
| key_name                             | -                                               |
| locked                               | False                                           |
| metadata                             | {}                                              |
| name                                 | vm1                                             |
| os-extended-volumes:volumes_attached | []                                              |
| progress                             | 0                                               |
| security_groups                      | default                                         |
| status                               | BUILD                                           |
| tags                                 | []                                              |
| tenant_id                            | ba87619f5c174996896a39706303a196                |
| updated                              | 2018-05-09T12:56:21Z                            |
| user_id                              | 66bfe56387064f89b7e86b24c8b57c01                |
+--------------------------------------+-------------------------------------------------+



[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-0.localdomain                                    |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | compute-0.localdomain                                    |
| OS-EXT-SRV-ATTR:instance_name        | instance-00000003                                        |
| OS-EXT-STS:power_state               | Running                                                  |
| OS-EXT-STS:task_state                | None                                                     |
| OS-EXT-STS:vm_state                  | active                                                   |
| OS-SRV-USG:launched_at               | 2018-05-09T12:56:33.000000                               |
| OS-SRV-USG:terminated_at             | None                                                     |
| accessIPv4                           |                                                          |
| accessIPv6                           |                                                          |
| addresses                            | private=192.168.100.3                                    |
| config_drive                         | True                                                     |
| created                              | 2018-05-09T12:56:21Z                                     |
| flavor                               | m1.tiny (354facee-e49f-4266-bfb1-0b9f0b2c42ca)           |
| hostId                               | 2d7088b201ad3a84a05f9c44720205e934b48aa6f19f8d88b904ec89 |
| id                                   | 34800130-2469-4242-b766-f33dec77537f                     |
| image                                |                                                          |
| key_name                             | None                                                     |
| name                                 | vm1                                                      |
| os-extended-volumes:volumes_attached | [{u'id': u'b9941aa9-775e-43e5-abb5-16350a484416'}]       |
| progress                             | 0                                                        |
| project_id                           | ba87619f5c174996896a39706303a196                         |
| properties                           |                                                          |
| security_groups                      | [{u'name': u'default'}]                                  |
| status                               | ACTIVE                                                   |
| updated                              | 2018-05-09T12:56:33Z                                     |
| user_id                              | 66bfe56387064f89b7e86b24c8b57c01                         |
+--------------------------------------+----------------------------------------------------------+


[stack@undercloud-0 ~]$ openstack server migrate --live compute-1.localdomain vm1
[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-00000003                                        |
| OS-EXT-STS:power_state               | Running                                                  |
| OS-EXT-STS:task_state                | None                                                     |
| OS-EXT-STS:vm_state                  | active                                                   |
| OS-SRV-USG:launched_at               | 2018-05-09T12:56:33.000000                               |
| OS-SRV-USG:terminated_at             | None                                                     |
| accessIPv4                           |                                                          |
| accessIPv6                           |                                                          |
| addresses                            | private=192.168.100.3                                    |
| config_drive                         | True                                                     |
| created                              | 2018-05-09T12:56:21Z                                     |
| flavor                               | m1.tiny (354facee-e49f-4266-bfb1-0b9f0b2c42ca)           |
| hostId                               | 2d7088b201ad3a84a05f9c44720205e934b48aa6f19f8d88b904ec89 |
| id                                   | 34800130-2469-4242-b766-f33dec77537f                     |
| image                                |                                                          |
| key_name                             | None                                                     |
| name                                 | vm1                                                      |
| os-extended-volumes:volumes_attached | [{u'id': u'b9941aa9-775e-43e5-abb5-16350a484416'}]       |
| progress                             | 0                                                        |
| project_id                           | ba87619f5c174996896a39706303a196                         |
| properties                           |                                                          |
| security_groups                      | [{u'name': u'default'}]                                  |
| status                               | ACTIVE                                                   |
| updated                              | 2018-05-09T12:58:321                                     |
| user_id                              | 66bfe56387064f89b7e86b24c8b57c01                         |
+--------------------------------------+----------------------------------------------------------+

Comment 19 errata-xmlrpc 2018-05-17 15:33:13 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/RHBA-2018:1595

Comment 20 Matthew Booth 2018-06-05 09:20:56 UTC
*** Bug 1585960 has been marked as a duplicate of this bug. ***


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