Commit Graph

770 Commits

Author SHA1 Message Date
8703da4bdc [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

python-mistralclient is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: Ia2e548105f06dfdd2dbabd425002ea1d4fe57f53
2019-12-15 01:15:05 +00:00
b1e8bd1943 Merge "fix the mistralclient set endpoint_type invaild" 2019-12-06 19:58:04 +00:00
c060dd7a1e fix the mistralclient set endpoint_type invaild
The reason is that mistralclient transfer error parameter
for keystoneauth.

Change-Id: I380d8fda49fed810a7bbda41c32910df8368512c
Closes-Bug: #1854339
2019-11-28 18:54:36 +08:00
ali
7cea381bfe Roots only option for executions-list
* added an option to execution-list to return
  root workflow executions only (--rootsonly).

Change-Id: I4b9c997f2e9969b050ac73af1d13e2eda7a29f18
Closes-Bug: #1796627
Depends-On: I78fbf993519beb63ee9aef7058bdcb40f0a12ec3
2019-11-19 12:00:18 +00:00
0b7d8cfd96 Merge "tox: Keeping going with docs" 2019-11-05 10:22:34 +00:00
be58c54721 tox: Keeping going with docs
Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name
suggests, keeps the build running when it encounters non-fatal errors.
This is exceptionally useful in avoiding a continuous edit-build loop
when undertaking large doc reworks where multiple errors may be
introduced.

[1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045

Change-Id: I129ce91b6d25075306d92904e1bdaf0edf94d25d
2019-10-24 21:18:17 +08:00
da8d67d08e Switch to Ussuri jobs
Change-Id: Ib20f0b94b2f6e40fb0e86ab1535bbd241f4315f2
2019-10-22 14:15:45 +08:00
3227dab9ef 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: Ib0726c7a2a1fd857ada4f40d172413a584b3cc36
Sem-Ver: feature
2019-09-20 17:41:20 +00:00
dc246bf808 Merge "Add "published_global" field to the task execution REST resource" train-em 3.10.0 2019-09-03 14:04:32 +00:00
326159708d remove unused gate code
* post_test_hook and run_tests used in legacy gate

Change-Id: Id4d005bdfa7f4e4f3fc3ca54f0d76c3634d8b9ae
2019-09-01 11:27:54 +03:00
4ecb7dc99a Add "published_global" field to the task execution REST resource
* added a new cli command execution-get-published

Closes-bug: #1751007
Change-Id: I72c2986a234a6cac9f3116006b144ffbc9e2467c
2019-08-27 16:05:34 +03:00
e3357c4a92 Add "retry_count" to execution report
Change-Id: Ibbfb138c1a565a42b5a169c42e8c99b8e3f77a7c
Closes-Bug: #1814850
Depends-On: I1c937ff05c4a1f3e28010427c03e3e4f113f6fba
2019-08-16 17:47:32 +07:00
2f107a2115 Merge "Some resource managers are not using the base underscore methods" 2019-08-02 07:33:29 +00:00
345e0706e5 Rename the test class so it will be PyCharm friendly
In order to run from PyCharm test classed need to end or start
with the word test

Change-Id: I5715d0602758cb4a0129ce2fc4c35d3e3f46cb70
2019-07-30 17:36:49 +03:00
051e9fa22b Some resource managers are not using the base underscore methods
Refactor the base class so they can use these methods

Change-Id: I8455772eee4865d535b3002e2d922149fb8f8a6e
Closes-bug: #1765087
2019-07-30 15:30:24 +03:00
ae72a810af 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: Ibbac68a0d157619946f7008059fb07f6f91eb45c
Story: #2005924
Task: #34222
2019-07-05 12:04:28 -04:00
d3d529f952 Modify the url of upper_constraints_file
Depends-On: http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: I81b5f715cc7b18becad777b09c371d2a2c9773f6
2019-06-18 09:30:26 +08:00
043bf9a213 Use openstack-python3-train-jobs for python3 test runtime
Depends-On:https://review.opendev.org/#/c/641878/

Change-Id: I8e3120f54bbf43271d126abe3b788f0d1ab29f03
2019-06-12 10:07:36 +08:00
d593b84e13 Add python 3.7 classifier to setup.cfg
Change-Id: Iaf96deca79f86ff59eed95892fbd2511efdeb752
2019-06-11 09:11:36 +08:00
f23166eb4f Merge "Bump openstackdocstheme to 1.30.0" 2019-06-06 11:34:16 +00:00
1ddb678281 Bump openstackdocstheme to 1.30.0
Some minor updates including fixing issues with the HTML5 output
generated by Sphinx 2.0, inlining the OpenStack logo rather than
referencing it from elsewhere, and adding a new SOURCE_DATE_EPOCH option
for use in reproducible builds in new release openstackdocstheme 1.30.0
...to pick up many improvements, including the return of table borders.

Change-Id: I5809b18186ae9779d44f3dd24fa25d45ad0ecff3
2019-06-06 14:34:16 +08:00
cbc6962527 Blacklist sphinx 2.1.0 (autodoc bug)
See https://github.com/sphinx-doc/sphinx/issues/6440 for upstream details
Depend-On: https://review.opendev.org/#/c/663060/

Change-Id: I01631bed507ac07dc192076685c427ceebd29eaf
2019-06-06 10:59:43 +08:00
31a5368d61 Update sphinx dependency
Sphinx 2.0 no longer works on python 2.7,
so we need to start capping it there as well
depend on https://review.opendev.org/#/c/657890/

Change-Id: I760c578876a6040ec828bb7320f2c08cab55a587
2019-05-22 14:53:03 +08:00
de9d2de1bb Merge "Don't use default mutable parameter" 3.9.0 2019-04-30 06:09:41 +00:00
87d54bba87 Don't use default mutable parameter
Using default mutable parameter is bad.
Default parameters are evaluated only once
if you mutate it you will get unexpected results.

Change-Id: I9c00cb16ac0e6cefd926974a9eab29080a4d94a7
2019-04-29 10:22:26 +03:00
c6811e87f7 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I8978880637e9872cccb10627d87d619656a2d5c5
2019-04-28 14:04:48 +08:00
aa3171ade1 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:42:33 +00:00
ed75b2f07d Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I551b07c5bc55fcfe2663c871dfdcb216a7a9664e
2019-04-14 23:37:25 +00:00
9037caad62 Merge "Update json module to jsonutils" 2019-04-08 11:29:56 +00:00
a52a1581d5 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: I56a6c10b6e5c92574fa4a55c0c81ddb80cf74508
2019-03-24 20:35:52 +00:00
73eaa5b622 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: Ib4222c4443e040d5f8c7cb351fd051431aed3031
Sem-Ver: feature
2019-03-18 14:53:10 +00:00
f43343bb07 Change tripleo job to multinode-containers job
Standalone 003 jobs seems like doesn't cover mistral functionality
let's use multinode-containers for that.

Change-Id: I068e20ab8fe9b0dcae5972d14fbe6700aa3e35bf
2019-03-15 12:09:09 +00:00
0cd6b28292 Fix typo for self.list
Mistake was introduced in https://review.openstack.org/#/c/554950
Added an abstract method list to the base ResourceManager that
raises a notImplementedError if called (instead of using
abc.abstractmethod that would force the implementation of a list
method that might not be required for all resources)

Closes-Bug: #1820045

Change-Id: I0c69e1beeb452a95cc5988a462f733806afbfafc
2019-03-14 14:08:11 +01:00
6ffd1f3aa7 Merge "Release note for the "execution-get-report" command" 3.8.0 2019-03-08 16:46:46 +00:00
004a2cb5a6 Release note for the "execution-get-report" command
Change-Id: Ie6e00ca4fb77875bc7d10a09d9b5c929365bd67b
2019-03-08 21:21:34 +07:00
ba420d52e6 Fix execution report printing
* Shortened a task error string because sometimes it breaks the layout
* Handled a case when a task/action is in error state but doesn't
  have a state info

Change-Id: I2903806200c8430b497ceb01568f7aa2c55c4e3e
2019-02-28 13:33:15 +07:00
d81f8997eb Update json module to jsonutils
oslo project provide jsonutils, and mistralclient use it in many place[1],
this PS to update the remained json module to oslo jsonutils for
consistency.

[1]: https://github.com/openstack/python-mistralclient/search?utf8=%E2%9C%93&q=jsonutils&type=

Change-Id: Ibbb3f2b5636147a0faf7a23e6bb177978282cbd3
2019-02-25 20:32:40 +08:00
ec961cdf95 add python 3.7 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.7.

See ML discussion here [1] for context.

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html

Change-Id: Ic6325cb872fe1c5bac02751407a40af32bf4d5e8
Story: #2004073
Task: #27429
2019-02-14 23:58:14 -05:00
9824e87cad Merge "Fix Chinese quotes" 2019-02-13 09:42:43 +00:00
8cbf2fa1b9 Add 'execution-get-report' command
Implements blueprint: workflow-error-analysis

Depends-On: Id3e17821e04b7a1b84dfea5126d223d90ad8e3c2

Change-Id: I52b1d87ada2ead4f47a402b8aa683a0fa1629e70
2019-02-08 15:02:16 +07:00
b99cebafd4 Merge "Update hacking version" 2019-01-14 07:21:40 +00:00
6411ed4633 Merge "Provide consistent options and return latest execution entries" 2019-01-11 10:56:16 +00:00
246115c014 Replace tripleo-scenario003-multinode with scenario003-standalone
Change-Id: I7692d9409f30d26d051c40cc10e32fa93e9056e8
Story: https://tree.taiga.io/project/tripleo-ci-board/us/533
2019-01-03 17:39:02 -02:00
58df528622 Update hacking version
Change-Id: I21c62581811b7730786d82808d03f4dab1312027
2018-12-28 23:04:19 +08:00
9d2adda87b Use template for lower-constraints
Small cleanups:

* Use openstack-lower-constraints-jobs template, remove individual
  jobs.
* Sort list of templates

Change-Id: I17526d3fbff6d735bcf6b39a9ab2eb0c8bb99a67
Needed-By: https://review.openstack.org/623229
2018-12-20 21:49:20 +01:00
d53da3629f Provide consistent options and return latest execution entries
This patchset updates the *-list commands to have consistent
definitions of the sort_keys/sort_dirs/limit/filter/marker
options.  It also modified the execution-list, action-execution-list
and task-list commands to return the MOST RECENT entries by
default, when no other sort_key, sort_dir or marker options are
provided, rather than the oldest entries.  There is a new --oldest
option for these three commands to allow the user to access the
oldest entries instead of the newest.

A release note has also been created.

Change-Id: I002edd1b10ab281072cfa7501cfa763073a7781c
2018-12-19 20:51:39 -06:00
7a1c8cc240 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I207676942af280d1cabb406fa3c6757b7da61123
2018-12-03 21:55:39 -05:00
be54be3ee3 Merge "add python 3.6 unit test job" 2018-11-30 10:54:15 +00:00
635f5a03a9 Add Python 3.6 classifier to setup.cfg
Change-Id: Id139fc376cf0b56bc40b637c79ddb64acc35a28d
2018-11-30 07:02:51 +00:00
a78a10fc21 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: Ib7b0c2be73232a35ce8d79380122e26b6af03b0a
Story: #2002586
2018-11-28 07:35:52 +00:00