Validate size of vhd files in OVF containers
Bug #824034 reported by
Antony Messerli
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Josh Kearney |
Bug Description
Validate the size of VHD files in OVF containers. Today image.vhd and swap.vhd are checked for in an OVF container. There currently aren't checks to ensure the size of both hasn't exceeded the size of the given instance_type. If the instance_type allocates 40GB of space, validation needs to occur on the contents of the OVF image to ensure that the total amount of storage doesn't exceed 40GB.
Related branches
lp:~jk0/nova/lp824034
- Matt Dietz (community): Approve
- Rick Harris (community): Approve
- Dan Prince (community): Needs Fixing
-
Diff: 287 lines (+133/-14)7 files modifiednova/compute/manager.py (+53/-0)
nova/exception.py (+4/-0)
nova/tests/scheduler/test_scheduler.py (+3/-1)
nova/tests/xenapi/stubs.py (+2/-2)
nova/virt/xenapi/fake.py (+1/-0)
nova/virt/xenapi/vm_utils.py (+67/-8)
nova/virt/xenapi/vmops.py (+3/-3)
Changed in nova: | |
status: | New → In Progress |
assignee: | nobody → Josh Kearney (jk0) |
Changed in nova: | |
importance: | Undecided → Medium |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → diablo-4 |
Changed in nova: | |
milestone: | diablo-4 → 2011.3 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.