Comment 4 for bug 1775782

Revision history for this message
Paul Bourke (pauldbourke) wrote :

Just to add a slightly different perspective on this:

I'm deploying Glance via kolla-ansible, which does *not* use any of the wsgi deployment modes, sticking to the default out of the box eventlet model. After following the guide to enable metadata injection[0], the config appears to be completely ignored, and none of the relevant code paths are touched (verified via debugging).

The only part of the code I can see that touches glance-image-import.conf is wsgi_app.py[1], which runs contrary to the statement that this only works via eventlet.

Can someone verify this has been tested using eventlet?

[0] https://docs.openstack.org/glance/latest/admin/interoperable-image-import.html#configuring-the-glance-direct-method
[1] https://github.com/openstack/glance/blob/master/glance/common/wsgi_app.py#L29