[WIP] Changed user credentials used for the test.

This commit is contained in:
Alfonso Juan Dillera
2013-09-24 13:02:47 +08:00
parent bbe057a22e
commit 399b8ee33e
6 changed files with 56 additions and 62 deletions

View File

@@ -5,7 +5,7 @@ http_interactions:
uri: <OPENSTACK_ADMIN_HOST_URI>:5000/v2.0/tokens
body:
encoding: UTF-8
string: ! '{"auth":{"passwordCredentials":{"username":"<OPENSTACK_MEMBER_USERNAME>","password":"<OPENSTACK_MEMBER_USERNAME>_password"},"tenantName":"<OPENSTACK_ADMIN_TENANTNAME>"}}'
string: ! '{"auth":{"passwordCredentials":{"username":"<OPENSTACK_MEMBER_USERNAME>","password":"<OPENSTACK_MEMBER_PASSWORD>"},"tenantName":"<OPENSTACK_ADMIN_TENANTNAME>"}}'
headers:
Content-Type:
- application/json
@@ -21,15 +21,15 @@ http_interactions:
content-type:
- application/json
content-length:
- '2710'
- '2652'
date:
- Tue, 24 Sep 2013 03:47:43 GMT
- Tue, 24 Sep 2013 05:01:12 GMT
connection:
- close
body:
encoding: US-ASCII
string: ! '{"access": {"token": {"issued_at": "2013-09-24T03:47:43.847156",
"expires": "2013-09-24T09:47:43Z", "id": "dfd9d839c76f4e2ab27b29330f174721",
string: ! '{"access": {"token": {"issued_at": "2013-09-24T05:01:12.507947",
"expires": "2013-09-24T11:01:12Z", "id": "432b3be19e774e9885dae64ff3a78438",
"tenant": {"description": "<OPENSTACK_ADMIN_TENANTNAME>", "enabled": true,
"id": "f8349cebe4d14ff6b27e7038527f4eeb", "name": "<OPENSTACK_ADMIN_TENANTNAME>"}},
"serviceCatalog": [{"endpoints": [{"adminURL": "<OPENSTACK_ADMIN_HOST_URI>:8774/v2/f8349cebe4d14ff6b27e7038527f4eeb",
@@ -55,11 +55,10 @@ http_interactions:
"publicURL": "<OPENSTACK_ADMIN_HOST_URI>:5000/v2.0"}], "endpoints_links":
[], "type": "identity", "name": "keystone"}], "user": {"username": "<OPENSTACK_MEMBER_USERNAME>",
"roles_links": [], "id": "2362489f346a4cf292378283bb0a2f6d", "roles": [{"name":
"_member_"}, {"name": "Member"}], "name": "<OPENSTACK_MEMBER_USERNAME>"},
"metadata": {"is_admin": 0, "roles": ["9fe2ff9ee4384b1894a90878d3e92bab",
"b9825284e3cf44fcb3c3953034ab2f08"]}}}'
"Member"}], "name": "<OPENSTACK_MEMBER_USERNAME>"}, "metadata": {"is_admin":
0, "roles": ["b9825284e3cf44fcb3c3953034ab2f08"]}}}'
http_version:
recorded_at: Tue, 24 Sep 2013 03:47:44 GMT
recorded_at: Tue, 24 Sep 2013 05:01:12 GMT
- request:
method: get
uri: <OPENSTACK_ADMIN_HOST_URI>:8774/v2/f8349cebe4d14ff6b27e7038527f4eeb/flavors/0
@@ -72,7 +71,7 @@ http_interactions:
User-Agent:
- Faraday v0.8.8
X-Auth-Token:
- dfd9d839c76f4e2ab27b29330f174721
- 432b3be19e774e9885dae64ff3a78438
response:
status:
code: 404
@@ -83,9 +82,9 @@ http_interactions:
content-type:
- application/json; charset=UTF-8
x-compute-request-id:
- req-090f8158-4112-4cdf-81d3-c7e557f1ed0d
- req-12e416c2-af92-4824-a576-3ac440b281a1
date:
- Tue, 24 Sep 2013 03:47:45 GMT
- Tue, 24 Sep 2013 05:01:13 GMT
connection:
- close
body:
@@ -93,5 +92,5 @@ http_interactions:
string: ! '{"itemNotFound": {"message": "The resource could not be found.",
"code": 404}}'
http_version:
recorded_at: Tue, 24 Sep 2013 03:47:45 GMT
recorded_at: Tue, 24 Sep 2013 05:01:14 GMT
recorded_with: VCR 2.5.0

