← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1659391] Re: Server list API does not show scheduled servers that are not assigned to any cell

 

Cells are not optional in Nova as of Ocata. Since cells are required,
you should not see instances that are not assigned to a cell, because
such a thing is not possible (post-scheduling).

Creating an instance before nova is fully setup is not valid either.

These two things combined are doubly invalid.

** Changed in: nova
       Status: New => Invalid

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

Title:
  Server list API does not show scheduled servers that are not assigned
  to any cell

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  After merge of commit [1] command "nova list --all-" started returning
  list of servers that are assigned to some cell only. Revert of this
  change makes API return ALL servers including scheduled ones without
  assigned cells. In case server failed on scheduling step and hasn't
  been assigned to any cell, then we will never see it using "list
  servers" API.

  But, "list" operation should always show ALL servers.

  Steps to reproduce:
  1) install latest nova that contains commit [1], not configuring cell service and not creating default cell.
  2) create VM
  3) run any of following commands:
  $ nova list --all-
  $ openstack server list --all
  $ openstack server show %name-of-server%
  $ nova show %name-of-server%

  Expected: we see data of server we created on second step.
  Actual: our server is absent in "list" command results or "NotFound" error on "show" command using "name" of server.

  There can be other approach for reproducing it, but we need to use
  "pdb" before step where we assign cell to server.

  [1] https://review.openstack.org/#/c/396775/

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


References