Public bug reported: I opened this bug to track the following failure seen in various gate jobs:
test: tempest.serial_tests.scenario.test_aggregates_basic_ops.TestAggregatesBasicOps error message: tempest.lib.exceptions.Conflict: Conflict with state of target resource Details: {'code': 409, 'message': "Cannot add host to aggregate 19. Reason: The host cannot be added to the aggregate as the availability zone of the host would change from 'None' to 'foo_zone' but the host already has 2 instance(s). Changing the AZ of an existing instance is not supported by this action. Move the instances away from this host then try again. If you need to move the instances between AZs then you can use shelve_offload and unshelve to achieve this.."} I have seen this first in a neutron-ovs-tempest-multinode-full job run, however according to gate logsearch it happens in other jobs as well: devstack-plugin-nfs-tempest-full-fips devstack-plugin-nfs-tempest-full neutron-ovs-tempest-multinode-full neutron-ovs-tempest-dvr-ha-multinode-full example logs: https://1f60b37dcbd00092b7dc-4a63bffb654cd83f9f61f31a50d77a27.ssl.cf5.rackcdn.com/939786/2/check/neutron-ovs-tempest-multinode-full/51cf85f/testr_results.html logsearch link: https://opensearch.logs.openstack.org/_dashboards/app/data-explorer/discover/#?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-2w,to:now))&_a=(discover:(columns:!(message,log_url,build_name,project,filename),interval:auto,sort:!()),metadata:(indexPattern:'94869730-aea8-11ec-9e6a-83741af3fdcd',view:discover))&_q=(filters:!(),query:(language:lucene,query:'message:%22The%20host%20cannot%20be%20added%20to%20the%20aggregate%20as%20the%20availability%20zone%22')) ** Affects: nova Importance: Undecided Status: New ** Tags: gate-failure -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/2096757 Title: gate: Cannot add host to aggregate ... Reason: The host cannot be added to the aggregate as the availability zone of the host would change from \'None\' to \'foo_zone\' but ... Status in OpenStack Compute (nova): New Bug description: I opened this bug to track the following failure seen in various gate jobs: test: tempest.serial_tests.scenario.test_aggregates_basic_ops.TestAggregatesBasicOps error message: tempest.lib.exceptions.Conflict: Conflict with state of target resource Details: {'code': 409, 'message': "Cannot add host to aggregate 19. Reason: The host cannot be added to the aggregate as the availability zone of the host would change from 'None' to 'foo_zone' but the host already has 2 instance(s). Changing the AZ of an existing instance is not supported by this action. Move the instances away from this host then try again. If you need to move the instances between AZs then you can use shelve_offload and unshelve to achieve this.."} I have seen this first in a neutron-ovs-tempest-multinode-full job run, however according to gate logsearch it happens in other jobs as well: devstack-plugin-nfs-tempest-full-fips devstack-plugin-nfs-tempest-full neutron-ovs-tempest-multinode-full neutron-ovs-tempest-dvr-ha-multinode-full example logs: https://1f60b37dcbd00092b7dc-4a63bffb654cd83f9f61f31a50d77a27.ssl.cf5.rackcdn.com/939786/2/check/neutron-ovs-tempest-multinode-full/51cf85f/testr_results.html logsearch link: https://opensearch.logs.openstack.org/_dashboards/app/data-explorer/discover/#?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-2w,to:now))&_a=(discover:(columns:!(message,log_url,build_name,project,filename),interval:auto,sort:!()),metadata:(indexPattern:'94869730-aea8-11ec-9e6a-83741af3fdcd',view:discover))&_q=(filters:!(),query:(language:lucene,query:'message:%22The%20host%20cannot%20be%20added%20to%20the%20aggregate%20as%20the%20availability%20zone%22')) To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/2096757/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp