[Openstack] [Horizon] Is there a way to hide specific region in Horizon ?

Kuo Hugo tonytkdk at gmail.com
Wed Jul 20 03:15:25 UTC 2016


Hi Brad,

Thanks for your insights and recommendation. To remove the dedicated Swift
endpoint works for CLI without problem. But this endpoint must be in the
Keystone server since our users need to get the storage url of Swift
Account of this region.

Seems like the available regions in Horizon is not designed as what I need.
It simply separates regions into multiple Keystone.  But we keep single
Keystone DB for multiple Keystone instance.
http://docs.openstack.org/developer/horizon/topics/settings.html#available-regions

I'm thinking if there's any other way to achieve that.
Thanks for your answers.

Regards // Hugo

2016-07-20 2:02 GMT+08:00 Brad Pokorny <Brad_Pokorny at symantec.com>:

> Currently, I think you need to have at least Keystone and Nova in each
> region for Horizon to work. This is a known limitation, and there's ongoing
> work to remove the Nova requirement [0]. I don't know of anything that can
> be done from the Horizon side to restrict regions, but you could try
> removing the Swift and Keystone endpoints for the region from the catalog
> of the Keystone specified by OPENSTACK_KEYSTONE_URL in the Horizon
> config. That will probably prevent you from using the Swift CLI for the
> region, but it will prevent the region from showing up in Horizon. You
> could then still use the Swift APIs directly for that region. Pretty
> complicated workaround, but I don't know of an easier way.
>
> [0] https://review.openstack.org/#/c/342283/
>
> Thanks,
> Brad
>
> From: Kuo Hugo <tonytkdk at gmail.com>
> Date: Tuesday, July 19, 2016 at 8:35 AM
> To: "openstack at lists.openstack.org" <openstack at lists.openstack.org>
> Subject: [Openstack] [Horizon] Is there a way to hide specific region in
> Horizon ?
>
> Hi Folks,
>
> We’re doing a test to have multiple Swift endpoints with different region
> names.
> One of the region has Swift endpoint only without other services.
>
> So while user selects the region which has Swift endpoint, the Horizon
> just crashed.
> *Horizon version : IceHouse*
>
>    - Is this a known bug ?
>    - Is there a way to restrict user from seeing a specific region in the
>    drop-down menu in the Horizon ?
>
> Thanks // Hugo
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160720/e98be8d8/attachment.html>


More information about the Openstack mailing list