horizon not writing region when generating openrc file

Bug #1334791 reported by Matt Fischer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Matt Fischer
Icehouse
Fix Released
Medium
Matt Fischer

Bug Description

When generating the openrc file, Horizon is not setting the OS_REGION_NAME.

It's not even in the template file, which explains why it doesn't work.

openstack_dashboard/dashboards/project/access_and_security/templates/access_and_security/api_access/openrc.sh.template

Matt Fischer (mfisch)
Changed in horizon:
status: New → In Progress
assignee: nobody → Matt Fischer (mfisch)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Matt Fischer (<email address hidden>) on branch: master
Review: https://review.openstack.org/103008
Reason: needs more cleanup

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

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

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

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

commit a8692b7726fb43af867844950538eb5ce6436a35
Author: Matt Fischer <email address hidden>
Date: Fri Jun 27 10:04:47 2014 -0600

    Add OS_REGION_NAME to openrc

    The openrc file that is downloaded from Horizon is missing the
    OS_REGION_NAME setting. This causes issues in environments that have
    multiple regions. If the Region is none, ensure that it is unset after
    sourcing the rc file to avoid and empty variable. This fix also cleans
    up some language in the generated openrc file.

    Change-Id: Ieab0b13afd79158c6bf603891164f01aff3aabf3
    Closes-Bug: #1334791

Changed in horizon:
status: In Progress → Fix Committed
Changed in horizon:
milestone: none → juno-2
status: Fix Committed → Fix Released
Julie Pichon (jpichon)
Changed in horizon:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/113293

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (stable/icehouse)

Reviewed: https://review.openstack.org/113293
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=839c53d983e26a69edd6f92cb8746c8916541101
Submitter: Jenkins
Branch: stable/icehouse

commit 839c53d983e26a69edd6f92cb8746c8916541101
Author: Matt Fischer <email address hidden>
Date: Fri Jun 27 10:04:47 2014 -0600

    Add OS_REGION_NAME to openrc

    The openrc file that is downloaded from Horizon is missing the
    OS_REGION_NAME setting. This causes issues in environments that have
    multiple regions. If the Region is none, ensure that it is unset after
    sourcing the rc file to avoid and empty variable. This fix also cleans
    up some language in the generated openrc file.

    Change-Id: Ieab0b13afd79158c6bf603891164f01aff3aabf3
    Closes-Bug: #1334791
    (cherry picked from commit a8692b7726fb43af867844950538eb5ce6436a35)

Thierry Carrez (ttx)
Changed in horizon:
milestone: juno-2 → 2014.2
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.