snapshot fails in glance mode http in haproxy

Bug #1965986 reported by admin0
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Opinion
Undecided
Unassigned

Bug Description

Hi,

Tag: 24.0.1
Nova is using local disk
Glance and Cinder are on CEPH.

When you try to create a snapshot, it fails with this bug:
https://bugs.launchpad.net/glance/+bug/1916482

Fix:
in haproxy.cfg change the mode from http => tcp for glance frontend and backend.

Revision history for this message
Dmitriy Rabotyagov (noonedeadpunk) wrote :

I believe better solution to overcome that bug would be to disable uWSGI for glance. You can do that with setting `glance_use_uwsgi: False` in user_variables.yml

This happens because of different reasons:
* rbd_store_chunk_size is different for cinder/glance
* python-glanceclinet is used somewhere instead of python-openstackclient. I can imagine glanceclient can still be in use by some services, like horizon. The problem is that glanceclient does not support chunking of data that is expected by uwsgi. So disabling uwsgi should fix the issue.

Switching mode to tcp sounds for me like bringing another weird issues. As haproxy is supposed to terminate SSL, and it's not done in TCP mode. So if you have https proto for endpoints, I'd expect it failing to work until you configure glance or uwsgi to serve vie TLS which is not currently supported out of the box by OSA.

Changed in openstack-ansible:
status: New → Opinion
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.