This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.
This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.
This update should result in no functional change.
For more information see the thread at
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html
Change-Id: I34c278e2b5047b729c5449a5cbce19431d3bf34f
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.
Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.
Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: Ia3836199666bd8d81492cfa9487cdfcdf6483921
Story: #2002586
Task: #24319
This patch implements an initial set of jobs intended to match
the current job execution method. It does not intend to improve
how the jobs are executed - only to replicate what is currently
in openstack-infra/openstack-zuul-jobs and provide the platform
to iterate on.
This also removes the duplicate openstack_hosts role from
the ansible-role-requirements.
Depends-On: https://review.openstack.org/556281
Change-Id: I4f4c9541d80d3c1cdaae7e9ab7f839aac92663b0
Many, many patches have gone into the master branch to
enable the use of depends-on for role tests and to make
use of the git clones put into place by zuul. This patch
ensures that this functionality is now available for this
branch too.
The primary benefit for doing this would be to make use
of the cached git clones provided by zuul to improve test
reliability.
The secondary benefit would be to have the ability to
use depends-on to test patches together.
However, this will come at the cost of requiring a tox
configuration change, and the implementation of the
tests/tests-repo-clone.sh and run_tests.sh scripts
across all repositories.
Change-Id: Iebc4c4043b20356da259cf3c17e541264d6edb3c
Depends-On: Ia806f19e00703c53f03a2420dbac1da4ba68db6c
We need to add openstack ansible information in the role
metadata to be able to track role maturity. With it,
we can create a role maturity table and take decisions about
role deprecations.
The role maturity state is "incubated", conformly to our
role maturity guidelines. This role work has been started in
ocata and can therefore still have the incubated status in Pike.
Change-Id: Ia2ca7803115547931b452eee778afd02d3e54137
We use an SSH bastion host which we do our deployment through. The
deployment host doesn't have direct access to the same network as the
host. As a result the venv local checksum lookup fails.
I have described this here:
https://bugs.launchpad.net/openstack-ansible/+bug/1689283
This is a simple fix for this problem, assuming everything is good it
will need repeating in multiple places in the code base.
Change-Id: I240605a8cd76b6ee2dfebde8eb47d577c4f93c95
(cherry picked from commit 72d2de8437)
This creates a specific slice which all OpenStack services will operate
from. By creating an independent slice these components will be governed
away from the system slice allowing us to better optimise resource
consumption.
See the following for more information on slices:
* https://www.freedesktop.org/software/systemd/man/systemd.slice.html
See for following for more information on resource controls:
* https://www.freedesktop.org/software/systemd/man/systemd.resource-control.html
Tools like ``systemd-cgtop`` and ``systemd-cgls`` will now give us
insight into specific processes, process groups, and resouce consumption
in ways that we've not had access to before. To enable some of this reporting
the accounting options have been added to the [Service] section of the unit
file.
Change-Id: I619ab58574eedece7e00e323f91aeaec4c5b5a6e
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
(cherry picked from commit 2746142b68)
There are no new tags for the 3rd party repositories, so for now we will
have to use master branch. This should be fixed once we can get tags
or branches created for these repositories.
Additionally, the mirror that is used by default in the upstream
ansible-kafka role is not currently working, we can overwrite this with
a var in the meta/main.yml file.
Change-Id: Ia7dfb8f87bd65ccc20564b31bad991b4136a9815
NB the ansible-role-requirements are not changed, since we are waiting
on a stable/ocata branch for monasca-api upstream role.
This is being handled in: https://review.openstack.org/#/c/430767/
Fixing gitreview is important for right now though.
Change-Id: I7b2793ef61b6d16b35c07deea36a0f32b286ebff
Fixes the ability to deploy a venv in cases where:
1) developer_mode is not enabled
2) A cached venv is not downloaded from the repo server
Additional cleanup to the developer_mode venv deployment
logic is implemented by adding a *_venv_download var
which is used to decouple developer_mode from the
cached venv extraction process so that a deployer
can force venv builds in-place (disable cached
venv usage) without enabling developer mode
constraints.
Change-Id: I0280dce05e9f20b035e64b85750c72895e83a4b7
The run_tests.sh script fails when it is run multiple times on CentOS.
The `bindep` run returns an empty list of packages and then `yum`
exits with an error since no packages were provided to install.
This patch checks the length of the `bindep` output and skips the `yum`
installation when the package list is empty.
The patch also cleans up some of the old cruft left over from previous
scripts and avoids repetition.
Change-Id: If25cb0859b59d6b4bb7a7b9906e6c4d49edeabe0
Signed-off-by: Major Hayden <major@mhtx.net>
There was a typo in token cache time that prevented the token
cache time to be set.
This should fix it.
Change-Id: I4765c4b29b1bb6f8db67adec93adb8cb5844c167
Currently when clicking on the small bug in the roles'
docs, we land on openstack-manuals launchpad.
This should solve it.
Change-Id: I92f414b5b811bd936fc9b42d9f04859a95d43f8f
Reinitializes (copies python, etc binaries) into the venv when
dropping a new venv into place. This is needed because the Python
binary packaged with the venv may not match the Python running on
the host it is being installed to. (ie. in the case of a Xenial
repo container and a Trusty target host.)
Change-Id: Ibedc836cbab89d82d59c90165cbe064775164742
Partial-Bug: #1637509
This patch removes some extra tasks for detecting systemd and uses
the fact instead.
Partial-Bug: #1640125
Change-Id: I630b9543d6f57292f523b39b9f862ecea9f87439
Ansible 2.2 now treats the 'name' argument for the pip module
as a list, removing the need for us to implement the join
filter to optimise the install execution.
Change-Id: If930f4ac68cb48148c0962338a5bd346ebea3dbc
The current constraints generation for the
installation involves multiple tasks and multiple
variables.
Using multiple tasks extends the installation time
unnecessarily and the additional variables are
unnecessary.
This patch aims to simplify the mechanism and
hopes to speed it up a little.
Change-Id: I213c955f832fd7bd0bc3497d8d8005985ecb04bd
- Making role more compatible with keystone v3
- Replacing variable names with more OSA aligned styling
Change-Id: I5b7230301faedfdfa63f12e51ccadcc16c26639a
- This patch is to prefer the galaxy meta file and not duplicating
the logic in the install role.
- One advantage when using the meta galaxy file is when using external
roles like this we can make use of the tags: skip_ansible_lint which
doesn't seem to work well in the tests of the role.
Change-Id: I20f5b784a02bed34352cc4a7180154f9d57a13dd
Starting in Ansible 2.0, the get_url [1] module provides the
ability for a checksum to be provided to the get_url module
which will be verified against the local destination file
and the task skipped if it matches.
[1] http://docs.ansible.com/ansible/get_url_module.html
This patch implements the use of this functionality.
The ability to ignore a venv download failure is also removed
as this is not necessary or desirable. It is better for the
download to fail and the playbook execution to stop immediately
so that the failure point is exposed.
Change-Id: I26a6f2ade69d7e85340a37cdb373d7564f41b507
- This patch returns status code 200 if keystone auth token is
retrieved.
- Minor adjustments to the keystone middleware sections.
- Adjustments in user naming in service endpoint creations.
Change-Id: Ifbb356634b29f1586c44e1135a761bf1f6adddb0
- This patch is to provide monasca backend services and monasca api,log-api
- Adding the use of dictionary for service group mappings.
- Switching to use tested external roles for backend services.
Change-Id: I7f6335f12a4b3a13acf6b644f16587ab1b46745f