View File

@@ -5,7 +5,7 @@ http_interactions:
uri: <OPENSTACK_ADMIN_HOST_URI>:5000/v2.0/tokens
body:
encoding: UTF-8
string: ! '{"auth":{"passwordCredentials":{"username":"<OPENSTACK_MEMBER_USERNAME>","password":"<OPENSTACK_MEMBER_USERNAME>_password"},"tenantName":"<OPENSTACK_ADMIN_TENANTNAME>"}}'
string: ! '{"auth":{"passwordCredentials":{"username":"<OPENSTACK_MEMBER_USERNAME>","password":"<OPENSTACK_MEMBER_PASSWORD>"},"tenantName":"<OPENSTACK_ADMIN_TENANTNAME>"}}'
headers:
Content-Type:
- application/json
@@ -21,15 +21,15 @@ http_interactions:
content-type:
- application/json
content-length:
- '2710'
- '2652'
date:
- Tue, 24 Sep 2013 03:47:49 GMT
- Tue, 24 Sep 2013 05:01:10 GMT
connection:
- close
body:
encoding: US-ASCII
string: ! '{"access": {"token": {"issued_at": "2013-09-24T03:47:49.887902",
"expires": "2013-09-24T09:47:49Z", "id": "63f2e0891c4048e3bbf7a0f50ea4da7b",
string: ! '{"access": {"token": {"issued_at": "2013-09-24T05:01:10.018731",
"expires": "2013-09-24T11:01:09Z", "id": "4d038f98b9d54d5e8be9f1af22b49d6c",
"tenant": {"description": "<OPENSTACK_ADMIN_TENANTNAME>", "enabled": true,
"id": "f8349cebe4d14ff6b27e7038527f4eeb", "name": "<OPENSTACK_ADMIN_TENANTNAME>"}},
"serviceCatalog": [{"endpoints": [{"adminURL": "<OPENSTACK_ADMIN_HOST_URI>:8774/v2/f8349cebe4d14ff6b27e7038527f4eeb",
@@ -55,11 +55,10 @@ http_interactions:
"publicURL": "<OPENSTACK_ADMIN_HOST_URI>:5000/v2.0"}], "endpoints_links":
[], "type": "identity", "name": "keystone"}], "user": {"username": "<OPENSTACK_MEMBER_USERNAME>",
"roles_links": [], "id": "2362489f346a4cf292378283bb0a2f6d", "roles": [{"name":
"_member_"}, {"name": "Member"}], "name": "<OPENSTACK_MEMBER_USERNAME>"},
"metadata": {"is_admin": 0, "roles": ["9fe2ff9ee4384b1894a90878d3e92bab",
"b9825284e3cf44fcb3c3953034ab2f08"]}}}'
"Member"}], "name": "<OPENSTACK_MEMBER_USERNAME>"}, "metadata": {"is_admin":
0, "roles": ["b9825284e3cf44fcb3c3953034ab2f08"]}}}'
http_version:
recorded_at: Tue, 24 Sep 2013 03:47:50 GMT
recorded_at: Tue, 24 Sep 2013 05:01:10 GMT
- request:
method: get
uri: <OPENSTACK_ADMIN_HOST_URI>:8774/v2/f8349cebe4d14ff6b27e7038527f4eeb/flavors/3
@@ -72,20 +71,20 @@ http_interactions:
User-Agent:
- Faraday v0.8.8
X-Auth-Token:
- 63f2e0891c4048e3bbf7a0f50ea4da7b
- 4d038f98b9d54d5e8be9f1af22b49d6c
response:
status:
code: 200
message:
headers:
x-compute-request-id:
- req-9759e956-1c27-49c8-b935-f1996db1cbba
- req-0dec5130-ba1d-496b-9c15-c2f0b9755e45
content-type:
- application/json
content-length:
- '452'
date:
- Tue, 24 Sep 2013 03:47:51 GMT
- Tue, 24 Sep 2013 05:01:11 GMT
connection:
- close
body:
@@ -96,5 +95,5 @@ http_interactions:
2, "swap": 1024, "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral":
0, "disk": 20, "id": "3"}}'
http_version:
recorded_at: Tue, 24 Sep 2013 03:47:51 GMT
recorded_at: Tue, 24 Sep 2013 05:01:11 GMT
recorded_with: VCR 2.5.0

