e3e35ba2d078e0e779895c10000bc75df09f46ee
60564 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Stephen Finucane
|
e3e35ba2d0 |
pre-commit: Add mypy
Add mypy so we can run these checks as part of our linting step. Note that mypy is the last item in the list of checks since flake8 is going to catch e.g. syntax issues which should be addressed first. This also allows us to drop use of mypywrap: rather than wrapping mypy, we can make use of mypy's configuration to specify the files we wish to run checks on. Change-Id: Ie51401ead4e31ccd70ab833c59cb397f802ff188 Signed-off-by: Stephen Finucane <stephenfin@redhat.com> |
||
|
Zuul
|
80a2b018df | Merge "tox: Use pre-commit for pep8 target" | ||
|
Zuul
|
a43728d33b | Merge "Resolve mypy error" | ||
|
Zuul
|
3e108ef13a | Merge "Use configuration for single enabled mdev type" | ||
|
Zuul
|
d1309c4745 | Merge "Call Neutron immediately upon _post_live_migration() start" | ||
|
Zuul
|
9e6b44b93e | Merge "Adds a repoducer for post_live_migration_at_destination failures" | ||
|
Zuul
|
897a91b928 | Merge "docs: fix 404 for ironic docs" | ||
|
Zuul
|
ef08dcb5f3 | Merge "Reproducer test of bug #1999674 " | ||
|
Zuul
|
91f7d2397a | Merge "Imported Translations from Zanata" | ||
|
Zuul
|
d5726a81b8 | Merge "Remove deprecated [api] use_forwarded_for" | ||
|
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> |
||
|
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> |
||
|
Zuul
|
d28a55959e | Merge "Fixed an error when caching multiple images in aggregate" | ||
|
OpenStack Proposal Bot
|
14dff74f0d |
Imported Translations from Zanata
For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I8075ca98de9fa9131dfd1343cf44fa80d14cfb12 |
||
|
Zuul
|
55a27f0ac4 | Merge "[codespell] ignore codespell in git blame" | ||
|
Zuul
|
5e914c27a0 | Merge "Bump hacking version" | ||
|
Zuul
|
258e6f7b91 | Merge "[codespell] fix final typos and enable ci" | ||
|
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 |
||
|
Artom Lifshitz
|
26fbc9e8e7 |
Call Neutron immediately upon _post_live_migration() start
Previously, we first called to Cinder to cleanp source volume connections, then to Neutron to activate destination port bindings. This means that, if Cinder or the storage backend were slow, the live migrated instance would be without network connectivity during that entire process. This patch immediately activates the port bindings on the destination (and thus gives the instance network connectivity). We just need to get the old network_info first, in order to use it in notifications and to stash it for the later call to driver.post_live_migration_at_source(). This is a smaller and safer change than the parallelization attempt in the subsequent patch, so it's done in its own patch because it might be backportable, and would help with network downtime during live migration. To avoid any potential data leaks, we want to be certain to cleanup volumes on the source. To that end we wrap the code that is being moved before the source volume cleanup code in a try/finally block in order to prevent any uncaught exception from blocking the cleanup. Change-Id: I700943723a32e732e3e3be825f3fd44a9f923a0b |
||
|
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 |
||
|
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 |
||
|
Zuul
|
45e2349408 | Merge "Remove outdated comment about allocation ratios" | ||
|
Zuul
|
4cc5db80bf | Merge "Use real SDK objects in tests" | ||
|
Zuul
|
e351b7d2cc | Merge "Remove unnecessary aliasing" | ||
|
Zuul
|
6e88b75fb8 | Merge "Remove Ironic client wrapper" | ||
|
Zuul
|
fac01e7d55 | Merge "tests: Use clearer syntax for empty generator" | ||
|
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> |
||
|
Takashi Kajinami
|
a5f68d355c |
Remove deprecated [api] use_forwarded_for
This option was deprecated in favor of the HTTPProxyToWSGI middleware
in 26.0.0 release[1].
[1]
|
||
|
Zuul
|
8644855533 | Merge "Use SDK for deprecated baremetal proxy API" | ||
|
Zuul
|
17b7aa3926 | Merge "[codespell] fix typos in tests" | ||
|
Zuul
|
d26c77b7d7 | Merge "docs: Address nits in new security group doc" | ||
|
Zuul
|
d8f24663ea | Merge "docs: Revamp the security groups guide" | ||
|
Zuul
|
71082f4a14 | Merge "Use SDK for remaining ironic driver calls" | ||
|
Stephen Finucane
|
91fc3747a3 |
docs: Address nits in new security group doc
Change-Id: I8439c5df745712fe11b89acb794a6e92290ba3c9 Signed-off-by: Stephen Finucane <stephenfin@redhat.com> |
||
|
Zuul
|
2ee947b45b | Merge "Fix regression breaking Ironic boot-from-volume" | ||
|
Zuul
|
85254256b4 | Merge "Detach disks using alias when possible" | ||
|
Zuul
|
25e4715c0c | Merge "Set libvirt device alias for volumes" | ||
|
Zuul
|
b8b45a571b | Merge "Support setting alias on libvirt disks" | ||
|
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> |
||
|
Zuul
|
051d95b377 | Merge "[codespell] doc,devstack and gate typos" | ||
|
Zuul
|
da1c40dae9 | Merge "[codespell] apply codespell to the releasenotes" | ||
|
Zuul
|
ca0a279727 | Merge "[codespell] fix typos in api-ref" | ||
|
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 |
||
|
Zuul
|
c7dba52e4e | Merge "[codespell] start fixing all the typos" | ||
|
Zuul
|
fc7f5a1b2f | Merge "Fix a couple of typos" | ||
|
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 |
||
|
Zuul
|
3ee643b459 | Merge "Use SDK for remaining network operations" | ||
|
Zuul
|
47d201dd5d | Merge "Use SDK for node.vif*" | ||
|
Zuul
|
2b100a125a | Merge "Set UEC image vars for jobs not defined in Nova" | ||
|
Zuul
|
089816c34c | Merge "Remove redundant setting of DEFAULT_IMAGE_NAME(_FILE)" |