[Openstack] Changing OPENSTACK_KEYSTONE_URL for Horizon

Martinx - ジェームズ thiagocmartinsc at gmail.com
Wed Jun 11 20:29:27 UTC 2014


Tks Rob!

But it still doesn't work, I tried it with:

---
OPENSTACK_KEYSTONE_URL = "http://controller-1.domain.com.br:5000/v2.0"
---

No error 500 but, Horizon is still trying to reach:

---
http://psuaa-1.mng.domain.com.br:5000/v2.0/OS-KSCRUD/users/a8c94b8ce013421891ea2086071b5cdf
---

I'm still seeing the same error while trying to change user password...

Horizon seems to not use OPENSTACK_KEYSTONE_URL for this case... What
variable should I need to adjust?

I mean, Horizon needs to use publicURL, NOT adminURL.

Any tips!?

Best,
Thiago



On 11 June 2014 10:14, Rob Crittenden <rcritten at redhat.com> wrote:

> Martinx - ジェームズ wrote:
> > Guys,
> >
> > Currently, my file /etc/openstack-dashboard/local_settings.py have the
> > following entry:
> >
> > ---
> > OPENSTACK_KEYSTONE_URL = "http://%s:5000/v2.0" % OPENSTACK_HOST
> > ---
> >
> >
> > BUT, Horizon users are unable to change their passwords, look:
> >
> > *Error: *Unable to change password.
> >
> >
> > Apache error.log:
> >
> > ---
> > Recoverable error: Unable to establish connection to
> >
> http://controller-1.mng.domain.com.br:5000/v2.0/OS-KSCRUD/users/a8c94b8ce013421891ea2086071b5cdf
> > ---
> >
> > Nevertheless, my Keystone Endpoint is currently listening on a
> > different, and public, interface, which is
> > "controller-1.domain.com.br:5000
> > <http://controller-1.domain.com.br:5000>" (_without_ "*_mng._*")...
> >
> > So, how can I reconfigure OPENSTACK_KEYSTONE_URL to point to the
> > "publicURL", instead of "adminURL" ?
> >
> > I tried it with:
> >
> > ---
> > OPENSTACK_KEYSTONE_URL = "http://controller-1.domain.com.br:5000/v2.0" %
> > OPENSTACK_HOST
> > ---
> >
> > But then, it triggered an "Internal Server Error - 500"...
>
> This is a python file. You basically passed in an unused argument. Drop
> the % OPENSTACK_HOST. That will fix the 500 error.
>
> rob
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140611/117c7717/attachment.html>


More information about the Openstack mailing list