Cinder Bad Request (HTTP 400)

asked 2015-09-03 23:50:55 -0500

Cobalt60 gravatar image

I've installed Cinder and when I attempt any commands I get a http 400 error. For instance,

cinder --debug list

   DEBUG:keystoneclient.session:REQ: curl -g -i -X GET http://<redacted_haproxy_address>:35357/v3 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
DEBUG:keystoneclient.session:RESP: [200] content-length: 265 vary: X-Auth-Token server: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 date: Fri, 04 Sep 2015 04:44:13 GMT content-type: application/json x-openstack-request-id: req-0b0b45f3-7ea3-49da-a2d7-9488b411fdb9
RESP BODY: {"version": {"status": "stable", "updated": "2015-03-30T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.4", "links": [{"href": "http://<redacted_haproxy_address>:35357/v3/", "rel": "self"}]}}

DEBUG:keystoneclient.auth.identity.v3.base:Making authentication request to http://<redacted_haproxy_address>:35357/v3/auth/tokens
DEBUG:keystoneclient.session:REQ: curl -g -i -X GET http://<redacted_haproxy_address>:8776/ -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
DEBUG:keystoneclient.session:RESP: [200] date: Fri, 04 Sep 2015 04:44:13 GMT content-length: 98 content-type: text/plain; charset=UTF-8
RESP BODY: 1.0
2007-01-19
2007-03-01
2007-08-29
2007-10-10
2007-12-15
2008-02-01
2008-09-01
2009-04-04
latest

WARNING:keystoneclient.auth.identity.base:Failed to contact the endpoint at http://<redacted_haproxy_address>:8776/v2/0200519d894c4c04a0e810ea18acac45 for discovery. Fallback to using that endpoint as the base url.
DEBUG:keystoneclient.auth.identity.v3.base:Making authentication request to http://<redacted_haproxy_address>:35357/v3/auth/tokens
DEBUG:keystoneclient.session:REQ: curl -g -i -X GET http://<redacted_haproxy_address>:8776/ -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
DEBUG:keystoneclient.session:RESP: [200] date: Fri, 04 Sep 2015 04:44:13 GMT content-length: 98 content-type: text/plain; charset=UTF-8
RESP BODY: 1.0
2007-01-19
2007-03-01
2007-08-29
2007-10-10
2007-12-15
2008-02-01
2008-09-01
2009-04-04
latest

WARNING:keystoneclient.auth.identity.base:Failed to contact the endpoint at http://<redacted_haproxy_address>:8776/v2/0200519d894c4c04a0e810ea18acac45 for discovery. Fallback to using that endpoint as the base url.
DEBUG:keystoneclient.session:REQ: curl -g -i -X GET http://<redacted_haproxy_address>:8776/ -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
DEBUG:keystoneclient.session:RESP: [200] date: Fri, 04 Sep 2015 04:44:13 GMT content-length: 98 content-type: text/plain; charset=UTF-8
RESP BODY: 1.0
2007-01-19
2007-03-01
2007-08-29
2007-10-10
2007-12-15
2008-02-01
2008-09-01
2009-04-04
latest

WARNING:keystoneclient.auth.identity.base:Failed to contact the endpoint at http://<redacted_haproxy_address>:8776/v2/0200519d894c4c04a0e810ea18acac45 for discovery. Fallback to using that endpoint as the base url.
DEBUG:keystoneclient.session:REQ: curl -g -i -X GET http://<redacted_haproxy_address>:8776/ -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
DEBUG:keystoneclient.session:RESP: [200] date: Fri, 04 Sep 2015 04:44:13 GMT content-length: 98 content-type: text/plain; charset=UTF-8
RESP BODY: 1.0
2007-01-19
2007-03-01
2007-08-29
2007-10-10
2007-12-15
2008-02-01
2008-09-01
2009-04-04
latest

WARNING:keystoneclient.auth.identity.base:Failed to contact the endpoint at http://<redacted_haproxy_address>:8776/v2/0200519d894c4c04a0e810ea18acac45 for discovery. Fallback to using that endpoint as the base url.
DEBUG:keystoneclient.session:REQ: curl -g -i -X GET http://<redacted_haproxy_address>:8776/v2/0200519d894c4c04a0e810ea18acac45/volumes/detail -H "User-Agent: python-cinderclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}eaecc380229e7d5c208d6abd290b3f4df231431f"
DEBUG:keystoneclient.session:RESP:
ERROR: Bad Request (HTTP 400)

My /etc/cinder/cinder.conf ... (more)

edit retag flag offensive close merge delete