Ask Your Question
0

how to set default region in horizon -OpenStack Juno

asked 2015-08-03 01:56:24 -0600

bikkumar gravatar image

I have two regions in my setup , i want to set one of the region as default region for users to land.

Please give me instructions how i can achieve in horizon dashboard

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-08-04 01:51:40 -0600

Tobias Urdin gravatar image

Hello,

You can set all your regions in the configuration file /etc/openstack-dashboard/local_settings.py for Horizon. You can uncomment this section and add your regions if you haven't already, the first one should be the one that is selected by default.

AVAILABLE_REGIONS = [
    ('http://1.2.3.4:5000/v2.0', 'region1'),
    ('http://1.2.3.4:5000/v2.0', 'region2'),
]

Remember to make sure the indent is correct, the configuration file is usually pretty sensitive to such. Best regards

edit flag offensive delete link more

Comments

Thanks tobasco, I tried this solution , with it user get option of region on login window , however after login still user lands in different region

So its not working as expected

bikkumar gravatar imagebikkumar ( 2015-08-04 07:50:41 -0600 )edit

Hmm, weird. Maybe it determines the first region by alphabetic order or the order it was created in then. You should however be able to select the region when you are logged in to Horizon, perhaps there is no good workaround for this issue.

Tobias Urdin gravatar imageTobias Urdin ( 2015-08-05 04:31:11 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-08-03 01:56:24 -0600

Seen: 828 times

Last updated: Aug 04 '15