<div dir="ltr">Hi Brad, <div><br></div><div>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.  </div><div><br></div><div>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. </div><div><a href="http://docs.openstack.org/developer/horizon/topics/settings.html#available-regions">http://docs.openstack.org/developer/horizon/topics/settings.html#available-regions</a><br></div><div><br></div><div>I'm thinking if there's any other way to achieve that. </div><div>Thanks for your answers. <br></div><div><br></div><div>Regards // Hugo</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-07-20 2:02 GMT+08:00 Brad Pokorny <span dir="ltr"><<a href="mailto:Brad_Pokorny@symantec.com" target="_blank">Brad_Pokorny@symantec.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>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 <span style="font-family:Menlo;font-size:11px">OPENSTACK_KEYSTONE_URL</span> 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.</div>
<div><br>
</div>
<div>[0] <a href="https://review.openstack.org/#/c/342283" target="_blank">https://review.openstack.org/#/c/342283</a>/</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Brad</div>
<div><br>
</div>
<span>
<div style="font-family:Calibri;font-size:11pt;text-align:left;color:black;BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;PADDING-BOTTOM:0in;PADDING-LEFT:0in;PADDING-RIGHT:0in;BORDER-TOP:#b5c4df 1pt solid;BORDER-RIGHT:medium none;PADDING-TOP:3pt">
<span style="font-weight:bold">From: </span>Kuo Hugo <<a href="mailto:tonytkdk@gmail.com" target="_blank">tonytkdk@gmail.com</a>><br>
<span style="font-weight:bold">Date: </span>Tuesday, July 19, 2016 at 8:35 AM<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>" <<a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>[Openstack] [Horizon] Is there a way to hide specific region in Horizon ?<br>
</div><div><div class="h5">
<div><br>
</div>
<div>
<div>
<div dir="ltr">
<div>
<p style="margin:0px 0px 1.2em!important">Hi Folks, </p>
<p style="margin:0px 0px 1.2em!important">We’re doing a test to have multiple Swift endpoints with different region names.<br>
One of the region has Swift endpoint only without other services. </p>
<p style="margin:0px 0px 1.2em!important">So while user selects the region which has Swift endpoint, the Horizon just crashed.<br>
<b>Horizon version : IceHouse</b></p>
<ul style="margin:1.2em 0px;padding-left:2em">
<li style="margin:0.5em 0px">Is this a known bug ? </li><li style="margin:0.5em 0px">Is there a way to restrict user from seeing a specific region in the drop-down menu in the Horizon ?
</li></ul>
<p style="margin:0px 0px 1.2em!important">Thanks // Hugo</p>
<div title="MDH:SGkgRm9sa3MswqA8ZGl2Pjxicj48L2Rpdj48ZGl2PldlJ3JlIGRvaW5nIGEgdGVzdCB0byBoYXZl
IG11bHRpcGxlIFN3aWZ0IGVuZHBvaW50cyB3aXRoIGRpZmZlcmVudCByZWdpb24gbmFtZXMuJm5i
c3A7PC9kaXY+PGRpdj5PbmUgb2YgdGhlIHJlZ2lvbiBoYXMgU3dpZnQgZW5kcG9pbnQgb25seSB3
aXRob3V0IG90aGVyIHNlcnZpY2VzLiZuYnNwOzwvZGl2PjxkaXY+PGJyPjwvZGl2PjxkaXY+U28g
d2hpbGUgdXNlciBzZWxlY3RzIHRoZSByZWdpb24gd2hpY2ggaGFzIFN3aWZ0IGVuZHBvaW50LCB0
aGUgSG9yaXpvbiBqdXN0IGNyYXNoZWQuJm5ic3A7PC9kaXY+PGRpdj5Ib3Jpem9uIHZlcnNpb24g
OiBJY2VIb3VzZTwvZGl2PjxkaXY+PGJyPjwvZGl2PjxkaXY+KiBJcyB0aGlzIGEga25vd24gYnVn
ID8gJm5ic3A7PC9kaXY+PGRpdj4qIElzIHRoZXJlIGEgd2F5IHRvIHJlc3RyaWN0IHVzZXIgZnJv
bSBzZWVpbmcgYSBzcGVjaWZpYyByZWdpb24gaW4gdGhlIGRyb3AtZG93biBtZW51IGluIHRoZSBI
b3Jpem9uID8mbmJzcDs8L2Rpdj48ZGl2Pjxicj48L2Rpdj48ZGl2PlRoYW5rcyAvLyBIdWdvPC9k
aXY+" style="min-height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0">
​</div>
</div>
</div>
</div>
</div>
</div></div></span>
</div>

</blockquote></div><br></div>