Bug 1179821
Summary: | Overcloud UI link doesn't point to /dashboard | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Jiri Tomasek <jtomasek> |
Component: | openstack-tuskar-ui | Assignee: | Jiri Tomasek <jtomasek> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Udi Kalifon <ukalifon> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.0 (Juno) | CC: | athomas, jcoufal, kbasil, mburns, nyechiel, yeylon |
Target Milestone: | z2 | Keywords: | TechPreview, ZStream |
Target Release: | 6.0 (Juno) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openstack-tuskar-ui-0.2.0-11.el7ost | Doc Type: | Bug Fix |
Doc Text: |
Cause:
RHOS Dashboard uses WSGIScriptAlias that makes dashboard available under <dashboard-url>/dashboard. Tuskar-UI uses Keystone endpoints to get Overcloud Dashboard url, which does not include "/dashboard" part.
Consequence:
When Overcloud is deployed, Overcloud Dashboard link in Tuskar-UI overview page does not point to Overcloud Dashboard.
Fix:
Downstream patch was created, which adds WEBROOT settings string at the end of Overcloud Dashboard URL
Result:
The link to Overcloud Dashboard in Tuskar-UI overview page is now pointing to correct URL.
Workaround:
Manually add "dashboard" string to the URL of the Overcloud Dashboard link in Tuskar-UI overview page.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2015-03-12 19:52:11 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jiri Tomasek
2015-01-07 15:41:09 UTC
Fix has been posted for a review https://code.engineering.redhat.com/gerrit/40047 There is a redundant colon in the displayed url: http://192.0.2.7:/dashboard The Horizon URL is recovered from keystone endpoint-list (publicurl) which is including the port. In this case the port is blank (which defaults to 80). Unfortunately Keystone returns the URL including the colon. Anyway, this does not affect the functionality of the link so I don't think it is something we'd want to fix on the UI side. It might be eventually fixed on the Keystone side. I changed the endpoint in keysstone to point to http://192.0.2.7/dashboard, and in the undercloud I got the url: http://192.0.2.7/dashboarddashboard Let's decide what the url should be in keystone and only add another "dashboard" in the end if necessary... Then we can close this bug and open another one on the keystone endpoint creation. I can revert current patch and create new one that changes the url when horizon endpoint url is created after deployment. So the horizon endpoint URL in Keystone will be correct. Although os-cloud-config hardcodes colon to the endpoint url, so I am not able to remove it. I emphasize the fact that colon in url does not cause it to be wrong. I can set the port to 80 so the port number is actually present in the url. Do you think it is good enough? Hardcoded colon is os-cloud-config bug. The best approach seems to me to change the endpoint url in keystone after deployment so it would be correct. However, I'm not the one who should decide on it. I actually don't understand why horizon and its endpoint are even defined in keystone when using TripleO. When you install with packstack, for example, horizon's service and endpoint are not even defined. Do we really need them in keystone? As we agreed, the current fix is good enough for RHOS 6.0 A2. A new bug will be filed against 7.0, where dashboard url will be properly set when keystone endpoints are set instead of changing the url in the template. New bug for OSP 7 is here: https://bugzilla.redhat.com/show_bug.cgi?id=1199923 This was actually fixed in A1. |