Could not delete lease when associated resource is missing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Blazar |
Won't Fix
|
Medium
|
Christian Martinez |
Bug Description
Steps:
* create a virtual instance with a lease that starts now (VM status = active)
* terminate instance
* try to delete the lease.
Expected:
* lease should be deleted or suspended
Actual:
* INTERNAL SERVER ERROR received:
** lease cannot be deleted due to missing resource:
File "/opt/stack/
return func(**kwargs)
File "/opt/stack/
return func(*args, **kwargs)
File "/opt/stack/
_api.
File "/opt/stack/
return getattr(
File "/opt/stack/
return func(self, *args, **kwargs)
File "/opt/stack/
self.
File "/opt/stack/
return self.call(
File "/opt/stack/
return self._client.
File "/opt/stack/
return self.prepare(
File "/opt/stack/
wait_
File "/opt/stack/
timeout=
File "/opt/stack/
return self._send(target, ctxt, message, wait_for_reply, timeout)
File "/opt/stack/
raise result
RemoteError: Remote error: Unauthorized Could not find project, 9b1a4856b7be440
Changed in climate: | |
assignee: | nobody → Christian Martinez (christian-martinez) |
As for the solution for this moment, it'll be easy to be implemented after https:/ /blueprints. launchpad. net/climate/ +spec/lease- state will be implemented - it'll be clear if lease is inactive because of resource removed, for instance.