Commit Graph

365 Commits (24245ce18ea0c1bbb2be901d638e90fe935bba1c)

Author SHA1 Message Date
Hervé Beraud 24245ce18e Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.

Change-Id: Ib353cf9878334d91e551bf75121413c6fb2222ea
2020-06-09 19:28:11 +02:00
Hervé Beraud ab98550efd Drop python version constraints for sphinx
This project is now doesn't support py27 so we can remove sphinx
constraints related to python versions

Change-Id: I9bc105931a7e6772b88d04afd6cb7151f845e5c1
2020-06-09 19:28:11 +02:00
ricolin d1607f9f56 Add tls proxy support for Zaqar
Change-Id: I234a3d60333ee89a7c283b425e524d4624191577
2020-05-19 14:06:02 +00:00
Wes Hayutin 6dd0e536b9 Stop testing python2.7
Train was the last release supporting python2. Let's rip the bandaid

Also includes remove tripleo jobs from os-collect-config master

Partial-Bug: #1879361
Co-Authored-By: xuanyandong <>
Co-Authored-By: Alex Schultz <>
Change-Id: I46c79ce87f474a986f1983fa9164e6e4cbeaf8de
2020-05-19 08:05:35 -06:00
pengyuesheng 0558b20f5a Switch to Ussuri jobs
Change-Id: I378ffc96486327cb2f796a3fbda30b9ca08d369c
2019-10-24 14:22:31 +08:00
pengyuesheng 720165e737 Sync Sphinx requirement
Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.

Change-Id: I995ea245912d5eaa1470c7c5bdeb69bdce7cfcca
2019-10-10 14:19:22 +08:00
Zuul cecf934525 Merge "Fix config file documentation" 2019-10-01 03:41:51 +00:00
pengyuesheng b7e8c09315 Update the constraints url
For more detail, see

Change-Id: I619180004a27d6d96c7b83635891b966b9a9369e
2019-09-29 10:20:32 +08:00
Andreas Florath 461c30df29 Fix config file documentation
The documentation currently uses '[default]' (lower case).
This configuration is not picket up.
It needs to be upper case.

Change-Id: Icbc5e7ee5178be1054b045045245d384a3957a63
Signed-off-by: Andreas Florath <>
2019-09-12 13:09:55 +00:00
Corey Bryant 8cda3f6cc0 Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:

