Commit Graph

110 Commits

Author SHA1 Message Date
OpenStack Release Bot 30139f0865 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: Id4e1d918add899a9b568cde9785f6b8fb55079dd
2024-03-14 07:11:41 +00:00
Zuul 9698321920 Merge "support for Masakari VMoves" 2024-03-06 09:06:39 +00:00
suzhengwei a75c6018ba support for Masakari VMoves
It supports for Masakari VMove API in microversion 1.3.

Change-Id: Iafc9da3037c858a327b8805c137c6a074c56d7cc
2024-02-28 09:35:44 +08:00
Zuul 593aa65b5a Merge "reno: Update master for unmaintained/yoga" 2024-02-20 03:04:23 +00:00
Zuul 3c275efa39 Merge "Fix auth_url to request.user.endpoint" 2024-02-20 02:59:27 +00:00
OpenStack Release Bot 5f2d20b1b9 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: Idf5e33b77cfae4f072522f3500740fdf5f3d76e7
2024-02-19 09:08:53 +00:00
Zuul 56674f5141 Merge "Update python classifier in setup.cfg" 2024-02-18 07:19:20 +00:00
suzhengwei 91a51dfb12 support for Masakari VMove
It supports for Masakari VMove API in microversion 1.3.

Change-Id: Id06f4d1dd8a4e59760bd63f5f7df6a73319d6a9c
2024-01-25 09:54:25 +08:00
Vadym Markov eb4d103c3f Django 4.x: fix some import error
* ugettext_lazy is removed

In Django 3.0 ugettext_lazy/ungettext_lazy have been deprecated in favor
of gettext_lazy/ngettext_lazy [0].

* urlunquote is removed

In Django 3.0 django.utils.http.urlquote/urlquote_plus/urlunquote/urlunquote
have been deprecated in favor of the functions that they're aliases for:
urllib.parse.quote/quote_plus/unquote/unquote_plus [0].

We are now using Django 4.2, so we should update our code
with the gettext_lazy/ngettext_lazy aliases.

[0] https://docs.djangoproject.com/en/3.0/releases/3.0/#id3

Change-Id: I2fe090fe170dd832deb9cf454a0400303d2e3d92
2024-01-24 15:06:50 +08:00
Ghanshyam Mann 49ba70f84a Update python classifier in setup.cfg
As per the current release tested runtime, we test
till python 3.11 so updating the same in python
classifier in setup.cfg

Change-Id: I95384ab07f7f5fa7c7af972131ac571a15273b3d
2024-01-03 20:23:00 -08:00
OpenStack Release Bot f99ce40c08 Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.

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

Sem-Ver: feature
Change-Id: Ic860b558c2f632729c9a47364f5e1d70aa5df4d4
2023-11-07 10:20:58 +01:00
chung00-lee 37de593d5b Fix auth_url to request.user.endpoint
The Horizon masakari-dashboard only connects to the public in the
openstack_connection() function (masakaridashboard/api/api.py).

Closes-Bug: #2035571

Change-Id: I15433029ee9775fb593937f34c287a66125a1aab
2023-09-17 01:05:31 +09:00
OpenStack Release Bot 6c964fb348 Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.

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

Sem-Ver: feature
Change-Id: I06f0920fea6414e84e6e63183f73483aad2e18b3
2023-09-15 13:48:23 +00:00
suzhengwei cb7ae677a6 remove duplicated code
Change-Id: Ie4380f034c7738a3fd0dd190960331aa1dc5f235
2023-08-02 15:27:05 +08:00
manchandavishal c1928878d0 Update tox.ini for tox4
OpenStack CI now uses tox4 by default. This patch drop
"skipsdist = True". When skipsdist=True is specified, a
target application is not installed into a tox env, but
there seems no reason to do so. In various other OpenStack
projects, a target applicatin needs to be installed into a
tox vnev, for example, in docs and/or linter jobs and it
causes failures with tox4. So dropping it would avoid potential
future failures.

