How to authenticate to HTTP proxy with OpenStack Python CLIs?

asked 2015-10-12 11:10:40 -0500

Michael Steffens gravatar image

updated 2015-10-12 11:15:56 -0500

I need to communicate to OpenStack API services (keystone, nova, ...) via a HTTP proxy requiring basic authentication.

Using enviroment variable


doesn't do the trick, however. As I can observe using tcpdump, the Python client actually does route traffic to the proxy address, but it does not include any "Proxy-Authorization" headers. So all my attempts get blocked, for example:

$ keystone tenant-list
Authorization Failed: Proxy Authentication Required (HTTP 407)
edit retag flag offensive close merge delete