82 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
cb1f62e253 Updated from OpenStack Ansible Tests
Change-Id: I3b745a3695f0498681b3c88ea3281699608c0aa5
2019-04-17 19:12:29 +00:00
OpenStack Proposal Bot
229a850c47 Updated from OpenStack Ansible Tests
Change-Id: I90f974021ef08c390ae59ffa2f123a747051bc9d
2019-04-17 07:26:12 +00:00
OpenStack Proposal Bot
3814184679 Updated from OpenStack Ansible Tests
Change-Id: Iceb19e0b004ec00669fd6a3fbf98c09e4d42f4ac
2019-04-13 20:24:10 +00:00
Guilherme Steinmüller
98701abb97 debian: add support
This patch updates the meta to reflect it's support
of Debian accordingly as well as rename ubuntu vars
file to debian.

We also add in vars/debian the correspondent docker-ce
uri and gpg_uri.

Change-Id: Icf91eee6e369d9a6a95dd0c8772c2760eaff5bd2
2019-04-11 00:37:05 +00:00
4a0586667d 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: I682f901c63d88f3094d707c960cc2cd1468a150e
Sem-Ver: feature
2019-04-08 09:22:31 +00:00
Mohammed Naser
dc80f6a2a2 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: I987f90aee31434ef79e960c449cfab576503c08b
2019-04-04 04:52:45 +00:00
OpenStack Proposal Bot
9e7c673605 Updated from OpenStack Ansible Tests
Change-Id: Ifd9b23af12f4a56309ac9f8d30dd0737ddf1b157
2019-04-01 13:19:37 +00:00
Zuul
cd1348516c Merge "missing document start "---"" 2019-03-29 21:21:17 +00:00
Zuul
9ee1f40eea Merge "fix tox python3 overrides" 2019-03-29 21:05:35 +00:00
Zuul
b8c284631d Merge "Replace openstack.org git:// URLs with https://" 2019-03-29 20:09:33 +00:00
OpenStack Proposal Bot
39be6a7dd3 Updated from OpenStack Ansible Tests
Change-Id: Ifb2876b22719099fec8b802e614e60685a53403c
2019-03-29 11:55:22 +00:00
Dmitriy Rabotjagov
0684afa2c5 Update role for new source build process
The variables zun_developer_mode and zun_venv_download
no longer carry any meaning. This review changes zun to
do the equivalent of what developer_mode was all the time,
meaning that it always builds the venv and never requires
the repo server, but it will use a repo server when available.

As part of this, we move the installation out of its own file
because it's now a single task to include the venv build role.
This is just to make it easier to follow the code.

We also change include_tasks to import_tasks and include_role
to import_role so that the tags in the python_venv_build role
will work.

As part of commit xenial testing was removed. Instead centos 7
and opensuse 15 functional tests were added.

Change-Id: Ic8fc09372cf7397df6757c115b2c05dbb5db68f1
2019-03-29 12:43:52 +02:00
Ian Wienand
dddb4c5187 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: I471dec6d7efcb3dbcbc2e9e3140ee569b8ba7ef8
2019-03-24 20:35:03 +00:00
Zuul
833690fef8 Merge "Enable overriding the service setup host python interpreter" 2019-02-27 10:41:20 +00:00
OpenStack Proposal Bot
4f795a00e6 Updated from OpenStack Ansible Tests
Change-Id: Ie44271f5a513b9a8e38797569e646cadcab9ec4b
2019-02-27 06:07:17 +00:00
Jesse Pretorius
087ab53281 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: I7d801847f194d733bb2e5418f64571e68d8b42ad
2019-02-26 08:27:38 +00:00
Jonathan Rosser
4f7c2874dc Add ubuntu bionic check and gate jobs
Change-Id: I72e4dbfa4b344a4a1f24a1121f11cb3704e67cef
2019-02-25 21:03:08 +00:00
Zuul
c9e0c8a252 Merge "Remove the private option from include_role" 2019-02-25 20:47:27 +00:00
Jesse Pretorius
7175ef6ae6 Improve docker API version retrieval
The current method does not work due to CLI output formatting
changes. We improve it to render the client output using toml,
which should be more future proof.

