Bug 1381534 - Multi-Ephemeral instance Live Block Migration fails silently
Summary: Multi-Ephemeral instance Live Block Migration fails silently
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 8.0 (Liberty)
Hardware: All
OS: Linux
medium
medium
Target Milestone: async
: 8.0 (Liberty)
Assignee: Sahid Ferdjaoui
QA Contact: Prasanth Anbalagan
URL:
Whiteboard:
Depends On: 1379359 1396251
Blocks: 1381530 1381533 1387260
TreeView+ depends on / blocked
 
Reported: 2016-10-04 11:50 UTC by VIKRANT
Modified: 2022-07-09 08:38 UTC (History)
12 users (show)

Fixed In Version: openstack-nova-12.0.5-3.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1379359
: 1387260 (view as bug list)
Environment:
Last Closed: 2016-12-21 16:40:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1628449 0 None None None 2016-10-04 11:50:32 UTC
Red Hat Issue Tracker OSP-16800 0 None None None 2022-07-09 08:38:02 UTC
Red Hat Knowledge Base (Solution) 2658331 0 None None None 2016-10-04 11:50:32 UTC
Red Hat Product Errata RHSA-2016:2991 0 normal SHIPPED_LIVE Moderate: openstack-cinder, openstack-glance, and openstack-nova update 2016-12-21 21:34:31 UTC

Comment 4 Prasanth Anbalagan 2016-12-12 16:06:15 UTC
Verified as follows,

**********
VERSION
**********

# yum list installed | grep openstack-nova
openstack-nova-api.noarch            1:12.0.5-9.el7ost       @rhelosp-8.0-puddle
openstack-nova-cert.noarch           1:12.0.5-9.el7ost       @rhelosp-8.0-puddle
openstack-nova-common.noarch         1:12.0.5-9.el7ost       @rhelosp-8.0-puddle
openstack-nova-compute.noarch        1:12.0.5-9.el7ost       @rhelosp-8.0-puddle
openstack-nova-conductor.noarch      1:12.0.5-9.el7ost       @rhelosp-8.0-puddle
openstack-nova-console.noarch        1:12.0.5-9.el7ost       @rhelosp-8.0-puddle
openstack-nova-novncproxy.noarch     1:12.0.5-9.el7ost       @rhelosp-8.0-puddle
openstack-nova-scheduler.noarch      1:12.0.5-9.el7ost       @rhelosp-8.0-puddle

******
LOGS
******

# nova flavor-create 2ephemeral-disks 6 512 1 1 --ephemeral 2
+----+------------------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name             | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+----+------------------+-----------+------+-----------+------+-------+-------------+-----------+
| 6  | 2ephemeral-disks | 512       | 1    | 2         |      | 1     | 1.0         | True      |
+----+------------------+-----------+------+-----------+------+-------+-------------+-----------+
# nova boot --flavor 2ephemeral-disks --image cirros --ephemeral size=1 --ephemeral size=1 internal1
+--------------------------------------+-----------------------------------------------+
| Property                             | Value                                         |
+--------------------------------------+-----------------------------------------------+
| OS-DCF:diskConfig                    | MANUAL                                        |
| OS-EXT-AZ:availability_zone          |                                               |
| OS-EXT-SRV-ATTR:host                 | -                                             |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | -                                             |
| OS-EXT-SRV-ATTR:instance_name        | instance-00000001                             |
| 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                            | FDnzEBwRs7n9                                  |
| config_drive                         |                                               |
| created                              | 2016-12-12T15:56:45Z                          |
| flavor                               | 2ephemeral-disks (6)                          |
| hostId                               |                                               |
| id                                   | 8adc1b5d-bd9d-4777-9412-d9b406d886b6          |
| image                                | cirros (5fdfa1d5-4a74-44a6-874f-6b99c9b35ac3) |
| key_name                             | -                                             |
| metadata                             | {}                                            |
| name                                 | internal1                                     |
| os-extended-volumes:volumes_attached | []                                            |
| progress                             | 0                                             |
| security_groups                      | default                                       |
| status                               | BUILD                                         |
| tenant_id                            | 4df6d9e338d547a1af554d4c0ff7224d              |
| updated                              | 2016-12-12T15:56:45Z                          |
| user_id                              | f84752291aa841d6b198c293f9739545              |
+--------------------------------------+-----------------------------------------------+
# nova list
+--------------------------------------+-----------+--------+------------+-------------+---------------------+
| ID                                   | Name      | Status | Task State | Power State | Networks            |
+--------------------------------------+-----------+--------+------------+-------------+---------------------+
| 8adc1b5d-bd9d-4777-9412-d9b406d886b6 | internal1 | ACTIVE | -          | Running     | public=172.24.4.227 |
+--------------------------------------+-----------+--------+------------+-------------+---------------------+
# virsh list --all
 Id    Name                           State
----------------------------------------------------
 2     instance-00000001              running

# virsh domblklist 2
Target     Source
------------------------------------------------
vda        /var/lib/nova/instances/8adc1b5d-bd9d-4777-9412-d9b406d886b6/disk
vdb        /var/lib/nova/instances/8adc1b5d-bd9d-4777-9412-d9b406d886b6/disk.eph0
vdc        /var/lib/nova/instances/8adc1b5d-bd9d-4777-9412-d9b406d886b6/disk.eph1

# nova show internal1 | grep host
| OS-EXT-SRV-ATTR:host                 | serverA             |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | serverA             |
| hostId                               | 612f410915572dbe74b58ed5e96367b5fa5b100dc6d407d6028424e3 |
#
#
# nova live-migration internal1 serverB --block-migrate
# 
# nova list
+--------------------------------------+-----------+-----------+------------+-------------+---------------------+
| ID                                   | Name      | Status    | Task State | Power State | Networks            |
+--------------------------------------+-----------+-----------+------------+-------------+---------------------+
| 8adc1b5d-bd9d-4777-9412-d9b406d886b6 | internal1 | MIGRATING | migrating  | Running     | public=172.24.4.227 |
+--------------------------------------+-----------+-----------+------------+-------------+---------------------+
# nova list
+--------------------------------------+-----------+--------+------------+-------------+---------------------+
| ID                                   | Name      | Status | Task State | Power State | Networks            |
+--------------------------------------+-----------+--------+------------+-------------+---------------------+
| 8adc1b5d-bd9d-4777-9412-d9b406d886b6 | internal1 | ACTIVE | -          | Running     | public=172.24.4.227 |
+--------------------------------------+-----------+--------+------------+-------------+---------------------+
# nova show internal1 | grep host
| OS-EXT-SRV-ATTR:host                 | serverB                             |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | serverB                             |
| hostId                               | 6012cee963ee0d17f23f702671b4cb2708a08d0afc3eb552de59ea9f |

Comment 6 errata-xmlrpc 2016-12-21 16:40:12 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://rhn.redhat.com/errata/RHSA-2016-2991.html


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