<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; 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">https://review.openstack.org/#/c/342283</a>/</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Brad</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<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">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">openstack@lists.openstack.org</a>" <<a href="mailto:openstack@lists.openstack.org">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><br>
</div>
<div>
<div>
<div dir="ltr">
<div class="markdown-here-wrapper" style="">
<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="height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0">
​</div>
</div>
</div>
</div>
</div>
</span>
</body>
</html>