Commit Graph

250 Commits

Author SHA1 Message Date
Zuul a23fcb1020 Merge "reno: Update master for unmaintained/yoga" 2024-03-14 09:49:35 +00:00
OpenStack Release Bot b225790628 Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.

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

Sem-Ver: feature
Change-Id: I4a2e2a746004a0854ae5c826c17551fac21f2343
2024-03-08 14:08:35 +00:00
OpenStack Release Bot 463e867790 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I0946f6ef65579f323ab776198df7266dfda84f8a
2024-02-23 12:19:47 +00:00
Zuul 2e2cf63ecb Merge "Rename trove instances.edit to instances.update" 2023-11-11 19:46:21 +00:00
yaoning 3a86bd3d11 fix BaremetalIntrospectionAction loading failed
Change-Id: Ie67f7d6a439bce78782b66356d5f39501c7989c8
Signed-off-by: yaoning <yaoning@unitedstack.com>
2023-08-14 06:02:15 +00:00
yaoning 6482a8683e Rename trove instances.edit to instances.update
In Ifc919667e83573bd6c3b7aff205fe08e82667457,
instances.edit method in troveclient rename to
instances.update

Change-Id: I7bad94f133258a4d2ecff664b9c4f452d3f67b86
Signed-off-by: yaoning <yaoning@unitedstack.com>
2023-08-14 10:47:16 +08:00
Zuul 2e0139b9b2 Merge "Add monitoring server to mistral-extra" 2023-08-08 09:08:26 +00:00
Axel Vanzaghi 9e2ba462fe Fix Nova client version discovery
Signed-off-by: Axel Vanzaghi <axel.vanzaghi@ovhcloud.com>
Change-Id: Ia272d7bfbc69d64e031c8f7268ec69a8ea9baae6
2023-07-07 16:33:40 +02:00
Vasudeo Nimbekar 3385694dd5 Add monitoring server to mistral-extra
This feature will allow user to monitor mistral services and important metrics like operations related to tasks, executions, workflows, etc.
1. Added Monitoring server which can run similar to other mistral components by enabling monitoring and recovery jobs config options.
2. Monitoring plugin can collect metrics from the mistral and publish it in the Prometheus compatible format.
3. By using this monitoring plugin user can attach monitoring tools to the Mistral like Prometheus and Grafana to view metrics in a dashboard.
4. Added recovery jobs to recover from different failing or stucked conditions for eg. removing frozen named locks, refresh state of tasks stucked in waiting state long time, expired sub workflow tasks, stucked workflows, etc.

Implements: blueprint add-mistral-monitoring-plugin

Change-Id: Idbb6de9084504448befb9e346da4f458eb6c5a17
2023-05-26 14:39:34 +05:30
Axel Vanzaghi 44b3e5dff5 Fix test suite bug with barbican client
Barbican python client has implemented new methods in 5.5.0
which requires call to barbican API to create client.
There are no way for now to really get a fake barbican client.
Mocking the method responsible of that call in the tests
so it doesn't need to make the API call.

Change-Id: I6a607c8941bdb219de1cc212403124dea8ccac23
2023-03-20 08:14:32 +00:00
Ghanshyam Mann e0687d6073 Fix tox4 error
tox.ini started failing with tox4 which had some
incompatible changes. One of them is to allow
external command to run by adding them into allowlist_externals
and make passenv in new lines.

Fixing tox.ini for tox4 changes.

Change-Id: I0492630b17a7355a96abd44398b650fad9ec565f
2023-01-09 13:27:54 -06:00
Zuul 35b2e5e878 Merge "Switch to 2023.1 Python3 unit tests and generic template name" 2022-12-14 12:25:15 +00:00
Zuul fbfc343f39 Merge "Drop bay and baymodel" 2022-09-28 16:43:11 +00:00
Joel Capitao c721eccd12 Drop bay and baymodel
magnumclient drops support of bay and baymodel in [1], so we
need to remove the bits here as well.

[1] https://review.opendev.org/c/openstack/python-magnumclient/+/803629

Change-Id: I930c998e4034e05d49fbb5843258986f3f816f89
2022-09-26 17:38:50 +02:00
OpenStack Release Bot 2bc6b97475 Switch to 2023.1 Python3 unit tests and generic template name
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.

See also the PTI in governance [1].

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

Change-Id: I5b7016b61132f1689b894a0c36724be55d306c61
2022-09-23 16:27:36 +00:00
OpenStack Release Bot d631ce55e9 Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

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

