[openstack-dev] [magnum] Problems with multi-regional OpenStack installation

Andrei Ozerov ozerov at selectel.com
Thu Jun 28 07:11:54 UTC 2018


Greetings.

Has anyone successfully deployed Magnum in the multi-regional OpenStack
installation?
In my case different services (Nova, Heat) have different public endpoint
in every region. I couldn't start Kube-apiserver until I added "region" to
a kube_openstack_config.
I created a story with full description of that problem:
https://storyboard.openstack.org/#!/story/2002728 and opened a review with
a small fix: https://review.openstack.org/#/c/578356.

But apart from that I have another problem with such kind of OpenStack
installation.
Say I have two regions. When I create a cluster in the second OpenStack
region, Heat-container-engine tries to fetch Stack data from the first
region.
It then throws the following error: "The Stack (hame-uuid) could not be
found". I can see GET requests for that stack in logs of Heat-API in the
first region but I don't see them in the second one (where that Heat stack
actually exists).

I'm assuming that Heat-container-engine doesn't pass "region_name" when it
searches for Heat endpoints:
https://github.com/openstack/magnum/blob/master/magnum/drivers/common/image/heat-container-agent/scripts/heat-config-notify#L149
.
I've tried to change it but it's tricky because the Heat-container-engine
is installed via Docker system-image and it won't work after restart if
it's failed in the initial bootstrap (because
/var/run/heat-config/heat-config is empty).
Can someone help me with that? I guess it's better to create a separate
story for that issue?

-- 
Ozerov Andrei
ozerov at selectel.com
+7 (800) 555 06 75
<http://app.getresponse.com/click.html?x=a62b&lc=kpzz7&mc=JV&s=Ffaecu&u=BjxX7&y=f&>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20180628/c1a2d1af/attachment.html>


More information about the OpenStack-dev mailing list