← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2065538] [NEW] images with bigger size failed to push through horizon

 

Public bug reported:

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-private-bf0f1d5622ae4b1bba0d7c34c7530e4f-apache2.service-sAg1Hg/tmp/tmpr5z6fm55.upload.img
```

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-e9cbb4-5-lxd-19:~# df -h /tmp
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

** Affects: horizon
     Importance: Undecided
         Status: New

** Summary changed:

- images greater than 2G failed to push through horizon
+ images with bigger size failed to push through horizon

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/2065538

Title:
  images with bigger size failed to push through horizon

Status in OpenStack Dashboard (Horizon):
  New

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-private-bf0f1d5622ae4b1bba0d7c34c7530e4f-apache2.service-sAg1Hg/tmp/tmpr5z6fm55.upload.img
  ```

  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-e9cbb4-5-lxd-19:~# df -h /tmp
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/2065538/+subscriptions