Commit Graph

2376 Commits

Author SHA1 Message Date
Zuul 0ced9b5a75 Merge "Remove publish-to-pypi template" 2020-06-01 22:59:14 +00:00
Andreas Jaeger c74ee2e74e Remove publish-to-pypi template
This template needs to be in project-config since the jobs are not
branch aware. The template is already setup in project-config, so just
remove the extra line here.

Change-Id: I60c0214bfa1bb6614f4e776c3d8a352cfcbfcb8b
2020-06-01 18:50:07 +00:00
Andreas Jaeger 56023326cb Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I4ace84f37b5814a54c130f6601baa2275a10d906
2020-06-01 18:49:52 +00:00
Andreas Jaeger 08c07018dc Fix pep8 and py27, functional jobs
pyflake8 was updated and not properly constrainted by hacking, update
to hacking 3.1.0 and fix the problems found.

py27 failed since global upper-constraints includes py3 only packages.
Use lower-constraints for this test.

The functional jobs run on master with py27, remove the py27 master job,
change the jobs so that py3 is used everywhere.

Change-Id: I695d60e53857e03f206dcd7cf10c06c76c8d6cc0
2020-06-01 07:54:56 -05:00
Zuul 0d5c2b5249 Merge "Add py38 package metadata" 2020-04-27 23:03:27 +00:00
Zuul d302ef2a30 Merge "Bump default tox env from py37 to py38" 2020-04-27 10:20:54 +00:00
Sean McGinnis 483a687188
Bump default tox env from py37 to py38
Python 3.8 is now our highest level supported python runtime.
This updates the default tox target environments to swap out
py37 for py38 to make sure local development testing is
covering this version.

This does not impact zuul jobs in any way, nor prevent local
tests against py37. It just changes the default if none is
explicitly provided.

Change-Id: Icac2af192beb9bd4a38b2305ebb6dc5719e4b591
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 10:26:03 -05:00
Sean McGinnis e966a96fa3
Add py38 package metadata
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.

Change-Id: I73ad76314acbd73e97a310f166dc82a965c6acee
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 08:23:21 -05:00
Sean McGinnis 4814b683f4
Declare py38 support
Python 3.8 is one of the new required runtimes for the Victoria release.
Now that we have test coverage for py38 and it is passing, we can add
3.8 as one of the supported runtimes in the project metadata.

Change-Id: I97179030993c0b49ffe93aa28ffc672c6b859439
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-17 10:05:44 -05:00
OpenStack Release Bot 3aaaac9d16 Add Python3 victoria unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for victoria.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Iaceea4271459eeb0c5066b2a9304754691c16712
2020-04-17 14:55:17 +00:00
OpenStack Release Bot ccb2031788 Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.

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

Change-Id: Ifa951b54daf715684a25ba5e1d6dedb230492236
Sem-Ver: feature
2020-04-17 14:54:59 +00:00
Sean McGinnis 3db89db8c6 Break out py27 job templates
To allow non-py27 supporting repos to use shade job templates, this
breaks out the py27 and py3 jobs into separate templates. Relevant repos
can then continue to use the existing template names without picking up
the unsupported job runtimes they no longer need.

Remove the py27-tips jobs - they just don't make any sense any more.

Change-Id: Ia211e31723ede592f19a8df6c18e45699ca25788
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-11 13:20:26 -05:00
xuanyandong e7c7f29ae9 Switch to Ussuri jobs
Change-Id: If6b5c69a6c7f47b13afbd3871bfcf6818e96f5b3
2019-10-25 10:58:56 +08:00
xuanyandong 88b03d8ddd Add source and contributing link in readme
Change-Id: I447872e205346f6ac9179cc404218eae278ac7c1
2019-10-05 16:10:08 +08:00
Zuul 12640cfe0c Merge "fix "How To Contribute",bugs,review url" 2019-10-03 11:02:14 +00:00
OpenStack Release Bot 1346504e3f Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

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

Change-Id: I9fb25e3f4aa97eb838c680b983160581080ae43d
Sem-Ver: feature
2019-09-20 17:44:34 +00:00
inspurericzhang f413250b79 fix "How To Contribute",bugs,review url
Change-Id: I935450b059c7cea1eaa13c9c595badfdfbd3c758
2019-09-18 17:51:29 +08:00
Andreas Jaeger ed25fe3d36 Switch openSUSE job name
Change I01feece468b2df904b7e1d0c04e36fb7240e7f0d renamed the openSUSE
job from -15.0 to -15, follow the name change.

