xenapi: resize to size too small for disk fails badly
Bug #1155066 reported by
John Garbutt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
John Garbutt |
Bug Description
Repo Steps:
- Create instance, maybe with 10GB disk
- Use image with auto_disk_
- Fill up 6GB of space, with dd or whatever
- Request resize down to 5GB flavour
Expected:
- request is rejected, disk is too big
Actual:
- request accepted
- image shutdown and marked as error
Changed in nova: | |
milestone: | none → havana-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-1 → 2013.2 |
To post a comment you must log in.
I am looking at options to fix this, we may need a can_resize call to go down to the driver from the API layer.