Change-Id: If36c0a23b96fc0c3c6b8f244c4a73d60ddb4160d
2023-01-24 17:58:44 +00:00
OpenStack Release Bot c5c78cbe36 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: I7749267cc5133a3311679c1f9beb9af3c87291c5
2022-09-13 12:30:08 +00:00
OpenStack Release Bot c7ba08d5fc 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: I4bfbc6126e6abc267431035f9cd1eacdb716a155
2022-09-13 12:30:06 +00:00
Zuul 83a8ea2363 Merge "Drop Python 3.6 and 3.7 support" 2022-08-04 09:10:55 +00:00
dengzhaosen 8985e1fa7c Drop Python 3.6 and 3.7 support
The Python 3.6 and 3.7 support has been dropped in Zed. [1]

[1] https://governance.openstack.org/tc/reference/runtimes/zed.html

Change-Id: Ie1f9792f0748a9809c73af1bd25add61ae6a91b9
2022-08-04 08:52:48 +00:00
manchandavishal 6b6f058241 Address RemovedInDjango40Warning
In Django 3.1, django.conf.urls.url() is deprecated
in favor of django.urls.re_path(). For more info see [1]
These were already replaced in Horizon repo by [2].

[1] https://docs.djangoproject.com/en/4.0/releases/3.1/#id2
[2] https://review.opendev.org/c/openstack/horizon/+/827093

Change-Id: I4fe0d9520ad1cb4280a4f8df16fe7ee742ea420a
2022-04-29 17:57:02 +05:30
OpenStack Release Bot 26671c6dcd Add Python3 zed unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for zed.

See also the PTI in governance [1].

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

Change-Id: I2bdbd8c0b54573260351fec5a6efc8ec2d538f47
2022-03-10 08:04:30 +00:00
OpenStack Release Bot b3d5cef16a 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: I2a032ba94c09e167759bea432c06e496c4b62db3
2022-03-10 08:04:28 +00:00
wu.shiming bbc752ad62 Updating python testing classifier as per Yoga testing runtime
Yoga testing runtime[1] has been updated to add py39
testing as voting. Unit tests update are handled by the
job template change in openstack-zuul-job

- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286

this commit updates the classifier in setup.cfg file.

[1] https://governance.openstack.org/tc/reference/runtimes/yoga.html

Change-Id: Ib3721f5e6c259f55710edea9ea83636879eb6a14
2021-12-21 10:30:15 +08:00
Pavlo Shchelokovskyy 021d1c184e Use service list instead of hypervisor list
the host names in them are not necessarily the same,
and Masakari service itself validates the input against
the nova service list, not hypervisor list,
since change I9c591d33f17a8d5950bdb1fc2d686e2301fc6d95 in Masakari.

Closes-Bug: #1944679
Change-Id: Id017b91c59aff54435c35d410fcb56a086a732ef
2021-09-23 14:43:39 +00:00
OpenStack Release Bot 95ad7fe404 Add Python3 yoga unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for yoga.

See also the PTI in governance [1].

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

Change-Id: I26210e0fbf01b53b6642cc65180be28c49a45b9d
2021-09-13 19:47:00 +00:00
OpenStack Release Bot 3e0adf127a 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: I5f574bc70c1043c93de124799497ed1c8444d17d
2021-09-13 19:46:57 +00:00
Radosław Piliszek 610116b00f [CI] Run bandit
Change-Id: If31afc57bb6fe23d2ae9b081b81519cdb4539ad9
2021-08-17 07:19:05 +00:00
Vadym Markov 39f03063c0 Update policy file to yaml
See the included reno file for details.

Change-Id: I39834214740b2a494105a1130964fba3134d420c
2021-08-07 09:26:23 +00:00
Radosław Piliszek a01dacca8a [docs] IRC moved to OFTC
Change-Id: I55b2022692070c885fae408bffcd475aad3d6d92
2021-05-31 11:05:39 +00:00
Zuul 98eaf79ce9 Merge "[community goal] Update contributor documentation" 2021-05-25 11:18:59 +00:00
Takashi Natsume f50f43264b Change minversion of tox to 3.18.0
The patch bumps min version of tox to 3.18.0 in order to
replace whitelist_externals with allowlist_externals option.
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23