Change-Id: I46590ec9b1fb9054388e3359d1d02217f396fbf6
Story: #2005924
Task: #34253
2019-07-12 16:24:08 -04:00
caoyuan fb5393461f Replace URLs with URLs
Change-Id: I4e23b8ae531bf103a945e0e14610cde0c354a4ab
2019-04-26 18:02:45 +08:00
Zuul 4e27ed59f3 Merge "Change python3.5 job to python3.7 job on Stein+" 2019-04-23 02:18:31 +00:00
OpenDev Sysadmins 45d7c54730 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:

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 with any
questions you may have.
2019-04-19 19:42:57 +00:00
Ian Wienand 51cb5aa4ac Replace git:// URLs with https://
This is a mechanically generated change to replace
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 (,
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

Change-Id: I8446d73326d833915374836c6ec1f5d6d46bc8de
2019-03-24 20:35:18 +00:00
Charles Short 48f03e53dc Change python3.5 job to python3.7 job on Stein+
python3.5 was the only supported python3 version on Xenial, now that we have
Bionic Beaver nodes that support python3.7, lets switch to testing with
python3.7 in addition with python3.6 in Stein and beyond.
See ML discussion here [1] for context. [


Change-Id: I43ee5f72cd20d8f95f6a258dc9e4da0c799c684b
Signed-off-by: Charles Short <>
Story: #2004073
2019-02-14 15:39:03 +01:00
Zuul 6bdbc35fbc Merge "Change openstack-dev to openstack-discuss" 2019-01-18 01:37:44 +00:00
Alex Schultz 830e028c72 Drop baremetal job template switched the jobs to a noop for
master and since this file is branched we no longer need to keep this
template definition in this project.

Change-Id: Ic3447b4c26b01a8f060ab495050602cf137ba396
2018-12-13 13:51:39 -07:00
malei 0bb4026275 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I9ed3f7573f66259ae0c24d52cb257c21faa1512b
2018-12-05 00:06:06 +08:00
Vieri 875bed48b0 Don't quote {posargs} in tox.ini
Quotes around {posargs} cause the entire string to be combined into one
arg that gets passed to stestr. This prevents passing multiple args
(e.g. '--concurrency=16 some-regex')

Change-Id: I5e855bcb2503b9e4696566175b09b2947b86de1b
Closes-Bug:  #1801452
2018-11-03 03:01:19 +00:00
Zuul 5c924cc95e Merge "Use templates for cover" 2018-10-03 23:10:24 +00:00
Ben Nemec 4fa30ae5d7 Don't ignore SIGPIPE
By default Python configures SIGPIPE to be SIG_IGN, which means to
ignore the signal. We don't want that as it causes problems when
journald restarts and our log calls start triggering SIGPIPEs.
Instead, we want to allow the SIGPIPE to kill the process so it can
be restarted by systemd.

Change-Id: I512139b96b2de8b372efc91e8a3fc8d33553405a
Closes-Bug: 1795030
2018-09-28 16:33:11 +00:00
Andreas Jaeger a799e58508 Use templates for cover
Small cleanups:

* Use openstack-tox-cover template, this runs the cover job
  in the check queue only. Remove individual cover jobs.
* Sort list of templates

Change-Id: I4def2320a34e6ab152edaccd59e01a1a5d502680
2018-09-22 17:55:07 +02:00
qingszhao baf2f0df9f add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:

Change-Id: I33a6c580372de6a40f8d01fa4117415528bd5782
Story: #2002586
Task: #24341
2018-08-24 05:01:13 +00:00
qingszhao be0b8dc6cf 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

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

See the python3-first goal document for details:

Change-Id: Icd037c89819618a976bef66cd3d6f3e3889cc5f4
Story: #2002586
Task: #24341
2018-08-24 04:57:42 +00:00
Zuul 8763b70935 Merge "Switch to stestr" 2018-08-09 09:54:52 +00:00
Feilong Wang 5bebbf1654 Add region support
Now Heat is missing the region support for software deployment
and so did os-collect-config. This patch fixes it but keeps the
backward compatibility.

For changes in Heat pls refer Iec6f3606c9fdf8474f393b0990356f34d38bcf75

For changes in Heat agents please refer

Story: 2002781

Change-Id: I88182a9a9af74e9760b2ec9b500971f06293f0b8
2018-07-11 07:16:39 +12:00
Vu Cong Tuan e1d3430575 Switch to stestr
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.


Change-Id: I761feb4cfcdc9347cd3f74b8b355c28476301127
2018-07-10 18:53:52 +07:00
huang.zhiping dff8dabab0 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: I859649b7f4f9ab70617309947375d4886e14a860
2018-06-09 19:05:46 +08:00
Doug Hellmann 7de2fd8444 uncap eventlet
We will manage the eventlet version using constraints now. See the
thread starting at
for more details.

Change-Id: I15006f3d958c0d376d6832be086f8a5e16cbcf9f
Signed-off-by: Doug Hellmann <>
2018-04-11 11:52:27 -04:00
OpenStack Proposal Bot b996a6e042 Updated from global requirements
Change-Id: I52276925cd025a6013f63d0c0f85584fff4a9eab
2018-03-15 07:44:17 +00:00
OpenStack Proposal Bot 1eeb81bec7 Updated from global requirements
Change-Id: I72aa260d177b8e007ebc17c893d90cee1784cbdd
2018-03-14 05:54:34 +00:00
OpenStack Proposal Bot 38de28da3b Updated from global requirements
Change-Id: I7963de175becad32f5055437bfa8d1b96996ea9d
2018-03-13 07:19:36 +00:00
OpenStack Proposal Bot f9991ba3c0 Updated from global requirements
Change-Id: Ic8236b3a9a373003cbfee499b6d750a7a444dfe8
2018-03-10 13:40:22 +00:00
melissaml 356a482e42 Update links in README
Change the outdated links to the latest links in README

Change-Id: I1fc91142d8b82ae5fb7bac429f6e3600f433dc01
2018-03-02 18:01:13 +08:00
James E. Blair 4e48cfa2cc 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: I276dc81d5da86d11001f0ba1b6d7e058dcf1bf87
2018-02-05 12:37:49 -08:00
Sagi Shnaidman 5f2835e7a0 Remove RH1 OVB jobs from configuration
Remove OVB RH1 jobs from configuration for this repo
Related-Bug: #1744763

Change-Id: I199b58c0000dc8da8a24dbc364b93d0fb5cf0856
2018-01-22 19:37:07 +00:00
OpenStack Proposal Bot 621029a27a Updated from global requirements
Change-Id: Ib565265cbd51c33b8b1879673ea799513cd79ec1
2018-01-18 03:21:20 +00:00
OpenStack Proposal Bot f9880d7c80 Updated from global requirements
Change-Id: I308b0d752f10661e7e038b7b57f5510c83efc510
2018-01-16 03:42:36 +00:00
Alex Schultz 69f0af9ccc Lower local collector log level
The local collector was added as the default but we're not properly
configuring it anywhere so this results in two log messages being
printed. Let's lower one of the messages to info and leave the one about
non-existing directory as a warning to indicate possible

Change-Id: I52ead32cce1eaf5f3816507e8e62b270f1a1a1cd
Closes-Bug: #1691003
2018-01-02 08:44:13 -07:00
Andreas Jaeger fd530b4294 Remove -U from pip install
'pip install -U' ugrades specified packages, this is not necessary
since we use constraints, remove the parameter '-U' from the line.

With tools/ - which a previous change of mine removed -
the -U was not harmful, but with the current set up, it might cause
upgrades, so remove it.

Change-Id: Iea38327f48caf8c060479dfa4f42f3124a87fee8
2017-12-02 19:25:24 +01:00
Andreas Jaeger 81d355ea32 Avoid for constraints support
We do not need, pip can handle constraints itself
and install the project correctly. Thus update tox.ini and remove
the now obsolete tools/ file.

This follows to remove

Change-Id: Id5b1b0d8815c8324c53eca0fb9a32b1495617eba
2017-12-01 14:52:17 +01:00
OpenStack Proposal Bot 701438b9dd Updated from global requirements
Depends-On: Ifb85d41324ac997e30535f04e291244d6d02ecc6
Change-Id: Ia9d311c7e30d51888f2e22cb950b39913b300f90
2017-11-29 17:55:44 +00:00
Emilien Macchi 7ad5c4dd05 Migrate os-collect-config to zuul v3 jobs
Define the zuul v3 layout for jobs that we want to execute.

Change-Id: I9d1c80f8f0acfcbd030e1fabf75941515c2f80f8
2017-11-17 20:11:36 +00:00
OpenStack Proposal Bot f7f49448a5 Updated from global requirements
Change-Id: I6404391dc149238d3f082d5e9add192be94cf41b
2017-09-11 21:46:25 +00:00
OpenStack Proposal Bot e24c7de257 Updated from global requirements
Change-Id: I4e60acc1dcbaef39d56a8070d82ec141aeb1c206
2017-08-24 05:58:01 +00:00
OpenStack Proposal Bot 315be525be Updated from global requirements
Change-Id: I94606b6b043449a0640b01c55f427922df694597
2017-08-18 04:49:31 +00:00
OpenStack Proposal Bot 5be5fe782f Updated from global requirements
Change-Id: Ia690b022f7ad7850fd8ba80767608d090021dfef
2017-06-27 12:19:34 +00:00
OpenStack Proposal Bot 9d7ae9439b Updated from global requirements
Change-Id: I637b2bfe17842ab5fbcbe8369cd04cfbd38b8ecb
2017-06-15 16:32:17 +00:00
OpenStack Proposal Bot 5870ed691d Updated from global requirements
Change-Id: Ief06adcb7379a2b5e9fc3f2c60710e6e98f6403d
2017-06-10 21:46:13 +00:00
OpenStack Proposal Bot 53b551bf8a Updated from global requirements
Change-Id: Ife897862b799e983c7c401ffd7e2b6c5f477dc93
2017-06-02 02:34:25 +00:00