This change adds a local CLI ./bifrost-cli that allows to easily
run bifrost playbooks. It is targeting early adopters and thus
is opinionated and does not expose all possible options.
Only the very minimum is provided in this patch. More options
will be added later as we decide they are important.
Documentation will also be provided later as it's going to be
quite large. This feature should be considered technical preview
at this point until we give it more testing.
Change-Id: I2205e759431024124518716eccd07f79bda14f3a
They're already used in the CI, and chances are high that non-venv installation
is broken on at least some supported systems.
Change-Id: Ie3c93a0a1537658eaccf69da3f64d0fc43f292d1
We don't use its DNS capabilities, and leaving DNS enabled conflicts
with the local resolved on at least Bionic.
Story: #2007691
Task: #39834
Change-Id: I1ebd51a9414bb9686aa92376b34f38c029846c07
EPEL is only needed for debootstrap, debootstrap is only needed when
building Debian/Ubuntu images. Install it on demand and update the docs.
Change-Id: I6b90c91f20b5acd198cabbb89f21a72caaf90c63
CentOS 8 does not have uWSGI, not even in EPEL:
https://bugzilla.redhat.com/show_bug.cgi?id=1757157
Since it's installable from PyPI, let's do it instead.
Also update SELinux to enable uWSGI+nginx to operate.
Change-Id: I44d0582e221e24404f427b261bf6d366f5c32775
There is not reason to use 10 or 12G of disk for Cirros.
Also change the RAM to 512M, although we'll have to revert it back
on master and ussuri once we switch to DIB images by default.
Change-Id: Ibada78686ffb4db1d8dae05acf980081d5265fc6
They're broken already, no point in officially supporting them.
Bring support back would require supporting Python 3.5 and other
old packages.
Change-Id: I8012f0cdf2430723379367eb6ab49c3fc0b3d32a
Let us extend our supported OS coverage! I also suspect this patch
fixes Debian Stretch support since all required changes seem to
apply to it as well.
Change-Id: I233082dff072ab7033ff68fce7f7b92ad557de80
Some functional jobs run in projects that have api-ref code,
we don't need to run functional tests for api-ref only changes.
Change-Id: Ic218f582831930fc7cec2cd024178ac3cd683cd9
The current fedora-latest nodeset corresponds to Fedora 30.
We add a non-voting job to give basic support for it.
Change-Id: Ifc027bcdbb9abad652dfe61fc12ee18650d00a77
The default location is too small on some testing nodes.
Removed the MySQL configuration code that has never been executed
because of the non-existing ZUUL_REF variable.
Change-Id: I5fbe2de5423486fdc81d67d4c4bd6d6f3ed79f13
The dpkg -l command always exits with 0, we should use the -s
option instead that exits with 1 if the package is not installed.
Change-Id: I656b111b77b637a10c9a94fd3880aee377c166f1
The way we pass it, it is a string, not a boolean. While ansible
is handling this situation for now, it's deprecated and should
not be relied on. Convert enable_venv to boolean explicitly.
Remove a redundant fact setting and redundant default() from
enable_venv (it is set in role defaults).
Also synchronize pip_install.yml to bifrost-keystone-install.
Change-Id: I35be662c4a60b4085b22d7e01b1691597f82c732
Fedora 30 has just reached end-of-life, anything older than that can
be safely dropped.
Debian Jessie reached general end-of-life in 2018 and its LTS ends
in June 2020.
Also update the docs.
Change-Id: Id2339d198d79459fb04990a4d39cedb273f61506
Updating pip was required long ago to work around Ubuntu and CentOS 7
problems. Now even CentOS 8 has pip 9.0 which should be enough for us.
Also moving binary dependencies to bindep and install them before
we try to install Python dependencies (to be able to compile them).
Workarounds is needed for segfault on Ubuntu because of cryptography:
remove python3-cryptography package and avoid --ignore-installed.
This change makes install-deps work on openSUSE again.
Change-Id: Ib9b81075f35068c046880de46b20f98ef71a8d8e