provide min_disk attribute for images

Bug #1415535 reported by Peter Sabaini
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
simplestreams
Confirmed
Medium
Unassigned

Bug Description

Currently images are created with a min_disk=0 in glance:

$ glance image-show e033e913-73f2-4357-bc2a-f7afa8224689
+------------------------------+-----------------------------------------------------+
| Property | Value |
+------------------------------+-----------------------------------------------------+
...
| min_disk | 0 |

It would be good to have this set to the actual disk size where available. Eg. by extracting it via qemu-img

Revision history for this message
Scott Moser (smoser) wrote :

2 ways we could do this:
a.) simplstreams data should have it (in the source data on cloud-images.ubuntu.com)
    and then glance mirror would just trust that
b.) if qemu-img is availalbe we could use it.

note, that qemu-img now has '--output-format=json'.

Changed in simplestreams:
status: New → Confirmed
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.