Image upload reads the entire image into memory?
Bug #2107802 reported by
Dan Smith
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| python-openstackclient |
In Progress
|
Undecided
|
Unassigned | ||
Bug Description
This command:
openstack image create foo --disk-format=raw < /dev/zero
Will run until it OOMs without even sending any image data to glance before it does. Seems like it's reading the entire image from stdin? This also happens with --file /dev/zero.
To post a comment you must log in.
I just edited the description to indicate that this happens with --file as well. I was mistaken about that initially, as I tested --file with glanceclient (which does not suffer from this problem).