← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1964578] [NEW] nova list deleted instance as BUILD status

 

Public bug reported:

Description
===========

When create server API fails because of no valid host, the instance's
status goes into ERROR, and then users delete the instance by delete
server API. After that, users query the instances by list server API,
the deleted error instance is still there with status stucked as BUILD.

Steps to reproduce
==================

1. create openstack all-in-one with kolla-ansible
2. boot instances until nova scheduler says "no valid host was found"
3. check the error instance's status, then its status goes into "ERROR".
4. delete the error instance by openstack client command: "openstack server delete <instance-uuid>"
5. list the instances with openstack client command: "openstack server list"
6. show the detail of instance in the list above with command: "openstack server show <instance-uuid>"

Expected result
===============

The deleted error instance should not been exist in the "openstack
server list"

Actual result
=============

The deleted error instance is still in the "openstack server list" with status stucked as BUILD, but when the
user get the detail of the instance by "openstack server show <isntance-uuid>", the result is 404(Not Found).

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

Title:
  nova list deleted instance as BUILD status

Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  ===========

  When create server API fails because of no valid host, the instance's
  status goes into ERROR, and then users delete the instance by delete
  server API. After that, users query the instances by list server API,
  the deleted error instance is still there with status stucked as
  BUILD.

  Steps to reproduce
  ==================

  1. create openstack all-in-one with kolla-ansible
  2. boot instances until nova scheduler says "no valid host was found"
  3. check the error instance's status, then its status goes into "ERROR".
  4. delete the error instance by openstack client command: "openstack server delete <instance-uuid>"
  5. list the instances with openstack client command: "openstack server list"
  6. show the detail of instance in the list above with command: "openstack server show <instance-uuid>"

  Expected result
  ===============

  The deleted error instance should not been exist in the "openstack
  server list"

  Actual result
  =============

  The deleted error instance is still in the "openstack server list" with status stucked as BUILD, but when the
  user get the detail of the instance by "openstack server show <isntance-uuid>", the result is 404(Not Found).

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



Follow ups