← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1368347] [NEW] Incorrect status/power state for the instance(s) when the compute node is powered down

 

Public bug reported:

OpenStack version: Icehouse

Issue: in a 3-node setup, namely Controller, Compute and Network, when
the compute node is powered down, "nova list" shows the instance(s)
incorrectly as ACTIVE/Running.

root@Controller:/home/guest# nova service-list
+------------------+------------+----------+---------+-------+----------------------------+-----------------+
| Binary           | Host       | Zone     | Status  | State | Updated_at                 | Disabled Reason |
+------------------+------------+----------+---------+-------+----------------------------+-----------------+
| nova-cert        | Controller | internal | enabled | up    | 2014-09-11T16:34:38.000000 | -               |
| nova-conductor   | Controller | internal | enabled | up    | 2014-09-11T16:34:39.000000 | -               |
| nova-consoleauth | Controller | internal | enabled | up    | 2014-09-11T16:34:38.000000 | -               |
| nova-scheduler   | Controller | internal | enabled | up    | 2014-09-11T16:34:38.000000 | -               |
| nova-compute     | Compute    | nova     | enabled | down  | 2014-09-11T15:40:27.000000 | -               |
+------------------+------------+----------+---------+-------+----------------------------+-----------------+

root@Controller:/home/guest# nova list
+--------------------------------------+---------------------------------------------+--------+------------+-------------+---------------------+
| ID                                   | Name                                        | Status | Task State | Power State | Networks            |
+--------------------------------------+---------------------------------------------+--------+------------+-------------+---------------------+
| 4bc94154-e60f-46a4-8e3d-040a45ee725d | cirros-4bc94154-e60f-46a4-8e3d-040a45ee725d | ACTIVE | -          | Running     | int-net=172.16.1.57 |
| 871822f1-5cae-4d46-a65a-a7343d8673d6 | cirros-871822f1-5cae-4d46-a65a-a7343d8673d6 | ACTIVE | -          | Running     | int-net=172.16.1.58 |
| 87c05ff7-e83c-47c5-8960-9aeb4211d23b | cirros-87c05ff7-e83c-47c5-8960-9aeb4211d23b | ACTIVE | -          | Running     | int-net=172.16.1.54 |
| 90d10593-7b47-4e7e-b47d-ccd6bdde55de | cirros-90d10593-7b47-4e7e-b47d-ccd6bdde55de | ACTIVE | -          | Running     | int-net=172.16.1.56 |
| f9f7a788-79ea-4948-8c93-dc9fe74071e3 | cirros-f9f7a788-79ea-4948-8c93-dc9fe74071e3 | ACTIVE | -          | Running     | int-net=172.16.1.55 |
+--------------------------------------+---------------------------------------------+--------+------------+-------------+---------------------+

** 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/1368347

Title:
  Incorrect status/power state for the instance(s) when the compute node
  is powered down

Status in OpenStack Compute (Nova):
  New

Bug description:
  OpenStack version: Icehouse

  Issue: in a 3-node setup, namely Controller, Compute and Network, when
  the compute node is powered down, "nova list" shows the instance(s)
  incorrectly as ACTIVE/Running.

  root@Controller:/home/guest# nova service-list
  +------------------+------------+----------+---------+-------+----------------------------+-----------------+
  | Binary           | Host       | Zone     | Status  | State | Updated_at                 | Disabled Reason |
  +------------------+------------+----------+---------+-------+----------------------------+-----------------+
  | nova-cert        | Controller | internal | enabled | up    | 2014-09-11T16:34:38.000000 | -               |
  | nova-conductor   | Controller | internal | enabled | up    | 2014-09-11T16:34:39.000000 | -               |
  | nova-consoleauth | Controller | internal | enabled | up    | 2014-09-11T16:34:38.000000 | -               |
  | nova-scheduler   | Controller | internal | enabled | up    | 2014-09-11T16:34:38.000000 | -               |
  | nova-compute     | Compute    | nova     | enabled | down  | 2014-09-11T15:40:27.000000 | -               |
  +------------------+------------+----------+---------+-------+----------------------------+-----------------+

  root@Controller:/home/guest# nova list
  +--------------------------------------+---------------------------------------------+--------+------------+-------------+---------------------+
  | ID                                   | Name                                        | Status | Task State | Power State | Networks            |
  +--------------------------------------+---------------------------------------------+--------+------------+-------------+---------------------+
  | 4bc94154-e60f-46a4-8e3d-040a45ee725d | cirros-4bc94154-e60f-46a4-8e3d-040a45ee725d | ACTIVE | -          | Running     | int-net=172.16.1.57 |
  | 871822f1-5cae-4d46-a65a-a7343d8673d6 | cirros-871822f1-5cae-4d46-a65a-a7343d8673d6 | ACTIVE | -          | Running     | int-net=172.16.1.58 |
  | 87c05ff7-e83c-47c5-8960-9aeb4211d23b | cirros-87c05ff7-e83c-47c5-8960-9aeb4211d23b | ACTIVE | -          | Running     | int-net=172.16.1.54 |
  | 90d10593-7b47-4e7e-b47d-ccd6bdde55de | cirros-90d10593-7b47-4e7e-b47d-ccd6bdde55de | ACTIVE | -          | Running     | int-net=172.16.1.56 |
  | f9f7a788-79ea-4948-8c93-dc9fe74071e3 | cirros-f9f7a788-79ea-4948-8c93-dc9fe74071e3 | ACTIVE | -          | Running     | int-net=172.16.1.55 |
  +--------------------------------------+---------------------------------------------+--------+------------+-------------+---------------------+

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


Follow ups

References