This change also disables pinging of the neutron router during
tempest tests, a combined patch is required to pass tests.

Change-Id: I7f611ffd095ca690baba3a987d8eb0b8407fade1
2019-02-23 17:26:47 +00:00
Kevin Carter
c8cb23a492 Remove the private option from include_role
The private option on include role was never implemented and
will no longer be developed. This change removes the option
so ansible no longer raises a deprecation warning.

Change-Id: I11ca7c3beed3bdabd6fcb517242a41180d1a4e63
Signed-off-by: Kevin Carter <kevin@cloudnull.com>
2019-02-23 11:09:21 -06:00
huang.zhiping
5576155a8b 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: Ib12c795adf06d34e02eb2942f65c0789a3b6621b
Closes-Bug:  #1801657
2019-01-12 03:20:09 +00:00
ZhongShengping
30256ebb6b 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: I530fb3f5ca0a2fa41a0f7a54001e7f734f0c5bdf
2018-12-05 09:16:38 +08:00
ShangXiao
172a22b488 Add bugs url link to README
Change-Id: I9c255a11280fc78b21c6de0f6dd8721f864a891e
2018-12-04 02:32:47 -08:00
zhouxinyong
5965040a68 Fix usage link
Change-Id: I8d3c375fa4fe0d31fa85ff12ae266281a791b2ed
2018-11-12 09:23:34 +08:00
wangqi
c20cdaf030 missing document start "---"
Change-Id: Id79ded578b3c147199c516f917a13b6c78d351ab
2018-10-30 07:47:52 +00:00
Jesse Pretorius
c5c1bbb4cb 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: I4e76e65b8e2b4b0968f8e5af89e08da4dd69eb9b
2018-10-22 12:59:19 +01:00
OpenStack Proposal Bot
38c8cbd7d5 Updated from OpenStack Ansible Tests
Change-Id: If5b154a55ef286ab0b78e45582f377dd9da83860
2018-10-02 14:55:40 +00:00
Zuul
8abf2efbe9 Merge "fix tox python3 overrides" 2018-09-29 17:14:04 +00:00
OpenStack Proposal Bot
902cc9467e Updated from OpenStack Ansible Tests
Change-Id: I12d432092ed9336ca70be843814c2c7686db4ca3
2018-09-29 04:56:36 +00:00
OpenStack Proposal Bot
bf83ba58c5 Updated from OpenStack Ansible Tests
Change-Id: Ieb86edb5f43f8b4190077ac48ed737bb6be27468
2018-09-28 06:22:33 +00:00
Doug Hellmann
2cf9fd4456 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: Icb7395e2003053690b5ba77da207b62ff3014a56
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:44:42 -04:00
Zuul
ff4896b6cb Merge "add ubuntu bionic" 2018-09-19 21:24:50 +00:00
Zuul
8db461a146 Merge "Trivial: Fix the pep8 warning" 2018-09-19 21:24:50 +00:00
Zuul
e7e900e8ef Merge "Remove rabbit_max_retries option" 2018-09-18 23:32:24 +00:00
Jesse Pretorius
80591c56b5 Rename SUSE vars file to cater for any version
To make the transition between versions easier,
we rename the vars file. This also resolves
issues when meta-dependent role inclusions do
not pick up the correct file when using the
include_vars task with multiple search paths.

Change-Id: I4aaab0cb8a039b752c41a9e5de52d5dadd630dbd
2018-09-15 18:40:06 -06:00
Jesse Pretorius
2f73146e0c Clean up role tests
Now that we're using the general templates, we can slim down
the role test definitions. We can also remove tests which are
not being watched, or which are fundamentally broken. With
this we can also remove unused scripts/plays.

We do the following:

1. We revert the use of project templates to using job config
   directly, given that nothing other than Ubuntu Xenial is
   currently working.
2. We remove the unused tox targets.

Change-Id: I695dcdbef6eb5f2cec69697a9cff50e03aeff1e2
2018-09-09 11:47:07 +01:00
inspurericzhang
3865bb0aa9 [Trivial Fix] 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: Id81347b054cfcc9db9e4f85777e51525c77181da
2018-09-06 10:35:13 +08:00
Jesse Pretorius
6eb94ebfef 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.

