Commit Graph

46 Commits

Author SHA1 Message Date
OpenStack Proposal Bot be645bcf0f Updated from OpenStack Ansible Tests
Change-Id: I522e15208743ebb69b7eda2b9f221482a51d1fb8
2019-06-10 15:44:03 +00:00
OpenDev Sysadmins d0803659c2 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:40:12 +00:00
Ian Wienand 37ad0d5486 Replace openstack.org git:// URLs with https://
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: Id22aa8612df0de1d82ac0fc2ddc49b3fc8370372
2019-03-24 20:34:54 +00:00
huang.zhiping b87630d571 import zuul job settings from project-config
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: Ia1cc88d2a6ae7f039f1d9de43969c81f7dfcfe27
Story: #2002586
Task: #24319
2018-09-20 02:22:00 +00:00
Jesse Pretorius 169b79dc2d Do not log passwords
Do prevent passwords leaking into logs, they should not be logged.

Change-Id: Ic07bab6683abc42ed5fa5a63a2f037145c60a62d
2018-09-20 02:21:49 +00:00
James E. Blair 4b8e4eb9fe Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: I261df72f54d8b839f016e63e2f7284f8201d2081
2018-02-08 18:28:00 -08:00
OpenStack Proposal Bot cb39f16788 Updated from global requirements
Change-Id: Ibad2fa864e2772f953289d9316455a9ff1250b2f
2017-11-14 21:01:26 +00:00
Jesse Pretorius d78134db95 Initial OSA zuul v3 role jobs
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.

The meta-deps never appeared to be used, meaning that the
openstack_openrc role was never used either, and given that
vars are missing to make that work, the role dep has been
removed.

The requirement for httplib2 to use the get_uri module was
removed in Ansible 2.1 [1], so the installation of that for
functional testing has also been removed.

The requirements.txt was not used anywhere, so it's been
removed. The test-requirements.txt has been updated.

[1] http://docs.ansible.com/ansible/latest/uri_module.html#notes
Change-Id: I25010299a4b264ae34390e38915d6df953448ae5
2017-11-03 13:51:09 +00:00
OpenStack Proposal Bot efddae93f3 Updated from OpenStack Ansible Tests
Change-Id: I6ed3268d2d7ccb0401ff256e46f7416a26994977
2017-08-24 13:57:36 +00:00
OpenStack Proposal Bot 7deca0c76c Updated from OpenStack Ansible Tests
Change-Id: I1762b19ddd8a82e3f5097c15d7177c0117e9d2c1
2017-08-04 15:21:42 +00:00
OpenStack Proposal Bot cab78f3d36 Updated from OpenStack Ansible Tests
Change-Id: I8662a0f50e0c50598a84984b1ae3172cba8bb854
2017-08-03 15:26:14 +00:00
OpenStack Proposal Bot 2c93df02ae Updated from OpenStack Ansible Tests
Change-Id: I30a985980352824df8f9190c02be8f84b226b862
2017-07-31 19:10:41 +00:00
OpenStack Proposal Bot f1090e2bde Updated from OpenStack Ansible Tests
Change-Id: I8bc3898a02212d85bedf671a7284bf6a43482edc
2017-07-28 15:00:06 +00:00
OpenStack Proposal Bot 70573f94fc Updated from OpenStack Ansible Tests
Change-Id: Ib2a19ead9c3f0e9025e79d3d45de5b4868f90421
2017-07-06 21:08:02 +00:00
OpenStack Proposal Bot fbf6145305 Updated from OpenStack Ansible Tests
Change-Id: Ie870856f4560c49b43ec730a66a64382c1d38874
2017-07-06 13:02:13 +00:00
ZhongShengping a5ec95f3b2 Fix openstackdocstheme settings
To use openstackdocstheme 1.11.0 properly, this patch fixes
some settings according to follow[0].

[0]https://docs.openstack.org/openstackdocstheme/latest/

Change-Id: If95340f91a4d19363bad904524d967ff65f17bbb
2017-07-03 16:06:54 +08:00
ZhongShengping c406d29409 Switch from oslosphinx to openstackdocstheme
As part of the docs migration work[0] for Pike we need to switch to use the
openstackdocstheme.

[0]https://review.openstack.org/#/c/472275/

Change-Id: I588b24f943922e2db63e00a4255901f9379f415e
2017-06-26 14:33:51 +08:00
OpenStack Proposal Bot 7be56d6b4d Updated from OpenStack Ansible Tests
Change-Id: I5476d5232b3aad96f2b92ac4fdb3ced93e9cf490
2017-06-22 15:19:12 +00:00
Jesse Pretorius 94119ac772 Ensure that role tests pin pip/setuptools/wheel
Currently the role tests use whatever versions of pip,
setuptools and wheel are already installed on the host.

When a version of these tools changes it often causes
problems for our testing.

This will ensure that we use a known good set of pins
which is maintained in the general SHA bumping process.

Change-Id: If6ae220ba5f1a2579f72647d9f0ca91cadaf2682
2017-06-04 11:19:30 +01:00
Frédéric Guillot 8cf7a102f7 Update to Almanach 4.0.9
Change-Id: Ife6d2ed182bc4d34b998b0e3078140e75e262d79
2017-05-24 13:24:52 -04:00
Jenkins 12f9ba4fb1 Merge "Use zuul-cloner for tests repo in OpenStack-CI" 2017-05-16 13:07:29 +00:00
Jesse Pretorius 8c1815194f Use zuul-cloner for tests repo in OpenStack-CI
When executing the tests repo clone in OpenStack-CI,
use zuul-cloner instead of git to enable cross-repo
testing. This ensures that if a dependent patch from
the tests repo is noted using 'Depends-On: <change-id>'
in the commit message, that patch will be included.

