← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1707619] Re: Incorrect URL for polling heat stack

 

Reviewed:  https://review.openstack.org/489172
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=953cd789a67714d7436f3fdf1979e0eb6b78520b
Submitter: Jenkins
Branch:    master

commit 953cd789a67714d7436f3fdf1979e0eb6b78520b
Author: Beth Elwell <belwell@xxxxxxxxxx>
Date:   Mon Jul 31 11:34:11 2017 +0100

    Incorrect URL for polling heat stack
    
    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.
    
    Currently these pool requests fail in some environments with errors in the
    apache log. This is due to the WEBROOT not being taken into account which would
    change the path required. This patch fixes this issue.
    
    Change-Id: I894d8ab97bc3f67d408ce2f5496da1570d2fb1d3
    Closes-Bug: #1707619


** Changed in: horizon
       Status: In Progress => Fix Released

-- 
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):
  Fix Released

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


References