Comment 10 for bug 1541656

Revision history for this message
Bogdan (bogdan-vatkov) wrote :

Yes, curl request to nova with the oauth scoped token works just fine! What does that mean now? How is the flow that goes to the keystone piece you mentioned happening? Could it be some api-paste.ini misconfiguration?

curl -H "X-Auth-Token: 81fe2525836549039d3ecd25fa5167cc" -X GET http://localhost:8774/v2.1/​f38f21172dcf4dc59660490da8b091f1/servers | python -m json.tool
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 690 100 690 0 0 648 0 0:00:01 0:00:01 --:--:-- 649
{
    "servers": [
        {
            "id": "eaec87f9-6e7c-46c8-8936-39f882843b52",
            "links": [
                {
                    "href": "http://localhost:8774/v2.1/f38f21172dcf4dc59660490da8b091f1/servers/eaec87f9-6e7c-46c8-8936-39f882843b52",
                    "rel": "self"
                },
                {
                    "href": "http://localhost:8774/f38f21172dcf4dc59660490da8b091f1/servers/eaec87f9-6e7c-46c8-8936-39f882843b52",
                    "rel": "bookmark"
                }
            ],
            "name": "pp"
        },
        {
            "id": "571516cb-378c-4eaf-955c-94286c3ae4bc",
            "links": [
                {
                    "href": "http://localhost:8774/v2.1/f38f21172dcf4dc59660490da8b091f1/servers/571516cb-378c-4eaf-955c-94286c3ae4bc",
                    "rel": "self"
                },
                {
                    "href": "http://localhost:8774/f38f21172dcf4dc59660490da8b091f1/servers/571516cb-378c-4eaf-955c-94286c3ae4bc",
                    "rel": "bookmark"
                }
            ],
            "name": "vm1"
        }
    ]
}