2ffdf2e9173ca2ad0f95ac7f565da64b8b62691f
Commit Graph

60547 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
Stephen Finucane
2ffdf2e917 tox: Use pre-commit for pep8 target
pre-commit is an effective linter runner. No need to duplicate things.
We are able to remove our homegrown "is this valid JSON" check by using
the one built into pre-commit. Beautiful!
Change-Id: I89398d4a1c5d4e7205f5f9c499cba0b4ff90fa46
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023年12月19日 16:37:57 +00:00
Stephen Finucane
298ca28e0f Resolve mypy error
This is causing lint failures in the requirements job.
Change-Id: I7afc10130b77bdfb419bb68b670ec7ebecb4026b
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023年12月19日 16:37:47 +00:00
Zuul
d28a55959e Merge "Fixed an error when caching multiple images in aggregate" 2023年12月19日 08:18:06 +00:00
Zuul
55a27f0ac4 Merge "[codespell] ignore codespell in git blame" 2023年12月18日 23:29:34 +00:00
Zuul
5e914c27a0 Merge "Bump hacking version" 2023年12月18日 21:20:36 +00:00
Zuul
258e6f7b91 Merge "[codespell] fix final typos and enable ci" 2023年12月18日 21:20:29 +00:00
Sivasathurappan Radhakrishnan
33fa92b6cb Allow live migrate paused instance when post copy is enabled
Live migration of paused instance fails when VIR_MIGRATE_POSTCOPY
flag is set. In this patch, the flag is unset to permit live migration
of paused instance.
Change-Id: Ib5cbc948cb953e35a22bcbb859976f0afddcb662
Closes-Bug: #1671011 
2023年12月18日 14:11:16 +00:00
Sean Mooney
5faaf4aa8f [codespell] ignore codespell in git blame
This is the final change in the codespell series
and updates the .git-blame-ignore-revs file
to ignore the changes in git blame by default.
Change-Id: Ibfbaa411e29336f3d51459ff2225000c612ed2bf
2023年12月15日 12:35:03 +00:00
Sean Mooney
f4852f4c81 [codespell] fix final typos and enable ci
This chnage adds the pre-commit config and
tox targets to run codespell both indepenetly
and via the pep8 target.
This change correct all the final typos in the
codebase as detected by codespell.
Change-Id: Ic4fb5b3a5559bc3c43aca0a39edc0885da58eaa2
2023年12月15日 12:32:42 +00:00
Zuul
45e2349408 Merge "Remove outdated comment about allocation ratios" 2023年12月14日 16:49:58 +00:00
Zuul
4cc5db80bf Merge "Use real SDK objects in tests" 2023年12月14日 14:29:04 +00:00
Zuul
e351b7d2cc Merge "Remove unnecessary aliasing" 2023年12月14日 14:28:56 +00:00
Zuul
6e88b75fb8 Merge "Remove Ironic client wrapper" 2023年12月14日 14:28:47 +00:00
Zuul
fac01e7d55 Merge "tests: Use clearer syntax for empty generator" 2023年12月14日 11:18:27 +00:00
Stephen Finucane
3973fc393c Bump hacking version
This bumps the version of flake8 and resolves some erroneous failures in
f-strings. A number of new E721 (do not compare types) class errors are
picked up, which are all addressed.
Change-Id: I7a1937b107ff3af8d1e5fe23fc32b120ef4697f7
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023年12月14日 10:54:26 +00:00
Zuul
8644855533 Merge "Use SDK for deprecated baremetal proxy API" 2023年12月14日 00:07:25 +00:00
Zuul
17b7aa3926 Merge "[codespell] fix typos in tests" 2023年12月13日 23:46:08 +00:00
Zuul
d26c77b7d7 Merge "docs: Address nits in new security group doc" 2023年12月13日 20:37:00 +00:00
Zuul
d8f24663ea Merge "docs: Revamp the security groups guide" 2023年12月13日 20:32:16 +00:00
Zuul
71082f4a14 Merge "Use SDK for remaining ironic driver calls" 2023年12月13日 20:00:40 +00:00
Stephen Finucane
91fc3747a3 docs: Address nits in new security group doc
Change-Id: I8439c5df745712fe11b89acb794a6e92290ba3c9
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023年12月13日 19:53:55 +00:00
Zuul
2ee947b45b Merge "Fix regression breaking Ironic boot-from-volume" 2023年12月12日 22:41:36 +00:00
Zuul
85254256b4 Merge "Detach disks using alias when possible" 2023年12月12日 14:54:05 +00:00
Zuul
25e4715c0c Merge "Set libvirt device alias for volumes" 2023年12月12日 14:53:58 +00:00
Zuul
b8b45a571b Merge "Support setting alias on libvirt disks" 2023年12月12日 14:42:58 +00:00
Stephen Finucane
cef74cbd10 docs: Revamp the security groups guide
I did not have a clear understanding of when a security group would or
would not be applied to a port and reading the documentation did not
help. Massively expand the security groups document, adding a couple of
important notes along the way as well as references to the nova-specific
security group operations. The document is moved from the admin guide to
the user guide (with redirects) since these are not admin-only
operations by default.
Change-Id: I212bc99112aad2f1e3057befca381a26d702be2e
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023年12月12日 14:35:15 +00:00
Zuul
051d95b377 Merge "[codespell] doc,devstack and gate typos" 2023年12月11日 17:44:04 +00:00
Zuul
da1c40dae9 Merge "[codespell] apply codespell to the releasenotes" 2023年12月11日 12:40:51 +00:00
Zuul
ca0a279727 Merge "[codespell] fix typos in api-ref" 2023年12月11日 10:22:20 +00:00
Dmitry Tantsur
177742ca55 Fix regression breaking Ironic boot-from-volume
After the recent openstacksdk patches, the volume code uses the SDK's
get_node instead of the local _get_node wrapper, causing the resulting
object to not have a UUID field that Nove expects.
This change proposes the minimum possible fix to unwedge the CI.
Change-Id: I8165628877f887553bf7b36da301ee062d29621c
2023年12月11日 11:04:12 +01:00
Zuul
c7dba52e4e Merge "[codespell] start fixing all the typos" 2023年12月11日 09:06:40 +00:00
Zuul
fc7f5a1b2f Merge "Fix a couple of typos" 2023年12月09日 22:24:46 +00:00
Balazs Gibizer
ed2ac71a46 [pwmgmt]ignore missin governor when cpu_state used
When cpu_state power management strategy is requested nova-compute
should not fail to start if there is no cpufreq governor is supported by
the host.
Closes-Bug: #2045966
Change-Id: Ice2fa47bdab320a7e472fbb4767761448d176bad
2023年12月08日 12:12:58 +01:00
Zuul
3ee643b459 Merge "Use SDK for remaining network operations" 2023年12月08日 07:38:26 +00:00
Zuul
47d201dd5d Merge "Use SDK for node.vif*" 2023年12月07日 22:28:44 +00:00
Zuul
2b100a125a Merge "Set UEC image vars for jobs not defined in Nova" 2023年12月07日 21:08:37 +00:00
Zuul
089816c34c Merge "Remove redundant setting of DEFAULT_IMAGE_NAME(_FILE)" 2023年12月07日 21:08:29 +00:00
Zuul
4d52929142 Merge "Use SDK for node.set_power_state" 2023年12月07日 17:35:56 +00:00
Zuul
2cac00a915 Merge "Use SDK for node.set_provision_state" 2023年12月07日 17:35:49 +00:00
Zuul
ad24014715 Merge "Use SDK for volume_target.*" 2023年12月07日 17:35:42 +00:00
Zuul
4b49883318 Merge "Use SDK for getting network metadata from node" 2023年12月07日 17:33:30 +00:00
Zuul
302e286408 Merge "Use SDK for add/remove instance info from node" 2023年12月07日 17:30:28 +00:00
Stephen Finucane
a176d524c6 tests: Use clearer syntax for empty generator
Placing 'yield' after a 'return' is dark magic, even if it's technically
allowed. Use 'yield from' instead.
Change-Id: Ie5e8befcbeeb42094d1056e00c939e384a72ceb3
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023年12月07日 11:51:09 +00:00
Zuul
7bc5e65c77 Merge "Fix coverage issues with eventlet" 2023年12月06日 21:32:13 +00:00
melanie witt
d3181bf202 Set UEC image vars for jobs not defined in Nova
This is another follow up for change
I1a6468fbfa51eedec0ab91d73f313784a9a618a0 which missed setting the
*uec_image_vars for jobs that are not defined in Nova. For example,
the tempest-integrated-compute job is not defined in Nova and if we
don't set *uec_image_vars for it, it will not use the UEC image and
will instead use the default full image.
This also sets *uec_image_vars for one job defined in Nova,
nova-osprofiler-redis, that was missed in the original change.
Change-Id: Ia8741d46c28277e9addadf0e2a568c3ad86fb8dc
2023年12月06日 19:01:06 +00:00
Zuul
09b651540f Merge "Use split kernel/initramfs Cirros UEC image by default in jobs" 2023年12月06日 11:13:13 +00:00
melanie witt
07d4138a43 Remove redundant setting of DEFAULT_IMAGE_NAME(_FILE)
This is a follow up for change
I1a6468fbfa51eedec0ab91d73f313784a9a618a0 which had residue from an
earlier PS that set DEFAULT_IMAGE_NAME and DEFAULT_IMAGE_FILE_NAME
intended to override project.vars. The project.vars approach did not
work because we needed to set IMAGE_URLS as well and the
devstack-tempest ancestor job sets IMAGE_URLS which overrides
project.vars.
The approach was changed to use YAML anchors instead of project.vars to
reduce duplication, which made the setting of DEFAULT_IMAGE_NAME and
DEFAULT_IMAGE_FILE_NAME in nova-next redundant as the default values
from Devstack can be used.
This removes the setting of DEFAULT_IMAGE_NAME and
DEFAULT_IMAGE_FILE_NAME in nova-next.
Change-Id: I3929b6c55d77575a6c0bd205f933cc2a690db91e
2023年12月05日 22:30:52 +00:00
Zuul
7cd2ea3652 Merge "pre-commit: Use native hacking pre-commit hook" 2023年12月05日 14:55:24 +00:00
Zuul
4b189070e8 Merge "pre-commit: Update plugin versions" 2023年12月05日 14:53:56 +00:00
Zuul
404a9f0ab8 Merge "doc: Remove crud from conf.py file" 2023年12月05日 12:56:37 +00:00