Live migrations gives a cryptic message when instance is paused

Bug #1811565 reported by Gary Kotton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Unassigned

Bug Description

root@utu1604template:~# nova list
+--------------------------------------+---------------+--------+------------+-------------+---------------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+---------------+--------+------------+-------------+---------------------------+
| 0a07b744-90ef-4250-adce-cd5adfc2925a | FEDORA-1 | ACTIVE | - | Running | net1=1.0.0.9 |
| c1c5dbbc-ba4d-4c43-9fa4-b50284be6b44 | FEDORA-1 | ACTIVE | - | Running | net1=1.0.0.4 |
| 05858218-80c3-4f6c-a6c0-e2094faa20a6 | FEDORA-3 | ACTIVE | - | Running | net1=1.0.0.5 |
| fddae0ed-fdff-4962-9284-84303ad0cf5c | FEDORA-4 | ACTIVE | - | Running | net1=1.0.0.20 |
| d5dcef89-c89d-4e75-b567-ef6ddf0d95e8 | FEDORA-vsan-1 | ACTIVE | - | Running | net1=1.0.0.6 |
| c4d9ea4e-7f5d-4ffa-a091-15cf817b6656 | FEDORA-vsan-2 | ACTIVE | - | Running | net1=1.0.0.21 |
| 112df993-c9dd-4c6c-b0ae-c20e133bba07 | vm1 | ACTIVE | - | Running | net1=1.0.0.8, 172.24.4.14 |
| da3fb215-8665-4761-b197-076c80b7b2bd | vm1 | ACTIVE | - | Running | net1=1.0.0.3, 172.24.4.3 |
| dbb473c9-248a-4f5e-ab9b-30c6526f4978 | vm1 | ACTIVE | - | Running | net1=1.0.0.7, 172.24.4.10 |
| 3882b496-1433-4cb7-a0c5-151a0c47f8bd | vm2 | ACTIVE | - | Running | net1=1.0.0.12 |
+--------------------------------------+---------------+--------+------------+-------------+---------------------------+

root@utu1604template:~# nova pause d5dcef89-c89d-4e75-b567-ef6ddf0d95e8

root@utu1604template:~# nova service-list
+----+------------------+-----------------------------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+----+------------------+-----------------------------------+----------+---------+-------+----------------------------+-----------------+
| 11 | nova-conductor | nova-conductor-f7f8ccbf9-tw48t | internal | enabled | up | 2019-01-08T09:30:36.000000 | - |
| 14 | nova-consoleauth | nova-consoleauth-6fc4cc74b5-hjlbc | internal | enabled | up | 2019-01-08T09:30:40.000000 | - |
| 17 | nova-scheduler | nova-scheduler-65d75fb975-8qr25 | internal | enabled | up | 2019-01-08T09:30:39.000000 | - |
| 20 | nova-compute | nova-compute-04 | az1 | enabled | up | 2019-01-08T09:30:38.000000 | - |
| 23 | nova-compute | nova-compute-02 | az3 | enabled | up | 2019-01-08T09:30:38.000000 | - |
| 26 | nova-compute | nova-compute-03 | az2 | enabled | up | 2019-01-08T09:30:40.000000 | - |
| 29 | nova-compute | nova-compute-01 | az4 | enabled | up | 2019-01-08T09:30:42.000000 | - |
+----+------------------+-----------------------------------+----------+---------+-------+----------------------------+-----------------+

root@utu1604template:~# nova live-migration d5dcef89-c89d-4e75-b567-ef6ddf0d95e8 nova-compute-02
ERROR (Conflict): Cannot 'os-migrateLive' instance d5dcef89-c89d-4e75-b567-ef6ddf0d95e8 while it is in power_state 7 (HTTP 409) (Request-ID: req-77e0da31-1629-48fb-aaa9-d7a5ff178759)

Revision history for this message
Boden R (boden) wrote :

Gary - isn't this bug meant for nova rather than neutron?

Changed in neutron:
status: New → Incomplete
Revision history for this message
Gary Kotton (garyk) wrote :
affects: neutron → nova
Changed in nova:
status: Incomplete → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/630496
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=7180f1623259880437e81b8a2d56663cb6cb61e4
Submitter: Zuul
Branch: master

commit 7180f1623259880437e81b8a2d56663cb6cb61e4
Author: Gary Kotton <email address hidden>
Date: Sun Jan 13 01:16:37 2019 -0800

    Enhance exception raised when invalid power state

    The invalid state exception did not pass wht power state
    as a string. Ensure that it is a string and not an integer.

    TrivialFix

    Change-Id: I37bb05585bc16de14f7e9a2eb3864c5ed90c7603
    Closes-bug: #1811565

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 19.0.0.0rc1

This issue was fixed in the openstack/nova 19.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.