Commit Graph

210 Commits

Author SHA1 Message Date
Zuul c41fbe7ee3 Merge "Retire openstack-ansible-os_zaqar" 2019-04-24 20:38:36 +00:00
OpenDev Sysadmins 7768676413 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:36:14 +00:00
Guilherme Steinmüller c30e4a5a34 Retire openstack-ansible-os_zaqar
Change-Id: Id1b0aa720d293298ab48fae2e926e79fb7df4511
2019-04-17 23:43:21 +00:00
OpenStack Release Bot c9bfbf4906 Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.

Change-Id: Ia1de1f05707c19b5aeca582250466d01dd5fc936
Sem-Ver: feature
2019-04-08 09:22:22 +00:00
Mohammed Naser 26fe529338 docs: drop sphinxmark
sphinxmark is no longer compatible with the latest release of Sphinx
which is causing all of our documentation jobs to fail.  This patch
removes it as our current usage of openstacktheme for documentation
already provides watermarks for current branch and notices for which
branch the documentation covers.

Change-Id: I2ff3fba7c160b95208bebad32c3b500cb9a39d4a
2019-04-04 05:01:18 +00:00
OpenStack Proposal Bot 038ebe3a04 Updated from OpenStack Ansible Tests
Change-Id: I29069f94104185083cc116c9415920f04aa6023d
2019-03-22 22:06:53 +00:00
OpenStack Proposal Bot 939eb72b5a Updated from OpenStack Ansible Tests
Change-Id: If83fcc8ae4cfb52c02fffa468f1b1cfd118b2cd8
2019-02-27 06:07:09 +00:00
ZhongShengping 1eb81a3a41 Update mailinglist from dev to discuss
openstack-dev was decomissioned this night in https://review.openstack.org/621258
Update openstack-dev to openstack-discuss

Change-Id: Ied01393d6f061037f5fab21c5abde4036b6b9a0c
2018-12-05 09:15:01 +08:00
Zuul 44d82ee020 Merge "Update README.rst information" 2018-11-30 20:37:02 +00:00
Zuul b1dcf61ca1 Merge "Add bugs url link to README" 2018-11-30 20:37:01 +00:00
Jesse Pretorius 673dcb63a3 Enable overriding the service setup host python interpreter
In order to enable the service setup host python interpreter to
be changed easily, we make it a variable. This will be useful
when someone sets the service setup host to be the utility
container, because we'll be able to set this var by default.

Change-Id: I0c3f20032fc673a20088fb6a946c7af57d6a4841
2018-11-30 16:59:05 +00:00
Jesse Pretorius d599e19610 Set container_name as host_var in test inventory
The connection plugin no longer falls back on using the
inventory_hostname as the container_name. Set container_name as a host
var for each container in the test inventory.

Change-Id: I9542008be92408d9f1956810c8cfeb839c3abc1d
2018-10-22 12:58:13 +01:00
OpenStack Proposal Bot 447f493edd Updated from OpenStack Ansible Tests
Change-Id: I22c30e60efb1b0239b0816c262a13c2869a80db5
2018-10-02 14:55:34 +00:00
Zuul 1b1226c515 Merge "fix tox python3 overrides" 2018-09-29 16:42:49 +00:00
OpenStack Proposal Bot adabfcc19f Updated from OpenStack Ansible Tests
Change-Id: I52f3a33aae33f12aec57b27d6611e99677fe6d06
2018-09-29 04:56:31 +00:00
OpenStack Proposal Bot 6a961e108a Updated from OpenStack Ansible Tests
Change-Id: Ifbb47b181e5ac4300ba1d5c716454382c20b9486
2018-09-28 06:22:26 +00:00
Zuul c8e6058ea2 Merge "add the project source code repository" 2018-09-27 03:39:23 +00:00
Zuul da2832edd2 Merge "Trivial: Fix the pep8 warning" 2018-09-27 03:39:22 +00:00
Doug Hellmann c0c1d881e2 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I4b972820e82b78cf70f21efde57149d54e4bafc8
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:44:38 -04:00
jacky06 4fd209d969 Replace Chinese punctuation with English punctuation
Curly quotes(Chinese punctuation) usually input from Chinese input
method. When read from english context, it makes some confusion.

Change-Id: I93499fc9fd9445e47397ffc2ddfae9ac5bba3861
Closes-Bug: #1792131
2018-09-12 13:08:19 +00:00
lvxianguo 7728411368 add the project source code repository
Change-Id: I9969b267a35525623d4a6e534c3241d5351fba32
2018-09-07 09:13:14 +08:00
ZhijunWei b4d340c857 use include_tasks instead of include
include is marked as deprecated since ansible 2.4[0]

