The tox option to skip source distribution building is skipsdist,
but this seems to be often misspelled skipdist instead, which gets
silently ignored and so does not take effect. Correct it
everywhere, in hopes that new projects will finally stop copying
this mistake around.
See https://tox.readthedocs.io/en/latest/config.html#conf-skipsdist
and https://github.com/tox-dev/tox/issues/1388 for details.
Change-Id: Ie0667de615e02284cb6302d9df7165651a16f988
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
Change-Id: I09b11ddd1b022b9e86d6671c90186d3312469153
We need a python 3.9 compatible version of pyflakes and we need to
pin ansible-lint to an ansible 2.7 compatible version.
Related PyCQA/pyflakes #367
Change-Id: Iedc76eb82d831cad8dfc569477eece827aca750c
In order to release we need to fix some linting issues in the readme for
pypi. Let's switch it to rst to be consistent with the new standard.
Change-Id: Id8d4d7eea6ae65983b3c00e4db010088ac13cb66
This adds task files for the backup, restore, and validation
for Redis. It also incorporates some of the foundational changes
from https://review.openstack.org/#/c/635506/
Change-Id: Idd50a6b53a22bc6b23df776cff9537e3c47618f3
Running the task from the undercloud I had no errors, however when I tried to
run the task from my laptop to do a backup of the undercloud the following error
showed up:
TASK [ansible-role-openstack-operations : Get the database root password]
Fatal: [undercloud-0]:
FAILED! => {"changed": false,
"msg": "Could not find or access /bin/hiera"}
to retry, use: --limit @/home/jbadiapa/tools/infrared/backup-and\
-restore-ffwd/undercloud-backup-openstack-operations.retry
This patch fix that error
Change-Id: Ibecbc53203376489110819c431c9f8ba884aa409
This patch add task for backing up pacemaker configuration and makes
existing mysql backup task a bit more configurable.
Change-Id: I67b1991daf617093ec59efea5062157d59106bd4
On the mysql backup task, there is a problem when the backup file is
trying to copied to the backup server. This patch fix that using
the IP instead of the hostname
Change-Id: If6fa0f337d5aa5a51bea7c6823b20c21b134b576
The commands used by constraints need at least tox 2.0. Update to
reflect reality, which should help with local running of constraints
targets.
Change-Id: If63490c6af8292dd86ba0c76c69a6d295b5d042d
These are a set of tasks to help facilitate backup and restore operations.
This includes preparing an external backup host, configuring SSH for
rsync, and some initial tasks for backing up and restoring a containerized
galera cluster. This should lay the foundation for further backup and
restore tasks.
Change-Id: If5c11956291205cd04a6ef9bdb3d221fcd970f24
Fixes a bug where a service map entry had to have both a systemd_unit and a
container_name defined for any service. Both are possible to provide support
for baremetal and containerized clouds, but should not be required.
Change-Id: I1f48290ed04444c5e829272d965951c209a9fe58
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: I744550166d70d33b612faacb3ca6d19d92222b1a
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
- add variable to be used for container runtime
- correct Docker container removal task based on new output from docker_facts.py
- add validation for supported container runtimes
- update README
Change-Id: If9f8488192d0cc04783f9069dc43113da204ca57
Use Docker python library and leverage AnsibleDockerClient class for error
handling and Docker connection.
Change-Id: I4c947dcdcad7344d70089a51658bc52362da40b3
Based on other TripleO Ansible roles.
Also add in basic plumbing required to enable the jobs and fix for
various linting issues.
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
Change-Id: Ia42b6f736605bdff46030706b19363143b04a7c0
* Add fact module, tasks, example playbook, and service mapping file for supporting service restarts
* Improve service restart tasks and module
Support user-defined custom service maps, processing of service lists,
improved exception handling in get_docker_containers. Moved default
service map to vars.
* Cleanup variables
Move mapping file to a variable, condense extraneous steps to combine default
and user maps into an in-task step, some better var naming