Commit Graph

65 Commits

Author SHA1 Message Date
OpenStack Proposal Bot aa69f1bf91 Updated from OpenStack Ansible Tests
Change-Id: I57d47b75242587d96e769f3e33d83425cba23c39
2019-06-07 23:22:24 +00:00
OpenDev Sysadmins 0bdc9de60d 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 cedd7c2f47 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: I460ed96c9175b6ae7851dd913fdb4ceeec8263b1
2019-03-24 20:34:55 +00:00
huang.zhiping 1cc917139d 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: I6cd416dc5e69b8ee009c4025cd249f395e5b348b
Story: #2002586
Task: #24319
2018-08-21 13:42:42 +00:00
Jean-Philippe Evrard 5e5d8c6264 Be clear about python3: Remove its support
We have never really tested python3 at large scale, and more and
more bugs are filed in stable branches due to dual stack.

We should stick to python2 in the stable branches, which is
what was tested in our gates.

Change-Id: Id4d6dcb6892a7f3b67ee383a29fbbf2771452e9d
2018-05-09 10:39:18 +00:00
OpenStack Proposal Bot ea602a38e2 Updated from OpenStack Ansible Tests
Change-Id: Ia2e7e6215d850d7dddddd04d82628b6200d5f3d6
2018-05-08 08:12:03 +00:00
Mohammed Naser 07701b54b6 OSA0003: Password should not be logged
The password is currently logged in the tests which is failing
the linter tests.

Change-Id: I33e84b312e24db07fe9e875ca1546bf9f917cca8
(cherry picked from commit cd0281752c)
2018-05-08 08:11:48 +00:00
Zuul 4f92cb7aa5 Merge "Point to Queens instead of master" into stable/queens 2018-02-15 15:03:13 +00:00
Jean-Philippe Evrard 94d51240ba Point to Queens instead of master
There are references that are pointing to master in each role.
This should change them.

Change-Id: I51038767b0ef20dedbdbc7ab5b78f6989270d4ad
2018-02-15 14:13:50 +00:00
OpenStack Proposal Bot 43ce7289f2 Updated from OpenStack Ansible Tests
Change-Id: I7ec981a648e7fc51ac5566567f293b10fc36b516
2018-02-15 12:50:13 +00:00
James E. Blair 89f5252a9e 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: I2383c86763c6e02bb494b11c0a53ab0462f1d475
2018-02-05 20:21:38 -08:00
OpenStack Proposal Bot 804486d4cf Updated from global requirements
Change-Id: Ieeaa12ffd743537a28b7b75c43b57cb66653a59a
2018-01-24 01:16:48 +00:00
OpenStack Proposal Bot af4a1a82ae Updated from OpenStack Ansible Tests
Change-Id: I1573754c1af4d0b61679bc77906390f86020b304
2018-01-22 16:54:17 +00:00
OpenStack Proposal Bot 21dad011d7 Updated from global requirements
Change-Id: I07b032cc0a1c9f4762b00cca65bdd4efe2786d5f
2018-01-18 03:14:47 +00:00
Zuul ea33282371 Merge "Allow the experimental trigger of the integrated repo" 2017-12-06 14:14:15 +00:00
Jean-Philippe Evrard c14dbd9d2b Allow the experimental trigger of the integrated repo
This would allow someone to test its change with an AIO.

Change-Id: I9c2bd9825b972824596dc9d8efd1cd612ee0fffc
2017-12-06 08:21:34 +00:00
OpenStack Proposal Bot c2df7191cd Updated from OpenStack Ansible Tests
Change-Id: I1bcae594758677b867b93d5048dcf3d66718a622
2017-12-06 00:05:45 +00:00
Jean-Philippe Evrard 393cf97ba3 Remove pip_install dependency
With addition of pip_install on every node, we don't
need to have pip_install as a meta dependency.

Depends-On: If3412bb888ebb854874bbc43eb76bfcb3e4a7868
Depends-On: I79ff70c438b44753be2a93f004ebbc46de0a963d
Change-Id: I007367bba22d94dc0ad1bc5ac78a6aafbce6cc22
2017-12-05 11:54:17 +00:00
Andreas Jaeger 8398d6ddd4 Remove setting of version/release from releasenotes
Release notes are version independent, so remove version/release
values. We've found that projects now require the service package
to be installed in order to build release notes, and this is entirely
due to the current convention of pulling in the version information.

Release notes should not need installation in order to build, so this
unnecessary version setting needs to be removed.

This is needed for new release notes publishing, see
I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting
at
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html
.

Change-Id: I275c9176939f96f72452a1570d17d01470df63d8
2017-11-17 07:53:22 +01:00
OpenStack Proposal Bot 2d167a7eed Updated from OpenStack Ansible Tests
Change-Id: I4e205ddb6389471b11f5af0c4382464b1c48b0ab
2017-11-10 13:15:34 +00:00
OpenStack Proposal Bot ef9f5a6d82 Updated from global requirements
Change-Id: Id5a731fafc47319159795c558280e9cb6154bf2b
2017-11-03 18:00:00 +00:00
Jesse Pretorius 705339b5e8 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
Depends-On: I0391ec310c4eede436011a48490e3c524c8ddf4d
Change-Id: I186b3d7a17f964192b593d2f8734b3458a3cb671
2017-11-03 13:41:58 +00:00
OpenStack Proposal Bot 55ea1deb64 Updated from OpenStack Ansible Tests
Change-Id: I32a5ef5580621ab147c25656da98f2b7cdb05e43
2017-10-12 20:44:03 +00:00
Jean-Philippe Evrard 5f5f7e43d4 Add OpenStack-Ansible metadata
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.

Change-Id: I682d4c1d25ddc29a3b9910bd2b1312048e9f36d3
2017-10-11 08:30:59 +00:00
OpenStack Proposal Bot a5a1559acd Updated from OpenStack Ansible Tests
Change-Id: Iffba36c3b69e4c0f91667a61cacf84f8d9c2ea4f
2017-09-12 23:54:58 +00:00
OpenStack Proposal Bot 257ea1a5b1 Updated from OpenStack Ansible Tests
Change-Id: Ifa1962bcbdbe12d25a390149cfef867ac3cd62c2
2017-09-11 21:13:23 +00:00
OpenStack Proposal Bot 0b9788226d Updated from OpenStack Ansible Tests
Change-Id: Ia498045fa97e5a1387d67d2e66e7c01bfc187881
2017-08-31 15:18:57 +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