Incorrect URL address setting in openrc-example

Bug #1509865 reported by Hui Kang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Low
Hui Kang

Bug Description

openrc-example uses "kolla_external_address:keystone_admin_port". But admin port by default is associated with kola_internal_address.

Should it be "export OS_AUTH_URL=http://<kolla_internal_address>:<keystone_admin_port>"? Thanks.

- Hui

Changed in kolla:
assignee: nobody → Amulya Battu (battu-amulya)
Revision history for this message
Hui Kang (huikang27) wrote :

Hi, Amulya, a fix is created at https://review.openstack.org/#/c/239992/

Changed in kolla:
assignee: Amulya Battu (battu-amulya) → nobody
assignee: nobody → Hui Kang (huikang27)
Revision history for this message
Steven Dake (sdake) wrote :

I'm not sure what the port should be but the credential file should definately be external address.

Changed in kolla:
status: New → Triaged
importance: Undecided → Low
milestone: none → mitaka-1
Revision history for this message
Steven Dake (sdake) wrote :

probably the correct change is to change from admin port to the normal port (5000) and definitely leave external address alone. This is why I am removing my -2 so the problem can be resolved in the same patch.

Revision history for this message
Hui Kang (huikang27) wrote : Re: [Bug 1509865] Re: Incorrect URL address setting in openrc-example

Hi, Steven
I think this openrc is used for admin (that's why using the port
35357). So shall there be 2 rc files: one for admin and one for
external user?

- Hui

On Sun, Nov 1, 2015 at 6:12 AM, Steven Dake <email address hidden> wrote:
> probably the correct change is to change from admin port to the normal
> port (5000) and definitely leave external address alone. This is why I
> am removing my -2 so the problem can be resolved in the same patch.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1509865
>
> Title:
> Incorrect URL address setting in openrc-example
>
> Status in kolla:
> Triaged
>
> Bug description:
> openrc-example uses "kolla_external_address:keystone_admin_port". But
> admin port by default is associated with kola_internal_address.
>
> Should it be "export
> OS_AUTH_URL=http://<kolla_internal_address>:<keystone_admin_port>"?
> Thanks.
>
> - Hui
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/kolla/+bug/1509865/+subscriptions

Revision history for this message
Sam Yaple (s8m) wrote :

If you want two openrc files thats fine. I dont really care, but for the record internal_address is correct when run internally. Thats 99% of the time for an admin.

If an enduser wants an openrc file they just use Horizon in my experience. This example file should be internal address.

Revision history for this message
Hui Kang (huikang27) wrote :

Hi, Sam and Steven,
Can we agree on using only one example openrc file with internal
address and the admin port?

- Hui

On Sun, Nov 1, 2015 at 6:55 PM, Sam Yaple <email address hidden> wrote:
> If you want two openrc files thats fine. I dont really care, but for the
> record internal_address is correct when run internally. Thats 99% of the
> time for an admin.
>
> If an enduser wants an openrc file they just use Horizon in my
> experience. This example file should be internal address.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1509865
>
> Title:
> Incorrect URL address setting in openrc-example
>
> Status in kolla:
> Triaged
>
> Bug description:
> openrc-example uses "kolla_external_address:keystone_admin_port". But
> admin port by default is associated with kola_internal_address.
>
> Should it be "export
> OS_AUTH_URL=http://<kolla_internal_address>:<keystone_admin_port>"?
> Thanks.
>
> - Hui
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/kolla/+bug/1509865/+subscriptions

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/239992
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=bcce4502ed8a236ee12c18713dfc4ec28ee3ad94
Submitter: Jenkins
Branch: master

commit bcce4502ed8a236ee12c18713dfc4ec28ee3ad94
Author: Hui Kang <email address hidden>
Date: Wed Oct 28 12:50:02 2015 -0400

    Use kolla_internal_address in the example rc file

    Change-Id: I4ec1b5208a347a45ff729e1d8bff6fe6e37b925e
    Closes-Bug: #1509865

Changed in kolla:
status: Triaged → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

Fix proposed to branch: master
Review: https://review.openstack.org/242256

Sam Yaple (s8m)
Changed in kolla:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla (master)

Change abandoned by Steven Dake (<email address hidden>) on branch: master
Review: https://review.openstack.org/242256
Reason: I don't think anyone cares :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.