images with bigger size failed to push through horizon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
We faced an issue while pushing the image through horizon.
Problem:
we tried to to upload a 5.5G image through Horizon webui. That fails, but the CLI works.
We ran some tests and found that /tmp is being used to hold the temporary file.
```
8.5M /tmp/systemd-
```
There is no option for direct glance transfer right now.
It seems that the default and only available mode for horizon I can see right now is to use tmpfs (/tmp) to store the image on disk first and then push it to glance. Its current size is only 2G
```
root@juju-
Filesystem Size Used Avail Use% Mounted on
tmpfs 2.0G 139M 1.9G 7% /tmp
```
Eventhough it is true we have a workaround(Increase the size of fstab), we do need to make the functionality work in Horizon.
We would want to raise a feature request for direct upload images to glance without using any /tmp as an intermediate location.
Thanks
summary: |
- images greater than 2G failed to push through horizon + images with bigger size failed to push through horizon |
AFAIK the horizon already provides the feature to accept direct image upload to glance. Did you configure the HORIZON_ IMAGES_ UPLOAD_ MODE option ?
https:/ /docs.openstack .org/horizon/ latest/ configuration/ settings. html#horizon- images- upload- mode