Switch to include_tasks or import_playbook as necessary

[0] https://docs.ansible.com/ansible/2.4/include_module.html#deprecated

Change-Id: I2b89abfe09c9bd8386b83833b7f17eb388c7425f
2018-09-06 08:15:51 +08:00
Jesse Pretorius 0fc824798e Use a common python build/install role
In order to radically simplify how we prepare the service
venvs, we use a common role to do the wheel builds and the
venv preparation. This makes the process far simpler to
understand, because the role does its own building and
installing. It also reduces the code maintenance burden,
because instead of duplicating the build processes in the
repo_build role and the service role - we only have it all
done in a single place.

We also change the role venv tag var to use the integrated
build's common venv tag so that we can remove the role's
venv tag in group_vars in the integrated build. This reduces
memory consumption and also reduces the duplication.

This is by no means the final stop in the simplification
process, but it is a step forward. The will be work to follow
which:

1. Replaces 'developer mode' with an equivalent mechanism
   that uses the common role and is simpler to understand.
   We will also simplify the provisioning of pip install
   arguments when doing this.

This patch also cleans up the unnecessary tags and makes a
few changes to the role to tidy things up a bit.

Depends-On: https://review.openstack.org/598957
Change-Id: I61d005d4732bd1d6cf4125cbf1adfdb1479a4b1b
Implements: blueprint python-build-install-simplification
Signed-off-by: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
2018-09-04 13:47:41 +00:00
ShangXiao 33cef18b6a Add bugs url link to README
Change-Id: I2c4d1a6054717b23c0c69f07677dc11ce6404b4c
2018-08-31 02:35:36 -07:00
huang.zhiping 63f9e0f1a9 switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I660942927988cc1e76fe2292494eb53f80161c8c
Story: #2002586
Task: #24319
2018-08-28 06:39:22 +00:00
Andreas Jaeger ee2b7c7c10 Fix doc8 failures
The tox -e docs environment fails - and is used for the PTI jobs. Fix
the indentation failure doc8 reports and sync two sections.

Change-Id: I363662e2eaf4c68e09e8da22a30e85fd9f3d8ddf
2018-08-28 08:38:34 +02:00
Zuul 591893e751 Merge "fix tox python3 overrides" 2018-08-23 03:43:10 +00:00
Zuul 00957afac6 Merge "import zuul job settings from project-config" 2018-08-23 03:15:20 +00:00
Zuul 8a73fca039 Merge "Add description section" 2018-08-22 15:17:12 +00:00
huang.zhiping 5ca9002fc3 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: Ie2a58c94009d1108f717618dbce2a586e1f7a814
Story: #2002586
Task: #24319
2018-08-21 13:19:15 +00:00
Zuul a7a8cac821 Merge "Use the TESTING_BRANCH env var for constraints" 2018-08-21 09:41:30 +00:00
Zuul 6f6793e234 Merge "Add bionic to galaxy_info metadata" 2018-08-19 18:26:46 +00:00
Jesse Pretorius e29af51efe Remove httplib2 install from tests
httplib2 is an old ansible requirement for the uri/url
module which is no longer necessary.

Change-Id: I5b53c7b0655e7cbb1ff34a21a53ed17c38a6d17f
2018-08-19 16:38:24 +01:00
jacky06 2e466d1732 Add description section
Change-Id: I4daaea6ffe17e971c89fdba67f5872579498d33e
2018-08-17 16:16:05 +00:00
Jesse Pretorius 9a4a15eae3 Use the TESTING_BRANCH env var for constraints
The TESTING_BRANCH environment variable is provided by the
run_tests.sh script and is derived from the .gitreview file.

This ensures that once the master branch becomes a stable
branch, the constraints from the stable branch in the
integrated repository will automatically get used once the
.gitreview file is updated.

To ensure that the required environment variables are present
we export them appropriately in run_tests.sh and modify the
tox configuration to pass them into the tox test.

Change-Id: I717fc3941d7ed54c125c42985ae34f0d93f7c8b0
Needed-By: https://review.openstack.org/579371
2018-08-16 18:28:34 +01:00
OpenStack Release Bot ded1adf12a Update reno for stable/rocky
Change-Id: I792912c50468897caa1c9121c5420a4194c416b2
2018-08-10 16:48:55 +00:00
Jonathan Rosser f94e78205c Switch to using project-templates
In order to have more centralized configuration, switch the role
to use the project-template instead.

Mark newly introduced failing jobs as non-voting.

