Comment 1 for bug 1064822

Revision history for this message
Joe T (joe-topjian-v) wrote :

Hello,

Coincidentally I ran into the need to fix this problem around the same time you opened this bug report. I have modified Horizon (Essex) to fix this.

https://github.com/jtopjian/horizon-2012.1.3/commit/6690c14a6bb54fdf9df61dc2f9f3ea3522ce861b

The core issue is that the tuple format of AVAILABLE_REGIONS has to be (value, key) to accommodate for Django's drop-down box. This is why (region_endpoint, region_name) has to be entered in that order.

The fix I did is pretty hack-ish, but it gets the job done. There are also other commits in that repo that provide additional region functionality to Horizon.

If you do not want to modify the code, the other workaround is to have your Keystone server be accessible via multiple IPs or multiple hostnames.

Hope that helps,
Joe