Change-Id: Ic8ff308de5ac49d9ce08a7508cba6d3609ca4da0
2019-08-19 21:33:54 +02:00
Zuul 47fe056533 Merge "URL encode swift objects endpoints" 2019-07-24 12:36:40 +00:00
Zuul e731283962 Merge "Add Python 3 Train unit tests" 2019-07-09 12:43:46 +00:00
Corey Bryant b0639aa94f 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:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: I96c9f4dc64b252bac3c934936c7eebe270862c9e
Story: #2005924
Task: #34233
2019-07-05 14:36:51 -04:00
inspurericzhang 0514bfb4e5 Mailing lists change openstack-dev to openstack-discuss
Change-Id: Ieeeaee0ba81e55b2f75f96b20d305df5a5112188
2019-07-01 19:23:13 +08:00
Yves-Gwenael Bourhis 8e183ca4d2 URL encode swift objects endpoints
Swift containers and objects can contain any kind of characters.
If a container or name contains special characters, shade was failing to
access them.
We need to url encode containers and objects when creating the url to access
them.

Story: 2005828
Task: 33585
Change-Id: I170277293eb4ed1a12cf62bcf863707cb3d918eb
2019-06-07 14:34:48 +02:00
zhangboye 05de1cc854 Cap sphinx for py2 to match global requirements
Change-Id: Ie8629c6882feefd388d36905146b3a8255bbc950
2019-06-06 16:52:45 +08:00
Monty Taylor b47fb2af55 Update for opendev
Change-Id: I2cf0463108cf0bea37a221ee1dd74252d13f41c4
2019-04-21 13:00:42 +00:00
OpenDev Sysadmins a3ff9afbf0 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:39:33 +00:00
Ian Wienand a4654b5013 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: I56db2baafe8ba645415008c35704da7d7c2b3fcf
2019-03-24 20:36:07 +00:00
OpenStack Release Bot 50db7a41a6 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: I8d88d2086b05b39ff71169737afb3cfd418bc024
Sem-Ver: feature
2019-03-18 14:57:13 +00:00
Zuul 0d1858d4bc Merge "fix the word 'bandwith'" 2019-03-10 17:26:02 +00:00
Morgan Fainberg b23000c660 Fix dogpile.cache 0.7.0 interaction
Due to the change in behavior in dogpile.cache > 0.7.0 where bound
methods can no longer be passed to the cache_on_arguments decorator,
openstackSDK now explicitly provides a non-method wrapper for all
elements passed to cache_on_arguments. This is handled via an explicit
no-op decorator. functools.wraps is used to preserve data from the
original method.

Needed-By: https://review.openstack.org/#/c/624993
Change-Id: Ied27fa1e834d145246815afcb67c59d48669ffb2
Story: 2004605
Task: 28502
2019-02-22 16:31:40 +00:00
melissaml 169a6d3b5a fix the word 'bandwith'
Change-Id: If919871f982a76fb5c30ea36cfae9fea6a39480f
2019-02-18 03:52:44 +00:00
Zuul e54e3b0cca Merge "Change openstack-dev to openstack-discuss" 2019-01-14 11:13:47 +00:00
Monty Taylor 0ec8b8e2df
Restrict inventory test to devstack-admin
There are multiple different cloud entries in clouds.yaml now. That
means that doing an inventory across all configured clouds gets weird,
especially when we're tossing system scoped accounts in there.

Cherry-picked from https://review.openstack.org/622373/

Change-Id: I0530ca35da0cc3baebab2c3bc53eea70028ceed5
2019-01-13 14:48:20 +00:00
qingszhao 8186e80e41 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: Ia652eeca0345266361ef8fb4cbc96fdbd24001d4
2019-01-12 05:25:28 +00:00
Zuul cad15cca9a Merge "Fix grant_role() when user not in default domain" 2019-01-09 15:01:04 +00:00
Clint Byrum 186dac6535 Split parser creation and parser for inventory
Access to the object separate from parsing allows us to use
argparse-manpage to generate a man page in the Debian package
automatically. We also need to set 'prog' explicitly rather
than let it be picked up via argv[0] so that when we load
the parser via argparse-manpage it produces the right value.

Change-Id: I654b4408444f804f900951333a6ebc3372d5037e
2019-01-07 03:39:43 -08:00
Jens Harbott bea73746c8 Fix ansible stable pin in tox test
We want to use the latest version from the stable-2.5 branch, not pin to
2.5.0 which has some issues that break our tests.