Depends-On: https://review.openstack.org/588962
Change-Id: I559d19d38a419a373d5cbb3d9f423607f8d29a74
2018-08-06 10:29:10 +00:00
wangqi 3f65bb632d Trivial: Fix the pep8 warning
The yaml should start with "---"

Change-Id: Id60027322c305b74be161e0174a5b9ece0890e22
2018-08-06 07:59:18 +00:00
Jonathan Rosser 3663eeba2c Add bionic to galaxy_info metadata
Depends-On: https://review.openstack.org/#/c/587536/
Change-Id: I2fad60a1faf95cb1dc3882d67bab86c169b65a94
2018-08-02 20:31:44 +00:00
Jean-Philippe Evrard d25f899c43 Fix usage of "|" for tests
With the more recent versions of ansible, we should now use
"is" instead of the "|" sign for the tests.

This should fix it.

Change-Id: I7a5b4cf134a73e9dc6eda08c935696c5b8b8a034
2018-07-30 10:44:21 +02:00
Jesse Pretorius 62dfbc77bd Execute service setup against a delegated host using Ansible built-in modules
In order to reduce the packages required to pip install on to the hosts,
we allow the service setup to be delegated to a specific host, defaulting
to the deploy host. We also switch as many tasks as possible to using the
built-in Ansible modules which make use of the shade library.

The 'virtualenv' package is now installed appropriately by the openstack_hosts
role, so there's no need to install it any more. The 'httplib2' package is a
legacy Ansible requirement for the get_url/get_uri module which is no longer
needed. The keystone client library is not required any more now that we're
using the upstream modules. As there are no required packages left, the task
to install them is also removed.

With the dependent patches, the openstack_openrc role is now executed once
on the designated host, so it is no longer required as a meta-dependency for
the role.

Depends-On: https://review.openstack.org/582359
Change-Id: Ic844753c3ece4383eefa490f00be0bff441c6a7e
2018-07-13 15:36:09 +00:00
Nguyen Hung Phuong 541e09a7a3 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I849a42384d9a9335069f4396d6d4cd9107bba413
2018-07-04 14:25:31 +07:00
Zuul d8f821750b Merge "Update server to service" 2018-07-02 23:56:05 +00:00
Heba Naser d46bf4bc2f Use tests repo for common role test requirements
Using tox for requirements management requires in-repo
requirements files for all our repositories. Rather than
do that, we make use of the tests repo to capture our
common requirements and use this to install them.

This reduces our review requirement rate and simplifies
maintenance for us for the tox config. It also makes it
usable with 'Depends-On', which is marvellous!

The tox requirements definitions for docs/releasenotes
builds are left in-place as those are standard entries
across the community. If that changes at some point, we
can re-assess those entries too.

Depends-On: https://review.openstack.org/579208
Change-Id: I1c0f315a9260319024dc437654727c6cf646cb2c
2018-07-02 13:06:31 -04:00
ZhijunWei 87a7ae3618 Update server to service
Change-Id: I961ce0d92404a94c0883e941841412b25aeab065
2018-06-28 08:33:35 +00:00
melissaml 4571724f06 Update README.rst information
1) Add documentation url link.
2) Add release notes url link.
3) Add the project home url link.

Change-Id: Ia0231aedeb9d850ddd3d8a36c8e1622a4963d2a1
2018-06-19 16:14:20 +08:00
Kevin Carter 70706066b4
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: I4f785e0dac12e7cfffa2b1910dab343b978c09bd
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-06-11 22:59:33 -05:00
OpenStack Proposal Bot 5848f4442c Updated from OpenStack Ansible Tests
Change-Id: I3016d1f27d48379119665a482631c9593e38147f
2018-06-06 00:44:48 +00:00
OpenStack Proposal Bot 548fa04ab1 Updated from OpenStack Ansible Tests
Change-Id: Id170f105a76f1a2f2b5f0b7d227f82a8efecba99
2018-06-01 22:06:59 +00:00
Vu Cong Tuan 7eab60e6f3 Replace port 35357 with 5000 for "identity_uri"
Based on the change in Keystone Install Guide [1],
this patch replace port 35357 with 5000 for "identity_uri".

For more details, please check similar changes which have been done
on other projects: Nova [2], Neutron [3], Cinder [4], Glance [5].

[1] https://review.openstack.org/#/c/541857
[2] https://review.openstack.org/#/c/562812
[3] https://review.openstack.org/#/c/566491
[4] https://review.openstack.org/#/c/565464
[5] https://review.openstack.org/#/c/558932

Change-Id: If13444d4ea4e864d58c2f8a775468319b3f422ad
2018-05-21 13:17:23 +07:00