View File

@@ -5,7 +5,7 @@ http_interactions:
uri: <OPENSTACK_ADMIN_HOST_URI>:5000/v2.0/tokens
body:
encoding: UTF-8
string: ! '{"auth":{"passwordCredentials":{"username":"<OPENSTACK_MEMBER_USERNAME>","password":"<OPENSTACK_MEMBER_USERNAME>_password"},"tenantName":"<OPENSTACK_ADMIN_TENANTNAME>"}}'
string: ! '{"auth":{"passwordCredentials":{"username":"<OPENSTACK_MEMBER_USERNAME>","password":"<OPENSTACK_MEMBER_PASSWORD>"},"tenantName":"<OPENSTACK_ADMIN_TENANTNAME>"}}'
headers:
Content-Type:
- application/json
@@ -21,15 +21,15 @@ http_interactions:
content-type:
- application/json
content-length:
- '2710'
- '2652'
date:
- Tue, 24 Sep 2013 03:47:39 GMT
- Tue, 24 Sep 2013 05:01:08 GMT
connection:
- close
body:
encoding: US-ASCII
string: ! '{"access": {"token": {"issued_at": "2013-09-24T03:47:39.493973",
"expires": "2013-09-24T09:47:39Z", "id": "e15c0694448d498187ee66a42119f9c1",
string: ! '{"access": {"token": {"issued_at": "2013-09-24T05:01:08.884354",
"expires": "2013-09-24T11:01:08Z", "id": "c46c072e12e04b02aec378c3b4c9d0ca",
"tenant": {"description": "<OPENSTACK_ADMIN_TENANTNAME>", "enabled": true,
"id": "f8349cebe4d14ff6b27e7038527f4eeb", "name": "<OPENSTACK_ADMIN_TENANTNAME>"}},
"serviceCatalog": [{"endpoints": [{"adminURL": "<OPENSTACK_ADMIN_HOST_URI>:8774/v2/f8349cebe4d14ff6b27e7038527f4eeb",
@@ -55,9 +55,8 @@ http_interactions:
"publicURL": "<OPENSTACK_ADMIN_HOST_URI>:5000/v2.0"}], "endpoints_links":
[], "type": "identity", "name": "keystone"}], "user": {"username": "<OPENSTACK_MEMBER_USERNAME>",
"roles_links": [], "id": "2362489f346a4cf292378283bb0a2f6d", "roles": [{"name":
"_member_"}, {"name": "Member"}], "name": "<OPENSTACK_MEMBER_USERNAME>"},
"metadata": {"is_admin": 0, "roles": ["9fe2ff9ee4384b1894a90878d3e92bab",
"b9825284e3cf44fcb3c3953034ab2f08"]}}}'
"Member"}], "name": "<OPENSTACK_MEMBER_USERNAME>"}, "metadata": {"is_admin":
0, "roles": ["b9825284e3cf44fcb3c3953034ab2f08"]}}}'
http_version:
recorded_at: Tue, 24 Sep 2013 03:47:39 GMT
recorded_at: Tue, 24 Sep 2013 05:01:08 GMT
recorded_with: VCR 2.5.0

View File

