yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #01558
[Bug 996879] Re: Host "get" is case-insensitive while host "update" is not
** Changed in: nova
Status: Fix Committed => Fix Released
--
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/996879
Title:
Host "get" is case-insensitive while host "update" is not
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
Using the hosts API extension with a host named "node1" I can make the
following three GET calls and get the same result:
http://10.144.11.107:8774/v2/6aa32ccc519140dab38ee5d231df7ed4/os-hosts/node1
http://10.144.11.107:8774/v2/6aa32ccc519140dab38ee5d231df7ed4/os-hosts/NODE1
http://10.144.11.107:8774/v2/6aa32ccc519140dab38ee5d231df7ed4/os-hosts/nOdE1
But if I make an update call (PUT), only the lowercase (correct)
version works.
http://10.144.11.107:8774/v2/6aa32ccc519140dab38ee5d231df7ed4/os-
hosts/node1
Otherwise a 500 response is returned due to the API not catching
exception.HostNotFound properly.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/996879/+subscriptions