Depends-On: Idce7abebf32f24c356a27e099fbca954d917402b
Depends-On: I5da7802d61d2ab6b03908138e3a3ed2db22e3d29
Change-Id: Ie027302841a31913ca98dfcb2a6d227986f434ae
2017-05-16 11:27:05 +00:00
Jesse Pretorius 2666780aa3 Reduce init restart/kill times
The systemd unit 'TimeoutSec' value which controls the time
between sending a SIGTERM signal and a SIGKILL signal when
stopping or restarting the service has been reduced from 300
seconds to 120 seconds. This provides 2 minutes for long-lived
sessions to drain while preventing new ones from starting
before a restart or a stop.

The 'RestartSec' value which controls the time between the
service stop and start when restarting has been reduced from
150 seconds to 2 seconds to make the restart happen faster.

These values can be adjusted by using the *_init_config_overrides
variables which use the config_template task to change template
defaults.

Change-Id: I9cbf75b0e219f92f41014b19931206c19cb8a0fe
2017-05-16 11:26:53 +00:00
Jesse Pretorius 31621c2699 Fix role gate tests for Ansible 2.3
Add 'become' and root 'user' options to the playbook instead of using
'ansible_become' through an inventory variable.

Change-Id: Ia041b0a921600f941f21b83ab511ee7edaaeb0ab
2017-05-16 12:09:24 +01:00
Kevin Carter f0c650717e [Trivial] Fix init unit file comment
Change-Id: Ibc27cfd876a94f8f7171f7f38890c36ad8d81f85
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-03-30 15:25:59 +00:00
Kevin Carter 170944e154
Ensure the components are isolated from the system
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: I022ecb7c291287116d184bcedecaf1d39530dd72
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-03-28 19:25:20 -05:00
Cuong Nguyen 8011ba56d1 Install python2 for Ubuntu 16.04 and CentOS 7 in Vagrant
Install python2 for Ubuntu 16.04 and CentOS 7 before executing test
script.

Change-Id: Ia57abe78ea0a525877a9ef607d91acd4fccdd02d
2017-02-09 10:41:37 +07:00
Cao Xuan Hoang c9d4ca628e Use https instead of http for git.openstack.org
Trivialfix

Change-Id: Ifc2b779bb33b6df7d1e98116f29fc187cde0a725
2017-02-06 16:39:48 +07:00
Frédéric Guillot 19f4aa01f3 Update role for Almanach 4.0.3
Change-Id: Iafd1e77646c6bdde81116aad7899d1d85f976bc1
2017-01-23 15:55:05 -05:00
Jean-Philippe Evrard c87d755f57 Use systemd module instead of shell
Using ansible systemd module to daemon reload and service reload
is the solution for the future. Let's embrace it!

Change-Id: I808c72fbea6353da102f4d4569b446ec9fbe8df1
Signed-off-by: Jean-Philippe Evrard <jean-philippe.evrard@rackspace.co.uk>
2017-01-19 13:30:39 +00:00
Major Hayden c533438e65 Fix pip check in run_tests.sh
The logic in the pip check was backwards and this patch fixes it.

Change-Id: I74679537fd21055a928213c478fc74b77285253e
2017-01-06 10:44:55 -06:00
Major Hayden 55f6e84a4c Update and clean up run_tests.sh
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: If3affe9c68ac5e9e0c6aa9674d6018043b5bac2a
Signed-off-by: Major Hayden <major@mhtx.net>
2017-01-05 10:41:36 -06:00
Jean-Philippe Evrard 15f2d71374 Point roles docs bugs to openstack-ansible LP
Currently when clicking on the small bug in the roles'
docs, we land on openstack-manuals launchpad.

This should solve it.

Change-Id: I2b86346084eb0504ea26f376801cc8f21114b304
2016-12-01 14:10:38 +00:00
Flavio Percoco 8ead7cf1a0 Show team and repo badges on README
This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.

For more information about this effort, please read this email thread:

http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html

To see an example of how this would look like check:

https://gist.github.com/34b048dbf222ea2a2658050c0e682525

Change-Id: I02f87a4455697b5beff95cee739bf935c8312d55
2016-11-25 16:31:21 +01:00
Jesse Pretorius cf25711398 Remove join filter from pip module tasks
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: Id5d7d103c15711e4c9959112be46f777e06ded1d
2016-11-09 21:39:28 +00:00
Frédéric Guillot bde023eee8 Make config files compatible with Almanach 3.3.x
Change-Id: I87becaf01439ba6397d7b9e02c91546dfb4dd1e1
2016-11-08 13:13:22 -05:00
Frédéric Guillot 837e546212 Make project compatible with CI infra
Change-Id: I5a6e77b98566ee7086f2d9b68d3ac55747ad2778
2016-10-31 14:27:36 -04:00
Frédéric Guillot f9760d8c98 Make the role compatible with Ubuntu Xenial 2016-10-05 13:02:06 -04:00
Frédéric Guillot 7610442766 Use OpenStack project layout 2016-10-04 11:43:09 -04:00
Frédéric Guillot 8763992080 Do not depends of nginx or netfilter anymore 2016-09-16 11:16:43 -04:00
Frédéric Guillot fb812906cf Use conditionals to use nginx or iptables 2016-09-16 10:11:57 -04:00
Frédéric Guillot f3ba34ec99 Fix typo 2016-09-16 09:49:36 -04:00
Frédéric Guillot f34ddc815f Add empty galaxy dependency section 2016-09-16 09:48:41 -04:00
Frédéric Guillot c136ed7681 Add galaxy info 2016-09-16 09:44:54 -04:00
Frédéric Guillot fa2eab33fb Update examples 2016-09-15 16:46:07 -04:00
Frédéric Guillot 6d5caad09a First commit 2016-09-15 16:32:49 -04:00