cookbook-openstack-block-st.../recipes
Roger Luethi f662bc35fd api: prevent installation of invalid apache2 conf file
If apache is (re)starting while the chef-client installs the cinder-api
package, it may pick up the package-supplied cinder-wsgi apache2 conf
file before chef-client gets around to disabling it which may result in
apache2 failing due to a non-working configuration.

This changeset eliminates the race by creating an empty configuration
file before installing the software. The solution is based on the
assumption that no reasonably configured package manager will overwrite
an existing, user-created configuration file. The empty configuration
file is left in place to avoid its creation and removal during every
recipe run.

backport: queens

Change-Id: I225a30379820e6e033bcea987fbf1a4db33dbd3a
(cherry picked from commit 8c0d728d13)
2019-08-06 18:38:47 +02:00
..
api.rb api: prevent installation of invalid apache2 conf file 2019-08-06 18:38:47 +02:00
backup.rb refactoring final step 2016-02-08 14:39:27 +01:00
cinder-common.rb Use internal identity endpoint for services 2018-07-16 12:35:38 -07:00
identity_registration.rb Use internal identity endpoint for services 2018-07-16 12:35:38 -07:00
scheduler.rb refactoring final step 2016-02-08 14:39:27 +01:00
volume.rb remove targets.conf 2019-04-01 10:08:47 +02:00
volume_driver_lvm.rb block-storage refactor for Pike and Chef 13 2017-12-12 17:34:08 -08:00