c60b81fa4b8afd6773f6a9b86df21dd7d4e232c1
60777 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Zuul
|
c60b81fa4b | Merge "tox: Drop envdir" | ||
|
Zuul
|
61ad4f1f27 | Merge "Enable virtio-scsi in nova-next" | ||
|
Dan Smith
|
84b0a481fe |
Enable OCaaS for several nova jobs
This uses the OCaaS feature in devstack which saves *minutes* of time running devstack by effectively caching the openstackclient startup instead of taking that hit for every invocation. Change-Id: I78308128c6249f7f871e0231ce717b1ec0f88509 |
||
|
Zuul
|
ab3ca1e205 | Merge "Make python 3.12 unit and functional voting" | ||
|
Zuul
|
b6a846c6c8 | Merge "Fix hacking test with syntax error" | ||
|
Zuul
|
fa44978141 | Merge "Fix notification object hashes for python 3.12" | ||
|
Pierre Riteau
|
bfd3525863 |
Fix formatting issues in extra-specs docs
Change-Id: I693f70ffb7630fe99336fef52783ea55c492624d |
||
|
Zuul
|
d467edac49 | Merge "do not use str(url) to stringify a URL for subsequent use" | ||
|
Dan Smith
|
50b180023f |
Make python 3.12 unit and functional voting
Change-Id: I6de86f3e3e283ba404f927ea4c8164f791df3989 |
||
|
Dan Smith
|
3f0879ccc3 |
Fix hacking test with syntax error
This hacking test has a syntax error in it. On older pythons, this does not prevent us from finding the second popen() use, but on python 3.12 it does. Change-Id: Ib74dc030118e0cb9fab548b112d32ce080969a15 |
||
|
Dan Smith
|
6ee938fd22 |
Fix notification object hashes for python 3.12
Python 3.12 changes the repr() syntax for the OrderedDict object, which causes us to calculate different hashes for the notification objects across the version gap. The get_extra_data() function wraps a dict in OrderedDict after sorting the elements of the original dict, but that is not entirely necessary. The sorted() list of dict.items() is a perfectly reasonable representation of the things it is capturing, so we can just eliminate the use of OrderedDict there and thus end up calculating the same hashes on <3.12 and >3.12. NOTE: This changes a bunch of the hashes of notification objects without bumping or changing versions. This is expected purely because we are changing the hashing method, and thus this is not a violation or upgrade concern. Change-Id: I242150138deed7fe74b13d9c44b333293cd24ffa |
||
|
Zuul
|
2e6041a76e | Merge "Remove SQLAlchemy tips jobs" | ||
|
Mike Bayer
|
acbe3e28e5 |
do not use str(url) to stringify a URL for subsequent use
The str(url) function in SQLAlchemy hides the password. For a URL string that is to be re-used, use render_as_string(hide_password=False). Change-Id: I2ab28da5cc2b9ed3a1588259b2e94320662816bb |
||
|
Zuul
|
5095336689 | Merge "Upload glance image with --file in ceph job" | ||
|
Zuul
|
7096423b34 | Merge "Reject AZ changes during aggregate add / remove host" | ||
|
Zuul
|
5470dedd4d | Merge "Fix device_type=lun with boot_index" | ||
|
Zuul
|
67119b7de3 | Merge "Avoid setting serial on raw LUN devices" | ||
|
Dan Smith
|
a4e72f71fc |
Upload glance image with --file in ceph job
This enables our use of the OCaaS devstack feature, which can't support image upload from stdin. Change-Id: Idc5646ef6763447e3c1c68de03dea8197c305f6c |
||
|
Zuul
|
114b8184e4 | Merge "Make overcommit check for pinned instance pagesize aware" | ||
|
Balazs Gibizer
|
3c0eadae0b |
Reject AZ changes during aggregate add / remove host
After this patch nova rejects the add host to aggregate API action if the host has instances and the new aggregate for the host would mean that these instances need to move from one AZ (even from the default one) to another. Such AZ change is not implemented in nova and currently leads to stuck instances. Similarly nova will reject remove host from aggregate API action if the host has instances and the aggregate removal would mean that the instances need to change AZ. Depends-On: https://review.opendev.org/c/openstack/tempest/+/821732 Change-Id: I19c4c6d34aa2cc1f32d81e8c1a52762fa3a18580 Closes-Bug: #1907775 |
||
|
Zuul
|
95bfa492e9 | Merge "[ironic] Fix rebooting instance" | ||
|
Dan Smith
|
32546d9c1b |
Enable virtio-scsi in nova-next
This lets us test the direct-lun volume attachment model. Change-Id: Ibc7bff377cc5b5572e2a11006116401babaac347 Depends-On: https://review.opendev.org/c/openstack/tempest/+/918457 |
||
|
Dan Smith
|
2f0c340d39 |
Fix device_type=lun with boot_index
Right now we'll fail to calculate the boot order of a set of BDMs if one of them is a device_type=lun. This fixes that and teaches us that it's just a "hd" from qemu's perspective. Closes-Bug: #2065084 Change-Id: Ic1340918738d503fc797c9373fe2e1dd16b27a09 |
||
|
Dan Smith
|
575ff86a4f |
Avoid setting serial on raw LUN devices
Libvirt now enforces that device="lun" (i.e. raw device passthrough) disks must not have the <serial> property set. We recently enabled the ability to manage devices by alias instead of serial, but to fully enable this use-case we need to avoid putting serial in the XML to appease libvirt. Related-Bug: #2065084 Change-Id: Ifa2df89f27e58e1e64ce046edeaf6e49a7c89490 |
||
|
Vasyl Saienko
|
0e766885f6 |
[ironic] Fix rebooting instance
The correct state for hard and soft reboots are rebooting [0] [0] https://github.com/openstack/openstacksdk/blob/master/openstack/baremetal/v1/node.py#L44 Closes-Bug: #2064826 Change-Id: I18e0352b3638872e85ce91a3cfcbbfddc812ab67 |
||
|
Zuul
|
428990e7b7 | Merge "Do not close returned image-chunk iterator & get_verifier early" | ||
|
Zuul
|
07f05add31 | Merge "api: Keep track of action controllers" | ||
|
Zuul
|
ca5be99837 | Merge "Remove old excludes" | ||
|
Takashi Kajinami
|
b4ff81c329 |
Remove old excludes
These are detected as errors since the clean up was done[1] in the requirements repository. [1] 314734e938f107cbd5ebcc7af4d9167c11347406 Bump the minimum versions to avoid installing these known bad versions. Change-Id: I5ab0c3a1ac208e3967e65c298573079283a7b6cd |
||
| fa678870b2 |
reno: Update master for unmaintained/zed
Update the zed release notes configuration to build from unmaintained/zed. Change-Id: I2f9a940845996d8870936df81ab35fa3908df82b |
|||
|
Zuul
|
a031921f42 | Merge "Note the deleyad address view" | ||
|
afazekas
|
25c13220c6 |
Note the deleyad address view
The addresses field containes delayed (cached) information, due to internal implementation details. This used to be considered API contact breakage, but apperently no plan for fixing it. Change-Id: I8db2800ede0276d60138369ec2d60c55a1791040 |
||
|
Fabian Wiesel
|
198805c7c5 |
Do not close returned image-chunk iterator & get_verifier early
The GlanceClientWrapper._get_verifier method may fail already on the metadata, so we better call it early before we open files and start downloads, which we then abort uncleanly. This also likely how the bug #1948706 was triggered in the first place: - The file gets opened - _get_verifier fails *before* we even iterate over the data - glance_utils.IterableWithLength won't close the underlying iterator. The added close statement, now guarded with `may_close_iterator` is likely superfluous. If we return the image chunk iterator, then we should rather not close the underlying iterable, as it will kill the transfer. Closes-Bug: #2053027 Change-Id: Ia247af39a96fbed90b027ad30158e66dd2f0bd5e |
||
|
Zuul
|
ca1db54f1b | Merge "Fix: migration configuration with cpu_shared_set (libvirt part)" | ||
|
Zuul
|
95b4ef6fa4 | Merge "Fix: migration configuration with cpu_shared_set (object part)" | ||
|
René Ribaud
|
43dadaeb90 |
Fix: migration configuration with cpu_shared_set (libvirt part)
Live migrating to a host with cpu_shared_set configured will now update the VM's configuration accordingly. Example: live migrating a VM from source host with cpu_shared_set=0,1 to destination host with cpu_shared_set=2,3 will now update the VM configuration. (<vcpu cpuset="0-1"> will be updated to <vcpu cpuset="2-3">). Related-Bug: #1869804 Change-Id: I7c717503eba58088094fac05cb99b276af9a3460 |
||
|
René Ribaud
|
2c3f4f2da5 |
Fix: migration configuration with cpu_shared_set (object part)
Live migrating to a host with cpu_shared_set configured will now update the VM's configuration accordingly. Example: live migrating a VM from source host with cpu_shared_set=0,1 to destination host with cpu_shared_set=2,3 will now update the VM configuration. (<vcpu cpuset="0-1"> will be updated to <vcpu cpuset="2-3">). This update adds a new field, dst_cpu_shared_set_info, to the LibvirtLiveMigrateData object, which requires an increase in the object's version. As a result, this patch cannot be backported. Related-Bug: #1869804 Change-Id: I806da0958fe436c989e09a52ca6b6f1bbd25a865 |
||
|
Zuul
|
e2ef2240b1 | Merge "api: Remove FlavorManageController" | ||
|
Zuul
|
3abea334d5 | Merge "Validate flavor image min ram when resize volume-backed instance" | ||
|
Zuul
|
eeb69cbd08 | Merge "Regression test for bug 2007968" | ||
|
Zuul
|
a318fe0f8b | Merge "api: Add missing Controller inheritance" | ||
|
zhong.zhou
|
f3eb76e57b |
Validate flavor image min ram when resize volume-backed instance
When resize instance, the flavors returned may not meet the image minimum memory requirement, resizing instance ignores the minimum memory limit of the image, which may cause the resizing be successfully, but the instance fails to start because the memory is too small to run the system. Related-Bug: 2007968 Change-Id: I132e444eedc10b950a2fc9ed259cd6d9aa9bed65 |
||
|
zhong.zhou
|
b434b42761 |
Regression test for bug 2007968
Related-Bug: 2007968 Change-Id: I9d5a3813cad3c9ee1c6097959a972cf8307795cd |
||
|
Sean Mooney
|
dcc32981dd |
ignore sphinx-lint series in git blame
This is the final patch in the sphinx-lint series and simply extends .git-blame-ignore-revs to ignore the series. Change-Id: I04008b6e3a18ffeef2f3f7b83cb57444cb15528f |
||
|
Sean Mooney
|
33a56781f4 |
fix sphinx-lint errors in docs and add ci
This change mainly fixes incorrect use of backticks but also adress some other minor issues like unbalanced backticks, incorrect spacing or missing _ in links. This change add a tox target to run sphinx-lint as well as adding it to the relevent tox envs to enforce it in ci. pre-commit is leveraged to install and execute sphinx-lint but it does not reqiure you to install the hooks locally into your working dir. Change-Id: Ib97b35c9014bc31876003cef4362c47a8a3a4e0e |
||
|
Stephen Finucane
|
8b70e29487 |
Remove SQLAlchemy tips jobs
The most recent SQLAlchemy and Alembic versions are now in upper-constraints. As a result, this job has served its purpose and can be removed. For more information, see [1]. [1] https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/thread/RBHXHTO3GUOOXVSZXD4C2O3TKDOH2QSC/ Change-Id: I9d0261aad8dbca3f05600c8d8879411be232886e Signed-off-by: Stephen Finucane <stephenfin@redhat.com> Depends-on: https://review.opendev.org/c/openstack/requirements/+/879743 |
||
|
Stephen Finucane
|
233fe1865f |
api: Keep track of action controllers
We need to be able to resolve the original, unversioned methods. Register these things slightly differently. It would likely be better to fold these action controllers into the main controllers, but that's a lot of code motion that I don't really want to do right now. Change-Id: Iee37500e6b2dbacf0c1514bfc52ef2dfe8ceb94f Signed-off-by: Stephen Finucane <stephenfin@redhat.com> |
||
|
Stephen Finucane
|
e504b76508 |
api: Remove FlavorManageController
This is an odd child, registering standard REST operations as actions (in the '/action' API sense of the term). There's no reason for this delineation these days so simply remove it. This makes auto-generation much easier down the road. Change-Id: Ia45013fc988acb9517aea42c3caa1fa45d63892e Signed-off-by: Stephen Finucane <stephenfin@redhat.com> |
||
|
Stephen Finucane
|
cabb6999a3 |
api: Add missing Controller inheritance
This has many of the attributes of the 'Controller' class but does not subclass it. This means we are missing attributes like 'wsgi_actions' as well as helper methods like 'version_select', 'api_version', 'is_valid_body', and 'check_for_versions_intersection'. We correctly subclass for every other controller and there's no reason for us not to do so here, so correct this oversight. Change-Id: Ib89e2e02e8c85cc27f5b55caca5711e773959288 Signed-off-by: Stephen Finucane <stephenfin@redhat.com> |
||
|
Zuul
|
c199becf52 | Merge "Refactor vf profile for PCI device" |