StarlingX NFVI Orchestration
Go to file
Bart Wensley 0a170a5f11 Allow VIM to start before OpenStack pods
In the pre-kubernetes world, the VIM was always guaranteed
to start after the OpenStack services were up and running
(e.g. rabbitmq, nova, cinder). This ordering was enforced
by Service Management. The initialization code in the VIM
is based on this assumption, so the VIM simply exits when
one of the required OpenStack services is not present.

In kubernetes deployments, the OpenStack services are all
running in pods, which do not come up until after the VIM
(which is a baremetal service) has already intialized.
This happens (for example) when an AIO-SX host is
rebooted (e.g. after being unlocked). In this case, the
VIM will repeatedly exit until the OpenStack services it
needs come up. This is undesirable because the VIM is
a key component and the lack of a VIM prevents other
system operations from being done (e.g. host lock).

The solution is to allow the VIM to come up before any
of the OpenStack pods are running. The specific issue
was with the rabbitmq pod, which was preventing the
VIM's compute plugin from being initialized. The
solution is to have the VIM query rabbitmq for the
exchange it needs, prior to attempting to initialize
the compute plugin. The VIM will continue to do this
until the rabbitmq pod is available and allow other
VIM components to continue to run.

Change-Id: Iaf2403d361da6f32c7bccc3d27726562887a7524
Story: 2003910
Task: 28556
Signed-off-by: Bart Wensley <barton.wensley@windriver.com>
2018-12-17 12:24:36 -06:00
api-ref/source Change compute node to worker node personality 2018-12-14 14:15:16 -05:00
devstack Modifications to nfv Devstack plugin 2018-12-12 10:22:33 +08:00
doc [Doc] openstackdocstheme starlingxdocs theme 2018-10-22 14:37:37 +00:00
guest-agent Change compute node to worker node personality 2018-12-14 14:15:16 -05:00
guest-client Change compute node to worker node personality 2018-12-14 14:15:16 -05:00
guest-comm Change compute node to worker node personality 2018-12-14 14:15:16 -05:00
mtce-guest Change compute node to worker node personality 2018-12-14 14:15:16 -05:00
nfv Allow VIM to start before OpenStack pods 2018-12-17 12:24:36 -06:00
nova-api-proxy Cleanup pylint unnecessary-pass warnings 2018-12-03 15:30:43 -06:00
releasenotes [Doc] openstackdocstheme starlingxdocs theme 2018-10-22 14:37:37 +00:00
.gitignore [Doc] OpenStack API Reference Guide 2018-09-25 14:01:33 -07:00
.gitreview Add .gitreview 2018-05-31 07:36:51 -07:00
.zuul.yaml Updates to DevStack plugin 2018-11-28 09:31:13 -06:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:36:51 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:51 -07:00
README.rst StarlingX open source release updates 2018-05-31 07:36:51 -07:00
centos_guest_image.inc Split image.inc across git repos 2018-08-17 16:07:03 +00:00
centos_guest_image_rt.inc Split image.inc across git repos 2018-08-17 16:07:03 +00:00
centos_iso_image.inc Decouple Guest-server/agent from stx-metal 2018-09-19 11:38:04 -04:00
centos_master_docker_images.inc Add directives to build stx-nova-api-proxy on master 2018-11-30 10:14:46 -06:00
centos_master_wheels.inc Add directives to build stx-nova-api-proxy on master 2018-11-30 10:14:46 -06:00
centos_pike_docker_images.inc Create stx-nfv docker image directives file 2018-11-14 15:11:44 -06:00
centos_pike_wheels.inc Rename centos_wheels.inc to centos_pike_wheels.inc 2018-11-14 15:09:47 -06:00
centos_pkg_dirs Decouple Guest-server/agent from stx-metal 2018-09-19 11:38:04 -04:00
requirements.txt Adding py27 for nfv 2018-07-10 10:18:28 -05:00
test-requirements.txt Adding py27 for nfv 2018-07-10 10:18:28 -05:00
tox.ini Updates to DevStack plugin 2018-11-28 09:31:13 -06:00

README.rst

stx-nfv

StarlingX NFVI Orchestration