Failed to access /os-volumes with keystone v3 tokens

Bug #1202553 reported by Yang Yu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-cinderclient
New
Undecided
Unassigned

Bug Description

Steps:
1. POST http://9.125.13.71:5000/v3/auth/tokens to get tokens(X-Subject-Tokens)

{
    "auth": {
        "identity": {
            "methods": [
                "password"
            ],
            "password": {
            "user": {
                "name": "sceagent",
                "password": "openstack1",
              "domain": {
                   "id": "default"
                  }
            }
            }
        },
        "scope": {
            "project": {
                "domain": {
                    "id": "default"
                },
                "name": "Public"
            }
        }
    }
}

2. GET http://9.125.13.71:8774/v2/0854e670bfd74b7697a8b42c1bc77afd/os-volumes with the token gotten in step 1

Issue:
Get code 500 in step 2
{
    "computeFault": {
        "message": "The server has either erred or is incapable of performing the requested operation.",
        "code": 500
    }
}

The error log is in file '/var/log/nova/api.log'

File "/usr/lib/python2.6/site-packages/cinderclient/service_catalog.py", line 75, in url_for
2013-07-17 02:02:16.611 4104 TRACE nova.api.openstack endpoints=matching_endpoints)
2013-07-17 02:02:16.611 4104 TRACE nova.api.openstack AmbiguousEndpoints: AmbiguousEndpoints: [{u'url': u'http://9.125.13.100:8776/v1/0854e670bfd74b7697a8b42c1bc77afd', u'region': u'regionOne', u'legacy_endpoint_id': u'13937506cb76414f9fb045e35b8b0f43', 'serviceName': None, u'interface': u'admin', u'id': u'da31b7afb36c4d63a8eb3f64145a6a93'}, {u'url': u'http://9.125.13.100:8776/v1/0854e670bfd74b7697a8b42c1bc77afd', u'region': u'regionOne', u'legacy_endpoint_id': u'13937506cb76414f9fb045e35b8b0f43', 'serviceName': None, u'interface': u'internal', u'id': u'a2d8da45891d4edf8f4792183f5ac055'}, {u'url': u'http://9.125.13.100:8776/v1/0854e670bfd74b7697a8b42c1bc77afd', u'region': u'regionOne', u'legacy_endpoint_id': u'13937506cb76414f9fb045e35b8b0f43', 'serviceName': None, u'interface': u'public', u'id': u'd1745d9550534d53bc77a87cf75f234b'}]

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.