Public bug reported:

The server['fault'] response key is a joined column in the
instance_faults table, but is not listed in the blacklisted list of
joined table keys:

https://github.com/openstack/nova/blob/43f4755d5e034a6ff1cd5788d76851642027a54e/nova/api/openstack/compute/schemas/servers.py#L298

it's also not listed as an ignored sort key, but we can't sort on fault
since it's a dict in the response:

https://github.com/openstack/nova/blob/43f4755d5e034a6ff1cd5788d76851642027a54e/nova/api/openstack/compute/schemas/servers.py#L312

I'm not sure what would happen if you tried sorting instances on fault,
but I think filtering on fault probably results in a 500 error.

** Affects: nova
     Importance: Medium
         Status: Invalid


** Tags: api

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

Title:
  server fault is not blacklisted for filtering/sorting

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  The server['fault'] response key is a joined column in the
  instance_faults table, but is not listed in the blacklisted list of
  joined table keys:

  
https://github.com/openstack/nova/blob/43f4755d5e034a6ff1cd5788d76851642027a54e/nova/api/openstack/compute/schemas/servers.py#L298

  it's also not listed as an ignored sort key, but we can't sort on
  fault since it's a dict in the response:

  
https://github.com/openstack/nova/blob/43f4755d5e034a6ff1cd5788d76851642027a54e/nova/api/openstack/compute/schemas/servers.py#L312

  I'm not sure what would happen if you tried sorting instances on
  fault, but I think filtering on fault probably results in a 500 error.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to