← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1410949] Re: list servers should notify user when invalid search options are passed

 

This wishlist bug has been open a year without any activity. I'm going
to move it to "Opinion / Wishlist", which is an easily-obtainable queue
of older requests that have come on. If you decide to work on this
consider using a blueprint [1] (maybe with a spec [2]). I'll recommend to 
read [3] if not yet done. 

References:
[1] https://blueprints.launchpad.net/nova/
[2] https://github.com/openstack/nova-specs
[3] https://wiki.openstack.org/wiki/Blueprints

** Changed in: nova
       Status: Confirmed => Opinion

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

Title:
  list servers should notify user when invalid search options are passed

Status in OpenStack Compute (nova):
  Opinion
Status in python-novaclient:
  Invalid

Bug description:
  Given a bank of instances:
  =====================

  ID | Server
  8cf19a86-c523-4155-9bce-f78837be8c7d | test1.example.com
  b15ef5bf-35c0-4c83-acd9-f8129fcc364b | test2.example.com
  e0787cd2-5781-4007-b42f-ebee6a0bf1ec | test3.example.com

  The following (simplified) code:
  =========================

  from novaclient.client import Client 
  ...
  nova = Client(2, session=sess)
  ...
  # intentionally take the first item returned in list
  server = nova.servers.list(detailed=True, search_opts={'id': 'FAKE-UUID'})[0]

  Expected:
  ========
  server.id = null  (because no server would be returned)

  Actual:
  ======
  server.id = '8cf19a86-c523-4155-9bce-f78837be8c7d'

  I am not sure if it is returning the next closest serer, the last
  server built, etc. All I know is I am not getting back the server I
  would have expected back.

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


References