Note de la release actuelle¶
15.0.0-27¶
Bug Fixes¶
Fixes a bug in the zone migration strategy where audits would fail due to an unhandled exception when trying to plan instance migration that exist in Nova but not in Watcher’s compute model. The strategy now filters out the elements that are not found in the model, allowing the audit to complete successfully. For more details, please see Bug #2098984.
Previously, when an audit was created with zone_migration strategy and both storage_pools and compute_nodes parameters are passed, the audit did not created the required instances migration actions if any volume migration action was created.
Now, in that situation the audit will create both instance and volume migrations according to the expected behavior and the limits defined by the parallelization parameters.
For more information: https://bugs.launchpad.net/watcher/+bug/2109722
The CORS middleware has been added to api pipeline, to support Cross-Origin Resource Sharing.
The
http_proxy_to_wsgi
middleware has been added to the api pipeline. Now setting the[oslo_middleware] enable_proxy_headers_parsing
option to true enables parsing the HTTP headers set by forwarders, to detect endpoint urls clients actually use.
Now request id is returned by Watcher API in the X-OpenStack-Request-ID response header.
The zone migration strategy no longer fails when when an audit is created with defined storage_pools, compute_nodes is not provided, and with_attached_volume is set to True. The strategy now creates the required volume migrations, but no instance migrations. Both volumes and instances will only be migrated if the audit parameters have both compute_nodes and storage_pools.
See: https://bugs.launchpad.net/watcher/+bug/2111429 for more details.
Currently, the zone migration strategy has a
src_type
parameter in thestorage_pools
input parameter which is ignored, even though it’s required when storage_pools is defined.This patch makes the src_type parameter optional in the zone migration strategy, and when passed by the user, will use its values to filter the volumes which can be migrated.
For more details: https://launchpad.net/bugs/2111507
Other Notes¶
Seven unused methods have been removed from the NovaHelper class. These methods had zero production usage and were either remnants from old workflows or never integrated into production code. The removed methods include delete_instance() (dead since the 2018 workflow refactor in commit 4179c352), swap_volume() (removed in 2025 due to security concerns), wait_for_instance_status() (unused since 2015), get_availability_zone_list(), get_instance_by_name(), get_instances_by_node(), and get_service(). This removal eliminates approximately 139 lines of dead code and reduces maintenance burden with no user-facing impact.
The experimental glance client integration has been removed from Watcher. The glance client and create_image_from_instance method became dead code after the legacy workflow removal in commit 4179c3527c, which replaced the snapshot-based cold migration approach with Nova’s native cold migration support. This removal eliminates the python-glanceclient dependency and glance_client configuration options with no user-facing impact.
The experimental neutron client integration has been removed from Watcher. The neutron client and related methods (create_instance, get_security_group_id_from_name, get_network_id_from_name) became dead code after the legacy workflow removal in commit 4179c3527c. This removal eliminates the python-neutronclient dependency and neutron_client configuration options with no user-facing impact.