Commit Graph

3458 Commits

Author SHA1 Message Date
Zuul 68219061fd Merge "reno: Update master for unmaintained/xena" 2024-03-21 10:12:47 +00:00
Zuul 321661801b Merge "reno: Update master for unmaintained/victoria" 2024-03-21 10:12:45 +00:00
Zuul ca73a11714 Merge "reno: Update master for unmaintained/wallaby" 2024-03-21 10:12:44 +00:00
OpenStack Release Bot 3ffc5e5bf4 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: I5804821f5095072fea32bf2787cfff35133e8fd9
2024-03-12 18:15:33 +00:00
Rajesh Tailor 533d5df516 Bump microversion to 2.96
This change bumps to microversion 2.96 and add
release notes.

Change-Id: I3b9775f1adecdca121a68a4caa6cd25e312dec2f
2024-03-07 17:30:06 +05:30
OpenStack Release Bot 99bbecfc8f reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I3a92127b6389c6c37625cbf696b33c0127cb0685
2024-03-05 18:52:19 +00:00
OpenStack Release Bot f2d51a0f12 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I9f980872108c61d7080860fa2c48b190316933e2
2024-03-05 18:50:43 +00:00
OpenStack Release Bot 59a147ab23 reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I656c372feb90f642ec5e7ad44a7e4134ee723e71
2024-03-05 18:48:46 +00:00
Zuul e1a20a9e77 Merge "Update python classifier in setup.cfg" 2024-02-06 18:06:28 +00:00
OpenStack Release Bot a23deccf31 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: Idfcb4d2bd9a365019adcd1c227c86d8f69dc47f6
2024-02-06 14:27:58 +00:00
Takashi Kajinami 693edd2a01 Update hacking version in pre commit config
This was overlooked when hacking was bumped in test-requirements.

Change-Id: I96bf83f36d6b623ee509e9fa7b2770bc2d026965
2024-01-27 23:03:00 +09:00
Zuul 7a654eda2b Merge "Bump hacking" 2024-01-16 20:51:58 +00:00
Takashi Kajinami e059ab8a89 Bump hacking
hacking 4.0.x is very old (it was released 3 years ago).

Change-Id: Ia82da2421db271a97603930c6eef50e93cea77c5
2024-01-17 01:29:39 +09:00
Ghanshyam Mann cd7a79e965 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: Ib4658c25e7f20a0e4bc8fd01e8ebacfb4a27b3e2
2024-01-03 19:21:05 -08:00
Zuul f66317f594 Merge "coveragerc: Fix wrong omitted directory" 2023-12-19 15:20:04 +00:00
Takashi Kajinami 338ce36149 coveragerc: Fix wrong omitted directory
We should exclude the test code from coverage. Also the openstack
directory does not exist.

Change-Id: I89a25629f0426843dd72dd0d663942323473ac47
2023-12-19 20:57:57 +09:00
Zuul d9c1ba9a45 Merge "add pyproject.toml to support pip 23.1" 2023-11-29 18:26:46 +00:00
Zuul 15bd36066a Merge "Fix typos" 2023-11-28 21:58:15 +00:00
Andrey Kurilin ed2a507b60 Disable NEUTRON_ENFORCE_SCOPE at function job
The following devstack change I3361d33885b2e3af7cad0141f9b799b2723ee8a1
may be a root cause for failing functional job. This commit should
verify this.

Change-Id: Ica272a5ce5d20dcb52e8a636849af2d71e15afb2
2023-11-21 20:37:46 +01:00
Rajesh Tailor 1f029ce578 Fix typos
Change-Id: Iaef3767dd9e7f43503dd8287b9b2345585bd87fb
2023-11-20 17:56:01 +05:30
Sean Mooney 1024736eeb add pyproject.toml to support pip 23.1
pip 23.1 removed the "setup.py install" fallback for projects
that do not have pyproject.toml and now uses a pyproject.toml
which is vendored in pip.
To address that, this change adds the minimal pyproject.toml
to enable pbr to be properly used to build editable wheels.

This is required to support installing devstack on
centos stream 9 and related distros with GLOBAL_VENV=True
Without this change the wsgi scripts are not generated in
editable mode. i.e. pip install -e /opt/stack/keystone

