Public bug reported: This is a recent regression:
https://review.openstack.org/#/c/493834/3/nova/compute/resource_tracker.py http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22Failed%20to%20clean%20allocation%20of%20a%20shelve%20offloaded%5C%22%20AND%20tags%3A%5C%22screen-n-cpu.txt%5C%22&from=7d http://logs.openstack.org/58/496858/1/check/gate-tempest-dsvm-neutron- scenario-multinode-lvm-multibackend-ubuntu-xenial- nv/eea4ffd/logs/screen-n-cpu.txt#_Aug_23_21_05_33_438007 Aug 23 21:05:33.438007 ubuntu-xenial-2-node-rax-iad-10587240 nova- compute[10028]: ERROR nova.compute.resource_tracker [None req-51d8a00f- 35e1-489a-b070-edaad0b4c401 tempest-test_creds-1988617175 tempest- test_creds-1988617175] [instance: 1fb82ba9-6157-4c66-84f8-b97ed5a4fd84] Failed to clean allocation of a shelve offloaded instance This is because the delete_allocation_for_instance method doesn't return anything, and "if not None" is always True. ** Affects: nova Importance: High Assignee: Matt Riedemann (mriedem) Status: In Progress ** Affects: nova/pike Importance: Undecided Status: New ** Tags: compute pike-rc-potential ** Changed in: nova Assignee: (unassigned) => Matt Riedemann (mriedem) ** Changed in: nova Importance: Undecided => High ** Changed in: nova Status: New => Triaged -- 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/1712689 Title: shelve offloading an instance always results in an error being logged Status in OpenStack Compute (nova): In Progress Status in OpenStack Compute (nova) pike series: New Bug description: This is a recent regression: https://review.openstack.org/#/c/493834/3/nova/compute/resource_tracker.py http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22Failed%20to%20clean%20allocation%20of%20a%20shelve%20offloaded%5C%22%20AND%20tags%3A%5C%22screen-n-cpu.txt%5C%22&from=7d http://logs.openstack.org/58/496858/1/check/gate-tempest-dsvm-neutron- scenario-multinode-lvm-multibackend-ubuntu-xenial- nv/eea4ffd/logs/screen-n-cpu.txt#_Aug_23_21_05_33_438007 Aug 23 21:05:33.438007 ubuntu-xenial-2-node-rax-iad-10587240 nova- compute[10028]: ERROR nova.compute.resource_tracker [None req- 51d8a00f-35e1-489a-b070-edaad0b4c401 tempest-test_creds-1988617175 tempest-test_creds-1988617175] [instance: 1fb82ba9-6157-4c66-84f8-b97ed5a4fd84] Failed to clean allocation of a shelve offloaded instance This is because the delete_allocation_for_instance method doesn't return anything, and "if not None" is always True. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1712689/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

