Commit Graph

9 Commits

Author SHA1 Message Date
Jonathan Rosser 7f2614ce4e Remove references to unsupported operating systems
All references to Gentoo, SUSE, Debian stretch and Centos-7  are removed.
Conditional tasks, ternary operators and variables are simplified where possible
OS specific variables files are generalised where possible

Change-Id: Id4f43e11bb02733b90f8bdf49e86f7a37656c68f
2021-03-10 12:16:38 +00:00
Dmitriy Rabotyagov 4b2724b44b Start using uWSGI role
Move service to use uWSGI role instead of iternal task for uwsgi
deployment. This aims to ease the maintenance of uWSGI and speedup
metal deployments as the same uwsgi environment will be used
across all services.

Depends-On: https://review.opendev.org/678025/
Change-Id: I6f129940e55130c289d94138171cee54dbd28fc1
2019-09-04 15:32:08 +03:00
Dmitriy Rabotyagov 002d2a91ea Use systemd-journald instead of log files
This patch aims to migrate service from usage of regular syslog files
to journald. We also disable uwsgi logging, since it dublicates
requests that are logged by service itself.

Change-Id: I12c5a117d9ca508f24a36a477d2d71c36e6c8c96
2019-07-16 16:09:28 +03:00
Dirk Mueller b041c1df8b Update distro package names for openSUSE Leap 15.1
Change-Id: I174bba199acd8c3486b15e4232ea42782bf9bbd1
2019-06-28 14:58:29 +02:00
Zuul d28c0dced7 Merge "Add cron as a required package" 2018-10-25 17:23:32 +00:00
Jesse Pretorius c5e7333610 Install missing libxml2 distro package
In order to run the glance-api service, the libxml2 library is required,
or the following error will be returned when starting the service:

error while loading shared libraries: libxml2.so.2: cannot open shared object file

To ensure that the library is installed, we add the required package to
the base glance packages.

Depends-On: https://review.openstack.org/613030
Change-Id: I4f2c5df598473152bf319296355b57f4826b3554
2018-10-25 07:16:31 +00:00
Jonathan Rosser e596ee101b Add cron as a required package
The role sets up crontab entries but assumes that the environment
has cron installed. This patch ensures that assumption is correct.

Change-Id: I354f30462205dbf34de946260204b63c11488049
2018-10-24 17:21:45 +01:00
Jesse Pretorius 482d8580b0 Remove python-keystoneclient package install
Now that we no longer use our own keystone module, but
instead make use of the ansible runtime venv's shade
library and upstream ansible modules, we can eliminate
this package/library being installed on the host.

Change-Id: I382a2fed407b159731b9ecd2af16ce80f3bb0b74
2018-09-18 08:36:31 +00:00
Jesse Pretorius d833af740b Rename SUSE vars file to cater for any version
To make the transition between versions easier,
we rename the vars file. This also resolves
issues when meta-dependent role inclusions do
not pick up the correct file when using the
include_vars task with multiple search paths.

Depends-On: https://review.openstack.org/602924
Change-Id: I378de1ade4c1cc231ec21fd3c3b1ce417df9abb0
2018-09-16 01:57:26 +00:00