[Yahoo-eng-team] [Bug 1405069] Re: nova client list not working when pass sort parameter

2015-03-26 Thread Eli Qiao
patch in oslo.db get merged.
https://review.openstack.org/#/c/143632/

** No longer affects: nova

** No longer affects: python-novaclient

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

Title:
  nova client list not working when pass sort parameter

Status in Oslo Database library:
  Fix Committed

Bug description:
  nova client send error request url to nova-api

  nova --debug list  --all-tenants --deleted --sort name

  
  ...
  DEBUG (session:162) REQ: curl -i -X GET 
http://cloudcontroller:8774/v2/d7beb7f28e0b4f41901215000339361d/servers/detail?all_tenants=1deleted=Truesort_dir=descsort_key=name
 -H User-Agent: python-novaclient -H Accept: application/json -H 
X-Auth-Token: {SHA1}6ba6e70be8c8367deec4e1696758b7dc4a1a891a
  ...

  ClientException: The server has either erred or is incapable of performing 
the requested operation. (HTTP 500) (Request-ID: 
req-c2a132da-05b0-4db3-84ee-1b8aeb7d0f61)
  ERROR (ClientException): The server has either erred or is incapable of 
performing the requested operation. (HTTP 500) (Request-ID: 
req-c2a132da-05b0-4db3-84ee-1b8aeb7d0f61)

  the url parameter should be passed as 'sort_keys' instead of
  'sort_key'

  beside, nova-api/nova should handle this exception instead of raise an
  internal error(500) this to customer.

To manage notifications about this bug go to:
https://bugs.launchpad.net/oslo.db/+bug/1405069/+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


[Yahoo-eng-team] [Bug 1405069] Re: nova client list not working when pass sort parameter

2014-12-22 Thread Eli Qiao
** Changed in: python-novaclient
   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/1405069

Title:
  nova client list not working when pass sort parameter

Status in OpenStack Compute (Nova):
  New
Status in Python client library for Nova:
  Invalid

Bug description:
  nova client send error request url to nova-api

  nova --debug list  --all-tenants --deleted --sort name

  
  ...
  DEBUG (session:162) REQ: curl -i -X GET 
http://cloudcontroller:8774/v2/d7beb7f28e0b4f41901215000339361d/servers/detail?all_tenants=1deleted=Truesort_dir=descsort_key=name
 -H User-Agent: python-novaclient -H Accept: application/json -H 
X-Auth-Token: {SHA1}6ba6e70be8c8367deec4e1696758b7dc4a1a891a
  ...

  ClientException: The server has either erred or is incapable of performing 
the requested operation. (HTTP 500) (Request-ID: 
req-c2a132da-05b0-4db3-84ee-1b8aeb7d0f61)
  ERROR (ClientException): The server has either erred or is incapable of 
performing the requested operation. (HTTP 500) (Request-ID: 
req-c2a132da-05b0-4db3-84ee-1b8aeb7d0f61)

  the url parameter should be passed as 'sort_keys' instead of
  'sort_key'

  beside, nova-api/nova should handle this exception instead of raise an
  internal error(500) this to customer.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1405069/+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