← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1707619] [NEW] Incorrect URL for polling heat stack

 

Public bug reported:

There is a "topology" tab in the Horizon page which shows heat stack details. It shows stack's resource dependencies graph. Horizon polls for stack changes every few seconds
 (https://github.com/openstack/horizon/blob/stable/newton/horizon/static/horizon/js/horizon.heattop.js#L185)

The problem is that these pool requests fail with following error in apache log:
10.36.5.160 - - [11/Jan/2017:04:51:07 -0500] "GET /project/stacks/get_d3_data/30cbbd0b-8f90-422a-92db-54b77e547920/ HTTP/1.1" 404 262 "http://intel-canoepass-10.lab.bos.redhat.com/dashboard/
project/stacks/stack/30cbbd0b-8f90-422a-92db-54b77e547920/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0"

So it seems it tries to use "/project/stacks/get_d3_data/" instead of
"/dashboard/project/stacks/get_d3_data/". Which is probably because we
define /dashboard base url in horizon httpd config file.

** Affects: horizon
     Importance: Undecided
     Assignee: Beth Elwell (bethelwell)
         Status: In Progress

** Changed in: horizon
     Assignee: (unassigned) => Beth Elwell (bethelwell)

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

Title:
  Incorrect URL for polling heat stack

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  There is a "topology" tab in the Horizon page which shows heat stack details. It shows stack's resource dependencies graph. Horizon polls for stack changes every few seconds
   (https://github.com/openstack/horizon/blob/stable/newton/horizon/static/horizon/js/horizon.heattop.js#L185)

  The problem is that these pool requests fail with following error in apache log:
  10.36.5.160 - - [11/Jan/2017:04:51:07 -0500] "GET /project/stacks/get_d3_data/30cbbd0b-8f90-422a-92db-54b77e547920/ HTTP/1.1" 404 262 "http://intel-canoepass-10.lab.bos.redhat.com/dashboard/
  project/stacks/stack/30cbbd0b-8f90-422a-92db-54b77e547920/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0"

  So it seems it tries to use "/project/stacks/get_d3_data/" instead of
  "/dashboard/project/stacks/get_d3_data/". Which is probably because we
  define /dashboard base url in horizon httpd config file.

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


Follow ups