594 Commits

Author SHA1 Message Date
Zuul
b6593b7007 Merge "Add packages required for osprofiler" 2018-06-27 03:00:44 +00:00
Corey Wright
6654e4835d Replace swiftoperator role with swift_operator_role variable
Though a `swift_operator_role` variable exists to allow specifying an
operator role other than `swiftoperator`, it is not applied to all
uses of the role, eg the proxy-server.conf template.

Replace all remaining hard-coded references to the `swiftoperator`
role with the `swift_operator_role` variable.

Change-Id: Ie6db872cc2b7a1b1a90d9a690ee08937a9cab785
Signed-off-by: Corey Wright <corey.wright@rackspace.com>
2018-06-21 19:44:45 -05:00
fpxie
dbb88cbe39 Trivial: Fix the pep8 warning
The yaml should start with "---"

Change-Id: Id26976a9ba87992562024d801f4f7e3ab3504817
2018-06-20 16:11:12 +08:00
Zuul
8cdaee5b85 Merge "tox.ini: Use common vars file for distibution installations" 2018-06-18 23:41:36 +00:00
Markos Chandras
2ae3bdb459 tox.ini: Use common vars file for distibution installations
Change-Id: I944369645135bb446b4f447aaf55c6115ba1332d
Implements: blueprint openstack-distribution-packages
2018-06-14 16:02:52 +01:00
Mohammed Naser
e65986dd85 Switch non-voting jobs to use Zuul stanza
The extra jobs that we have are not something that is needed, we simply can
set the jobs to non-voting in the project definition and avoid having non
voting jobs.

Change-Id: Ie029533bca3a742c20c7e333f97f9217c4be2340
2018-06-13 21:39:33 -04:00
ShangXiao
ef6be88ac7 Add release notes link to README
Change-Id: Icb6114d5875064737cb5c7af07aaf96cd723bd6d
2018-06-12 00:03:43 -07:00
Kevin Carter
6175ff1e8d
Add packages required for osprofiler
The following packages are required in-order to run osprofiler.
these packages will provide deployers the ability to profile
a service on demand should they choose to enable the profile
functionality.

Change-Id: If60f98fc069c040680f58658aacc63a156c4317f
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-06-11 22:59:09 -05:00
Andrew Smith
91af246bdf Update to use oslo.messaging service for Notify
This introduces oslo.messaging variables that define the Notify transport
in place of the rabbitmq values.

This patch:
* Add oslo.messaging variable for Notify to defaults
* Update url generation
* Add oslo.messaging to inventory
* Add release note

Change-Id: I1c2e844c4c7a2256087bcc4521f970ca8e8c6b16
2018-06-11 16:45:16 -04:00
OpenStack Proposal Bot
ee0d0dfd52 Updated from OpenStack Ansible Tests
Change-Id: If0e223a10b4412cef9cd9c8f4297ff84ad741c15
2018-06-06 00:44:04 +00:00
Zuul
174e9bf8c1 Merge "Do not pip install keystoneclient on the host" 2018-06-04 15:11:15 +00:00
Zuul
6291177254 Merge "Add support for using distribution packages for OpenStack services" 2018-06-04 15:05:14 +00:00
Markos Chandras
4bf5de8d30 Do not pip install keystoneclient on the host
The keystoneclient package is being installed on the host by PIP but
that means that a whole bunch of required dependencies are being pulled
in as well.

This brings the host to a rather messed up state when installing
keystone from distro packages, since distribution and
PIP packages are being mixed together. We only need the client to
register the service with keystone so we can simply use the distro
package for that to avoid installing lots of PIP packages on the
host.

Change-Id: Id5d79db00e1a4aa4983aafd92c088ef8f13a7da0
Implements: blueprint openstack-distribution-packages
2018-06-04 08:41:20 +01:00
Markos Chandras
51ea328b7c Add support for using distribution packages for OpenStack services
Distributions provide packages for the OpenStack services so we add
support for using these instead of the pip ones. However, functional
testing is not complete yet since it requires tempest to be in the swift
virtual environment which doesn't exist for distro installs. As such,
for functional testing to cover this method of installation it needs
to be changed quite a bit.

Change-Id: Id75e56440685df407a9991018dc07b5a75429082
Implements: blueprint openstack-distribution-packages
2018-06-04 08:41:19 +01:00
Zuul
6396151de0 Merge "defaults: Do not install the cinderclient package" 2018-06-02 09:20:03 +00:00
OpenStack Proposal Bot
dd648feeda Updated from OpenStack Ansible Tests
Change-Id: I153167f77ea2d537702470b962c7b3852d89f3e7
2018-06-01 22:06:47 +00:00
Markos Chandras
ae8e01aada defaults: Do not install the cinderclient package
Nothing in the swift role needs the cinderclient package so there is
no need to install it.

