--- http_interactions: - request: method: post uri: http://devstack.openstack.stack:35357/v3/domains body: encoding: UTF-8 string: ! '{"domain":{"name":"d-foobar"}}' headers: User-Agent: - fog/1.31.0 fog-core/1.31.1 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 0c4458de5ba5446885c65b1dedfb2404 response: status: code: 201 message: '' headers: Date: - Tue, 23 Jun 2015 15:09:28 GMT Server: - Apache/2.4.7 (Ubuntu) Vary: - X-Auth-Token X-Openstack-Request-Id: - req-29ff2740-5393-47d7-9020-c09e88911aa5 Content-Length: - '185' Content-Type: - application/json body: encoding: US-ASCII string: ! '{"domain": {"enabled": true, "id": "e056d5ecff0b41159c080aed5603d58e", "links": {"self": "http://devstack.openstack.stack:35357/v3/domains/e056d5ecff0b41159c080aed5603d58e"}, "name": "d-foobar"}}' http_version: recorded_at: Tue, 23 Jun 2015 15:09:29 GMT - request: method: post uri: http://devstack.openstack.stack:35357/v3/groups body: encoding: UTF-8 string: ! '{"group":{"name":"g-foobar","description":"Group of Foobar users","domain_id":"e056d5ecff0b41159c080aed5603d58e"}}' headers: User-Agent: - fog/1.31.0 fog-core/1.31.1 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 0c4458de5ba5446885c65b1dedfb2404 response: status: code: 201 message: '' headers: Date: - Tue, 23 Jun 2015 15:09:28 GMT Server: - Apache/2.4.7 (Ubuntu) Vary: - X-Auth-Token X-Openstack-Request-Id: - req-7d21a243-9647-4d19-b530-be94bb03f030 Content-Length: - '255' Content-Type: - application/json body: encoding: US-ASCII string: ! '{"group": {"domain_id": "e056d5ecff0b41159c080aed5603d58e", "description": "Group of Foobar users", "id": "3a84b31f250948e3bff567c307e1c343", "links": {"self": "http://devstack.openstack.stack:35357/v3/groups/3a84b31f250948e3bff567c307e1c343"}, "name": "g-foobar"}}' http_version: recorded_at: Tue, 23 Jun 2015 15:09:29 GMT - request: method: post uri: http://devstack.openstack.stack:35357/v3/users body: encoding: UTF-8 string: ! '{"user":{"name":"u-foobar_foobar","email":"foobar@example.com","password":"s3cret!","domain_id":"e056d5ecff0b41159c080aed5603d58e"}}' headers: User-Agent: - fog/1.31.0 fog-core/1.31.1 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 0c4458de5ba5446885c65b1dedfb2404 response: status: code: 201 message: '' headers: Date: - Tue, 23 Jun 2015 15:09:29 GMT Server: - Apache/2.4.7 (Ubuntu) Vary: - X-Auth-Token X-Openstack-Request-Id: - req-dd5f5aba-65a9-4f76-be21-961f38113700 Content-Length: - '268' Content-Type: - application/json body: encoding: US-ASCII string: ! '{"user": {"name": "u-foobar_foobar", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/5adaf93d3e094030b6418eb79034e95e"}, "domain_id": "e056d5ecff0b41159c080aed5603d58e", "enabled": true, "email": "foobar@example.com", "id": "5adaf93d3e094030b6418eb79034e95e"}}' http_version: recorded_at: Tue, 23 Jun 2015 15:09:29 GMT - request: method: get uri: http://devstack.openstack.stack:35357/v3/domains/e056d5ecff0b41159c080aed5603d58e/users/5adaf93d3e094030b6418eb79034e95e/roles body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.31.0 fog-core/1.31.1 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 0c4458de5ba5446885c65b1dedfb2404 response: status: code: 200 message: '' headers: Date: - Tue, 23 Jun 2015 15:09:29 GMT Server: - Apache/2.4.7 (Ubuntu) Vary: - X-Auth-Token X-Openstack-Request-Id: - req-f07f15bd-6719-4c79-9a64-6a89093877c6 Content-Length: - '184' Content-Type: - application/json body: encoding: US-ASCII string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/domains/e056d5ecff0b41159c080aed5603d58e/users/5adaf93d3e094030b6418eb79034e95e/roles", "previous": null, "next": null}, "roles": []}' http_version: recorded_at: Tue, 23 Jun 2015 15:09:29 GMT - request: method: get uri: http://devstack.openstack.stack:35357/v3/roles body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.31.0 fog-core/1.31.1 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 0c4458de5ba5446885c65b1dedfb2404 response: status: code: 200 message: '' headers: Date: - Tue, 23 Jun 2015 15:09:29 GMT Server: - Apache/2.4.7 (Ubuntu) Vary: - X-Auth-Token X-Openstack-Request-Id: - req-79f560e9-a6f8-4a4f-b926-625af75aa528 Content-Length: - '884' Content-Type: - application/json body: encoding: US-ASCII string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/roles", "previous": null, "next": null}, "roles": [{"id": "1348e84f9797426bb6ec4cae1e6289d7", "links": {"self": "http://devstack.openstack.stack:35357/v3/roles/1348e84f9797426bb6ec4cae1e6289d7"}, "name": "anotherrole"}, {"id": "430e91ef76b74b728a2864bc8a410a60", "links": {"self": "http://devstack.openstack.stack:35357/v3/roles/430e91ef76b74b728a2864bc8a410a60"}, "name": "service"}, {"id": "64537dfec884463faf4978fcb9ec1e14", "links": {"self": "http://devstack.openstack.stack:35357/v3/roles/64537dfec884463faf4978fcb9ec1e14"}, "name": "Member"}, {"id": "6ead57f8ae124996af8b0beb72ff1007", "links": {"self": "http://devstack.openstack.stack:35357/v3/roles/6ead57f8ae124996af8b0beb72ff1007"}, "name": "admin"}, {"id": "d7390adf0b014ceb9247591b70d0eac9", "links": {"self": "http://devstack.openstack.stack:35357/v3/roles/d7390adf0b014ceb9247591b70d0eac9"}, "name": "ResellerAdmin"}]}' http_version: recorded_at: Tue, 23 Jun 2015 15:09:29 GMT - request: method: post uri: http://devstack.openstack.stack:35357/v3/roles body: encoding: UTF-8 string: ! '{"role":{"name":"foobar_role"}}' headers: User-Agent: - fog/1.31.0 fog-core/1.31.1 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 0c4458de5ba5446885c65b1dedfb2404 response: status: code: 201 message: '' headers: Date: - Tue, 23 Jun 2015 15:09:29 GMT Server: - Apache/2.4.7 (Ubuntu) Vary: - X-Auth-Token X-Openstack-Request-Id: - req-d9dd6c11-e908-4020-aa80-0592a888ce8b Content-Length: - '167' Content-Type: - application/json body: encoding: US-ASCII string: ! '{"role": {"id": "b4df549f31d44b159f5ee3beea09e593", "links": {"self": "http://devstack.openstack.stack:35357/v3/roles/b4df549f31d44b159f5ee3beea09e593"}, "name": "foobar_role"}}' http_version: recorded_at: Tue, 23 Jun 2015 15:09:29 GMT - request: method: put uri: http://devstack.openstack.stack:35357/v3/domains/e056d5ecff0b41159c080aed5603d58e/groups/3a84b31f250948e3bff567c307e1c343/roles/b4df549f31d44b159f5ee3beea09e593 body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.31.0 fog-core/1.31.1 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 0c4458de5ba5446885c65b1dedfb2404 response: status: code: 204 message: '' headers: Date: - Tue, 23 Jun 2015 15:09:29 GMT Server: - Apache/2.4.7 (Ubuntu) Vary: - X-Auth-Token X-Openstack-Request-Id: - req-b895b4b2-4adc-4056-bd94-2f89c6276dcf Content-Length: - '0' body: encoding: US-ASCII string: '' http_version: recorded_at: Tue, 23 Jun 2015 15:09:29 GMT - request: method: get uri: http://devstack.openstack.stack:35357/v3/domains/e056d5ecff0b41159c080aed5603d58e/groups/3a84b31f250948e3bff567c307e1c343/roles body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.31.0 fog-core/1.31.1 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 0c4458de5ba5446885c65b1dedfb2404 response: status: code: 200 message: '' headers: Date: - Tue, 23 Jun 2015 15:09:29 GMT Server: - Apache/2.4.7 (Ubuntu) Vary: - X-Auth-Token X-Openstack-Request-Id: - req-409d5cce-c444-472f-b423-c0243656f33e Content-Length: - '342' Content-Type: - application/json body: encoding: US-ASCII string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/domains/e056d5ecff0b41159c080aed5603d58e/groups/3a84b31f250948e3bff567c307e1c343/roles", "previous": null, "next": null}, "roles": [{"id": "b4df549f31d44b159f5ee3beea09e593", "links": {"self": "http://devstack.openstack.stack:35357/v3/roles/b4df549f31d44b159f5ee3beea09e593"}, "name": "foobar_role"}]}' http_version: recorded_at: Tue, 23 Jun 2015 15:09:29 GMT - request: method: head uri: http://devstack.openstack.stack:35357/v3/domains/e056d5ecff0b41159c080aed5603d58e/users/5adaf93d3e094030b6418eb79034e95e/roles/b4df549f31d44b159f5ee3beea09e593 body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.31.0 fog-core/1.31.1 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 0c4458de5ba5446885c65b1dedfb2404 response: status: code: 404 message: '' headers: Date: - Tue, 23 Jun 2015 15:09:29 GMT Server: - Apache/2.4.7 (Ubuntu) Vary: - X-Auth-Token X-Openstack-Request-Id: - req-630c9f28-151d-456c-b805-43952c42432a Content-Length: - '237' Content-Type: - application/json body: encoding: US-ASCII string: '' http_version: recorded_at: Tue, 23 Jun 2015 15:09:29 GMT - request: method: get uri: http://devstack.openstack.stack:35357/v3/role_assignments?effective=true&user.id=5adaf93d3e094030b6418eb79034e95e body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.31.0 fog-core/1.31.1 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 0c4458de5ba5446885c65b1dedfb2404 response: status: code: 200 message: '' headers: Date: - Tue, 23 Jun 2015 15:09:29 GMT Server: - Apache/2.4.7 (Ubuntu) Vary: - X-Auth-Token X-Openstack-Request-Id: - req-9d6ed759-2d7a-4493-99d2-9375803d7376 Content-Length: - '182' Content-Type: - application/json body: encoding: US-ASCII string: ! '{"role_assignments": [], "links": {"self": "http://devstack.openstack.stack:35357/v3/role_assignments?effective=true&user.id=5adaf93d3e094030b6418eb79034e95e", "previous": null, "next": null}}' http_version: recorded_at: Tue, 23 Jun 2015 15:09:30 GMT - request: method: put uri: http://devstack.openstack.stack:35357/v3/groups/3a84b31f250948e3bff567c307e1c343/users/5adaf93d3e094030b6418eb79034e95e body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.31.0 fog-core/1.31.1 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 0c4458de5ba5446885c65b1dedfb2404 response: status: code: 204 message: '' headers: Date: - Tue, 23 Jun 2015 15:09:30 GMT Server: - Apache/2.4.7 (Ubuntu) Vary: - X-Auth-Token X-Openstack-Request-Id: - req-04d2ece5-8532-4e67-b5e1-4fe9d4f9daaf Content-Length: - '0' body: encoding: US-ASCII string: '' http_version: recorded_at: Tue, 23 Jun 2015 15:09:30 GMT - request: method: head uri: http://devstack.openstack.stack:35357/v3/domains/e056d5ecff0b41159c080aed5603d58e/users/5adaf93d3e094030b6418eb79034e95e/roles/b4df549f31d44b159f5ee3beea09e593 body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.31.0 fog-core/1.31.1 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 0c4458de5ba5446885c65b1dedfb2404 response: status: code: 404 message: '' headers: Date: - Tue, 23 Jun 2015 15:09:30 GMT Server: - Apache/2.4.7 (Ubuntu) Vary: - X-Auth-Token X-Openstack-Request-Id: - req-e63fa640-fcc2-433a-ae29-b6c6227d409c Content-Length: - '237' Content-Type: - application/json body: encoding: US-ASCII string: '' http_version: recorded_at: Tue, 23 Jun 2015 15:09:30 GMT - request: method: get uri: http://devstack.openstack.stack:35357/v3/role_assignments?effective=true&user.id=5adaf93d3e094030b6418eb79034e95e body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.31.0 fog-core/1.31.1 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 0c4458de5ba5446885c65b1dedfb2404 response: status: code: 200 message: '' headers: Date: - Tue, 23 Jun 2015 15:09:30 GMT Server: - Apache/2.4.7 (Ubuntu) Vary: - X-Auth-Token X-Openstack-Request-Id: - req-faeb1dca-5128-4daf-8717-34e720680e88 Content-Length: - '657' Content-Type: - application/json body: encoding: US-ASCII string: ! '{"role_assignments": [{"scope": {"domain": {"id": "e056d5ecff0b41159c080aed5603d58e"}}, "role": {"id": "b4df549f31d44b159f5ee3beea09e593"}, "user": {"id": "5adaf93d3e094030b6418eb79034e95e"}, "links": {"assignment": "http://devstack.openstack.stack:35357/v3/domains/e056d5ecff0b41159c080aed5603d58e/groups/3a84b31f250948e3bff567c307e1c343/roles/b4df549f31d44b159f5ee3beea09e593", "membership": "http://devstack.openstack.stack:35357/v3/groups/3a84b31f250948e3bff567c307e1c343/users/5adaf93d3e094030b6418eb79034e95e"}}], "links": {"self": "http://devstack.openstack.stack:35357/v3/role_assignments?effective=true&user.id=5adaf93d3e094030b6418eb79034e95e", "previous": null, "next": null}}' http_version: recorded_at: Tue, 23 Jun 2015 15:09:30 GMT - request: method: get uri: http://devstack.openstack.stack:35357/v3/role_assignments?group.id=3a84b31f250948e3bff567c307e1c343 body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.31.0 fog-core/1.31.1 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 0c4458de5ba5446885c65b1dedfb2404 response: status: code: 200 message: '' headers: Date: - Tue, 23 Jun 2015 15:09:30 GMT Server: - Apache/2.4.7 (Ubuntu) Vary: - X-Auth-Token X-Openstack-Request-Id: - req-012e85f7-7d85-4b4c-9bc4-8e7a35f13e30 Content-Length: - '517' Content-Type: - application/json body: encoding: US-ASCII string: ! '{"role_assignments": [{"role": {"id": "b4df549f31d44b159f5ee3beea09e593"}, "group": {"id": "3a84b31f250948e3bff567c307e1c343"}, "links": {"assignment": "http://devstack.openstack.stack:35357/v3/domains/e056d5ecff0b41159c080aed5603d58e/groups/3a84b31f250948e3bff567c307e1c343/roles/b4df549f31d44b159f5ee3beea09e593"}, "scope": {"domain": {"id": "e056d5ecff0b41159c080aed5603d58e"}}}], "links": {"self": "http://devstack.openstack.stack:35357/v3/role_assignments?group.id=3a84b31f250948e3bff567c307e1c343", "previous": null, "next": null}}' http_version: recorded_at: Tue, 23 Jun 2015 15:09:30 GMT - request: method: delete uri: http://devstack.openstack.stack:35357/v3/domains/e056d5ecff0b41159c080aed5603d58e/groups/3a84b31f250948e3bff567c307e1c343/roles/b4df549f31d44b159f5ee3beea09e593 body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.31.0 fog-core/1.31.1 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 0c4458de5ba5446885c65b1dedfb2404 response: status: code: 204 message: '' headers: Date: - Tue, 23 Jun 2015 15:09:30 GMT Server: - Apache/2.4.7 (Ubuntu) Vary: - X-Auth-Token X-Openstack-Request-Id: - req-6d24b8a0-4d10-468f-8f45-f165e9a83da9 Content-Length: - '0' body: encoding: US-ASCII string: '' http_version: recorded_at: Tue, 23 Jun 2015 15:09:30 GMT - request: method: get uri: http://devstack.openstack.stack:35357/v3/role_assignments?effective=true&user.id=5adaf93d3e094030b6418eb79034e95e body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.31.0 fog-core/1.31.1 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 0c4458de5ba5446885c65b1dedfb2404 response: status: code: 200 message: '' headers: Date: - Tue, 23 Jun 2015 15:09:30 GMT Server: - Apache/2.4.7 (Ubuntu) Vary: - X-Auth-Token X-Openstack-Request-Id: - req-d87d84af-4a0b-4328-94f0-3e1cbb3ae4c4 Content-Length: - '182' Content-Type: - application/json body: encoding: US-ASCII string: ! '{"role_assignments": [], "links": {"self": "http://devstack.openstack.stack:35357/v3/role_assignments?effective=true&user.id=5adaf93d3e094030b6418eb79034e95e", "previous": null, "next": null}}' http_version: recorded_at: Tue, 23 Jun 2015 15:09:30 GMT - request: method: delete uri: http://devstack.openstack.stack:35357/v3/users/5adaf93d3e094030b6418eb79034e95e body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.31.0 fog-core/1.31.1 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 0c4458de5ba5446885c65b1dedfb2404 response: status: code: 204 message: '' headers: Date: - Tue, 23 Jun 2015 15:09:30 GMT Server: - Apache/2.4.7 (Ubuntu) Vary: - X-Auth-Token X-Openstack-Request-Id: - req-ce6370f6-cdef-4ad4-b709-a22aa7828700 Content-Length: - '0' body: encoding: US-ASCII string: '' http_version: recorded_at: Tue, 23 Jun 2015 15:09:31 GMT - request: method: delete uri: http://devstack.openstack.stack:35357/v3/groups/3a84b31f250948e3bff567c307e1c343 body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.31.0 fog-core/1.31.1 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 0c4458de5ba5446885c65b1dedfb2404 response: status: code: 204 message: '' headers: Date: - Tue, 23 Jun 2015 15:09:30 GMT Server: - Apache/2.4.7 (Ubuntu) Vary: - X-Auth-Token X-Openstack-Request-Id: - req-f2ee4855-7efa-40d2-b2f9-f84e10199d93 Content-Length: - '0' body: encoding: US-ASCII string: '' http_version: recorded_at: Tue, 23 Jun 2015 15:09:31 GMT - request: method: delete uri: http://devstack.openstack.stack:35357/v3/roles/b4df549f31d44b159f5ee3beea09e593 body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.31.0 fog-core/1.31.1 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 0c4458de5ba5446885c65b1dedfb2404 response: status: code: 204 message: '' headers: Date: - Tue, 23 Jun 2015 15:09:31 GMT Server: - Apache/2.4.7 (Ubuntu) Vary: - X-Auth-Token X-Openstack-Request-Id: - req-07b7a1ec-4317-4a5c-9751-b1c2ebbc5d4c Content-Length: - '0' body: encoding: US-ASCII string: '' http_version: recorded_at: Tue, 23 Jun 2015 15:09:31 GMT - request: method: patch uri: http://devstack.openstack.stack:35357/v3/domains/e056d5ecff0b41159c080aed5603d58e body: encoding: UTF-8 string: ! '{"domain":{"enabled":false}}' headers: User-Agent: - fog/1.31.0 fog-core/1.31.1 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 0c4458de5ba5446885c65b1dedfb2404 response: status: code: 200 message: '' headers: Date: - Tue, 23 Jun 2015 15:09:31 GMT Server: - Apache/2.4.7 (Ubuntu) Vary: - X-Auth-Token X-Openstack-Request-Id: - req-3f239da1-92a8-481d-9ea6-e8fb61f2c0ff Content-Length: - '186' Content-Type: - application/json body: encoding: US-ASCII string: ! '{"domain": {"enabled": false, "id": "e056d5ecff0b41159c080aed5603d58e", "links": {"self": "http://devstack.openstack.stack:35357/v3/domains/e056d5ecff0b41159c080aed5603d58e"}, "name": "d-foobar"}}' http_version: recorded_at: Tue, 23 Jun 2015 15:09:31 GMT - request: method: delete uri: http://devstack.openstack.stack:35357/v3/domains/e056d5ecff0b41159c080aed5603d58e body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.31.0 fog-core/1.31.1 Content-Type: - application/json Accept: - application/json X-Auth-Token: - 0c4458de5ba5446885c65b1dedfb2404 response: status: code: 204 message: '' headers: Date: - Tue, 23 Jun 2015 15:09:31 GMT Server: - Apache/2.4.7 (Ubuntu) Vary: - X-Auth-Token X-Openstack-Request-Id: - req-e0d636d3-1084-4a43-aa77-cd308c3eded8 Content-Length: - '0' body: encoding: US-ASCII string: '' http_version: recorded_at: Tue, 23 Jun 2015 15:09:31 GMT recorded_with: VCR 2.9.3