@@ -5,7 +5,7 @@ http_interactions:
uri: <OPENSTACK_ADMIN_HOST_URI>:5000/v2.0/tokens
body:
encoding: UTF-8
string: ! '{"auth":{"passwordCredentials":{"username":"<OPENSTACK_MEMBER_USERNAME>","password":"<OPENSTACK_MEMBER_USERNAME>_password"},"tenantName":"<OPENSTACK_ADMIN_TENANTNAME>"}}'
string: ! '{"auth":{"passwordCredentials":{"username":"<OPENSTACK_MEMBER_USERNAME>","password":"<OPENSTACK_MEMBER_PASSWORD>"},"tenantName":"<OPENSTACK_ADMIN_TENANTNAME>"}}'
headers:
Content-Type:
- application/json
@@ -21,15 +21,15 @@ http_interactions:
content-type:
- application/json
content-length:
- '2710'
- '2652'
date:
- Tue, 24 Sep 2013 03:47:38 GMT
- Tue, 24 Sep 2013 05:01:16 GMT
connection:
- close
body:
encoding: US-ASCII
string: ! '{"access": {"token": {"issued_at": "2013-09-24T03:47:38.012645",
"expires": "2013-09-24T09:47:37Z", "id": "64c6949a98d44686b4264d81ebd42c9f",
string: ! '{"access": {"token": {"issued_at": "2013-09-24T05:01:16.146909",
"expires": "2013-09-24T11:01:16Z", "id": "59df4685b4154e19ae49cad3c1376979",
"tenant": {"description": "<OPENSTACK_ADMIN_TENANTNAME>", "enabled": true,
"id": "f8349cebe4d14ff6b27e7038527f4eeb", "name": "<OPENSTACK_ADMIN_TENANTNAME>"}},
"serviceCatalog": [{"endpoints": [{"adminURL": "<OPENSTACK_ADMIN_HOST_URI>:8774/v2/f8349cebe4d14ff6b27e7038527f4eeb",
@@ -55,9 +55,8 @@ http_interactions:
"publicURL": "<OPENSTACK_ADMIN_HOST_URI>:5000/v2.0"}], "endpoints_links":
[], "type": "identity", "name": "keystone"}], "user": {"username": "<OPENSTACK_MEMBER_USERNAME>",
"roles_links": [], "id": "2362489f346a4cf292378283bb0a2f6d", "roles": [{"name":
"_member_"}, {"name": "Member"}], "name": "<OPENSTACK_MEMBER_USERNAME>"},
"metadata": {"is_admin": 0, "roles": ["9fe2ff9ee4384b1894a90878d3e92bab",
"b9825284e3cf44fcb3c3953034ab2f08"]}}}'
"Member"}], "name": "<OPENSTACK_MEMBER_USERNAME>"}, "metadata": {"is_admin":
0, "roles": ["b9825284e3cf44fcb3c3953034ab2f08"]}}}'
http_version:
recorded_at: Tue, 24 Sep 2013 03:47:38 GMT
recorded_at: Tue, 24 Sep 2013 05:01:16 GMT
recorded_with: VCR 2.5.0

View File

@@ -5,7 +5,7 @@ http_interactions:
uri: <OPENSTACK_ADMIN_HOST_URI>:5000/v2.0/tokens
body:
encoding: UTF-8
string: ! '{"auth":{"passwordCredentials":{"username":"<OPENSTACK_MEMBER_USERNAME>","password":"<OPENSTACK_MEMBER_USERNAME>_password"},"tenantName":"<OPENSTACK_ADMIN_TENANTNAME>"}}'
string: ! '{"auth":{"passwordCredentials":{"username":"<OPENSTACK_MEMBER_USERNAME>","password":"<OPENSTACK_MEMBER_PASSWORD>"},"tenantName":"<OPENSTACK_ADMIN_TENANTNAME>"}}'
headers:
Content-Type:
- application/json
@@ -21,15 +21,15 @@ http_interactions:
content-type:
- application/json
content-length:
- '2710'
- '2652'
date:
- Tue, 24 Sep 2013 03:47:41 GMT
- Tue, 24 Sep 2013 05:01:07 GMT
connection:
- close
body:
encoding: US-ASCII
string: ! '{"access": {"token": {"issued_at": "2013-09-24T03:47:41.042044",
"expires": "2013-09-24T09:47:41Z", "id": "94cca0e77739469a91f4eb039a34ee5f",
string: ! '{"access": {"token": {"issued_at": "2013-09-24T05:01:07.892871",
"expires": "2013-09-24T11:01:07Z", "id": "8544f115ec8d4cebbfacedff6fcc46a1",
"tenant": {"description": "<OPENSTACK_ADMIN_TENANTNAME>", "enabled": true,
"id": "f8349cebe4d14ff6b27e7038527f4eeb", "name": "<OPENSTACK_ADMIN_TENANTNAME>"}},
"serviceCatalog": [{"endpoints": [{"adminURL": "<OPENSTACK_ADMIN_HOST_URI>:8774/v2/f8349cebe4d14ff6b27e7038527f4eeb",
@@ -55,9 +55,8 @@ http_interactions:
"publicURL": "<OPENSTACK_ADMIN_HOST_URI>:5000/v2.0"}], "endpoints_links":
[], "type": "identity", "name": "keystone"}], "user": {"username": "<OPENSTACK_MEMBER_USERNAME>",
"roles_links": [], "id": "2362489f346a4cf292378283bb0a2f6d", "roles": [{"name":
"_member_"}, {"name": "Member"}], "name": "<OPENSTACK_MEMBER_USERNAME>"},
"metadata": {"is_admin": 0, "roles": ["9fe2ff9ee4384b1894a90878d3e92bab",
"b9825284e3cf44fcb3c3953034ab2f08"]}}}'
"Member"}], "name": "<OPENSTACK_MEMBER_USERNAME>"}, "metadata": {"is_admin":
0, "roles": ["b9825284e3cf44fcb3c3953034ab2f08"]}}}'
http_version:
recorded_at: Tue, 24 Sep 2013 03:47:41 GMT
recorded_at: Tue, 24 Sep 2013 05:01:08 GMT
recorded_with: VCR 2.5.0

