The above patches causing 2 issues:
1. tempest.api.compute.servers.test_server_actions test fail leaving the servers in ERROR state.
2. Unable to delete those servers using nova delete.
The patch was to disable cache refresh in allocate_for_instance, allocate_port_for_instance and deallocate_port_for_instance methods. This is breaking the nova boot process when the servers are created using the above tempest test. However, we could create servers using nova boot api, manually. It is likely because the cache is disabled while allocating the instance.
The servers created using above test is left in ERROR state and we are unable to delete them. It is likely because the cache is disabled while deallocating the instance and/or port.
NOTE:
If we restore the @refresh_sync decorator against those methods and do not use the decorate in _get_instance_nw_info, the the above tempest test is successful. I have not tested it when deleting the VM.
Sounds like a regression caused by following commits: /github. com/openstack/ nova/commit/ 1957339df302e2d a75e0dbe78b5d56 6194ab2c08 /github. com/openstack/ nova/commit/ 651fac3d5d250d4 2e640c3ac113084 bf0d2fa3b4
1. https:/
2. https:/
The above patches causing 2 issues: api.compute. servers. test_server_ actions test fail leaving the servers in ERROR state.
1. tempest.
2. Unable to delete those servers using nova delete.
The patch was to disable cache refresh in allocate_ for_instance, allocate_ port_for_ instance and deallocate_ port_for_ instance methods. This is breaking the nova boot process when the servers are created using the above tempest test. However, we could create servers using nova boot api, manually. It is likely because the cache is disabled while allocating the instance.
The servers created using above test is left in ERROR state and we are unable to delete them. It is likely because the cache is disabled while deallocating the instance and/or port.
NOTE: nw_info, the the above tempest test is successful. I have not tested it when deleting the VM.
If we restore the @refresh_sync decorator against those methods and do not use the decorate in _get_instance_