Bug 1174776
| Summary: | User can not login into the overcloud horizon using the proper credentials | ||
|---|---|---|---|
| Product: | [Community] RDO | Reporter: | Ami Jeain <ajeain> |
| Component: | openstack-tripleo | Assignee: | James Slagle <jslagle> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Shai Revivo <srevivo> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | Juno | CC: | chris.brown, srevivo, ukalifon |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-06-18 06:31:57 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
Ami Jeain
2014-12-16 13:03:21 UTC
We have the local_settings misconfigured. Can you try the following on your overcloud controller as root and see if this fixes it? /bin/cp /etc/horizon/local_settings.py /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py sed -i 's#^STATIC_ROOT.*#STATIC_ROOT = "'/usr/share/openstack-dashboard/static'"#' /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py systemctl restart httpd
> Also:
>
> running the following command on the overcloud controller:
>
> # openstack-status |grep dashboard
>
> gives:
>
> openstack-dashboard: uncontactable
For this piece, openstack-status does a curl against localhost for the dashboard test. That
does not seem to be working in the TripleO case, I'd assume because of the HA
setup and the fact that httpd is not bound to localhost.
I wonder if this works in an HA setup deployed by Foreman?
this is fixed in a new brew build of openstack-tripleo-image-elements: https://brewweb.devel.redhat.com/buildinfo?buildID=404391 openstack-tripleo-image-elements-0.8.10-11.el7ost You would need to update to this build on your undercloud, and then rebuild the overcloud control image. (In reply to James Slagle from comment #4) > this is fixed in a new brew build of openstack-tripleo-image-elements: > https://brewweb.devel.redhat.com/buildinfo?buildID=404391 > openstack-tripleo-image-elements-0.8.10-11.el7ost > > You would need to update to this build on your undercloud, and then rebuild > the overcloud control image. To rebuild the overcloud-control image, remove or mv the old one out of the way on the undercloud cd /home/stack rm -rf overcloud-control* Re-run image build script: instack-build-images Load image into glance via this script: instack-prepare-for-overcloud This has been fixed for years so can be closed. |