[Starlingx-discuss] Image upload failed

open infra openinfradn at gmail.com
Tue Jul 13 12:04:40 UTC 2021


Hi Thiago,

Thanks for your reply.
I have a Starlingx  release 5, bare-metal deployment with dedicated
storage.
Currently, I have only one worker node and nova-local size of 133GB.
I can see allocated storage for nova-local is visible as the space
available at hypervisor.
I am expecting to run several Windows VMs with 100-200GB of C drive and 1TB
as a shared D: drive.

Over 23TB is available in Ceph storage. 4 OSDs and 2 storage hosts.


http://paste.openstack.org/show/807427/

On Tue, Jul 13, 2021 at 2:08 AM Brito, Thiago <Thiago.Brito at windriver.com>
wrote:

> Hi Mingyuan,
>
> I think you would be able to do that with something like
>
> system helm-override-update glance openstack --set conf.glance.DEFAULT.*image_size_cap*=2
>
> With that said, the default size of the image is 1TB, so I don't think
> that's your problem:
> https://docs.openstack.org/glance/ussuri/configuration/configuring.html#configuring-glance-image-size-limit
>
> From the logs you provided, it doesn't look like a quota issue. Your DB is
> gone. Can you provide more details about your environment and also check
> the status of the mariadb pods?
>
> Thiago
> ------------------------------
> *From:* open infra <openinfradn at gmail.com>
> *Sent:* Thursday, July 8, 2021 12:43 PM
> *To:* Qi, Mingyuan <mingyuan.qi at intel.com>
> *Cc:* starlingx-discuss at lists.starlingx.io <
> starlingx-discuss at lists.starlingx.io>
> *Subject:* Re: [Starlingx-discuss] Image upload failed
>
>
> [Please note: This e-mail is from an EXTERNAL e-mail address]
>
> Is it possible to update the value of *image_size_cap* in Glance config
> under StarlingX (stx-openstack)?
>
> On Thu, Jul 8, 2021 at 5:44 PM open infra <openinfradn at gmail.com> wrote:
>
> I was able to upload CentOS image which is around 1GB.
> http://paste.openstack.org/show/807260/
> <https://urldefense.com/v3/__https://www.google.com/url?q=http:**Apaste.openstack.org*show*807260*&sa=D&source=hangouts&ust=1625832634718000&usg=AFQjCNFjB2pd1anzaxlz_-RNtQjfr5PncA__;Ly8vLy8!!AjveYdw8EvQ!LwvAeccgnoQZ3mc_xph_nWopvUz7ODtwNv4ShKQXFWIahF6OezxN2Te22HPF4DftJoM_$>
>
> Is there a quota related to image upload?
> Where exactly I can alter if such limit exist.
>
>
>
> On Thu, Jul 8, 2021 at 2:21 PM open infra <openinfradn at gmail.com> wrote:
>
> Hi Mingyuan,
>
> I have increased kubelet size from 10 to 200. But still no luck.
> http://paste.openstack.org/show/807252/
> <https://urldefense.com/v3/__http://paste.openstack.org/show/807252/__;!!AjveYdw8EvQ!LwvAeccgnoQZ3mc_xph_nWopvUz7ODtwNv4ShKQXFWIahF6OezxN2Te22HPF4Pedn4p1$>
> tried with --debug option http://paste.openstack.org/show/807253/
> <https://urldefense.com/v3/__http://paste.openstack.org/show/807253/__;!!AjveYdw8EvQ!LwvAeccgnoQZ3mc_xph_nWopvUz7ODtwNv4ShKQXFWIahF6OezxN2Te22HPF4AENR3GN$>
>
> BTW I found errors inthe openstack_glace-api- log.
>  http://paste.openstack.org/show/807250/
> <https://urldefense.com/v3/__http://paste.openstack.org/show/807250/__;!!AjveYdw8EvQ!LwvAeccgnoQZ3mc_xph_nWopvUz7ODtwNv4ShKQXFWIahF6OezxN2Te22HPF4GzccYjJ$>
> http://paste.openstack.org/show/807254/
> <https://urldefense.com/v3/__http://paste.openstack.org/show/807254/__;!!AjveYdw8EvQ!LwvAeccgnoQZ3mc_xph_nWopvUz7ODtwNv4ShKQXFWIahF6OezxN2Te22HPF4LXn9S-_$>
>
> Regards,
> Danishka
>
> On Thu, Jul 8, 2021 at 1:51 PM Qi, Mingyuan <mingyuan.qi at intel.com> wrote:
>
> Danishka,
>
>
>
> You will need to extend kubelet-lv to enlarge glance pod’s disk cache.
>
>
>
> For example:
>
> system host-fs-modify controller-0 kubelet=100
>
> system host-fs-modify controller-1 kubelet=100
>
>
>
> Mingyuan
>
>
>
> *From:* open infra <openinfradn at gmail.com>
> *Sent:* Thursday, July 8, 2021 16:07
> *To:* starlingx-discuss at lists.starlingx.io
> *Subject:* [Starlingx-discuss] Image upload failed
>
>
>
> Hi
>
>
>
> I was supposed to upload Windows (qcow2) image, but it failed.
>
> I was able to upload both fedora and centos images. Windows image is
> around 100GB.
>
> http://paste.openstack.org/show/807238/
> <https://urldefense.com/v3/__http://paste.openstack.org/show/807238/__;!!AjveYdw8EvQ!LwvAeccgnoQZ3mc_xph_nWopvUz7ODtwNv4ShKQXFWIahF6OezxN2Te22HPF4OPLgmt_$>
>
>
>
>
>
> controller-1:/images$ openstack endpoint list | grep glance
> | 6c7c6662b5274e61afec25a67e2f13a8 | RegionOne | glance | image | True |
> public | http://glance.openstack.svc.cluster.local/
> <https://urldefense.com/v3/__https://www.google.com/url?q=http:**Aglance.openstack.svc.cluster.local*&sa=D&source=hangouts&ust=1625765546041000&usg=AFQjCNH0mCzivOEFN0MEHDzj1eAYywrTIQ__;Ly8v!!AjveYdw8EvQ!LwvAeccgnoQZ3mc_xph_nWopvUz7ODtwNv4ShKQXFWIahF6OezxN2Te22HPF4LeawR_m$>
> |
> | 855c1127607749faa5896417a559a47a | RegionOne | glance | image | True |
> internal | http://glance.openstack.svc.cluster.local/
> <https://urldefense.com/v3/__https://www.google.com/url?q=http:**Aglance.openstack.svc.cluster.local*&sa=D&source=hangouts&ust=1625765546041000&usg=AFQjCNH0mCzivOEFN0MEHDzj1eAYywrTIQ__;Ly8v!!AjveYdw8EvQ!LwvAeccgnoQZ3mc_xph_nWopvUz7ODtwNv4ShKQXFWIahF6OezxN2Te22HPF4LeawR_m$>
> |
> | cc5ca27d344c48e287657feee449916b | RegionOne | glance | image | True |
> admin | http://glance.openstack.svc.cluster.local/
> <https://urldefense.com/v3/__https://www.google.com/url?q=http:**Aglance.openstack.svc.cluster.local*&sa=D&source=hangouts&ust=1625765546041000&usg=AFQjCNH0mCzivOEFN0MEHDzj1eAYywrTIQ__;Ly8v!!AjveYdw8EvQ!LwvAeccgnoQZ3mc_xph_nWopvUz7ODtwNv4ShKQXFWIahF6OezxN2Te22HPF4LeawR_m$>
> |
> controller-1:/images$
>
>
>
> $ openstack image list
> +--------------------------------------+-----------+--------+
> | ID | Name | Status |
> +--------------------------------------+-----------+--------+
> | 0079f06a-498c-453c-a8fd-0ade7ac2f258 | CentOS-8 | active |
> | dad6dfdc-b281-4592-928b-cf64b47f5b3a | Fedora-34 | active |
>
>
>
>
>
> I appreciate if  I can get any hint or guide to resolve this.
>
>
>
> Regard
>
> Danishka
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20210713/d5c93624/attachment-0001.html>


More information about the Starlingx-discuss mailing list