Commit Graph

85 Commits

Author SHA1 Message Date
OpenStack Proposal Bot 649b5731b6 Updated from OpenStack Ansible Tests
Change-Id: I4bb491e971b09d4f12752c43c754c48327a7a1f8
2019-06-10 15:46:33 +00:00
OpenDev Sysadmins cbc853bd91 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:29:55 +00:00
Ian Wienand 71dcd71420 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: I49974c8293848763740ec32b4fc6a437592bd0ac
2019-03-24 20:35:03 +00:00
Jesse Pretorius e383469ef1 Remove galera_client meta-dependency
Given that pymysql is pure python and has no C binding
dependencies, we no longer need the role to install the
MariaDB client libraries.

Change-Id: Ibdc4cb8c00eeaf5c642d42b09bb311c3124e3de6
(cherry picked from commit ac1d8f6f0a)
2018-09-19 14:30:58 +01:00
huang.zhiping b6a2a328b3 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: I4c30588fe83b92a0adf28d43432ed0fc6804d5bb
Story: #2002586
Task: #24319
2018-08-21 13:38:42 +00:00
Jesse Pretorius ae01e8088f Do not log passwords
This prevents data to be leaked into the callback plugin.

Change-Id: Ib2f74474b8615d7be3d9b04c3040e9b25fa2d695
(cherry picked from commit 1bb9e0ee3f)
2018-04-23 08:24:53 +00:00
Jean-Philippe Evrard 1cb8a3497e Do not log passwords
This prevents data to be leaked into the callback plugin.

Change-Id: I0929d73d0b08243b4d9fb6b13d35a0037230c409
(cherry picked from commit 0f0e414f41)
2018-04-17 10:22:52 +00:00
James E. Blair 952ba555bc 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: I1ce8cc4423354e240a302367429d9a9726154896
2018-02-08 06:44:29 -08:00
Jesse Pretorius d9fc13f11a 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.

Change-Id: I0ffe734e8da524df6a173ea12f3e990488eb0c82
2017-10-31 11:07:42 +00:00
OpenStack Proposal Bot 03ccfde008 Updated from global requirements
Change-Id: Id0eafdcadffab31412ee9a5ecaa019b0daccaa32
2017-08-26 11:54:16 +00:00
OpenStack Proposal Bot 0903d0d1fc Updated from OpenStack Ansible Tests
Change-Id: I5a34fc07251951980917822573c6d6ef28a48e1b
2017-08-24 17:11:34 +00:00
Jenkins b532e45331 Merge "Update vars and test tooling for Pike" into stable/pike 2017-08-24 08:08:56 +00:00
OpenStack Proposal Bot d1cd3b24d2 Updated from OpenStack Ansible Tests
Change-Id: I7dd9cca5b0ee34735f5536c10f69ed65075a1d0f
2017-08-23 20:38:55 +00:00
Jesse Pretorius cbdf563f15 Update vars and test tooling for Pike
Change-Id: I88feb743561f1b887d4d636564d775dab7f9c300
2017-08-23 11:44:18 +00:00
OpenStack Proposal Bot d8bd069fdf Updated from global requirements
Change-Id: Ic5c8475893b558ea10a5d4cab4d9e2a1eb7c50ae
2017-08-18 11:38:39 +00:00
OpenStack Proposal Bot 14673e8b28 Updated from OpenStack Ansible Tests
Change-Id: I5cd5bed489958f92f73124e3f4f5bdecdb93bf4e
2017-08-04 15:22:43 +00:00
OpenStack Proposal Bot a858728691 Updated from OpenStack Ansible Tests
Change-Id: I3ab7505a9073f2ebc1c3721947198f5d23573ba0
2017-08-03 15:27:13 +00:00
OpenStack Proposal Bot d483b98ae7 Updated from OpenStack Ansible Tests
Change-Id: I5619a1a039c5ab6e1d33356e6da40138203119df
2017-07-31 19:11:39 +00:00
Jenkins e6cedb2d10 Merge "Updated from global requirements" 2017-07-28 18:34:55 +00:00
OpenStack Proposal Bot 9b65607bc9 Updated from OpenStack Ansible Tests
Change-Id: Ib894887520d1988e8072d3e540a8492a086d05be
2017-07-28 15:01:03 +00:00
OpenStack Proposal Bot ae8a09bd0f Updated from global requirements
Change-Id: I9d6baab66bb57a31629f32c6a94481da2a1fab8b
2017-07-27 19:18:14 +00:00
ZhongShengping e9bc9fffd5 Update URLs in documents according to document migration
Change-Id: I0b43264896eed00d22ecd4da47d36c7313308be0
2017-07-14 09:46:12 +08:00
OpenStack Proposal Bot 3da18a44e6 Updated from OpenStack Ansible Tests
Change-Id: I347f60778f187ee55586f7f14a05a0e5cbefe45e
2017-07-06 21:09:00 +00:00
OpenStack Proposal Bot cd39305eb5 Updated from OpenStack Ansible Tests
Change-Id: I6fadcaa0fcc9032a617d5aa75c55b033450542ea
2017-07-06 13:03:12 +00:00
ZhongShengping 7602400415 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: I57f55f957f9f437a02a18f2da166a48c7f4a8061
2017-07-03 16:23:57 +08:00
OpenStack Proposal Bot e2292f7697 Updated from global requirements
Change-Id: I096d6b4b8172a86a6ed69f6ea07321e444ef3926
2017-06-27 12:18:47 +00:00
ZhongShengping fabd1e964f 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: I99ba8d553b63b62bdbd98e5eb0aa079e87d7fc6f
2017-06-26 11:40:11 +08:00
OpenStack Proposal Bot 2b76bdfee1 Updated from OpenStack Ansible Tests
Change-Id: I5b3a58047b65f82b87a66bcf3c0367cdb6fe0dd9
2017-06-22 15:20:10 +00:00
OpenStack Proposal Bot 79996a0b7c Updated from global requirements
Change-Id: Ia4858876670a7dd2c324ba8ff1876a7f68fe1c80
2017-06-12 12:59:59 +00:00
OpenStack Proposal Bot 3c16aa7619 Updated from global requirements
Change-Id: I55cfdb9ff353fd9eb52b912066963cc8816576f3
2017-06-10 21:45:27 +00:00
Jenkins 04b2ff3fae Merge "Ensure that role tests pin pip/setuptools/wheel" 2017-06-07 22:10:09 +00:00
Jesse Pretorius 4b95f50275 Switch to Cryptography over pycrypto
The keystonemiddleware library recently switched to using the
cryptography library over pycrypto, which was unmaintained. See
Iced7f5115e49ccf4f7f5bf6813cb5988b95c248b

