← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1208369] Re: Evacuate should check if host exists before attempting to evacuate

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-3

-- 
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/1208369

Title:
  Evacuate should check if host exists before attempting to evacuate

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  $nova host-list | grep compute
  | dev-01    | compute     | nova     |
  | dev-02    | compute     | nova     |

  now evacuate an instance from a dead host to something that does not
  exist

   nova.api.openstack.wsgi [req-7efb6d6a-d0ea-4d7f-bae9-2fe0a8817e20
  admin admin] Action: 'action', body: {"evacuate": {"host": "dev-03",
  "onSharedStorage": false}} _process_stack
  /opt/stack/nova/nova/api/openstack/wsgi.py:927

  nova.api.openstack.wsgi [req-2656ac2b-92e3-4212-a0ec-f81da2c6533f
  admin admin] Action: 'action', body: {"evacuate": {"host": "dev-03",
  "onSharedStorage": false}} _process_stack
  /opt/stack/nova/nova/api/openstack/wsgi.py:927

  nova.openstack.common.rpc.amqp [req-2656ac2b-92e3-4212-a0ec-
  f81da2c6533f admin admin] Making asynchronous cast on
  compute.dev-03... cast
  /opt/stack/nova/nova/openstack/common/rpc/amqp.py:542

  and the instance goes into rebuilding.

  Should check if host dev-03 exists before sending the request.

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