← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1265494] [NEW] Openstack Nova: Unpause after host reboot fails

 

Public bug reported:

Description of problem:
Unpauseing an instance fails if host has rebooted. 

Version-Release number of selected component (if applicable):
RHEL: release 6.5 (Santiago)
openstack-nova-api-2013.2.1-1.el6ost.noarch
openstack-nova-compute-2013.2.1-1.el6ost.noarch
openstack-nova-scheduler-2013.2.1-1.el6ost.noarch
openstack-nova-common-2013.2.1-1.el6ost.noarch
openstack-nova-console-2013.2.1-1.el6ost.noarch
openstack-nova-conductor-2013.2.1-1.el6ost.noarch
openstack-nova-novncproxy-2013.2.1-1.el6ost.noarch
openstack-nova-cert-2013.2.1-1.el6ost.noarch

How reproducible:
Every time 

Steps to Reproduce:
1. Boot an instance 
2. Pause that instance
3. Reboot host
4. Unpause instance  

Actual results:
can't unpause instance stuck in status paused, power state - shutdown

Expected results:
Instance should unpause, return to running state

Additional info:

virsh list -all --managed-save 
ID is missing from paused instance "-" (pausecirros), state -> shut off.

[root@orange-vdse ~(keystone_admin)]# virsh list --all --managed-save
 Id    Name                           State
----------------------------------------------------
 1     instance-00000003              running
 2     instance-00000002              running
 -     instance-00000001              shut off

[root@orange-vdse ~(keystone_admin)]# nova list  (notice nova status paused)
+--------------------------------------+---------------+--------+------------+-------------+-----------------+
| ID                                   | Name          | Status | Task State | Power State | Networks        |
+--------------------------------------+---------------+--------+------------+-------------+-----------------+
| ebe310c2-d715-45e5-83b6-32717af1ac90 | cirros        | ACTIVE | None       | Running     | net=192.168.1.4 |
| 3ef89feb-414f-4524-b806-f14044efdb14 | pausecirros   | PAUSED | None       | Shutdown    | net=192.168.1.5 |
| 8bcae041-2f92-4ae2-a2c2-ee59b067ac76 | suspendcirros | ACTIVE | None       | Running     | net=192.168.1.2 |
+--------------------------------------+---------------+--------+------------+-------------+-----------------+


Testing without rebooting host, ID/state ("1"/paused) instance (cirros) are ok and it unpauses ok.

[root@orange-vdse ~(keystone_admin)]# virsh list --all --managed-save
 Id    Name                           State
----------------------------------------------------
 1     instance-00000003              paused
 2     instance-00000002              running
 -     instance-00000001              shut off
+--------------------------------------+---------------+--------+------------+-------------+-----------------+
| ID                                   | Name          | Status | Task State | Power State | Networks        |
+--------------------------------------+---------------+--------+------------+-------------+-----------------+
| ebe310c2-d715-45e5-83b6-32717af1ac90 | cirros        | PAUSED | None       | Paused      | net=192.168.1.4 |
| 3ef89feb-414f-4524-b806-f14044efdb14 | pausecirros   | PAUSED | None       | Shutdown    | net=192.168.1.5 |
| 8bcae041-2f92-4ae2-a2c2-ee59b067ac76 | suspendcirros | ACTIVE | None       | Running     | net=192.168.1.2 |
+--------------------------------------+---------------+--------+------------+-------------+-----------------+

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1265494

Title:
  Openstack Nova: Unpause after host reboot fails

Status in OpenStack Compute (Nova):
  New

Bug description:
  Description of problem:
  Unpauseing an instance fails if host has rebooted. 

  Version-Release number of selected component (if applicable):
  RHEL: release 6.5 (Santiago)
  openstack-nova-api-2013.2.1-1.el6ost.noarch
  openstack-nova-compute-2013.2.1-1.el6ost.noarch
  openstack-nova-scheduler-2013.2.1-1.el6ost.noarch
  openstack-nova-common-2013.2.1-1.el6ost.noarch
  openstack-nova-console-2013.2.1-1.el6ost.noarch
  openstack-nova-conductor-2013.2.1-1.el6ost.noarch
  openstack-nova-novncproxy-2013.2.1-1.el6ost.noarch
  openstack-nova-cert-2013.2.1-1.el6ost.noarch

  How reproducible:
  Every time 

  Steps to Reproduce:
  1. Boot an instance 
  2. Pause that instance
  3. Reboot host
  4. Unpause instance  

  Actual results:
  can't unpause instance stuck in status paused, power state - shutdown

  Expected results:
  Instance should unpause, return to running state

  Additional info:

  virsh list -all --managed-save 
  ID is missing from paused instance "-" (pausecirros), state -> shut off.

  [root@orange-vdse ~(keystone_admin)]# virsh list --all --managed-save
   Id    Name                           State
  ----------------------------------------------------
   1     instance-00000003              running
   2     instance-00000002              running
   -     instance-00000001              shut off

  [root@orange-vdse ~(keystone_admin)]# nova list  (notice nova status paused)
  +--------------------------------------+---------------+--------+------------+-------------+-----------------+
  | ID                                   | Name          | Status | Task State | Power State | Networks        |
  +--------------------------------------+---------------+--------+------------+-------------+-----------------+
  | ebe310c2-d715-45e5-83b6-32717af1ac90 | cirros        | ACTIVE | None       | Running     | net=192.168.1.4 |
  | 3ef89feb-414f-4524-b806-f14044efdb14 | pausecirros   | PAUSED | None       | Shutdown    | net=192.168.1.5 |
  | 8bcae041-2f92-4ae2-a2c2-ee59b067ac76 | suspendcirros | ACTIVE | None       | Running     | net=192.168.1.2 |
  +--------------------------------------+---------------+--------+------------+-------------+-----------------+

  
  Testing without rebooting host, ID/state ("1"/paused) instance (cirros) are ok and it unpauses ok.

  [root@orange-vdse ~(keystone_admin)]# virsh list --all --managed-save
   Id    Name                           State
  ----------------------------------------------------
   1     instance-00000003              paused
   2     instance-00000002              running
   -     instance-00000001              shut off
  +--------------------------------------+---------------+--------+------------+-------------+-----------------+
  | ID                                   | Name          | Status | Task State | Power State | Networks        |
  +--------------------------------------+---------------+--------+------------+-------------+-----------------+
  | ebe310c2-d715-45e5-83b6-32717af1ac90 | cirros        | PAUSED | None       | Paused      | net=192.168.1.4 |
  | 3ef89feb-414f-4524-b806-f14044efdb14 | pausecirros   | PAUSED | None       | Shutdown    | net=192.168.1.5 |
  | 8bcae041-2f92-4ae2-a2c2-ee59b067ac76 | suspendcirros | ACTIVE | None       | Running     | net=192.168.1.2 |
  +--------------------------------------+---------------+--------+------------+-------------+-----------------+

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1265494/+subscriptions


Follow ups

References