GLANCE_ENABLE_QUOTAS=true seems to cause 502 error when creating an image

Bug #1938151 reported by Bharat Kunwar
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Glance
Invalid
Undecided
Unassigned
devstack
Expired
Undecided
Unassigned

Bug Description

Since [1] merged on Devstack, Magnum CI [2] has been reporting 502 errors when uploading images to Glance.

```
++ functions:_upload_image:121 : openstack --os-cloud=devstack-admin --os-region-name=RegionOne image create Fedora-Cloud-Base-33-1.2.x86_64 --public --container-format bare --disk-format qcow2 --property hw_rng_model=virtio
HttpException: 502: Server Error for url: https://10.210.32.131/image/v2/images/3dc75f76-cbb5-47a3-ab48-f81c127947e9/file, response from an upstream server.: The proxy server received an invalid: Bad Gateway: 502 Bad Gateway: Apache/2.4.41 (Ubuntu) Server at 10.210.32.131 Port 80
+ functions:_upload_image:1 : exit_trap
```

[1] https://review.opendev.org/c/openstack/devstack/+/788056
[2] https://zuul.opendev.org/t/openstack/build/b5e49d2229754bd99fc4ec21d6abd2b1

Revision history for this message
Dan Smith (danms) wrote :

If the image is large, then you likely need to increase your glance quota size in your job. I'm not sure why it's getting a 500 like that, as I don't see anything in the logs about that on look. Since you're using a fedora image, I'm guessing that's the problem.

https://github.com/openstack/devstack/blob/master/doc/source/configuration.rst#glance

Revision history for this message
Takashi Kajinami (kajinamit) wrote :

Let's see whether the suggested setting can help.
 https://review.opendev.org/c/openstack/magnum/+/802542

Revision history for this message
Martin Kopec (mkopec) wrote :

Seem https://review.opendev.org/c/openstack/magnum-tempest-plugin/+/802539/ solve the issue for magnum .. is there anything else to be addressed here, or can we close this bug for both, glance and devstack?

Changed in glance:
status: New → Incomplete
Changed in devstack:
status: New → Incomplete
Revision history for this message
Cyril Roelandt (cyril-roelandt) wrote :

Marking this bug as "Invalid" because it's not actually a Glance issue.

Changed in glance:
status: Incomplete → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for devstack because there has been no activity for 60 days.]

Changed in devstack:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.