Change-Id: I01b2a71fa185745b1b73546222779ef71889258a
2018-05-31 09:26:57 +01:00
OpenStack Proposal Bot
56e920678a Updated from OpenStack Ansible Tests
Change-Id: I78e85a1e32df77ca13de08d9d664da5121cd31b4
2018-05-09 19:42:59 +00:00
OpenStack Proposal Bot
5b82afab74 Updated from OpenStack Ansible Tests
Change-Id: Ic9eaf8bcedd9ed7485da57794199b5bcafe2eee2
2018-04-30 05:16:24 +00:00
Kevin Carter
8f1cb4dde5 Convert role to use a common systemd service role
This removes the systemd service templates and tasks from this role and
leverages a common systemd service role instead. This change removes a
lot of code duplication across all roles all without sacrificing features
or functionality. The intention of this change is to ensure uniformity and
reduce the maintenance burden on the community when sweeping changes are
needed. The exterior role is built to be OSA compatible and may be pulled
into tree should we deem it necessary.

Change-Id: Icb7ca523cb19c560de5c84b0d60a06305029192c
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
18.0.0.0b1
2018-04-22 14:00:27 +00:00
Zuul
d0fe470d50 Merge "Only replace python when re-initializing the venv" 2018-04-19 18:23:50 +00:00
Jesse Pretorius
130e8da005 Do not log passwords
This prevents data to be leaked into the callback plugin.

Some style changes are included to make it easier to read,
the copyright notice is added as it should have been from
the start, and a duplicate retry argument is removed.

Change-Id: I11c3da84fa6469764a19b6a387ef312124dfba2a
2018-04-18 12:57:31 +01:00
Jesse Pretorius
1a789263bd Only replace python when re-initializing the venv
We reinitialize the venv to ensure that the right version of
python is in the venv, but we do not want virtualenv to also
replace pip, setuptools and wheel so we tell it not to. If we
don't do this then virtualenv will install the latest available
version, which is not what we want.

Change-Id: I05d9ee40e596afcc35559b53f6a773521b1d1534
Partial-Bug: #1764470
2018-04-18 11:02:08 +01:00
melissaml
407e2cc5ed Update auth_uri option to www_authenticate_uri
Option auth_uri from group keystone_authtoken is deprecated[1].
Use option www_authenticate_uri from group keystone_authtoken.

[1]https://review.openstack.org/#/c/508522/

Change-Id: I7897412e22d91c6ab786652ff95ca44f7d10dedc
2018-04-17 04:58:02 +08:00
Jesse Pretorius
97a448da3e Remove tests-repo-clone.sh
Now that run_tests.sh handles the tests repo clone, we can
remove the use of the older tests-repo-clone.sh script.

Change-Id: I7d2961028c2182f3ec763c31dd0bd32badf88944
2018-03-28 10:16:20 +01:00
OpenStack Proposal Bot
a58bcb5cfc Updated from OpenStack Ansible Tests
Change-Id: If8a5b4a640d71c536c2757e82aaaced9fd2a76fb
2018-03-27 15:56:12 +00:00
Zuul
1b84ee90dd Merge "ansible-role-requirements: Use systemd_service role from openstack namespace" 2018-03-25 17:45:03 +00:00
Jesse Pretorius
4f48b38d97 ansible-role-requirements: Use systemd_service role from openstack namespace
In order to ensure that the updated role is used for tests,
we adjust the a-r-r file to pull from the correct repo.

Change-Id: I454279a048efc2cdad8bc143144ecab2a51e125c
2018-03-25 16:21:26 +01:00
Jesse Pretorius
7b8299862b ansible-role-requirements: Add common python_venv_build role
In order to allow tests to work as the use of the common
role is implemented in the various roles, we pre-implement
the addition of the role into the a-r-r file.

Change-Id: Ie48b3f33a25a026bf07c98569b6fa72c861a86cc
Implements: blueprint python-build-install-simplification
Signed-off-by: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
2018-03-24 23:21:44 +00:00
Andy McCrae
5dcc7d99d8 Re-enable the erasurecode storage policy for RHEL
We disabled the erasurecode storage policy for CentOS builds, because
the version of liberasurecode caused issues in some gate jobs.

The release of pike now means that liberasurecode 1.5.0 is setup by
default, which resolves this issue. We should re-enable the
erasure code storage policy.

Change-Id: I96a2609bad7d1bcc9faf85d3561d00c8e047c18a
2018-03-17 12:03:19 +00:00
Zuul
a75a1b5047 Merge "Switch pypy functional test to experimental" 2018-03-16 10:01:34 +00:00
Jesse Pretorius
6af035cfbc Switch pypy functional test to experimental
The pypy test has never worked. Running in non-voting
just wastes time and resources.