Signed-off-by: Takashi Natsume <takanattie@gmail.com>
Change-Id: I1cc2c6fa8577e50b7044e0105957a1d42580c6ca
2021-05-18 23:15:36 +09:00
Ghanshyam Mann 934a0395f7 [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: #38536
Change-Id: I604a5f433d3de88fc21befac65d8be24f0f42a44
2021-05-14 16:36:25 -05:00
Takashi Natsume b53745791b Replace getargspec with getfullargspec
inspect.getargspec() is deprecated since py3

[1] https://docs.python.org/3/library/inspect.html#inspect.getargspec

Signed-off-by: Takashi Natsume <takanattie@gmail.com>
Change-Id: I6670f1ad889204a29b6f37803e4da2d1efe6ef8e
2021-05-13 21:42:57 +09:00
XinxinShen 4260038246 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: Iab9ad0d154b3e88eb56237580378dfcbe45b54e9
2021-04-28 11:02:40 +08:00
OpenStack Release Bot a7fdb13da1 Add Python3 xena unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for xena.

See also the PTI in governance [1].

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

Change-Id: I2a150eff1d1327e43dd28f5aeb697d9fc3d44d9b
2021-03-26 15:53:36 +00:00
OpenStack Release Bot f09f8f2230 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: I33747e8d58fd4e574e2df3b8da0484a580f3385f
2021-03-26 15:53:31 +00:00
Zuul a44b5a4266 Merge "Drop dep on python-masakariclient" 2021-03-25 16:59:19 +00:00
Radosław Piliszek fce116082b Add 'is_enabled' attr to segment
Implements: blueprint enable-to-segment
Change-Id: I378d98cc17afbfa9e56deb79ae479117dd231a7b
2021-03-24 08:58:40 +00:00
Radosław Piliszek f4640692b1 Drop dep on python-masakariclient
There is no logic in python-masakariclient that masakari-dashboard
requires. It is safe to drop. The check for supported API versions
was irrelevant already as it depends directly on OpenStack SDK.

Change-Id: I97c6db49f1a4dbd36f7003299938a05994e37cb6
2021-03-17 14:47:28 +00:00
Pavlo Shchelokovskyy 1a6d07c683 Disable dashboard when Masakari is not available
Change-Id: I59d91249fe4b2036c12ecca089a61937571be201
2021-02-25 13:08:01 +00:00
Zuul 4c423195e8 Merge "remove unicode from code" 2021-01-28 16:22:38 +00:00
Radosław Piliszek 5096d41844 Revert "remove py37"
This reverts commit 72353ee340.

Reason for revert: Python 3.7 *is* supported because it falls
in the range of supported Python versions (3.6-3.8).

Change-Id: Id70841c791d9948ab6f861eed0aebb2cfee414a5
2021-01-13 10:24:21 +00:00
XinxinShen 9405bf8e43 remove unicode from code
Change-Id: I645114ff586b35eb5eddd0e3879882ba2f03e70e
2021-01-05 14:30:18 +08:00
XinxinShen 72353ee340 remove py37
Remove python3.7 from setup.cfg, since Wallaby's python
supported runtimes are python 3.6 and python 3.8[1]:

[1]: https://governance.openstack.org/tc/reference/runtimes/wallaby.html

Change-Id: Ib28e8edda463c28a5edd82a43ff616b17719ba43
2021-01-04 17:10:46 +08:00
Zuul 1827e586ef Merge "Update TOX_CONSTRAINTS_FILE" 2020-12-22 07:35:01 +00:00
wu.shiming cf5c771064 Update TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated
-https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file
This allows to use lower-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.

Change-Id: I6a3fa44983203127904ca93be7a1ce3245f6dee5
2020-12-14 18:02:16 +08:00
Radosław Piliszek ea0459f80b [CI] Add periodic jobs
Periodic jobs are a great way to have proactive insight into
the current health of project's CI.

Change-Id: Ib980a756d28a95bb12fe07471c80c09467373a32
2020-11-15 11:11:15 +01:00
Radosław Piliszek 27bdc6a6d8 Add py38 package metadata
Change-Id: If9ad0725ad78fca1f9764e6239dbb164d6776c29
2020-11-13 11:28:18 +01:00
Zuul 528e4b5b68 Merge "Fix links" 2020-11-12 20:40:01 +00:00
Zuul 692536d7ae Merge "Publish the missing docs" 2020-11-12 20:40:01 +00:00