Change-Id: If7bab97191c5a29bac79e3f3ecaf10bfe0eac6b5
2018-12-20 12:54:23 +00:00
wacuuu 9cef36534a Fix grant_role() when user not in default domain
Cherry-picked from 3fce61329 in openstacksdk:

3fce613297

Change-Id: I67f91ac2096241507ea2df01fa2b85c0014d86ef
Story: 2004624
Task: 28550
2018-12-17 13:46:33 +01:00
Zuul b7af5789c3 Merge "change default python 3 env in tox to 3.5" 2018-12-04 12:18:19 +00:00
Andreas Jaeger cf1318eb8c Use openSUSE 15.0 for testing
Change from openSUSE 42.3 to 15.0 for testing
(Yes, 15.0 is current version and 42.3 is older).

Needed-By: https://review.openstack.org/617277
Depends-On: https://review.openstack.org/599521
Change-Id: I8bdddb6393f880e2779dc456c492542636b8bf59
2018-11-12 12:01:19 +01:00
melissaml 8727faf19c change default python 3 env in tox to 3.5
Change-Id: Iccb776f10da5f4aa4d5361f8f5976f68680a27d2
2018-11-12 00:47:34 +08:00
Nguyen Hai Truong 6904b010ac 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:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I2060b317077a321fce27b6e92112233346e21687
2018-11-06 00:57:23 -08:00
Kim Bao Long 7d1b6bf198 Update the min version of tox to 2.0
The verification comands used by tox need at least 2.0 version. This
patch aims to update tox version from 1.6 to 2.0 which should help with
local running of constraints targets.

Change-Id: I97ec363926b6e6af26ffb650ced568c7df1f9897
2018-11-02 08:30:48 +00:00
Monty Taylor 6f40858c05
Support v4-fixed-ip and v6-fixed-ip in create_server
novaclient supports v4-fixed-ip and v6-fixed-ip as aliases for fixed_ip.
As shade used to use novaclient and passed this content through the
switch to REST resulted in a behavior regression for shade users. That's
bad, mmkay?

Add in support for the same aliases to create_server, so that users
upgrading to newer shade are hosed.

Closes-Bug: #1798489
Change-Id: I55bc88e9b2cfa5ad1b6a27640db11bc848584c21
2018-10-18 10:42:24 -05:00
Monty Taylor 4ff38e65a4
Add release note about decoupling
Change-Id: I87bd8c9c1519f9500097c8d3ebc9626cb3f08467
2018-10-17 08:59:50 -05:00
Monty Taylor 3b2cad5d31
Decouple OpenStackCloud from Connection
Revert the openstacksdk subclassing from shade. The idea was to
reduce the workload, but trying to make sure that the Cloud abstraction
in openstacksdk doesn't break shade's contract while we update things is
a ton of work to meet the contract that's not really valuable to people.

Instead, we'll put shade on lifesupport and only accept bugfix patches.

Revert "Make OpenStackCloud a subclass of Connection"

This reverts commit ab3f400064.

Revert "Use openstack.config directly for config"

This reverts commit 2b48637b67.

Revert "Remove the task manager"

This reverts commit 28e95889a0.

Change-Id: I3f5b5fb26af2f6c0bbaade24a04c3d1f274c8cce
2018-10-16 08:58:01 -05:00
Zuul 6e733e77d5 Merge "Remove the task manager" 2018-09-26 15:07:09 +00:00
Monty Taylor 0dc9e9ab8f
Trim away the cover and py35 jobs
We're doing py36, so skip py35, it's just duplicative.

Also, we don't really care about the cover jobs.

Change-Id: Ia99ea6f5937140d7ce0a9a637a21fc3ebad46dc6
2018-09-25 13:49:12 -05:00
Monty Taylor 28e95889a0
Remove the task manager
The underlying openstacksdk library is shifting how task manager works,
so stop trying to send it a task manager. This is a feature basically in
place just for nodepool which is being expanded to be more usable by
everyone. The likelihood that anyone other than nodepool is using it is
... very low.

Change-Id: I04be3937589a805a5f9686c91a78933eebcfa022
2018-09-25 07:17:39 -05:00
melissaml d0da0b0323 Update the url in doc
Change-Id: Ifb2183870cff73c03c668926bad47bc131979918
2018-09-24 16:50:54 +08:00