See https://pip.pypa.io/en/stable/news/#v23-1
and https://github.com/pypa/pip/issues/8368 for more
details on the removal of the fallback support.

setuptools v64.0.0 is used to support editable installs
via its PEP-660 implmentation
https://github.com/pypa/setuptools/pull/3488

Change-Id: Ieea0ac142e79a9de4d2fbf45fdad70d0ff079304
2023-11-02 11:27:53 +00:00
OpenStack Release Bot dc2cb6cdd5 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: I7b70843227db7e74151f8483485cf9995724438f
2023-09-07 09:37:25 +00:00
David Wlazlo e464940f39 Typo - nova CLI deprecation warning
Change-Id: I1e604867bd00d51caebcb049777bbc675a398969
2023-05-17 12:21:29 +10:00
OpenStack Release Bot 67caa10401 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: Iac2e628333518455eef637f626ce6a3b54057afd
2023-02-24 15:09:23 +00:00
Artom Lifshitz 85e4f08309 Bump microversion to 2.95
There are no client-side changes for either 2.94 or 2.95, so just do
the bump and add release notes.

Change-Id: I8c2bfd48526840fc618820b9ae6a12dc98cdef45
2023-02-02 13:36:52 +00:00
Balazs Gibizer c7cb02f1f7 Make tox.ini tox 4.0.0 compatible
* removed skipsdist=True to make sure novaclient is available in the virtual
  env. The usedevelop and skipsdist does not work together any more
  https://github.com/tox-dev/tox/issues/2730. For bindep we still don't
  need the current repo to be installed in the env so skipsdist added
  there.

Depends-On: https://review.opendev.org/c/zuul/zuul-jobs/+/866943
Change-Id: I979b91570c7b60273f35fbdf8464f6a9ee2007d6
2022-12-22 16:52:04 +01:00
Zuul c35588d09b Merge "tests: Fix Python 3.11 compatibility" 2022-12-15 14:42:24 +00:00
Zuul d95e83affe Merge "trivial: Remove use of kwargs" 2022-12-14 21:05:39 +00:00
Stephen Finucane 1d8a06da78 tests: Fix Python 3.11 compatibility
The argparse lib in Python 3.11 will not allow you to register a
subparser more than once with the same name. We were inadvertently doing
this in two of our unit tests as part of our check for version handling.
There's no need for this. Stop doing it and simply create a new parser
each time.

An unnecessary check is removed from one of the tests since it confuses
matters.

Change-Id: I93827f84c456c9f6960e30e2424b67947254752c
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2022-12-12 17:49:26 +00:00
Stephen Finucane 80ee69aa30 trivial: Remove use of kwargs
Make use of a "sentinel" object to allow us to remove the use of kwargs
and provide a more helpful docstring. With any luck, Python will support
these objects natively in a future release [1].

[1] https://www.python.org/dev/peps/pep-0661/

Change-Id: I411c0393754c8fe8a6698f0d278b73f12209ace8
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2022-12-12 17:43:23 +00:00
Ghanshyam Mann 059398398f Update python classifier for python 3.10
In 2023.1 cycle, we are testing the python 3.10
as voting job so updating the python classifier.

Currently we have py3.8 unit test job running on focal
and python 3.10 job on Jammy.

Change-Id: I4ec8e9663ddf41aa5d3858446e4e382db041ce48
2022-11-22 19:48:27 +00:00
Takashi Natsume 2af1d0c514 Remove unnecessary testing code
Now PrettyTable >= 0.7.2 in requirements.txt,
remove code for PrettyTable < 0.7.2.

Change-Id: Ie6edcc24fbb67394ff8abe0c5f18ad2bed6903ab
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
2022-09-19 01:12:04 +00:00
OpenStack Release Bot d4ea897bc9 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: Icf54ae2ae9db6996da6b881898fea2de4b67190c
2022-09-14 09:29:17 +00:00
OpenStack Release Bot f50bcbc47f 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: I722c5645b9e039fd5d4e8fc75fd6c614eed593d5
2022-09-09 15:04:19 +00:00
whoami-rajat 94d3445e10 MV 2.93 - Add support to rebuild boot volume
This patch bumps the API microversion to 2.93 to allow
rebuilding a volume backed instance.

