yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #56921
[Bug 1626490] [NEW] placement api root resource is only '/' not '' which can lead to unexpected 404s
Public bug reported:
The placement api handler for root is defined as matching '/'. This
works fine in those situations where the requested URL actually includes
the '/' but in some situations it can be easy to not include it. If, for
example, the API is mounted under a prefix like '/placement' (as in the
default devstack setup) then it is possible to make a request to
http://example.com/placement and get a 404 whereas
http://example.com/placement/ will get the expected microversion
information.
This ought to be easy to fix and was basically an oversight.
** Affects: nova
Importance: Undecided
Status: New
** Tags: api placement scheduler
--
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/1626490
Title:
placement api root resource is only '/' not '' which can lead to
unexpected 404s
Status in OpenStack Compute (nova):
New
Bug description:
The placement api handler for root is defined as matching '/'. This
works fine in those situations where the requested URL actually
includes the '/' but in some situations it can be easy to not include
it. If, for example, the API is mounted under a prefix like
'/placement' (as in the default devstack setup) then it is possible to
make a request to http://example.com/placement and get a 404 whereas
http://example.com/placement/ will get the expected microversion
information.
This ought to be easy to fix and was basically an oversight.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1626490/+subscriptions
Follow ups