View File

@@ -5,7 +5,7 @@ http_interactions:
uri: <OPENSTACK_ADMIN_HOST_URI>:5000/v2.0/tokens
body:
encoding: UTF-8
string: ! '{"auth":{"passwordCredentials":{"username":"<OPENSTACK_MEMBER_USERNAME>","password":"<OPENSTACK_MEMBER_USERNAME>_password"},"tenantName":"<OPENSTACK_ADMIN_TENANTNAME>"}}'
string: ! '{"auth":{"passwordCredentials":{"username":"<OPENSTACK_MEMBER_USERNAME>","password":"<OPENSTACK_MEMBER_PASSWORD>"},"tenantName":"<OPENSTACK_ADMIN_TENANTNAME>"}}'
headers:
Content-Type:
- application/json
@@ -21,15 +21,15 @@ http_interactions:
content-type:
- application/json
content-length:
- '2710'
- '2652'
date:
- Tue, 24 Sep 2013 03:47:42 GMT
- Tue, 24 Sep 2013 05:01:15 GMT
connection:
- close
body:
encoding: US-ASCII
string: ! '{"access": {"token": {"issued_at": "2013-09-24T03:47:42.313729",
"expires": "2013-09-24T09:47:42Z", "id": "770c09493f1b454f84c4ace1a71b5ce3",
string: ! '{"access": {"token": {"issued_at": "2013-09-24T05:01:15.024108",
"expires": "2013-09-24T11:01:14Z", "id": "74808489b4fa4220a7fa3116ac620ab9",
"tenant": {"description": "<OPENSTACK_ADMIN_TENANTNAME>", "enabled": true,
"id": "f8349cebe4d14ff6b27e7038527f4eeb", "name": "<OPENSTACK_ADMIN_TENANTNAME>"}},
"serviceCatalog": [{"endpoints": [{"adminURL": "<OPENSTACK_ADMIN_HOST_URI>:8774/v2/f8349cebe4d14ff6b27e7038527f4eeb",
@@ -55,9 +55,8 @@ http_interactions:
"publicURL": "<OPENSTACK_ADMIN_HOST_URI>:5000/v2.0"}], "endpoints_links":
[], "type": "identity", "name": "keystone"}], "user": {"username": "<OPENSTACK_MEMBER_USERNAME>",
"roles_links": [], "id": "2362489f346a4cf292378283bb0a2f6d", "roles": [{"name":
"_member_"}, {"name": "Member"}], "name": "<OPENSTACK_MEMBER_USERNAME>"},
"metadata": {"is_admin": 0, "roles": ["9fe2ff9ee4384b1894a90878d3e92bab",
"b9825284e3cf44fcb3c3953034ab2f08"]}}}'
"Member"}], "name": "<OPENSTACK_MEMBER_USERNAME>"}, "metadata": {"is_admin":
0, "roles": ["b9825284e3cf44fcb3c3953034ab2f08"]}}}'
http_version:
recorded_at: Tue, 24 Sep 2013 03:47:42 GMT
recorded_at: Tue, 24 Sep 2013 05:01:15 GMT
recorded_with: VCR 2.5.0