Change-Id: I5b03aee319c0aecca677ede07d44d5ff40a1b61f
Co-Authored-By: Nolan Brubaker <nolan.brubaker@rackspace.com>
2017-06-07 17:51:58 +00:00
Jesse Pretorius c731684a09 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: I60c75e5a5f189301d6ed9978fb268d0e6f092b30
2017-06-04 11:23:28 +01:00
OpenStack Proposal Bot 3f0c2208e4 Updated from global requirements
Change-Id: I63e3c2d68438c5af4e2edea3d55c6c29025f4b4e
2017-06-02 22:03:52 +00:00
Andy McCrae 4b6822cbbf Allow the developer constraints to be adjusted
In order to do a developer mode that allows installation of packages
from local file, which take precedence over the developer_mode
constraints, we need to allow the order of the constraints to be
changed.

This patch adds a "pip_install_developer_constraints" var which is used
to set the developer mode constraints. By default this will leave the
same behaviour but will allow additional constraints to be added, or the
developermode constraints file to be overriden altogether.

Change-Id: I5f0b769503de5b4c45e6d3a57ac45f13473d1d27
2017-05-26 12:03:14 +01:00
ZhongShengping def63e48c6 Deprecate rabbit_use_ssl option
Option "rabbit_use_ssl" from group "oslo_messaging_rabbit" is deprecated.
Use option "ssl" from group "oslo_messaging_rabbit".

Change-Id: Ic881e5dfecb4a48acc1fae09272880ba3803ab77
Implements: blueprint deprecate-rabbit-use-ssl
2017-05-23 10:37:29 +08:00
OpenStack Proposal Bot 90b3fbce31 Updated from global requirements
Change-Id: I042d94d070c6eb6940721ef38a262d3462c045a1
2017-05-17 03:55:25 +00:00
Jenkins 4d1151166c Merge "Use zuul-cloner for tests repo in OpenStack-CI" 2017-05-16 15:06:36 +00:00
Jenkins 75913b869c Merge "Fix for lookup and get_url occuring in different places" 2017-05-16 15:06:31 +00:00
Rick Box 4e4600ef93 Fix for lookup and get_url occuring in different places
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: I290fd1e5763bc89028bb9207dbd0bba33bacaa06
2017-05-16 11:44:58 +00:00
Jesse Pretorius dd906fbbaf 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: I007306c47f9cc526b163c2e659baa67769affd84
2017-05-16 11:44:48 +00:00
Jesse Pretorius 7cfbf9f424 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: I8b220ca95512dcaccce5524f51c044b16c09b1b4
2017-05-16 11:44:39 +00:00
Jesse Pretorius 1a0db2cf9a 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: I36e68b24fad5015ea02a5c92b6cd081daf81b520
2017-05-16 12:11:55 +01:00
Kevin Carter 539cc073ee 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: I1edfb6bd1896f8c2b6f26c77ba02923e69fb2f37
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-03-30 15:07:48 +00:00
ZhongShengping 9612036d58 watcher_keystone_auth_plugin does not take effect
Change-Id: Ic6b957c40a9c6d24206e29491a309832cb2f60c6
Closes-Bug: #1674874
2017-03-22 11:30:54 +08:00
OpenStack Proposal Bot bce91cc4aa Updated from global requirements
Change-Id: I5f3c34ce17c3714e1514c2ceab932ceae4c615a7
2017-03-02 11:52:13 +00:00
OpenStack Proposal Bot a00c03493c Updated from global requirements
Change-Id: I37b648327e5e2fd298586bb5cd8261017e411a9b
2017-02-11 17:49:21 +00:00
OpenStack Proposal Bot e46d6088b3 Updated from global requirements
Change-Id: I3af5fb3b6ace83b9e349baafb66ddb691aaa24a8
2017-02-10 05:56:28 +00:00
Cuong Nguyen 28df5e450f Install python2 for Ubuntu 16.04 and CentOS 7 in Vagrant
- Phase out trusty in Vagranfile
- Install python2 for Ubuntu 16.04 and CentOS 7 before executing test
  script.

Change-Id: I3d8e82c1d01e9406775a4947a40edb37f3dac492
2017-02-09 10:33:03 +07:00
Cao Xuan Hoang 48fe4b2f5e Use https instead of http for git.openstack.org
Trivialfix

Change-Id: I2d515e089c79c28680c122de59b54c4cf1da133c
2017-02-06 17:17:19 +07:00