Implements: blueprint volume-backed-server-rebuild

Depends-On: https://review.opendev.org/c/openstack/nova/+/830883

Change-Id: Ie46df7ad76082e7631bb26243abed4dc3b1f40ac
2022-09-06 16:42:08 +05:30
Takashi Natsume be9517cb02 Fix a fixture for keypairs tests
This patch is a follow-up for
I03570d0a49b73021de91dc50b65b1bbf5d4b878b.

The following file is for shell (CLI) tests,
so it does not need to be changed anymore.

* novaclient/tests/unit/v2/fakes.py

Change-Id: I3b1cf5d402b04854177265f2ba429956edb73203
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
2022-08-05 23:58:30 +09:00
Zuul cdea416cce Merge "Add support for 2.92 : keypair import mandatory" 2022-08-02 16:03:40 +00:00
Zuul 89a76edc8d Merge "Microversion 2.91: Support specifying destination host to unshelve" 2022-08-02 15:47:54 +00:00
Sylvain Bauza 2b5d989990 Add support for 2.92 : keypair import mandatory
Now, when creating a keypair, the 'public_key' parameter is now mandatory.

Depends-On: https://review.opendev.org/c/openstack/nova/+/849133
Implements: blueprint keypair-generation-removal

Change-Id: I03570d0a49b73021de91dc50b65b1bbf5d4b878b
2022-07-28 14:59:47 +02:00
René Ribaud ee9b277c5f Microversion 2.91: Support specifying destination host to unshelve
This patch adds ``host`` to novaclient api.
This can help administrators to specify a ``host``
to unshelve a shelve offloaded server from 2.91 microversion.

Depends-On: https://review.opendev.org/c/openstack/nova/+/831507
Implements: blueprint unshelve-to-host
Change-Id: I7efc8f0b0ef159e16cefee761bff5d7e90d0c427
2022-07-28 14:49:46 +02:00
OpenStack Proposal Bot 4d4cdb4992 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I9eeb37d4b4771798e09802915c42bf79df9422c0
2022-07-06 03:56:50 +00:00
Takashi Natsume d867ef6551 Replace old URLs with new ones
Change-Id: I66d76bed4ec19ef7517d88de20fcc32fea635261
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
2022-06-24 08:38:31 +00:00
OpenStack Proposal Bot 81dece8168 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I4bd5c1ed4b6bb7c99e7724d77076bfb759bac376
2022-06-21 03:56:47 +00:00
Ghanshyam Mann 782a467533 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: Ibb492285ef7d5357c921035409d6654c80df3725
2022-04-29 20:56:13 -05:00
Zuul 6a475043e4 Merge "Remove unnecessary packages in bindep.txt" 2022-04-29 11:57:17 +00:00
Ghanshyam Mann 81a67ac08a Update python classifier as per testing runtime
In Zed cycle, we ave dropped the python 3.6/3.7[1] testing
and its support. Updating the python classifier also to reflect
the same.

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

Change-Id: I06ef1e3f73ddf6c7a62e0d1aa0ab6eeb220436f6
2022-04-21 14:23:05 -05:00
Takashi Natsume 13ab47e786 Remove unnecessary packages in bindep.txt
Change-Id: I3975e5a67e0a8614ac2d6568e294c32a14f789e9
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
2022-04-16 02:55:48 +09:00
Takashi Natsume a66f070215 Add openssl in bindep.txt
Change-Id: If812bf19a569667b96e4cada106da04346449778
Closes-Bug: 1966551
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
2022-04-10 11:27:07 +00:00
Takashi Natsume 2f45f7cef2 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: I12a04dc2f21bfa6af676f93c099f815e6b2cd370
2022-04-10 11:26:58 +00:00
Stephen Finucane c408db2dd9 Update pre-commit hook, hacking versions
This was done with 'pre-commit autoupdate'. An invalid message is
removed from the requirements.txt files as it no longer applies with
pip's new dependency resolver.

Change-Id: I01c3ece51f81d67c740e6faca6b77df7c9932435
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2022-04-08 17:49:08 +09:00