| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We pinned tox<4 for stable branches in common jobs
and in devstack playbook but that was not enough for
python client functional jobs where tox is upgraded to
latest by pip.
- https://lists.openstack.org/pipermail/openstack-discuss/2023-January/031678.html
This commit adds tox<4 pin explicitly in tox.ini
Change-Id: I442568a5f5900e593feb2b5527109e0aa79e5aa7
(cherry picked from commit 7c3f3bc615cb91cd0106f91b0452bf7968ff3598)
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update the URL to the upper-constraints file to point to the redirect
rule on releases.openstack.org so that anyone working on this branch
will switch to the correct upper-constraints list automatically when
the requirements repository branches.
Until the requirements repository has as stable/yoga branch, tests will
continue to use the upper-constraints list on master.
Change-Id: If8ea9e49f98e5a3731ff0bdbf83c3f41a5057046
|
|
|
|
| |
Change-Id: Iedd055357ece69f3720f24f08c3b58b8e7d37c83
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: Ic6dbe3ae45089f7947d45dc81eb5d1e29b3d0597
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch fixes the following failures.
* package version conflict in the lower-constraints job
* An error about admin endpoint for identity service
in the python-novaclient-functional job
Closes-bug: 1954916
Closes-bug: 1954917
Change-Id: Ie48dda004aaf5d01d286bdc0d9fe355d58e62d75
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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: Iff5e28efd84750cf7e0ae166b4828339bad5c7c6
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: I62070f8d3fded9f47c03a8c43d3481b2e2aef367
|
|
|
|
|
|
| |
Change-Id: Icd4362a07196e59bafcdfaff44323ce1386d4f55
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Depends-On: https://review.opendev.org/c/openstack/nova/+/778550/
|
|
|
|
|
|
|
|
|
| |
We have functional tests for the 'nova update' commands, but no unit
tests to verify e.g. that we can't set a description for the server
before microversion 2.19. Add such tests.
Change-Id: I9af89655a7e7276446a881fd28d21ddd6581048c
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
|
|
|
|
|
| |
Change-Id: I66ed7fb2f0b4ef5227bdf40d51e3c15c3a54816a
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
|
|
|
|
|
| |
Depends-On: https://review.opendev.org/c/openstack/nova/+/804275
Change-Id: If6275dbd3795047c111ac507a12b034e60029df8
|
|
|
|
|
|
|
| |
... because the imp module is deprecated since Python 3.4 .
Closes-Bug: #1937904
Change-Id: Ia3f83df336fd243c25f7471d56a44370c11bb5e1
|
|
|
|
|
|
|
| |
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: I4b4c08d65e642866d81d7fd12a7c82162a0b979e
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The patch bumps min version of tox to 3.18.0 in order to
replace whitelist_externals by allowlist_externals option:
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23
Change-Id: I75844ded50c0032445dd27b1ced7f214c754e901
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
|
|/
|
|
|
|
|
|
|
| |
Add a private static method to construct a request body
for create requests in the
novaclient.v2.volumes.VolumeManager class.
Change-Id: I884ad4b471e3d196255901499c75a1a2f0535f65
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: Ia98a366c65321f76394940be0f9ce2a55dd321d4
|
|
|
|
|
|
|
| |
Moving on py3 as the default runtime for tox to avoid to update this at
each new cycle.
Change-Id: Icad6d0d0d375d1995baa603b091be50797210215
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change I53caceb08667eb12e27016731868e8015dd10e34 fixed a bug where we
weren't using our novaclient logger default when a logger was not
passed to the Client constructor.
This adds unit tests to assert the fixed behavior and protect against
regression.
Related-Bug: #1921388
Change-Id: I9f622c01a6b1abe328a60de6d3e438e68872dd80
|
|
|
|
|
|
|
|
|
|
|
| |
When a client is created without a logger, novaclient creates a
default logger, but it's then not used, because it's not passed
to the factory function. Because of that, all novaclient calls
are getting logged as 'keystoneauth.session' instead of
'novaclient.v2.client' as they should.
Closes-bug: 1921388
Change-Id: I53caceb08667eb12e27016731868e8015dd10e34
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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: I35d282c9b0342a4520c6faf07f65a121c6b9ecb2
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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: I8db7244df81c9474b8e8bcb7ce46b7500d9dca6b
|
|/
|
|
|
| |
Depends-On: https://review.opendev.org/c/openstack/nova/+/780401
Change-Id: Ic6667b1b5efe75273035c65aca2c111c90fe8e00
|
|
|
|
|
|
|
|
|
|
|
| |
The key change here is that the 'GET /os-hypervisors/{id}/uptime' API
will now returns a HTTP 404 starting in 2.88. The 'GET
/os-hypervisors/{id}' will instead now include an 'uptime' value. The
'novaclient.v2.hypervisors.HypervisorManager.uptime' method is updated
to handle this.
Change-Id: Ib99fbd820a586c14527ff64b319df0b7a44e1b8b
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
|
|
|
|
|
|
|
|
| |
We don't need to support any version of Python that is missing the json
stdlib library.
Change-Id: I6d13719ef9d4ae40945cfc66c1d0b40018950c58
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
|
|
|
|
|
|
|
|
|
| |
This is now maintained as a Jazzband project [1].
[1] https://github.com/jazzband/prettytable
Change-Id: I9477b1c5bc3bd4979d2cb38df3fc3b541a4b9bf5
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The os-agents APIs have been removed by the following change.
I9512f605dd2b3b0e88c951ed086250d57056303d
This patch makes commands related to the APIs deprecated
in accordance with the following policy.
* https://docs.openstack.org/python-novaclient/latest/contributor/deprecation-policy.html
The API bindings related to the APIs remains as they are
because python-openstackclient depends on the API bindings.
Change-Id: I89d7877e23e8802fe77987a7b24ea247e08d5218
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using the novaclient without a subcommand while
passing an optional argument triggers the raw Python
error `ERROR: 'Namespace' object has no attribute
'func'`. This bug can be reproduced by issuing the
command `nova --os-compute-api-version 2.87`.
Added a default value to `func` and an empty value to
`command` as placeholders so that a help message is
shown instead of the Python error.
Change-Id: Ic3e87b67f6d27d40b03d7d8e520fa0f79a4d09e5
Closes-Bug: #1903727
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The os-agents APIs have been removed by the following change.
I9512f605dd2b3b0e88c951ed086250d57056303d
This patch fixes a gate failure.
A subsequent patch will make things related to
the os-agents APIs deprecated.
Change-Id: I9dab95fda5902bf9619393eb2c4a22d9f395d65a
Closes-Bug: #1909899
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
|
|\ |
|
| |
| |
| |
| |
| |
| | |
This can be removed because it's no longer a transitive dependency of oslo.i18n.
Change-Id: I316363450caff890d67984f1466d3663785baf8f
|
|/
|
|
|
|
| |
Remove py2 stanza from setup.py
Change-Id: I7aa67986248fc627c3f36203e0fb653bde2d483f
|
|
|
|
|
|
|
|
|
|
| |
Python modules related to coding style checks (listed in blacklist.txt in
openstack/requirements repo) are dropped from lower-constraints.txt
as they are not actually used in tests (other than pep8).
more info: https://github.com/openstack/requirements/blob/master/blacklist.txt
Change-Id: I333bbddf70a4ead1778813a8311969ec372604d3
|
|
|
|
|
|
|
| |
The docs and releasenotes requirements migrated to doc/requirements.txt
we need not install things from requirements.txt.
Change-Id: I9d73c83b0520f724479c0e09b3686d3aab96df71
|
|
|
|
|
|
|
|
|
|
|
| |
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for wallaby.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: Ib43ce1fe7ae66f26b3c37bfaa7b58a0043ee26d6
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: I0fdaa5f2095d55221336212332d644d256c0c2c7
Sem-Ver: feature
|
|
|
|
|
|
|
|
| |
The base devstack-tox-functional* jobs now set the required
environment (OS_* vars set by devstack) before calling tox.
Depends-On: https://review.opendev.org/746235
Change-Id: I7b6d49ea8320e014e2ef444e456f6eea02eca912
|
|
|
|
|
|
|
|
| |
The code has not been used
since If0161a89877f19f24e91d780cf227fdc48e7e860 .
Change-Id: I106404f9d12814fec2ec2bf16cdd100834085912
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A VM instance is created in the following functional test.
* novaclient.tests.functional.v2.test_instance_action.
TestInstanceActionCLIV262.test_show_actions_with_host
However the VM instance is not deleted after the functional test.
Add a cleanup for the server in the functional test.
Change-Id: I8c2a6f91739d50baa283b37b16de67c542ea691b
Closes-Bug: #1889283
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).
Fixing:
- bug#1886298
Bump the lower constraints for below deps which added python3.8 support
Markupsafe==1.1.1
cffi==1.14.0
greenlet==0.4.15
PyYAML==3.13
Story: #2007865
Task: #40200
Closes-Bug: #1886298
[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.html
Change-Id: I9857dc20057b97a2d0bae5b0b3410fa958bdc74f
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Importing pkg_resources causes the app to scan the entire import path
for all distributions, not just those providing entry points. The
scanner in stevedore will have a cache of the entry point data, making
it significantly faster. This will be especially useful in command
line programs like python-openstackclient.
Change-Id: Ic5eb9401c8ea3bd9624b818e0ffb8dcc13f61559
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
Replace the 'novaclient-dsvm-functional' legacy Zuul job with
the 'python-novaclient-functional' native Zuul v3 job.
See
https://governance.openstack.org/tc/goals/selected/victoria/native-zuulv3-jobs.html
for more details.
Change-Id: I35b5699b8b0814f2d17a37e024286cd440047ec8
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
Co-Authored-By: Andrey Kurilin <andr.kurilin@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Babel is not needed as requirement, remove it.
Remove translation sections from setup.cfg.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014227.html
Depends-On: https://review.opendev.org/#/c/730427/
Change-Id: I4d82cfc09d255ad574e44ac303fd187c5348ca47
|
|
|
|
|
|
|
|
| |
Switch to openstackdocstheme 2.2.0 that can link to PDF document,
enable this with setting openstackdocs_pdf_link.
Depends-On: https://review.opendev.org/728938
Change-Id: I103a90d4fa101fd261b2b1a86d0a42b9591accc9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Switch to openstackdocstheme 2.1.2 and reno 3.1.0 versions. Using
these versions will allow parallelizing building of documents.
Update Sphinx version as well.
openstackdocstheme renames some variables, so follow the renames. A
couple of variables are also not needed anymore, remove them.
Remove duplicated variables.
Depends-On: https://review.opendev.org/728432
Change-Id: Icb604b31150a1ad6c29a9a4a934ed13f8a0b4976
|
|
|
|
|
|
|
|
|
|
| |
hacking 3.0.1 fix the pinning of flake8 to avoid bringing in a new
version with new checks.
bumping the min version for hacking so that any older hacking versions
which auto adopt the new checks are not used.
Change-Id: I43ddb7bac8b7734f6e4fa4632d4524d454931709
|
|
|
|
|
|
|
|
|
|
| |
This is a follow up patch for I4d45ae17f6f84f945f5dd049a929216ce6b6b58e.
The 'mock' line has already been removed in test-requirements.txt.
So the 'mock' line is removed in lower-constraints.txt.
Change-Id: Ic215d48477cfb7441e3bddba969258157468713c
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
|