snapshot fails in glance mode http in haproxy
Bug #1965986 reported by
admin0
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:/
Fix:
in haproxy.cfg change the mode from http => tcp for glance frontend and backend.
Changed in openstack-ansible: | |
status: | New → Opinion |
To post a comment you must log in.
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: chunk_size is different for cinder/glance 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.
* rbd_store_
* python-glanceclinet is used somewhere instead of python-
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.