nova/nova/compute
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
2024-05-08 14:56:56 +02:00
..
monitors Remove six.add_metaclass 2020-08-15 07:45:39 +00:00
__init__.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
api.py Reject AZ changes during aggregate add / remove host 2024-05-08 14:56:56 +02:00
build_results.py Fix failed count for anti-affinity check 2023-06-06 10:15:16 +02:00
claims.py Filter PCI pools based on Placement allocation 2022-10-17 13:56:18 +02:00
flavors.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
instance_actions.py nova-manage: Introduce volume show, refresh, get_connector commands 2021-08-25 10:26:07 +01:00
instance_list.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
manager.py Merge "Correctly reset instance task state in rebooting hard" 2024-03-20 13:34:22 +00:00
migration_list.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
multi_cell_list.py [codespell] fix final typos and enable ci 2023-12-15 12:32:42 +00:00
pci_placement_translator.py Allow enabling PCI scheduling in Placement 2023-01-05 17:25:27 +01:00
power_state.py Removed enum duplication from nova.compute 2016-09-02 07:30:44 +00:00
provider_config.py [codespell] fix final typos and enable ci 2023-12-15 12:32:42 +00:00
provider_tree.py Add autopep8 to tox and pre-commit 2021-11-08 12:37:27 +00:00
resource_tracker.py Do not untrack resources of a server being unshelved 2023-08-17 10:50:32 +02:00
rpcapi.py Update compute rpc alias for caracal 2024-03-14 16:59:45 +01:00
stats.py Do not untrack resources of a server being unshelved 2023-08-17 10:50:32 +02:00
task_states.py Fix resource tracker updates during instance evacuation 2018-09-12 13:05:29 +03:00
utils.py Merge "Allow best effort sending of notifications" 2023-12-20 23:29:44 +00:00
vm_states.py Do not untrack resources of a server being unshelved 2023-08-17 10:50:32 +02:00