Commit Graph

8 Commits

Author SHA1 Message Date
Jonathan Rosser 60938dca24 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: I58b9cec20349c722631e5934c44efb54153daab7
2021-03-10 13:30:09 +00:00
Ralf Haferkamp a2223ab1ea Fix distro install on openSUSE
With Train openSUSE is switching the openstack packages to use Python 3.
This means that we need to use the python3 variants of python-module
packages.

Depends-On: https://review.opendev.org/683120
Change-Id: I7b30e575720df62a6e2eaf5f865be56c9de09972
2019-09-19 14:13:32 +02:00
Dmitriy Rabotyagov 0195d269b7 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: Ied4b59787e9707bc886c7bcba8f4ac50865edcb9
2019-09-02 16:02:56 +03:00
Dmitriy Rabotyagov ab692dbc56 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: Ib24a5c96359c349781c48a5d82d7c64e793b8e43
2019-07-17 00:16:26 +03:00
Dirk Mueller 259099f208 Fix aio_distro_metal jobs for openSUSE
Package list was missing the placement-api dependency.

Change-Id: Iace7d8c0342e745b54a1a17dbeb349cf3217bc3e
2019-06-27 11:42:55 +02:00
Jimmy McCrory bbae385394 Add Debian placement_service_distro_packages list
Add the list of distro packages to install for distro based installs on
debian/ubuntu systems and ensure that the python3 plugin is used by uwsgi.

Also set the 'placement_uwsgi_bin' var for each OS distribution.

Change-Id: I6cb2093b3577392c1fd7e3769a4b7cb27c18e0a7
2019-06-03 16:41:46 -07:00
Jonathan Rosser ceafdb0e69 Ensure libxml2 is present as a library for uwsgi
Change-Id: I1ee165b06fe6c6a840784565a7a661b11bf9ebff
2019-05-04 07:28:58 -06:00
Guilherme Steinmüller 32c1eb8488 Add initial placement role
This patch adds the support for the placement service with
a simple functional test which hits the API (which in turn
hits the database and keystone for authorization).

Depends-On: I878e8c479d8963b339b5e1f6031f649c0f87082f
Change-Id: Iaa11a8cc4d945712b62c3b9c2cb6ad168def34eb
2019-02-06 15:47:53 -05:00