Bug 1310578
Summary: | Horizon unable to create volume from image qcow with min_disk set to 0 - size issue | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Cyril Lopez <cylopez> |
Component: | openstack-glance | Assignee: | Cyril Roelandt <cyril> |
Status: | CLOSED UPSTREAM | QA Contact: | nlevinki <nlevinki> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 (Kilo) | CC: | aortega, athomas, cylopez, egafford, eglynn, fpercoco, mrunge, scohen, sgotliv, srevivo |
Target Milestone: | --- | Flags: | cylopez:
needinfo-
|
Target Release: | 10.0 (Newton) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-07-27 14:55:54 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Cyril Lopez
2016-02-22 10:00:09 UTC
horizon uses a tmp dir FILE_UPLOAD_TEMP_DIR which should be big enough to contain the uploaded file. If that's not set, it defaults to /tmp Could you please check that? (In reply to Matthias Runge from comment #1) > horizon uses a tmp dir > FILE_UPLOAD_TEMP_DIR > which should be big enough to contain the uploaded file. > If that's not set, it defaults to /tmp > > Could you please check that? I'm sorry but is not during the upload in glance time. Is when you ask for a volume from an image already in glance. FYI: [root@xxx-ctrl02 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 279G 18G 262G 7% / devtmpfs 63G 0 63G 0% /dev tmpfs 63G 39M 63G 1% /dev/shm tmpfs 63G 3.2M 63G 1% /run tmpfs 63G 0 63G 0% /sys/fs/cgroup tmpfs 13G 0 13G 0% /run/user/991 tmpfs 13G 0 13G 0% /run/user/992 tmpfs 13G 0 13G 0% /run/user/1000 sorry, I fail to follow here. This bug is about letting you to create a volume with insufficient size? After verification, if min_disk is not set, glance provide disk size and not virtual size. so, my takeaway is here: you create an image in glance, but for qcows, you have to specify a min_disk size. This bug is something like a RFE to update images to set the min_disk size from introspected qcows. @Cyril: I'm not sure I really understand where Glance comes into play, here, since you said it was an issue between Cinder and Horizon. Or does this only happen with images created through Glance? If so, how did you create it? iirc, this is the request to let glance set min_disk size automatically with a sane value. Apparently, this is not being done. |