← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2089223] [NEW] Replace placement request path

 

Public bug reported:

If the placement endpoint contains '/' at the end of the path such as 'http://placement.com/', the placement api request results in 404 not found. 
It is because there are duplicate '/' characters after calling the function '_get_json'.

For example, When using function 'resource_privoders', If the endpoint
is 'http://placement.com/', the API request is performed as
'http://placement.com//resource_providers'.

https://opendev.org/openstack/horizon/src/branch/master/openstack_dashboard/api/placement.py#L56

** Affects: horizon
     Importance: Undecided
     Assignee: LeeChunghwan (chung00lee)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => LeeChunghwan (chung00lee)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/2089223

Title:
  Replace placement request path

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  If the placement endpoint contains '/' at the end of the path such as 'http://placement.com/', the placement api request results in 404 not found. 
  It is because there are duplicate '/' characters after calling the function '_get_json'.

  For example, When using function 'resource_privoders', If the endpoint
  is 'http://placement.com/', the API request is performed as
  'http://placement.com//resource_providers'.

  https://opendev.org/openstack/horizon/src/branch/master/openstack_dashboard/api/placement.py#L56

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