--- http_interactions: - request: method: get uri: http://devstack.openstack.stack:35357/v3/roles?name=foobar&page=1&per_page=30 body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json Accept: - application/json X-Auth-Token: - d8291e2a2a2046259316f7c2d4253e92 response: status: code: 401 message: '' headers: Www-Authenticate: - Keystone uri="http://devstack.openstack.stack:35357" Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Type: - application/json Content-Length: - '114' Date: - Mon, 23 Mar 2015 09:25:26 GMT body: encoding: US-ASCII string: ! '{"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}' http_version: recorded_at: Mon, 23 Mar 2015 09:25:26 GMT - request: method: post uri: http://devstack.openstack.stack:5000/v3/auth/tokens body: encoding: UTF-8 string: ! '{"auth":{"identity":{"methods":["password"],"password":{"user":{"password":"openstack","id":"8d5732a0ebd9485396351d74e24c9647"}}},"scope":{"project":{"name":"admin","domain":{"id":"default"}}}}}' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json response: status: code: 201 message: '' headers: X-Subject-Token: - 6430c4d643834dd48af5ba347638d2ac Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Type: - application/json Content-Length: - '2254' Date: - Mon, 23 Mar 2015 09:25:26 GMT body: encoding: US-ASCII string: ! '{"token": {"methods": ["password"], "roles": [{"id": "7ebef8a2837246eda8f83f96ffb82b2f", "name": "admin"}], "expires_at": "2015-03-23T10:25:26.823674Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "c7767afa57b74f33863a420daba5f57f", "name": "admin"}, "catalog": [{"endpoints": [{"url": "http://devstack.openstack.stack:35357/v2.0", "region": "europe", "interface": "public", "id": "0b4b1e907e184880a1c3f32f00cd676f"}, {"url": "http://devstack.openstack.stack:35357/v2.0", "region": "europe", "interface": "admin", "id": "53d872f1c5d04f35ac69509e41600c0b"}, {"url": "http://devstack.openstack.stack:35357/v2.0", "region": "europe", "interface": "internal", "id": "67aa3eedc510444faadb9ef3c7e8b2e4"}], "type": "identity", "id": "8e53f1d389df4059aeab1acfece2fc66", "name": "keystone"}, {"endpoints": [{"url": "http://devstack.openstack.stack:35357/v3", "region": "europe", "interface": "internal", "id": "7002cfd6dbe74512b0b817d3b7380abb"}, {"url": "http://devstack.openstack.stack:35357/v3", "region": "europe", "interface": "public", "id": "a7c634aa7f034284b62ddf974ddc04eb"}, {"url": "http://devstack.openstack.stack:35357/v3", "region": "europe", "interface": "admin", "id": "cba56e3e7a9c4ddfb39e1e4053bd04ab"}], "type": "identity_v3", "id": "a47e0f0014fa409993cef0bd984a5ac6", "name": "identity_v3"}, {"endpoints": [{"url": "http://localhost/testurl/c7767afa57b74f33863a420daba5f57f", "region": "europe", "interface": "public", "id": "3387dfbf7bc440728e7aa1488f6ca96e"}], "type": "test_stefan", "id": "d36a1f72832b428688b7dae7d0ab8a39", "name": "test_stefan"}, {"endpoints": [{"url": "http://devstack.openstack.stack:9292", "region": "europe", "interface": "public", "id": "0dabc688a031422381d3c92b7dfdfe4c"}, {"url": "http://devstack.openstack.stack:9292", "region": "europe", "interface": "admin", "id": "768f3eb8b29d49a19c4d50a85541d42e"}, {"url": "http://devstack.openstack.stack:9292", "region": "europe", "interface": "internal", "id": "a0c5556c80e448aca907a3ee785bd602"}], "type": "image", "id": "ee073ec39e804cca96d2440d8f109932", "name": "glance"}], "extras": {}, "user": {"domain": {"id": "default", "name": "Default"}, "id": "8d5732a0ebd9485396351d74e24c9647", "name": "admin"}, "issued_at": "2015-03-23T09:25:26.823703Z"}}' http_version: recorded_at: Mon, 23 Mar 2015 09:25:26 GMT - request: method: get uri: http://devstack.openstack.stack:35357/v3/roles?name=foobar&page=1&per_page=30 body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 6430c4d643834dd48af5ba347638d2ac response: status: code: 200 message: '' headers: Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Type: - application/json Content-Length: - '114' Date: - Mon, 23 Mar 2015 09:25:26 GMT body: encoding: US-ASCII string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/roles", "previous": null, "next": null}, "roles": []}' http_version: recorded_at: Mon, 23 Mar 2015 09:25:26 GMT - request: method: get uri: http://devstack.openstack.stack:35357/v3/roles?name=foobar&page=1&per_page=30 body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 6430c4d643834dd48af5ba347638d2ac response: status: code: 200 message: '' headers: Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Type: - application/json Content-Length: - '114' Date: - Mon, 23 Mar 2015 09:25:27 GMT body: encoding: US-ASCII string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/roles", "previous": null, "next": null}, "roles": []}' http_version: recorded_at: Mon, 23 Mar 2015 09:25:27 GMT - request: method: get uri: http://devstack.openstack.stack:35357/v3/roles?name=baz&page=1&per_page=30 body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 6430c4d643834dd48af5ba347638d2ac response: status: code: 200 message: '' headers: Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Type: - application/json Content-Length: - '114' Date: - Mon, 23 Mar 2015 09:25:27 GMT body: encoding: US-ASCII string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/roles", "previous": null, "next": null}, "roles": []}' http_version: recorded_at: Mon, 23 Mar 2015 09:25:27 GMT - request: method: get uri: http://devstack.openstack.stack:35357/v3/roles?name=baz&page=1&per_page=30 body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 6430c4d643834dd48af5ba347638d2ac response: status: code: 200 message: '' headers: Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Type: - application/json Content-Length: - '114' Date: - Mon, 23 Mar 2015 09:25:27 GMT body: encoding: US-ASCII string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/roles", "previous": null, "next": null}, "roles": []}' http_version: recorded_at: Mon, 23 Mar 2015 09:25:27 GMT - request: method: post uri: http://devstack.openstack.stack:35357/v3/roles body: encoding: UTF-8 string: ! '{"role":{"name":"foobar"}}' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 6430c4d643834dd48af5ba347638d2ac response: status: code: 201 message: '' headers: Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Type: - application/json Content-Length: - '172' Date: - Mon, 23 Mar 2015 09:25:27 GMT body: encoding: US-ASCII string: ! '{"role": {"id": "7c660edd59564b28ad4e6533b5b1a92f", "links": {"self": "http://devstack.openstack.stack:35357/v3/roles/7c660edd59564b28ad4e6533b5b1a92f"}, "name": "foobar"}}' http_version: recorded_at: Mon, 23 Mar 2015 09:25:27 GMT - request: method: get uri: http://devstack.openstack.stack:35357/v3/roles?name=foobar&page=1&per_page=30 body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 6430c4d643834dd48af5ba347638d2ac response: status: code: 200 message: '' headers: Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Type: - application/json Content-Length: - '276' Date: - Mon, 23 Mar 2015 09:25:27 GMT body: encoding: US-ASCII string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/roles", "previous": null, "next": null}, "roles": [{"id": "7c660edd59564b28ad4e6533b5b1a92f", "links": {"self": "http://devstack.openstack.stack:35357/v3/roles/7c660edd59564b28ad4e6533b5b1a92f"}, "name": "foobar"}]}' http_version: recorded_at: Mon, 23 Mar 2015 09:25:27 GMT - request: method: patch uri: http://devstack.openstack.stack:35357/v3/roles/7c660edd59564b28ad4e6533b5b1a92f body: encoding: UTF-8 string: ! '{"role":{"name":"baz"}}' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 6430c4d643834dd48af5ba347638d2ac response: status: code: 200 message: '' headers: Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Type: - application/json Content-Length: - '169' Date: - Mon, 23 Mar 2015 09:25:27 GMT body: encoding: US-ASCII string: ! '{"role": {"id": "7c660edd59564b28ad4e6533b5b1a92f", "links": {"self": "http://devstack.openstack.stack:35357/v3/roles/7c660edd59564b28ad4e6533b5b1a92f"}, "name": "baz"}}' http_version: recorded_at: Mon, 23 Mar 2015 09:25:27 GMT - request: method: get uri: http://devstack.openstack.stack:35357/v3/roles?name=baz&page=1&per_page=30 body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 6430c4d643834dd48af5ba347638d2ac response: status: code: 200 message: '' headers: Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Type: - application/json Content-Length: - '273' Date: - Mon, 23 Mar 2015 09:25:28 GMT body: encoding: US-ASCII string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/roles", "previous": null, "next": null}, "roles": [{"id": "7c660edd59564b28ad4e6533b5b1a92f", "links": {"self": "http://devstack.openstack.stack:35357/v3/roles/7c660edd59564b28ad4e6533b5b1a92f"}, "name": "baz"}]}' http_version: recorded_at: Mon, 23 Mar 2015 09:25:28 GMT - request: method: get uri: http://devstack.openstack.stack:35357/v3/roles?page=1&per_page=30 body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 6430c4d643834dd48af5ba347638d2ac response: status: code: 200 message: '' headers: Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Type: - application/json Content-Length: - '675' Date: - Mon, 23 Mar 2015 09:25:28 GMT body: encoding: US-ASCII string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/roles", "previous": null, "next": null}, "roles": [{"id": "7c660edd59564b28ad4e6533b5b1a92f", "links": {"self": "http://devstack.openstack.stack:35357/v3/roles/7c660edd59564b28ad4e6533b5b1a92f"}, "name": "baz"}, {"id": "7ebef8a2837246eda8f83f96ffb82b2f", "links": {"self": "http://devstack.openstack.stack:35357/v3/roles/7ebef8a2837246eda8f83f96ffb82b2f"}, "name": "admin"}, {"links": {"self": "http://devstack.openstack.stack:35357/v3/roles/9fe2ff9ee4384b1894a90878d3e92bab"}, "enabled": "True", "description": "Default role for project membership", "name": "_member_", "id": "9fe2ff9ee4384b1894a90878d3e92bab"}]}' http_version: recorded_at: Mon, 23 Mar 2015 09:25:28 GMT - request: method: delete uri: http://devstack.openstack.stack:35357/v3/roles/7c660edd59564b28ad4e6533b5b1a92f body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 6430c4d643834dd48af5ba347638d2ac response: status: code: 204 message: '' headers: Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Length: - '0' Date: - Mon, 23 Mar 2015 09:25:28 GMT body: encoding: US-ASCII string: '' http_version: recorded_at: Mon, 23 Mar 2015 09:25:28 GMT - request: method: get uri: http://devstack.openstack.stack:35357/v3/roles?page=1&per_page=30 body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 6430c4d643834dd48af5ba347638d2ac response: status: code: 200 message: '' headers: Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Type: - application/json Content-Length: - '514' Date: - Mon, 23 Mar 2015 09:25:28 GMT body: encoding: US-ASCII string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/roles", "previous": null, "next": null}, "roles": [{"id": "7ebef8a2837246eda8f83f96ffb82b2f", "links": {"self": "http://devstack.openstack.stack:35357/v3/roles/7ebef8a2837246eda8f83f96ffb82b2f"}, "name": "admin"}, {"links": {"self": "http://devstack.openstack.stack:35357/v3/roles/9fe2ff9ee4384b1894a90878d3e92bab"}, "enabled": "True", "description": "Default role for project membership", "name": "_member_", "id": "9fe2ff9ee4384b1894a90878d3e92bab"}]}' http_version: recorded_at: Mon, 23 Mar 2015 09:25:28 GMT - request: method: get uri: http://devstack.openstack.stack:35357/v3/roles/7c660edd59564b28ad4e6533b5b1a92f body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 6430c4d643834dd48af5ba347638d2ac response: status: code: 404 message: '' headers: Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Type: - application/json Content-Length: - '115' Date: - Mon, 23 Mar 2015 09:25:28 GMT body: encoding: US-ASCII string: ! '{"error": {"message": "Could not find role, 7c660edd59564b28ad4e6533b5b1a92f.", "code": 404, "title": "Not Found"}}' http_version: recorded_at: Mon, 23 Mar 2015 09:25:28 GMT - request: method: get uri: http://devstack.openstack.stack:35357/v3/roles?name=foobar&page=1&per_page=30 body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 6430c4d643834dd48af5ba347638d2ac response: status: code: 200 message: '' headers: Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Type: - application/json Content-Length: - '114' Date: - Mon, 23 Mar 2015 09:25:28 GMT body: encoding: US-ASCII string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/roles", "previous": null, "next": null}, "roles": []}' http_version: recorded_at: Mon, 23 Mar 2015 09:25:28 GMT - request: method: get uri: http://devstack.openstack.stack:35357/v3/roles?name=baz&page=1&per_page=30 body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 6430c4d643834dd48af5ba347638d2ac response: status: code: 200 message: '' headers: Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Type: - application/json Content-Length: - '114' Date: - Mon, 23 Mar 2015 09:25:29 GMT body: encoding: US-ASCII string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/roles", "previous": null, "next": null}, "roles": []}' http_version: recorded_at: Mon, 23 Mar 2015 09:25:29 GMT recorded_with: VCR 2.9.3