Sem-Ver: feature
Change-Id: If0a4b00495bd7b2593fe6637e83cc90f5780a2b6
2022-09-23 16:27:34 +00:00
niuke 64fdbe5422 remove unicode prefix from code
Change-Id: Ibb6e0e6c2b67b9c7293b6d3e0e650ace917e71e1
2022-08-24 15:53:04 +08:00
Zuul 5f20dd26cc Merge "setup.cfg: Replace dashes with underscores" 2022-08-12 09:56:40 +00:00
Zuul f44afea4ad Merge "Use TOX_CONSTRAINTS_FILE" 2022-08-12 09:56:38 +00:00
Zuul a7c22ffc4c Merge "Update master for stable/yoga" 2022-08-12 09:53:02 +00:00
Zuul 4a793adc1b Merge "Update master for stable/xena" 2022-08-12 09:53:00 +00:00
Zuul 4d7a6b03a4 Merge "setup.cfg: Replace dashes by underscores" 2022-08-12 09:52:59 +00:00
Ghanshyam Mann bd95c59145 Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.

[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal

Change-Id: I094d6ff2c13847123ed31ddf1b93b7bfa4fe3b50
2022-08-09 12:54:26 +00:00
OpenStack Release Bot cdc0847786 Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.

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

Sem-Ver: feature
Change-Id: Ie74fdac853a3d91db0717ff52899069d7c8cf1d5
2022-03-21 22:24:58 +09:00
Takashi Kajinami 289cda8fc0 setup.cfg: Replace dashes by underscores
Since setuptools v54.1.0[1], the parmeters with dash have been
deprecated in favor of the new parameters with underscore.

This change updates the parameters accordingly to avoid the warnings
like the example below.

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I2aeb34021ae34b5f91b1892a463ec6e0d5bdc8ad
2022-03-17 13:15:21 +00:00
Takashi Kajinami d8a8f99d39 Remove support for unmaintained Glare
Currently tox jobs are broken because python-glareclient can't be
installed with the latest constraints.

The conflict is caused by:
    python-cinderclient 8.3.0 depends on PrettyTable>=0.7.2
    python-glanceclient 3.6.0 depends on PrettyTable>=0.7.1
    python-glareclient 0.5.3 depends on PrettyTable<0.8 and >=0.7.1
    ...
    The user requested (constraint) prettytable===2.5.0

The Glare project has been unmaintained for a while[1]. It does not
support any of the current tested runtime and is considered to be
incompatible with recent OpenStack releases.

Because of these points, this change removes dependency on Glare.
Deprecation step is skipped to unblock CI jobs.

Also, this change removes the broken lower constraints job. It was
removed from Mistral a while ago[2] from the Mistral repo.

[1] https://opendev.org/x/glare
[2] https://review.opendev.org/c/openstack/mistral/+/770525

Change-Id: Ib6c138e3ce72ce775e29db80a076b9ade37ddaa0
2022-03-16 15:05:10 +00:00
OpenStack Release Bot cba5486f0d Update master for stable/xena
Add file to the reno documentation build to show release notes for
stable/xena.

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

Sem-Ver: feature
Change-Id: I55fbfea95cde371b8fd4c4dcff2a3fd1ce81cc80
2021-09-10 15:15:28 +00:00
Takashi Kajinami face48a2d6 Use Block Storage API v3 instead of API v2
Block Storage API v2 was deprecated during Pike cycle and is being
removed during Xena cycle, and current v3 API should be used instead.

Change-Id: I0f074b29cc463dacc3660817b5cb9ad5a2c3163d
2021-07-27 10:59:24 +09:00
wangzihao 34c582e319 Use TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.

Change-Id: Ic775a7a0f10e11f0407c130acfcb29a9c0277f16
2021-05-21 11:59:42 +08:00
wangzihao 9081e701fa setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of
dash-separated options in 'setup.cfg' will not be supported
in a future version [1].
Get ahead of the issue by replacing the dashes with underscores.
Without this, we see 'UserWarning' messages
like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I1465ec3aaca7302a79aaa55539a8028979301cbb
2021-05-21 11:57:44 +08:00
Ghanshyam Mann acd70beba1 [community goal] Update contributor documentation
This patch updates/adds the contributor documentation to follow
the guidelines of the Ussuri cycle community goal[1].

[1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html

Story: #2007236
Task: #38537
Change-Id: I6f2108dd73c5f684549598830f7311d093aeaab8
2021-05-14 17:05:22 -05:00
Renat Akhmerov 1b36297f3a Fix hacking version
Change-Id: I2f33a01a2e928e440c4ebb001dc4e24b5bd89145
2021-04-27 12:42:03 +07:00
OpenStack Release Bot f1d24ea282 Update master for stable/wallaby
Add file to the reno documentation build to show release notes for
stable/wallaby.

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

Sem-Ver: feature
Change-Id: Id028d0e0b632aa1269ed45d6407672fdbceebd8d
2021-03-19 18:06:20 +00:00
Ghanshyam Mann dfc6c56490 Remove retired Qinling support
Qinling project is retiring in Wallaby cycle[1].
This commit removes the usages of Qinling project
before its code is removed.

Needed-By: https://review.opendev.org/c/openstack/qinling/+/764521

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-November/018638.html

Change-Id: Ic35b8fb37fb1916a6e51c147372a92cdc04281cf
2020-11-29 00:02:44 +00:00
OpenStack Release Bot d2bb9b4267 Update master for stable/victoria
Add file to the reno documentation build to show release notes for
stable/victoria.

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

Change-Id: I70071df61b28fa88e8d94b634213624afde2bb1f
Sem-Ver: feature
2020-09-10 09:45:56 +00:00
Renat Akhmerov f4272e3e3a Fix serialization of OpenStack actions
* In the recent version 2.3.0 of mistral-lib there has been added
  the new serialization mechanism for actions since the communication
  schema between Mistral engine and Mistral remote executor will soon
  require it (once merged). All classes for OpenStack actions are
  eventually dynamically generated based on the static classes like
  NovaAction, HeatAction etc., so to make the serialization work
  correctly we have to take this into account. The newly added class
  OpenStackActionSerializer takes care of that.

Change-Id: I8d7e2db0b17fb8f055f77363667ca4ab2c501b34
2020-09-09 14:53:03 +07:00
Hervé Beraud b5e08f2276 drop mock from lower-constraints
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we don't need it
in lower-constraints.

These changes will help us to drop `mock` from openstack/requirements

Change-Id: I8dca3772b3b5295b6216830289aa6e61d213d45c
2020-06-09 01:22:59 +02:00
Andreas Jaeger fce28c7042 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.

Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.

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: Ia6b784c59f8d511fecf5ea0bb6e603b8bce65422
2020-05-31 19:41:23 +02:00
Ghanshyam Mann ee4dc0173b Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.

Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.

To avoid similar gate break in future, we need to bump the hacking min
version.

- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html

Change-Id: I84b77958d7dfeedca44e8718554ede24b006746f
2020-05-12 19:28:47 -05:00
Eyal de32feb135 add pep inspection to get_action_list.py
Change-Id: Id485cea6daa63fcb4c435162e09528ca7e2359ea
2020-05-12 09:26:44 +03:00
Sean McGinnis e3eef9b56f
Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: I8547aec13aa28fecf75f957e1f2ca7f5c56628ea
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-18 11:54:32 -05:00
OpenStack Release Bot d17cbf17d6 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: Id98b5793901963c19f6436b7bda8eae96c65d289
Sem-Ver: feature
2020-04-04 16:38:53 +00:00
Eyal b615bd4b48 Move preinstalled workflows to mistral-extra
* These workflows are openstack workflow so they should be
  in mistral-extra where all the openstack actions are.

* Use an entry point to get all the paths for the workflows.py,
  This way other projects can have there own pre installed workflows.

Depends-On: https://review.opendev.org/#/c/709963/
Change-Id: I379dc5ca40c2055122508daae7a638c21c840254
2020-02-26 11:02:39 +02:00
Eyal 5a641a9166 Mock Qinling fake client method
* The Qinling client doesn't have an rpm packaging so
running the unit test might fail if not installed.

Change-Id: Id551b07721fa9c1cdeaa60ae717af82a05e2234a
Needed-By: https://review.rdoproject.org/r/#/c/14216/
2020-02-10 13:29:59 +02:00
Eyal b8943be736 Mock Zun fake client method
* The Zun client doesn't have an rpm packaging so
running the unit test might fail if not installed.

* The Designate client was fixed so there is no need to mock it.

* Use Mock Fixture instead of calling directly the mock.patch,object

Change-Id: Id7226c889c18dbe3a38b106b0cdac5e331f54e3a
2020-02-10 10:06:50 +02:00
Zuul 91ff80c79d Merge "Move openstack actions to mistral-extra" 2020-02-05 08:55:58 +00:00
Dougal Matthews c158891ac5 Correct the mistral-extra package name
The project name is mistral-extra, but the Python package is
mistral_extra.

Change-Id: I93cc4d3d28fda2ec29fec3e828dbed92cbb24683
2020-02-04 13:33:03 +00:00
Eyal bb2af2e2be Move openstack actions to mistral-extra
Implements: blueprint mistral-actions-api-separate-openstack-actions
Change-Id: Iaf1cca7a29df35409fea641fdb60191afb509b5a
2020-01-29 12:27:13 +02:00
Eyal 57afe0a3f4 Fix requirements, tox , zuul
Change-Id: Ie32028c901831185d9694db8b9fd35829759a1ac
2020-01-16 11:54:46 +02:00
Q.hongtao f3b09f4b94 Start README.rst with a better title
Now that we are using gitea the contents of our README.rst are
more prominently displayed. Starting it with a "Team and repository
tags" title is a bit confusing. This change makes it start with the
name of the project instead.

Change-Id: I144fe6e50c245c5ae9a7b9fd7db43a011bd364f9
2019-11-28 10:04:48 +08:00