The RDO packages do something wierd about reading files from
/usr/share/cinder/cinder-dist.conf by default. These files contain
non-Kolla configured configuration values. This is obviously not
ideal since RDO policies may be different then Kolla policies.
This should probably be fixed across the source base, but for the
moment it is blocking correct operation of Cinder.
Change-Id: I823a90b28eaaf5474334885a45f22ed28537b24b
Closes-Bug: #1487799
Cinder is broken by this RDO package rename. Maintaining docker templates
for basic things like this until the /docker directory is removed.
Change-Id: Ieae2ab3296346767c305d21e8bb8de964160f84a
Closes-Bug: #1487762
Make the changes needed to support Ubuntu
Additionally, adjust the way supervisor is installed. Rather than
installing via pip, install via a package.
Change-Id: I1e7f538a180e4e35166d5afa8ba3f165b7e9f6d5
Partially-Implements: blueprint install-from-ubuntu
Closes-Bug: #1487715
Note, this is not in the inventories/site.yml as it will be a
transparent dependency of Swift.
Change-Id: Ic8c80072596594e646ece74ac0ce74c7000398ff
Partitially-Implements: blueprint ansible-swift
In MariaDB we adjust the dependecies of what we install there as well
adding only what is appropriate for the install.
In Ansible we adjust some templates to all work around differences
between the different Linux families.
Change-Id: Ibc26e2f4d4a732630632d3ed27fb595b6fe019d2
Partially-Implements: blueprint install-from-ubuntu
Fixes issue where keepalived will not restart after container failure.
Removes keepalived.pid file if one exists on container startup.
Change-Id: I6ec3297a5e49a4d5255323aa7f75dfdc10d0c5ec
Closes-Bug: #1485079
If ip_vs is not loaded keepalived will enter a restart loop. To fix that
load ip_vs module every time we start the container.
Change-Id: I6b39d8654cc6a6da7a9162e5c3efab073746b246
Closes-Bug: #1486276
Due to the differences between Ubuntu and Centos around Apache2 I have
had to copy both start.sh and config-external.sh to be unique files
for Ubuntu so as not to affect Centos either. This can be removed when
we change the way config-external works.
Change-Id: I14dc11e7bb6284b897259a53acc914ae8f254d3c
Partially-Implements: blueprint install-from-ubuntu
Libvirt uses libvirtd.conf not libvirt.conf. Currently,
the config file get copied to '/etc/libvirt/libvirt.conf' and
libvirt creates its own libvirtd.conf and ignores the
configured libvirt.
Change-Id: I7a55b92c33ade72b7ac8ba028c67313479ad8343
Co-Authored-By: Ian Main <imain@redhat.com>
Closes-Bug: #1486100
The previous method of using the API image for a data container
worked, but resulted in more data being bindmounted and copied
into the system. This patch resolves that by essentially using
a distro-type as a FROM in a Dockerfile to generate
distro-type-data. Further all of the data containers used
throughout ansible are modified to use this new data container.
Change-Id: I8846573d4f2d4b98d4f46c770bfefc6d4c5cd0b5
Partially-Implements: blueprint one-data-container
RDO doesn't keep their RPM dependencies up to date with latest
neutron changes to requirements.txt, so we have to pip install
the package.
Change-Id: Ic49a4dd3b85e9daf60c87b245b9784818fcb3bb2
Closes-Bug: #1486241
When running cinder-ansible, the cinder db is never being initialized.
The bootstrap task needs to be fixed in order for cinder to run the db sync.
Change-Id: I01c5f5c34773ffc4e4f7fc7088a7277115db94dc
Closes-Bug: #1485745
source based nova-compute needs libvirt to operate and fails
on start if the corresponding python package is missing.
Change-Id: Ic11bb46f8d067ce63013808ccc3efd17e67a5b83
Closes-Bug: #1485654
Use variables like SOURCE,TARGET in config-external.sh, so
it will easy to modify in future.
Closes-Bug: #1485710
Change-Id: I3880a2cbca8a80d36e84a797fcfb943e43b88bd5
There is no such package. It is called python-neutronclient.
Since we know deployments work well without this dependency,
might as well just remove the error since it pops up in the
gating.
Change-Id: Ic0daf85201cf283ee0560a9905e5079e421efbc4
Partially-Implements: blueprint gate-source-builds
gnocchi-base requires the gcc c++ compiler to build panda, whatever
that is.
Change-Id: Icb4519cf4881390f6958324eb14fb0009fca336e
Paritally-Implements: blueprint gate-source-builds
Many of the services have a nested directory that will
be copied into /etc, which will place the config files one
layer too deep. For example: heat has 'heat/etc/heat/heat.conf'.
Copying 'heat/etc*' to '/etc/heat' will create this extra layer.
Change-Id: Iad4661f0316523c5fe8d029d24a8e4fc68da6e15
Closes-Bug: #1484974
Every service except cinder-api was looking for the file
'/opt/kolla/cinder/cinder-<service>.conf' when the config file in place was named
'cinder.conf'. Change the rest of the services to look for cinder.conf or
the config file will never be copied over to into '/etc/cinder/'.
Change-Id: I1cd59f1da09e6f3bc7e7b3a4f45f9da2b8247479
Closes-Bug: #1481928
Closes-Bug: #1484248
The murano base Dockerfile is placing murano.conf in
/etc/murano/murano/murano.conf. It should be in
/etc/murano/murano.conf.
Change-Id: Ia7f5d2f5cc6ca344c0f8f44058a4a4bf34a22546
Co-Authored-By: Ian Main <imain@redhat.com>
Closes-Bug: #1484679
The magnum base Dockerfile is placing magnum.conf in
/etc/magnum/magnum/magnum.conf. It should be in
/etc/magnum/magnum.conf. We need to still cp everything
in that directory because there is more than just the config.
Change-Id: I7aa85f465fbd29a882c6628970cade732c818d8f
Co-Authored-By: Ian Main <imain@redhat.com>
Closes-Bug: #1484675
The gnocchi base Dockerfile is placing gnocchi.conf in
/etc/gnocchi/gnocchi/gnocchi.conf. It should be in
/etc/gnocchi/gnocchi.conf.
Change-Id: Idf9af828ac7d8a16138a309b72a3e82903decf79
Co-Authored-By: Ian Main <imain@redhat.com>
Closes-Bug: #1484673
The designate base Dockerfile is placing designate.conf in
/etc/designate/designate/designate.conf. It should be in
/etc/designate/designate.conf.
Change-Id: I4892de1eb3365fca5567c492fff8f7ad080075f1
Co-Authored-By: Ian Main <imain@redhat.com>
Closes-Bug: #1484672
The ceilometer base Dockerfile is placing ceilometer.conf in
/etc/ceilometer/ceilometer/ceilometer.conf. It should be in
/etc/ceilometer/ceilometer.conf.
Change-Id: I1c5529b8ac4f93e14d002185f95ed55ab555b50d
Co-Authored-By: Ian Main <imain@redhat.com>
Closes-Bug: #1484669
The barbican base Dockerfile is placing barbican.conf in
/etc/barbican/barbican/barbican.conf. It should be in
/etc/barbican/barbican.conf.
Change-Id: I4efc040aa0b17da6cfd3bc43a1079ff45ddc3e49
Co-Authored-By: Ian Main <imain@redhat.com>
Closes-Bug: #1484668
The cinder base Dockerfile is placing cinder.conf in
/etc/cinder/cinder/cinder.conf. It should be in /etc/cinder/cinder.conf.
Change-Id: I1d1779ea3fa3ff4e9b7876689121ff9e6da756bd
Co-Authored-By: Ian Main <imain@redhat.com>
Closes-Bug: #1484662
This was copying the files into /etc/heat/heat (there's a heat/ dir
in etc/ that was copied). This fixes it.
Closes-Bug: #1484649
Co-Authored-By: Ryan Hallisey <rhallise@redhat.com>
Change-Id: I84b9b38edbf14d176782b8efcce95a41501d758b