This makes some changes to init-runonce to allow using Ansible as well as
updating it to use the openstack-client where applicable since the
keystone-client is not usable with keystone v3 api at all.
Change-Id: I6b9d6beb04df7724b1967638e98042ab03221cd1
Closes-Bug: #1477725
neutron-server was not properly using ml2_conf.ini
nova did not have ovs utils, and it had incorrect libvirt permissions
Change-Id: I43d2110d0b5fc1940d887dace95787e1ebbe142d
Partitially-Implements: blueprint ansible-service
The ml2_conf.ini file which sets OpenVswitch as the mechanism driver
was not being copied to the corect place. This patch resolves that
problem.
Change-Id: Ia276916a3183564c9b7d8d6aa9595c384ed99cf6
Closes-Bug: #1477399
The neutron-agents l3 agent requires access to the OVS database via
access to /run. It also needs to have ovs-vsctl binary available in
the container.
Change-Id: I903537b570cd60c9bb1088e9408a5f6ea4988d8f
Closes-Bug: #1477376
Ansible will exec a script in the OVS container to ensure the bridge and
ports are properly setup. The script is idempotent.
Change-Id: I5adca595a4d2ef4edf26c9635cfa5ceb30ca4a59
Closes-Bug: #1466375
This issues presented as sudo requiring a TTY. We properly update the
sudoers config to remove the tty requirement
Change-Id: I7f31bccdc1774f8afd078267cf23704d95eda8b8
Closes-Bug: 1477351
Split the content of cleanup-containers into containers cleanup and host
cleanup. This allows to run the cleanup-containers from OSX clients,
while keeping needed code to delete host artifacts left behind by the
neutron agents container.
In addition, cleanup-containers may disappear in the future, replaced by
a docker-compose wrapper.
Co-Authored-By: Martin André <martin.andre@kvhasia.com>
Co-Authored-By: Swapnil Kulkarni <me@coolsvap.net>
Change-Id: I3aa731e7e0f9eb3dad9c363bb5d4a575d84a2fae
Closes-Bug: #1477383
designate added tooz as dependency, but this is not reflected in package
installation, so workaround this by yum install python-tooz
Change-Id: Ia1b69d3feb7379131371db75a25eefb949a66758
Closes-Bug: #1476578
We only install these pip files once so there is no need for
a 50MB PIP cache stored in the image permanently.
Change-Id: I75c8154c764db85b3115b4d28fc136855523df05
Partial-Bug: #1476840
We only install packages one time so there is no benefit to
storing 50MB of PIP cache data.
Change-Id: I294ad00464c7fd2312d6140140d334ff9bddb611
Partial-Bug: #1476480
It turns out the only dependencies we need from RDO in the source builds
are python-pip, python-cliff for crux, and crudini, all of which can be
pulled from pypi.
We should remove the dependency on RDO for these builds which is one of
the reasons for source builds in the first place.
Change-Id: I11e26e96e6c94a5df5db48204714229bbd85a9aa
Closes-Bug: #1476760
This commit consists HAProxy container. It only supports config-external
as this requires orchiestration.
Change-Id: I0af28be4f3d4aa40c418f15c40c45630d0fd7c8d
Partially-implements: blueprint haproxy-container
Docker compose will fail with a version error if docker-py
is not 1.2.3. Using >= 1.2.0 will get docker-py 1.3.0 causing
compose to fail.
Change-Id: I54ba1fe95b9c7a5a242b8339e153fbee80ff6c3b
Closes-Bug: #1473856
Function get_or_create_domain is required by designate-sink service,
but get lost during later changes, so add it back.
Otherwise, there will be "get_or_create_domain: command not found" error
during designate sink start.
Change-Id: I0433f83d02a2891c9bad4b9e26f93c4709ff1325
Closes-Bug: #1476575
Note, these should eventually make their way into a script or other form
of orchestration, this is mainly to help smooth the path for developers
getting started with the Ansible deployment.
Change-Id: I3b6b8167858a3cf6a63e31e29848f1b2e60aa49f
Closes-Bug: #1471827