VMware: nova complained about snapshot not ready when creating VM from the snapshot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Rally received 400 when creating a VM from the snapshot created earlier from an instance.
Rally scenario snapshot_server will wait till the snapshot becomes READY which is odd to receive such kind of error.
Traceback (most recent call last):
File "/usr/local/
method_
File "/usr/local/
**kwargs)
File "/usr/local/
f = func(self, *args, **kwargs)
File "/usr/local/
**kwargs)
File "/usr/local/
**boot_kwargs)
File "/usr/local/
return_
File "/usr/local/
_resp, body = self.api.
File "/usr/local/
return self._cs_
File "/usr/local/
resp, body = self._time_
File "/usr/local/
resp, body = self.request(url, method, **kwargs)
File "/usr/local/
raise exceptions.
BadRequest: Image 6c450a07-
Further investigation revealed that the image was deleted by nova immediately after its status turned READY as the cleanup codes in vCenter
driver may throw an exception which triggered the delete_
When Rally tries to boot from the image later, nova complained about the missing images and threw 400 back to the client.
Changed in nova: | |
assignee: | nobody → Zhongcheng Lao (zlao) |
Changed in nova: | |
assignee: | Zhongcheng Lao (zlao) → Gary Kotton (garyk) |
Changed in nova: | |
assignee: | Gary Kotton (garyk) → Zhongcheng Lao (zlao) |
description: | updated |
Changed in nova: | |
status: | Incomplete → Confirmed |
Fix proposed to branch: master /review. openstack. org/216086
Review: https:/