Change-Id: Ib54defcdabcd6ea577acd3759ff0780111c2c363
2018-03-15 19:28:02 +00:00
Jesse Pretorius
073e3c4506 tox.ini: Expose USER environment variable to execution environment
In order to allow the use of the environment variable which informs
Ansible which user executed the playbook, we pass the USER env var
into the environment that tox builds.

Change-Id: I06e1528995924ca3c59405b04db28281a572cf6d
Implements: blueprint python-build-install-simplification
Signed-off-by: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
2018-03-15 18:02:06 +00:00
OpenStack Proposal Bot
8058210ef6 Updated from global requirements
Change-Id: Ifaf67ce2d9b8671f98b1b3d13408c5e1544f3b8b
2018-03-15 07:38:37 +00:00
Jesse Pretorius
92bebfd33a ansible-role-requirements: Add common systemd_service role
In order to allow tests to work with https://review.openstack.org/551028
merged, add the role to the a-r-r file.

Change-Id: I6346d1d65309de78e6f4fa77f5e880fff6be9b2f
2018-03-13 16:52:16 +00:00
Zuul
c62f70a7a0 Merge "Simplify SELinux check" 2018-03-12 21:05:34 +00:00
OpenStack Proposal Bot
ea0f11e93d Updated from global requirements
Change-Id: Iff9e1ea8ecc4fc6e3bf0af2bc8c9fb9185ad7947
2018-03-10 13:37:23 +00:00
ZhongShengping
effff15606 Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html

For more detials information, please refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: I934aa82f8a46989caa9eeae25cbe808f2deb722a
2018-03-09 12:01:27 +08:00
Major Hayden
5af62fd254
Simplify SELinux check
The ansible_selinux variable is always populated with a 'status'
property, even if SELinux is not installed or configured. This
patch simplifies the check.

Change-Id: I9a7150dec09b486010d533a25692962532708035
Signed-off-by: Major Hayden <major@mhtx.net>
2018-03-06 13:04:25 -06:00
melissaml
c6608d88b6 Update links in README
Change the outdated links to the latest links in README

Change-Id: Iece2c895371a4730c0905bc59ff56d28f0016ebd
2018-03-03 12:15:38 +08:00
Zuul
e386e5d353 Merge "Updated from global requirements" 2018-02-19 11:01:17 +00:00
OpenStack Proposal Bot
e0a6b53ac0 Updated from global requirements
Change-Id: Ie9dcaf6a4f138f15134f7e452f9b67ebbec3517d
2018-02-18 11:35:17 +00:00
Major Hayden
e115fe9d6a Remove systemd conditionals
Change-Id: I9a81e660d57525be08d9cce44c00fa22c0a53226
2018-02-16 19:32:57 +00:00
Major Hayden
ca76d4b910 Change include: to include_tasks:
This removes warnings in Ansible 2.4+.

The patch also removes the "static:" arguments since they are no
longer used by Ansible.

Change-Id: I1448501507daae92022a803af80839286f3542f2
2018-02-16 19:32:48 +00:00
Major Hayden
1a9c6fb23d Remove Pike task that is labeled for removal
Change-Id: I87691b934fab8cf67196b79c580c8e1fe359ff34
2018-02-16 16:20:12 +00:00
OpenStack Proposal Bot
4108ea1407 Updated from OpenStack Ansible Tests
Change-Id: Ia775593ae45a22ce25aa0faef41907cfdb643428
2018-02-16 16:19:17 +00:00
Zuul
0c1970989b Merge "Add basic functional testing for swift3" 2018-02-16 14:30:12 +00:00
Zuul
35a1d8ac54 Merge "Lay out a clouds.yaml file before upgrading" 2018-02-16 14:24:05 +00:00
Charles Farquhar
ea0d7bdb3e Add basic functional testing for swift3
This commit adds the following swift3 functional testing:

 1. Install and configure `s3cmd` utility
 2. Verify bucket creation
 3. Verify object upload
 4. Verify object listing
 5. Verify object and bucket deletion

Change-Id: I6290e8b02004f6c518983700a6439d28fbd127a4
Co-Authored-By: Jean-Philippe Evrard <jean-philippe@evrard.me>
2018-02-16 09:48:06 +00:00
Jean-Philippe Evrard
7ab62ddbea Lay out a clouds.yaml file before upgrading
Upgrades use the clouds.yaml instead of environment variables
to test APIs. Swift doesn't have openstack_openrc in meta, and
no role that applies to localhost in the whole functional test
path has it. So we have to include openstack_openrc role.

Change-Id: I5196ab338659c65a6a3b7ac03095bbfb1e26c0a8
2018-02-16 09:06:03 +00:00