Depends-On: https://review.openstack.org/598957
Change-Id: Ia3646f395a17c90de6ff7b23e31897573691b5d4
Implements: blueprint python-build-install-simplification
Signed-off-by: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
2018-09-03 18:11:27 +01:00
Matt Riedemann
5b55303718 Remove deprecated Disk/RamFilter usage
As of change https://review.openstack.org/#/c/596502/ nova
has deprecated the RamFilter and DiskFilter since they are
not necessary when using the default scheduler driver
(filter_scheduler). This change removes their usage from
this deployment project.

Change-Id: I9c05016817cb03933292f09d06119795f8f451a0
2018-08-28 14:30:42 -04:00
huang.zhiping
86214c9f98 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: I6bfd97e82cf48dae75bb206816bf9823390e22e1
Story: #2002586
Task: #24319
2018-08-21 13:22:07 +00:00
huang.zhiping
a8bb926c14 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: I68850a4551df70403dac36a0cfc68f43fd0c8f80
Story: #2002586
Task: #24319
2018-08-21 13:19:27 +00:00
OpenStack Proposal Bot
7326e93793 Updated from OpenStack Ansible Tests
Change-Id: I37ca9998bafd8efa05133fd08626d4d73d6f073b
2018-08-20 10:51:02 +00:00
Jesse Pretorius
63b0b0a596 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: Id60990bad2e47d89190eaf6cbe3fe1faf69af734
Needed-By: https://review.openstack.org/579371
2018-08-16 18:28:51 +01:00
OpenStack Proposal Bot
b0b2a1ebcd Updated from OpenStack Ansible Tests
Change-Id: I25688a09af7a23955df44d2b6b9dff103fbbdc8d
2018-08-15 13:42:34 +00:00
6f408cb586 Update reno for stable/rocky
Change-Id: I03b613a60dc65a5e07dd2e38fd12d52ddb4b3799
2018-08-10 16:49:00 +00:00
wangqi
499cd9c60d add ubuntu bionic
Change-Id: Ieb912f06682035bd5a6c37708682bd0dac330619
2018-08-08 06:37:44 +00:00
Jesse Pretorius
7908f60662 Allow tags to be used for MQ tasks
The use of 'include_tasks' and a loop of variables creates
a situation where a user is unable to use tags to scope the
inclusion of only the MQ tasks when running the playbooks.

The use-case this is important for is when the rabbitmq
containers are destroyed and rebuilt in order to resolve
an issue with them, and the user wishes to quickly recreate
all the vhosts/users.

Ansible's 'include_tasks' is a dynamic inclusion, and dynamic
inclusions are not included when using tags. The nice thing
about dynamic inclusions is that they completely skip all
tasks when the condition does not apply, cutting down deploy
time. However, given the use-case, we should rather take on
the extra deployment time.

This patch changes the dynamic inclusion to a static one,
adds a 'common-mq' tag to cover all MQ implementations,
and re-implements the 'common-rabbitmq' tag for the tasks
that relate to RabbitMQ specifically.

It also implements conditionals for each task set so that
the rpc/notify tasks can be skipped if a vhost/user is not
required for that purpose (eg: swift does not use RPC, and
most roles will not use notifications by default).

Depends-On: https://review.openstack.org/588191
Change-Id: If671a68bd26842dafb55996cdcb47bbb58e4a130
2018-08-07 15:22:42 +01:00
Jonathan Rosser
7d48afc41b 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 checks as non-voting.

Change-Id: I946570d91fe01f39952ee100a02831bad36f126d
2018-08-06 14:34:06 +01:00
wangqi
546afc0d96 Trivial: Fix the pep8 warning
The yaml should start with "---"

Change-Id: I177bb83859298d081ef9e099915b667931c726c5
2018-08-06 08:00:10 +00:00
Jonathan Rosser
1900f2b501 Add bionic to galaxy_info metadata
Change-Id: I80a570ed3deeb02b98daaa02a873b6572ae61e47
2018-08-02 16:10:06 +01:00