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 <[email protected]<mailto:[email protected]>>
Date: Tuesday, July 19, 2016 at 8:35 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
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

​
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to