deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject [2/3] git commit: Server tests - updated fixtures for openstack instances - fixes broken build
Date Tue, 11 Dec 2012 12:50:48 GMT
Server tests - updated fixtures for openstack instances - fixes broken build

https://travis-ci.org/mifo/deltacloud/jobs/3591100


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/ae631c66
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/ae631c66
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/ae631c66

Branch: refs/heads/master
Commit: ae631c660048099dcd091dba175b6a0256340d4d
Parents: ad3195d
Author: marios <marios@redhat.com>
Authored: Tue Dec 11 13:51:18 2012 +0200
Committer: marios <marios@redhat.com>
Committed: Tue Dec 11 13:54:02 2012 +0200

----------------------------------------------------------------------
 ...r_when_GET_instances_with_wrong_credentials.yml |   47 +
 .../test_0002_must_return_list_of_instances.yml    |  782 +++++++++++----
 .../test_0003_must_allow_to_filter_instances.yml   |  538 ++++++++--
 ...0004_must_allow_to_retrieve_single_instance.yml |  538 ++++++++--
 ...eate_and_destroy_an_instance-inst_launch-10.yml |  333 +++++--
 ...reate_and_destroy_an_instance-inst_launch-9.yml |  262 +++++
 ...ust_allow_to_create_and_destroy_an_instance.yml |  670 ++++++++++---
 7 files changed, 2544 insertions(+), 626 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/ae631c66/server/tests/drivers/openstack/fixtures/test_0001_must_throw_error_when_GET_instances_with_wrong_credentials.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/openstack/fixtures/test_0001_must_throw_error_when_GET_instances_with_wrong_credentials.yml b/server/tests/drivers/openstack/fixtures/test_0001_must_throw_error_when_GET_instances_with_wrong_credentials.yml
new file mode 100644
index 0000000..1806510
--- /dev/null
+++ b/server/tests/drivers/openstack/fixtures/test_0001_must_throw_error_when_GET_instances_with_wrong_credentials.yml
@@ -0,0 +1,47 @@
+--- 
+recorded_with: VCR 2.3.0
+http_interactions: 
+- request: 
+    method: post
+    uri: https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/tokens
+    body: 
+      string: "{\"auth\":{\"passwordCredentials\":{\"username\":\"unknown\",\"password\":\"wrong\"},\"tenantName\":\"wrong\"}}"
+    headers: 
+      Content-Type: 
+      - application/json
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
+      code: 401
+      message: Unauthorized
+    headers: 
+      Server: 
+      - Apache-Coyote/1.1
+      Content-Type: 
+      - application/json
+      Expires: 
+      - "-1"
+      Pragma: 
+      - no-cache
+      Cache-Control: 
+      - no-cache
+      Date: 
+      - Tue, 11 Dec 2012 11:40:54 GMT
+      Content-Length: 
+      - "149"
+      Cneonction: 
+      - close
+    body: 
+      string: |-
+        {
+          "unauthorized" : {
+            "code" : 401,
+            "details" : "Invalid credentials",
+            "message" : "UNAUTHORIZED",
+            "otherAttributes" : {
+            }
+          }
+        }
+    http_version: 
+  recorded_at: Tue, 11 Dec 2012 11:40:54 GMT

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/ae631c66/server/tests/drivers/openstack/fixtures/test_0002_must_return_list_of_instances.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/openstack/fixtures/test_0002_must_return_list_of_instances.yml b/server/tests/drivers/openstack/fixtures/test_0002_must_return_list_of_instances.yml
index 61e7761..c782cad 100644
--- a/server/tests/drivers/openstack/fixtures/test_0002_must_return_list_of_instances.yml
+++ b/server/tests/drivers/openstack/fixtures/test_0002_must_return_list_of_instances.yml
@@ -1,239 +1,583 @@
----
-http_interactions:
-- request:
+--- 
+recorded_with: VCR 2.3.0
+http_interactions: 
+- request: 
     method: post
-    uri: http://10.34.32.211:5000/v2.0/tokens
-    body:
-      encoding: UTF-8
-      string: ! '{"auth":{"passwordCredentials":{"username":"admin","password":"password"},"tenantName":"admin"}}'
-    headers:
-      Content-Type:
-      - application/json
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
+    uri: https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/tokens
+    body: 
+      string: "{\"auth\":{\"passwordCredentials\":{\"username\":\"foo@fakedomain.eu\",\"password\":\"1234fake56789\"},\"tenantName\":\"foo@fakedomain.eu-default-tenant\"}}"
+    headers: 
+      Content-Type: 
+      - application/json
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Content-Type:
-      - application/json
-      Vary:
-      - X-Auth-Token
-      Content-Length:
-      - '2010'
-      Date:
-      - Mon, 27 Aug 2012 16:17:33 GMT
-    body:
-      encoding: US-ASCII
-      string: ! '{"access": {"token": {"expires": "2012-08-28T16:17:33Z", "id": "3d86c2c60db740048679f407ce56b8dc",
-        "tenant": {"description": null, "enabled": true, "id": "e827289fd66f4effb5b9b5012282fdb7",
-        "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://10.34.32.211:8776/v1/e827289fd66f4effb5b9b5012282fdb7",
-        "region": "RegionOne", "publicURL": "http://10.34.32.211:8776/v1/e827289fd66f4effb5b9b5012282fdb7",
-        "internalURL": "http://10.34.32.211:8776/v1/e827289fd66f4effb5b9b5012282fdb7"}],
-        "endpoints_links": [], "type": "volume", "name": "Volume Service"}, {"endpoints":
-        [{"adminURL": "http://10.34.32.211:9292/v1", "region": "RegionOne", "publicURL":
-        "http://10.34.32.211:9292/v1", "internalURL": "http://10.34.32.211:9292/v1"}],
-        "endpoints_links": [], "type": "image", "name": "Image Service"}, {"endpoints":
-        [{"adminURL": "http://10.34.32.211:8774/v1.1/e827289fd66f4effb5b9b5012282fdb7",
-        "region": "RegionOne", "publicURL": "http://10.34.32.211:8774/v1.1/e827289fd66f4effb5b9b5012282fdb7",
-        "internalURL": "http://10.34.32.211:8774/v1.1/e827289fd66f4effb5b9b5012282fdb7"}],
-        "endpoints_links": [], "type": "compute", "name": "Compute Service"}, {"endpoints":
-        [{"adminURL": "http://10.34.32.211:8773/services/Admin", "region": "RegionOne",
-        "publicURL": "http://10.34.32.211:8773/services/Cloud", "internalURL": "http://10.34.32.211:8773/services/Cloud"}],
-        "endpoints_links": [], "type": "ec2", "name": "EC2 Service"}, {"endpoints":
-        [{"adminURL": "http://10.34.32.211:35357/v2.0", "region": "RegionOne", "publicURL":
-        "http://10.34.32.211:5000/v2.0", "internalURL": "http://10.34.32.211:5000/v2.0"}],
-        "endpoints_links": [], "type": "identity", "name": "Identity Service"}], "user":
-        {"username": "admin", "roles_links": [], "id": "f2286a51122345cea7d216c120974b41",
-        "roles": [{"id": "e7e292b28c4b4befb06232fa935a3c48", "name": "KeystoneServiceAdmin"},
-        {"id": "7e716d5a52f348bb9a7fbbc230041b2a", "name": "admin"}, {"id": "bf2113c0cb924b34907521808ed9df13",
-        "name": "KeystoneAdmin"}], "name": "admin"}}}'
+    headers: 
+      Server: 
+      - Apache-Coyote/1.1
+      Content-Type: 
+      - application/json
+      Expires: 
+      - "-1"
+      Pragma: 
+      - no-cache
+      Cache-Control: 
+      - no-cache
+      Date: 
+      - Tue, 11 Dec 2012 11:40:55 GMT
+      Content-Length: 
+      - "4011"
+    body: 
+      string: |-
+        {"access": {
+          "token": {
+            "expires": "2012-12-11T23:40:56.226Z",
+            "id": "EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1",
+            "tenant": {
+              "id": "123456fake7890",
+              "name": "foo@fakedomain.eu-default-tenant"
+            }
+          },
+          "user": {
+            "id": "98765fake43210",
+            "name": "foo@fakedomain.eu",
+            "roles": [
+              {
+                "id": "00000000004024",
+                "serviceId": "140",
+                "name": "user",
+                "tenantId": "123456fake7890"
+              },
+              {
+                "id": "00000000004022",
+                "serviceId": "110",
+                "name": "Admin",
+                "tenantId": "123456fake7890"
+              },
+              {
+                "id": "00000000004025",
+                "serviceId": "120",
+                "name": "sysadmin",
+                "tenantId": "123456fake7890"
+              },
+              {
+                "id": "00000000004003",
+                "serviceId": "100",
+                "name": "domainadmin"
+              },
+              {
+                "id": "00000000004016",
+                "serviceId": "120",
+                "name": "netadmin",
+                "tenantId": "123456fake7890"
+              },
+              {
+                "id": "00000000004004",
+                "serviceId": "100",
+                "name": "domainuser"
+              },
+              {
+                "id": "00000000004013",
+                "serviceId": "130",
+                "name": "block-admin",
+                "tenantId": "123456fake7890"
+              }
+            ]
+          },
+          "serviceCatalog": [
+            {
+              "name": "Object Storage",
+              "type": "object-store",
+              "endpoints": [{
+                "tenantId": "123456fake7890",
+                "publicURL": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1\/123456fake7890",
+                "region": "region-a.geo-1",
+                "versionId": "1.0",
+                "versionInfo": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1.0\/",
+                "versionList": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com"
+              }]
+            },
+            {
+              "name": "Identity",
+              "type": "identity",
+              "endpoints": [
+                {
+                  "publicURL": "https:\/\/region-b.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
+                  "region": "region-b.geo-1",
+                  "versionId": "2.0",
+                  "versionInfo": "https:\/\/region-b.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
+                  "versionList": "https:\/\/region-b.geo-1.identity.hpcloudsvc.com:35357"
+                },
+                {
+                  "publicURL": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
+                  "region": "region-a.geo-1",
+                  "versionId": "2.0",
+                  "versionInfo": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
+                  "versionList": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357"
+                }
+              ]
+            },
+            {
+              "name": "Image Management",
+              "type": "image",
+              "endpoints": [{
+                "tenantId": "123456fake7890",
+                "publicURL": "https:\/\/glance2.uswest.hpcloud.net:9292\/v1.0",
+                "region": "az-2.region-a.geo-1",
+                "versionId": "1.0",
+                "versionInfo": "https:\/\/glance2.uswest.hpcloud.net:9292\/v1.0\/",
+                "versionList": "https:\/\/glance2.uswest.hpcloud.net:9292"
+              }]
+            },
+            {
+              "name": "Block Storage",
+              "type": "volume",
+              "endpoints": [{
+                "tenantId": "123456fake7890",
+                "publicURL": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/123456fake7890",
+                "region": "az-2.region-a.geo-1",
+                "versionId": "1.1",
+                "versionInfo": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/",
+                "versionList": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com"
+              }]
+            },
+            {
+              "name": "Compute",
+              "type": "compute",
+              "endpoints": [{
+                "tenantId": "123456fake7890",
+                "publicURL": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/123456fake7890",
+                "publicURL2": "https:\/\/az-2.region-a.geo-1.ec2-compute.hpcloudsvc.com\/services\/Cloud",
+                "region": "az-2.region-a.geo-1",
+                "versionId": "1.1",
+                "versionInfo": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/",
+                "versionList": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com"
+              }]
+            }
+          ]
+        }}
     http_version: 
-  recorded_at: Mon, 27 Aug 2012 12:28:51 GMT
-- request:
+  recorded_at: Tue, 11 Dec 2012 11:40:56 GMT
+- request: 
     method: get
-    uri: http://10.34.32.211:8774/v1.1/e827289fd66f4effb5b9b5012282fdb7/servers/detail
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      X-Auth-Token:
-      - 3d86c2c60db740048679f407ce56b8dc
-      X-Storage-Token:
-      - 3d86c2c60db740048679f407ce56b8dc
-      Connection:
+    uri: https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/detail
+    body: 
+      string: ""
+    headers: 
+      X-Storage-Token: 
+      - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
+      Accept: 
+      - application/json
+      X-Auth-Token: 
+      - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
+      User-Agent: 
+      - OpenStack Ruby API 1.0.7
+      Connection: 
       - Keep-Alive
-      User-Agent:
-      - OpenStack Ruby API 1.0.3
-      Accept:
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Content-Type: 
+      - application/json; charset=UTF-8
+      Date: 
+      - Tue, 11 Dec 2012 11:40:58 GMT
+      Content-Length: 
+      - "2580"
+    body: 
+      string: "{\"servers\": [{\"status\": \"ACTIVE\", \"updated\": \"2012-12-11T11:36:16Z\", \"hostId\": \"bbe65f8ab3fc264a6d7b576cf43db3268a0053b15a84ec9b1daaaf22\", \"user_id\": \"98765fake43210\", \"name\": \"Server-1355225740-az-2-region-a-geo-1\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/806837\", \"rel\": \"self\"}, {\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/servers/806837\", \"rel\": \"bookmark\"}], \"addresses\": {\"private\": [{\"version\": 4, \"addr\": \"10.7.17.252\"}, {\"version\": 4, \"addr\": \"15.185.175.43\"}]}, \"tenant_id\": \"123456fake7890\", \"image\": {\"id\": \"47940\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/images/47940\", \"rel\": \"bookmark\"}]}, \"created\": \"2012-12-11T11:35:45Z\", \"uuid\": \"936765b5-27bd-4d7d-a010-437e67611312\", \"accessIPv4\": \"\", \"accessIPv6\": \"\", \"key_name\": \"marios_defaul
 t\", \"progress\": 100, \"flavor\": {\"id\": \"100\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/flavors/100\", \"rel\": \"bookmark\"}]}, \"config_drive\": \"\", \"id\": 806837, \"security_groups\": [{\"name\": \"default\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/os-security-groups/1381\", \"rel\": \"bookmark\"}], \"id\": 1381}], \"metadata\": {}}, {\"status\": \"ACTIVE\", \"updated\": \"2012-12-11T11:35:58Z\", \"hostId\": \"621e9708d67a1038f9f1d3b5c153fc28fe654d1a63b518e0bcf79a91\", \"user_id\": \"98765fake43210\", \"name\": \"Server-1355225720-az-2-region-a-geo-1\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/806835\", \"rel\": \"self\"}, {\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/servers/806835\", \"rel\": \"bookmark\"}], \"addresses\": {\"private\": [{\"version\": 4, \"addr\": \"10.
 7.17.249\"}, {\"version\": 4, \"addr\": \"15.185.175.8\"}]}, \"tenant_id\": \"123456fake7890\", \"image\": {\"id\": \"47940\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/images/47940\", \"rel\": \"bookmark\"}]}, \"created\": \"2012-12-11T11:35:26Z\", \"uuid\": \"16bc0610-396f-4a3b-b873-db8da574ee81\", \"accessIPv4\": \"\", \"accessIPv6\": \"\", \"key_name\": \"marios_default\", \"progress\": 100, \"flavor\": {\"id\": \"100\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/flavors/100\", \"rel\": \"bookmark\"}]}, \"config_drive\": \"\", \"id\": 806835, \"security_groups\": [{\"name\": \"default\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/os-security-groups/1381\", \"rel\": \"bookmark\"}], \"id\": 1381}], \"metadata\": {}}]}"
+    http_version: 
+  recorded_at: Tue, 11 Dec 2012 11:40:58 GMT
+- request: 
+    method: get
+    uri: https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/extensions
+    body: 
+      string: ""
+    headers: 
+      X-Storage-Token: 
+      - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
+      Content-Type: 
+      - application/json
+      Accept: 
       - application/json
-  response:
-    status:
+      X-Auth-Token: 
+      - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
+      User-Agent: 
+      - OpenStack Ruby API 1.0.7
+      Connection: 
+      - Keep-Alive
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Content-Type: 
+      - application/json; charset=UTF-8
+      Date: 
+      - Tue, 11 Dec 2012 11:40:59 GMT
+      Content-Length: 
+      - "1570"
+    body: 
+      string: "{\"extensions\": [{\"updated\": \"2011-03-25T00:00:00+00:00\", \"name\": \"Volumes\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/volumes/api/v1.1\", \"alias\": \"os-volumes\", \"description\": \"Volumes support\"}, {\"updated\": \"2012-10-11T00:00:00+00:00\", \"name\": \"HP Bootable Volumes\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/hp-bootable-volumes/api/v1.1\", \"alias\": \"hp-bootable-volumes\", \"description\": \"hp bootable volumes support\"}, {\"updated\": \"2012-09-04T00:00:00+00:00\", \"name\": \"hp volume backup\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/hp-volume-backups/api/v1.1\", \"alias\": \"hp-volume-backups\", \"description\": \"hp volume backups support\"}, {\"updated\": \"2011-08-08T00:00:00+00:00\", \"name\": \"Keypairs\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/keypairs/api/v1.1\", \"alias\": \"os-keypairs\", \"description\": \"Keypair Support\"}, {\"updated\": \"
 2011-12-08T00:00:00+00:00\", \"name\": \"Console_output\", \"links\": [], \"namespace\": \"http://docs.openstack.org/compute/ext/os-console-output/api/v1.1\", \"alias\": \"os-console-output\", \"description\": \"Console log output support, with tailing ability.\"}, {\"updated\": \"2011-07-21T00:00:00+00:00\", \"name\": \"SecurityGroups\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/securitygroups/api/v1.1\", \"alias\": \"security_groups\", \"description\": \"Security group support\"}, {\"updated\": \"2011-06-16T00:00:00+00:00\", \"name\": \"Floating_ips\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/floating_ips/api/v1.1\", \"alias\": \"os-floating-ips\", \"description\": \"Floating IPs support\"}]}"
+    http_version: 
+  recorded_at: Tue, 11 Dec 2012 11:40:59 GMT
+- request: 
+    method: get
+    uri: https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/806837/os-volume_attachments
+    body: 
+      string: ""
+    headers: 
+      X-Storage-Token: 
+      - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
+      Content-Type: 
+      - application/json
+      Accept: 
+      - application/json
+      X-Auth-Token: 
+      - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
+      User-Agent: 
+      - OpenStack Ruby API 1.0.7
+      Connection: 
+      - Keep-Alive
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Content-Type: 
+      - application/json; charset=UTF-8
+      Date: 
+      - Tue, 11 Dec 2012 11:41:01 GMT
+      Content-Length: 
+      - "25"
+    body: 
+      string: "{\"volumeAttachments\": []}"
+    http_version: 
+  recorded_at: Tue, 11 Dec 2012 11:41:01 GMT
+- request: 
+    method: get
+    uri: https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/806835/os-volume_attachments
+    body: 
+      string: ""
+    headers: 
+      X-Storage-Token: 
+      - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
+      Content-Type: 
+      - application/json
+      Accept: 
+      - application/json
+      X-Auth-Token: 
+      - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
+      User-Agent: 
+      - OpenStack Ruby API 1.0.7
+      Connection: 
+      - Keep-Alive
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      X-Compute-Request-Id:
-      - req-12f4d254-1dca-4f59-95f8-5358f5ab2dce
-      Content-Type:
-      - application/json
-      Content-Length:
-      - '2824'
-      Date:
-      - Mon, 27 Aug 2012 16:17:33 GMT
-      Connection:
-      - keep-alive
-    body:
-      encoding: US-ASCII
-      string: ! '{"servers": [{"OS-EXT-STS:task_state": null, "addresses": {"demonet":
-        [{"version": 4, "addr": "10.0.0.7"}]}, "links": [{"href": "http://10.34.32.211:8774/v1.1/e827289fd66f4effb5b9b5012282fdb7/servers/632f0a99-7c2d-4624-afaf-b9d2421279bc",
-        "rel": "self"}, {"href": "http://10.34.32.211:8774/e827289fd66f4effb5b9b5012282fdb7/servers/632f0a99-7c2d-4624-afaf-b9d2421279bc",
-        "rel": "bookmark"}], "image": {"id": "bf7ce59a-d9f9-45d4-9313-f45b16436602",
-        "links": [{"href": "http://10.34.32.211:8774/e827289fd66f4effb5b9b5012282fdb7/images/bf7ce59a-d9f9-45d4-9313-f45b16436602",
-        "rel": "bookmark"}]}, "OS-EXT-STS:vm_state": "active", "OS-EXT-SRV-ATTR:instance_name":
-        "instance-00000011", "flavor": {"id": "1", "links": [{"href": "http://10.34.32.211:8774/e827289fd66f4effb5b9b5012282fdb7/flavors/1",
-        "rel": "bookmark"}]}, "id": "632f0a99-7c2d-4624-afaf-b9d2421279bc", "user_id":
-        "f2286a51122345cea7d216c120974b41", "OS-DCF:diskConfig": "MANUAL", "accessIPv4":
-        "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "config_drive":
-        "", "status": "ACTIVE", "updated": "2012-08-27T15:44:08Z", "hostId": "13942eef5ee69ea6fabcd918042084b1ec915973056bb1b497b43dfa",
-        "OS-EXT-SRV-ATTR:host": "openstack-01.lab.eng.brq.redhat.com", "key_name":
-        "", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "name": "server2012-08-27
-        13:55:22 +0200", "created": "2012-08-27T15:44:04Z", "tenant_id": "e827289fd66f4effb5b9b5012282fdb7",
-        "metadata": {}}, {"OS-EXT-STS:task_state": null, "addresses": {"demonet":
-        [{"version": 4, "addr": "10.0.0.2"}]}, "links": [{"href": "http://10.34.32.211:8774/v1.1/e827289fd66f4effb5b9b5012282fdb7/servers/fef00348-9991-404c-b0d4-655d18f84345",
-        "rel": "self"}, {"href": "http://10.34.32.211:8774/e827289fd66f4effb5b9b5012282fdb7/servers/fef00348-9991-404c-b0d4-655d18f84345",
-        "rel": "bookmark"}], "image": {"id": "bf7ce59a-d9f9-45d4-9313-f45b16436602",
-        "links": [{"href": "http://10.34.32.211:8774/e827289fd66f4effb5b9b5012282fdb7/images/bf7ce59a-d9f9-45d4-9313-f45b16436602",
-        "rel": "bookmark"}]}, "OS-EXT-STS:vm_state": "active", "OS-EXT-SRV-ATTR:instance_name":
-        "instance-0000000c", "flavor": {"id": "1", "links": [{"href": "http://10.34.32.211:8774/e827289fd66f4effb5b9b5012282fdb7/flavors/1",
-        "rel": "bookmark"}]}, "id": "fef00348-9991-404c-b0d4-655d18f84345", "user_id":
-        "f2286a51122345cea7d216c120974b41", "OS-DCF:diskConfig": "MANUAL", "accessIPv4":
-        "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "config_drive":
-        "", "status": "ACTIVE", "updated": "2012-08-27T15:27:16Z", "hostId": "13942eef5ee69ea6fabcd918042084b1ec915973056bb1b497b43dfa",
-        "OS-EXT-SRV-ATTR:host": "openstack-01.lab.eng.brq.redhat.com", "key_name":
-        "", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "name": "test-3", "created":
-        "2012-08-27T15:27:12Z", "tenant_id": "e827289fd66f4effb5b9b5012282fdb7", "metadata":
-        {}}]}'
+    headers: 
+      Content-Type: 
+      - application/json; charset=UTF-8
+      Date: 
+      - Tue, 11 Dec 2012 11:41:02 GMT
+      Content-Length: 
+      - "25"
+    body: 
+      string: "{\"volumeAttachments\": []}"
     http_version: 
-  recorded_at: Mon, 27 Aug 2012 12:28:51 GMT
-- request:
+  recorded_at: Tue, 11 Dec 2012 11:41:02 GMT
+- request: 
     method: post
-    uri: http://10.34.32.211:5000/v2.0/tokens
-    body:
-      encoding: UTF-8
-      string: ! '{"auth":{"passwordCredentials":{"username":"admin","password":"password"},"tenantName":"admin"}}'
-    headers:
-      Content-Type:
-      - application/json
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
+    uri: https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/tokens
+    body: 
+      string: "{\"auth\":{\"passwordCredentials\":{\"username\":\"foo@fakedomain.eu\",\"password\":\"1234fake56789\"},\"tenantName\":\"foo@fakedomain.eu-default-tenant\"}}"
+    headers: 
+      Content-Type: 
+      - application/json
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Content-Type:
-      - application/json
-      Vary:
-      - X-Auth-Token
-      Content-Length:
-      - '2010'
-      Date:
-      - Mon, 27 Aug 2012 16:17:33 GMT
-    body:
-      encoding: US-ASCII
-      string: ! '{"access": {"token": {"expires": "2012-08-28T16:17:33Z", "id": "cd515949e1314be9b29cc84d92f282b4",
-        "tenant": {"description": null, "enabled": true, "id": "e827289fd66f4effb5b9b5012282fdb7",
-        "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://10.34.32.211:8776/v1/e827289fd66f4effb5b9b5012282fdb7",
-        "region": "RegionOne", "publicURL": "http://10.34.32.211:8776/v1/e827289fd66f4effb5b9b5012282fdb7",
-        "internalURL": "http://10.34.32.211:8776/v1/e827289fd66f4effb5b9b5012282fdb7"}],
-        "endpoints_links": [], "type": "volume", "name": "Volume Service"}, {"endpoints":
-        [{"adminURL": "http://10.34.32.211:9292/v1", "region": "RegionOne", "publicURL":
-        "http://10.34.32.211:9292/v1", "internalURL": "http://10.34.32.211:9292/v1"}],
-        "endpoints_links": [], "type": "image", "name": "Image Service"}, {"endpoints":
-        [{"adminURL": "http://10.34.32.211:8774/v1.1/e827289fd66f4effb5b9b5012282fdb7",
-        "region": "RegionOne", "publicURL": "http://10.34.32.211:8774/v1.1/e827289fd66f4effb5b9b5012282fdb7",
-        "internalURL": "http://10.34.32.211:8774/v1.1/e827289fd66f4effb5b9b5012282fdb7"}],
-        "endpoints_links": [], "type": "compute", "name": "Compute Service"}, {"endpoints":
-        [{"adminURL": "http://10.34.32.211:8773/services/Admin", "region": "RegionOne",
-        "publicURL": "http://10.34.32.211:8773/services/Cloud", "internalURL": "http://10.34.32.211:8773/services/Cloud"}],
-        "endpoints_links": [], "type": "ec2", "name": "EC2 Service"}, {"endpoints":
-        [{"adminURL": "http://10.34.32.211:35357/v2.0", "region": "RegionOne", "publicURL":
-        "http://10.34.32.211:5000/v2.0", "internalURL": "http://10.34.32.211:5000/v2.0"}],
-        "endpoints_links": [], "type": "identity", "name": "Identity Service"}], "user":
-        {"username": "admin", "roles_links": [], "id": "f2286a51122345cea7d216c120974b41",
-        "roles": [{"id": "e7e292b28c4b4befb06232fa935a3c48", "name": "KeystoneServiceAdmin"},
-        {"id": "7e716d5a52f348bb9a7fbbc230041b2a", "name": "admin"}, {"id": "bf2113c0cb924b34907521808ed9df13",
-        "name": "KeystoneAdmin"}], "name": "admin"}}}'
+    headers: 
+      Server: 
+      - Apache-Coyote/1.1
+      Content-Type: 
+      - application/json
+      Expires: 
+      - "-1"
+      Pragma: 
+      - no-cache
+      Cache-Control: 
+      - no-cache
+      Date: 
+      - Tue, 11 Dec 2012 11:41:04 GMT
+      Content-Length: 
+      - "4011"
+    body: 
+      string: |-
+        {"access": {
+          "token": {
+            "expires": "2012-12-11T23:41:04.155Z",
+            "id": "EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1",
+            "tenant": {
+              "id": "123456fake7890",
+              "name": "foo@fakedomain.eu-default-tenant"
+            }
+          },
+          "user": {
+            "id": "98765fake43210",
+            "name": "foo@fakedomain.eu",
+            "roles": [
+              {
+                "id": "00000000004024",
+                "serviceId": "140",
+                "name": "user",
+                "tenantId": "123456fake7890"
+              },
+              {
+                "id": "00000000004022",
+                "serviceId": "110",
+                "name": "Admin",
+                "tenantId": "123456fake7890"
+              },
+              {
+                "id": "00000000004025",
+                "serviceId": "120",
+                "name": "sysadmin",
+                "tenantId": "123456fake7890"
+              },
+              {
+                "id": "00000000004003",
+                "serviceId": "100",
+                "name": "domainadmin"
+              },
+              {
+                "id": "00000000004016",
+                "serviceId": "120",
+                "name": "netadmin",
+                "tenantId": "123456fake7890"
+              },
+              {
+                "id": "00000000004004",
+                "serviceId": "100",
+                "name": "domainuser"
+              },
+              {
+                "id": "00000000004013",
+                "serviceId": "130",
+                "name": "block-admin",
+                "tenantId": "123456fake7890"
+              }
+            ]
+          },
+          "serviceCatalog": [
+            {
+              "name": "Object Storage",
+              "type": "object-store",
+              "endpoints": [{
+                "tenantId": "123456fake7890",
+                "publicURL": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1\/123456fake7890",
+                "region": "region-a.geo-1",
+                "versionId": "1.0",
+                "versionInfo": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1.0\/",
+                "versionList": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com"
+              }]
+            },
+            {
+              "name": "Identity",
+              "type": "identity",
+              "endpoints": [
+                {
+                  "publicURL": "https:\/\/region-b.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
+                  "region": "region-b.geo-1",
+                  "versionId": "2.0",
+                  "versionInfo": "https:\/\/region-b.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
+                  "versionList": "https:\/\/region-b.geo-1.identity.hpcloudsvc.com:35357"
+                },
+                {
+                  "publicURL": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
+                  "region": "region-a.geo-1",
+                  "versionId": "2.0",
+                  "versionInfo": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
+                  "versionList": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357"
+                }
+              ]
+            },
+            {
+              "name": "Image Management",
+              "type": "image",
+              "endpoints": [{
+                "tenantId": "123456fake7890",
+                "publicURL": "https:\/\/glance2.uswest.hpcloud.net:9292\/v1.0",
+                "region": "az-2.region-a.geo-1",
+                "versionId": "1.0",
+                "versionInfo": "https:\/\/glance2.uswest.hpcloud.net:9292\/v1.0\/",
+                "versionList": "https:\/\/glance2.uswest.hpcloud.net:9292"
+              }]
+            },
+            {
+              "name": "Block Storage",
+              "type": "volume",
+              "endpoints": [{
+                "tenantId": "123456fake7890",
+                "publicURL": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/123456fake7890",
+                "region": "az-2.region-a.geo-1",
+                "versionId": "1.1",
+                "versionInfo": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/",
+                "versionList": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com"
+              }]
+            },
+            {
+              "name": "Compute",
+              "type": "compute",
+              "endpoints": [{
+                "tenantId": "123456fake7890",
+                "publicURL": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/123456fake7890",
+                "publicURL2": "https:\/\/az-2.region-a.geo-1.ec2-compute.hpcloudsvc.com\/services\/Cloud",
+                "region": "az-2.region-a.geo-1",
+                "versionId": "1.1",
+                "versionInfo": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/",
+                "versionList": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com"
+              }]
+            }
+          ]
+        }}
     http_version: 
-  recorded_at: Mon, 27 Aug 2012 12:28:51 GMT
-- request:
+  recorded_at: Tue, 11 Dec 2012 11:41:04 GMT
+- request: 
     method: get
-    uri: http://10.34.32.211:8774/v1.1/e827289fd66f4effb5b9b5012282fdb7/servers/detail
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      X-Auth-Token:
-      - cd515949e1314be9b29cc84d92f282b4
-      X-Storage-Token:
-      - cd515949e1314be9b29cc84d92f282b4
-      Connection:
+    uri: https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/detail
+    body: 
+      string: ""
+    headers: 
+      X-Storage-Token: 
+      - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
+      Accept: 
+      - application/json
+      X-Auth-Token: 
+      - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
+      User-Agent: 
+      - OpenStack Ruby API 1.0.7
+      Connection: 
       - Keep-Alive
-      User-Agent:
-      - OpenStack Ruby API 1.0.3
-      Accept:
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Content-Type: 
+      - application/json; charset=UTF-8
+      Date: 
+      - Tue, 11 Dec 2012 11:41:06 GMT
+      Content-Length: 
+      - "2580"
+    body: 
+      string: "{\"servers\": [{\"status\": \"ACTIVE\", \"updated\": \"2012-12-11T11:36:16Z\", \"hostId\": \"bbe65f8ab3fc264a6d7b576cf43db3268a0053b15a84ec9b1daaaf22\", \"user_id\": \"98765fake43210\", \"name\": \"Server-1355225740-az-2-region-a-geo-1\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/806837\", \"rel\": \"self\"}, {\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/servers/806837\", \"rel\": \"bookmark\"}], \"addresses\": {\"private\": [{\"version\": 4, \"addr\": \"10.7.17.252\"}, {\"version\": 4, \"addr\": \"15.185.175.43\"}]}, \"tenant_id\": \"123456fake7890\", \"image\": {\"id\": \"47940\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/images/47940\", \"rel\": \"bookmark\"}]}, \"created\": \"2012-12-11T11:35:45Z\", \"uuid\": \"936765b5-27bd-4d7d-a010-437e67611312\", \"accessIPv4\": \"\", \"accessIPv6\": \"\", \"key_name\": \"marios_defaul
 t\", \"progress\": 100, \"flavor\": {\"id\": \"100\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/flavors/100\", \"rel\": \"bookmark\"}]}, \"config_drive\": \"\", \"id\": 806837, \"security_groups\": [{\"name\": \"default\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/os-security-groups/1381\", \"rel\": \"bookmark\"}], \"id\": 1381}], \"metadata\": {}}, {\"status\": \"ACTIVE\", \"updated\": \"2012-12-11T11:35:58Z\", \"hostId\": \"621e9708d67a1038f9f1d3b5c153fc28fe654d1a63b518e0bcf79a91\", \"user_id\": \"98765fake43210\", \"name\": \"Server-1355225720-az-2-region-a-geo-1\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/806835\", \"rel\": \"self\"}, {\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/servers/806835\", \"rel\": \"bookmark\"}], \"addresses\": {\"private\": [{\"version\": 4, \"addr\": \"10.
 7.17.249\"}, {\"version\": 4, \"addr\": \"15.185.175.8\"}]}, \"tenant_id\": \"123456fake7890\", \"image\": {\"id\": \"47940\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/images/47940\", \"rel\": \"bookmark\"}]}, \"created\": \"2012-12-11T11:35:26Z\", \"uuid\": \"16bc0610-396f-4a3b-b873-db8da574ee81\", \"accessIPv4\": \"\", \"accessIPv6\": \"\", \"key_name\": \"marios_default\", \"progress\": 100, \"flavor\": {\"id\": \"100\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/flavors/100\", \"rel\": \"bookmark\"}]}, \"config_drive\": \"\", \"id\": 806835, \"security_groups\": [{\"name\": \"default\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/os-security-groups/1381\", \"rel\": \"bookmark\"}], \"id\": 1381}], \"metadata\": {}}]}"
+    http_version: 
+  recorded_at: Tue, 11 Dec 2012 11:41:06 GMT
+- request: 
+    method: get
+    uri: https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/extensions
+    body: 
+      string: ""
+    headers: 
+      X-Storage-Token: 
+      - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
+      Content-Type: 
+      - application/json
+      Accept: 
       - application/json
-  response:
-    status:
+      X-Auth-Token: 
+      - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
+      User-Agent: 
+      - OpenStack Ruby API 1.0.7
+      Connection: 
+      - Keep-Alive
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Content-Type: 
+      - application/json; charset=UTF-8
+      Date: 
+      - Tue, 11 Dec 2012 11:41:07 GMT
+      Content-Length: 
+      - "1570"
+    body: 
+      string: "{\"extensions\": [{\"updated\": \"2011-03-25T00:00:00+00:00\", \"name\": \"Volumes\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/volumes/api/v1.1\", \"alias\": \"os-volumes\", \"description\": \"Volumes support\"}, {\"updated\": \"2012-10-11T00:00:00+00:00\", \"name\": \"HP Bootable Volumes\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/hp-bootable-volumes/api/v1.1\", \"alias\": \"hp-bootable-volumes\", \"description\": \"hp bootable volumes support\"}, {\"updated\": \"2012-09-04T00:00:00+00:00\", \"name\": \"hp volume backup\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/hp-volume-backups/api/v1.1\", \"alias\": \"hp-volume-backups\", \"description\": \"hp volume backups support\"}, {\"updated\": \"2011-08-08T00:00:00+00:00\", \"name\": \"Keypairs\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/keypairs/api/v1.1\", \"alias\": \"os-keypairs\", \"description\": \"Keypair Support\"}, {\"updated\": \"
 2011-12-08T00:00:00+00:00\", \"name\": \"Console_output\", \"links\": [], \"namespace\": \"http://docs.openstack.org/compute/ext/os-console-output/api/v1.1\", \"alias\": \"os-console-output\", \"description\": \"Console log output support, with tailing ability.\"}, {\"updated\": \"2011-07-21T00:00:00+00:00\", \"name\": \"SecurityGroups\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/securitygroups/api/v1.1\", \"alias\": \"security_groups\", \"description\": \"Security group support\"}, {\"updated\": \"2011-06-16T00:00:00+00:00\", \"name\": \"Floating_ips\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/floating_ips/api/v1.1\", \"alias\": \"os-floating-ips\", \"description\": \"Floating IPs support\"}]}"
+    http_version: 
+  recorded_at: Tue, 11 Dec 2012 11:41:07 GMT
+- request: 
+    method: get
+    uri: https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/806837/os-volume_attachments
+    body: 
+      string: ""
+    headers: 
+      X-Storage-Token: 
+      - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
+      Content-Type: 
+      - application/json
+      Accept: 
+      - application/json
+      X-Auth-Token: 
+      - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
+      User-Agent: 
+      - OpenStack Ruby API 1.0.7
+      Connection: 
+      - Keep-Alive
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Content-Type: 
+      - application/json; charset=UTF-8
+      Date: 
+      - Tue, 11 Dec 2012 11:41:09 GMT
+      Content-Length: 
+      - "25"
+    body: 
+      string: "{\"volumeAttachments\": []}"
+    http_version: 
+  recorded_at: Tue, 11 Dec 2012 11:41:09 GMT
+- request: 
+    method: get
+    uri: https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/806835/os-volume_attachments
+    body: 
+      string: ""
+    headers: 
+      X-Storage-Token: 
+      - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
+      Content-Type: 
+      - application/json
+      Accept: 
+      - application/json
+      X-Auth-Token: 
+      - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
+      User-Agent: 
+      - OpenStack Ruby API 1.0.7
+      Connection: 
+      - Keep-Alive
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      X-Compute-Request-Id:
-      - req-8b6053a6-6fbc-4c56-a6ae-d09fc553fa0e
-      Content-Type:
-      - application/json
-      Content-Length:
-      - '2824'
-      Date:
-      - Mon, 27 Aug 2012 16:17:33 GMT
-      Connection:
-      - keep-alive
-    body:
-      encoding: US-ASCII
-      string: ! '{"servers": [{"OS-EXT-STS:task_state": null, "addresses": {"demonet":
-        [{"version": 4, "addr": "10.0.0.7"}]}, "links": [{"href": "http://10.34.32.211:8774/v1.1/e827289fd66f4effb5b9b5012282fdb7/servers/632f0a99-7c2d-4624-afaf-b9d2421279bc",
-        "rel": "self"}, {"href": "http://10.34.32.211:8774/e827289fd66f4effb5b9b5012282fdb7/servers/632f0a99-7c2d-4624-afaf-b9d2421279bc",
-        "rel": "bookmark"}], "image": {"id": "bf7ce59a-d9f9-45d4-9313-f45b16436602",
-        "links": [{"href": "http://10.34.32.211:8774/e827289fd66f4effb5b9b5012282fdb7/images/bf7ce59a-d9f9-45d4-9313-f45b16436602",
-        "rel": "bookmark"}]}, "OS-EXT-STS:vm_state": "active", "OS-EXT-SRV-ATTR:instance_name":
-        "instance-00000011", "flavor": {"id": "1", "links": [{"href": "http://10.34.32.211:8774/e827289fd66f4effb5b9b5012282fdb7/flavors/1",
-        "rel": "bookmark"}]}, "id": "632f0a99-7c2d-4624-afaf-b9d2421279bc", "user_id":
-        "f2286a51122345cea7d216c120974b41", "OS-DCF:diskConfig": "MANUAL", "accessIPv4":
-        "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "config_drive":
-        "", "status": "ACTIVE", "updated": "2012-08-27T15:44:08Z", "hostId": "13942eef5ee69ea6fabcd918042084b1ec915973056bb1b497b43dfa",
-        "OS-EXT-SRV-ATTR:host": "openstack-01.lab.eng.brq.redhat.com", "key_name":
-        "", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "name": "server2012-08-27
-        13:55:22 +0200", "created": "2012-08-27T15:44:04Z", "tenant_id": "e827289fd66f4effb5b9b5012282fdb7",
-        "metadata": {}}, {"OS-EXT-STS:task_state": null, "addresses": {"demonet":
-        [{"version": 4, "addr": "10.0.0.2"}]}, "links": [{"href": "http://10.34.32.211:8774/v1.1/e827289fd66f4effb5b9b5012282fdb7/servers/fef00348-9991-404c-b0d4-655d18f84345",
-        "rel": "self"}, {"href": "http://10.34.32.211:8774/e827289fd66f4effb5b9b5012282fdb7/servers/fef00348-9991-404c-b0d4-655d18f84345",
-        "rel": "bookmark"}], "image": {"id": "bf7ce59a-d9f9-45d4-9313-f45b16436602",
-        "links": [{"href": "http://10.34.32.211:8774/e827289fd66f4effb5b9b5012282fdb7/images/bf7ce59a-d9f9-45d4-9313-f45b16436602",
-        "rel": "bookmark"}]}, "OS-EXT-STS:vm_state": "active", "OS-EXT-SRV-ATTR:instance_name":
-        "instance-0000000c", "flavor": {"id": "1", "links": [{"href": "http://10.34.32.211:8774/e827289fd66f4effb5b9b5012282fdb7/flavors/1",
-        "rel": "bookmark"}]}, "id": "fef00348-9991-404c-b0d4-655d18f84345", "user_id":
-        "f2286a51122345cea7d216c120974b41", "OS-DCF:diskConfig": "MANUAL", "accessIPv4":
-        "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "config_drive":
-        "", "status": "ACTIVE", "updated": "2012-08-27T15:27:16Z", "hostId": "13942eef5ee69ea6fabcd918042084b1ec915973056bb1b497b43dfa",
-        "OS-EXT-SRV-ATTR:host": "openstack-01.lab.eng.brq.redhat.com", "key_name":
-        "", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "name": "test-3", "created":
-        "2012-08-27T15:27:12Z", "tenant_id": "e827289fd66f4effb5b9b5012282fdb7", "metadata":
-        {}}]}'
+    headers: 
+      Content-Type: 
+      - application/json; charset=UTF-8
+      Date: 
+      - Tue, 11 Dec 2012 11:41:10 GMT
+      Content-Length: 
+      - "25"
+    body: 
+      string: "{\"volumeAttachments\": []}"
     http_version: 
-  recorded_at: Mon, 27 Aug 2012 12:28:52 GMT
-recorded_with: VCR 2.2.4
+  recorded_at: Tue, 11 Dec 2012 11:41:10 GMT

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/ae631c66/server/tests/drivers/openstack/fixtures/test_0003_must_allow_to_filter_instances.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/openstack/fixtures/test_0003_must_allow_to_filter_instances.yml b/server/tests/drivers/openstack/fixtures/test_0003_must_allow_to_filter_instances.yml
index 1c475d9..30ec57a 100644
--- a/server/tests/drivers/openstack/fixtures/test_0003_must_allow_to_filter_instances.yml
+++ b/server/tests/drivers/openstack/fixtures/test_0003_must_allow_to_filter_instances.yml
@@ -1,109 +1,457 @@
----
-http_interactions:
-- request:
+--- 
+recorded_with: VCR 2.3.0
+http_interactions: 
+- request: 
     method: post
-    uri: http://10.34.32.211:5000/v2.0/tokens
-    body:
-      encoding: UTF-8
-      string: ! '{"auth":{"passwordCredentials":{"username":"admin","password":"password"},"tenantName":"admin"}}'
-    headers:
-      Content-Type:
+    uri: https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/tokens
+    body: 
+      string: "{\"auth\":{\"passwordCredentials\":{\"username\":\"foo@fakedomain.eu\",\"password\":\"1234fake56789\"},\"tenantName\":\"foo@fakedomain.eu-default-tenant\"}}"
+    headers: 
+      Content-Type: 
       - application/json
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - Ruby
-  response:
-    status:
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Content-Type:
+    headers: 
+      Server: 
+      - Apache-Coyote/1.1
+      Content-Type: 
       - application/json
-      Vary:
-      - X-Auth-Token
-      Content-Length:
-      - '2010'
-      Date:
-      - Mon, 27 Aug 2012 16:17:33 GMT
-    body:
-      encoding: US-ASCII
-      string: ! '{"access": {"token": {"expires": "2012-08-28T16:17:33Z", "id": "7fa6728dbb9349dabbf7da4b10a665a7",
-        "tenant": {"description": null, "enabled": true, "id": "e827289fd66f4effb5b9b5012282fdb7",
-        "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://10.34.32.211:8776/v1/e827289fd66f4effb5b9b5012282fdb7",
-        "region": "RegionOne", "publicURL": "http://10.34.32.211:8776/v1/e827289fd66f4effb5b9b5012282fdb7",
-        "internalURL": "http://10.34.32.211:8776/v1/e827289fd66f4effb5b9b5012282fdb7"}],
-        "endpoints_links": [], "type": "volume", "name": "Volume Service"}, {"endpoints":
-        [{"adminURL": "http://10.34.32.211:9292/v1", "region": "RegionOne", "publicURL":
-        "http://10.34.32.211:9292/v1", "internalURL": "http://10.34.32.211:9292/v1"}],
-        "endpoints_links": [], "type": "image", "name": "Image Service"}, {"endpoints":
-        [{"adminURL": "http://10.34.32.211:8774/v1.1/e827289fd66f4effb5b9b5012282fdb7",
-        "region": "RegionOne", "publicURL": "http://10.34.32.211:8774/v1.1/e827289fd66f4effb5b9b5012282fdb7",
-        "internalURL": "http://10.34.32.211:8774/v1.1/e827289fd66f4effb5b9b5012282fdb7"}],
-        "endpoints_links": [], "type": "compute", "name": "Compute Service"}, {"endpoints":
-        [{"adminURL": "http://10.34.32.211:8773/services/Admin", "region": "RegionOne",
-        "publicURL": "http://10.34.32.211:8773/services/Cloud", "internalURL": "http://10.34.32.211:8773/services/Cloud"}],
-        "endpoints_links": [], "type": "ec2", "name": "EC2 Service"}, {"endpoints":
-        [{"adminURL": "http://10.34.32.211:35357/v2.0", "region": "RegionOne", "publicURL":
-        "http://10.34.32.211:5000/v2.0", "internalURL": "http://10.34.32.211:5000/v2.0"}],
-        "endpoints_links": [], "type": "identity", "name": "Identity Service"}], "user":
-        {"username": "admin", "roles_links": [], "id": "f2286a51122345cea7d216c120974b41",
-        "roles": [{"id": "e7e292b28c4b4befb06232fa935a3c48", "name": "KeystoneServiceAdmin"},
-        {"id": "7e716d5a52f348bb9a7fbbc230041b2a", "name": "admin"}, {"id": "bf2113c0cb924b34907521808ed9df13",
-        "name": "KeystoneAdmin"}], "name": "admin"}}}'
+      Expires: 
+      - "-1"
+      Pragma: 
+      - no-cache
+      Cache-Control: 
+      - no-cache
+      Date: 
+      - Tue, 11 Dec 2012 11:41:11 GMT
+      Content-Length: 
+      - "4011"
+    body: 
+      string: |-
+        {"access": {
+          "token": {
+            "expires": "2012-12-11T23:41:12.084Z",
+            "id": "EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1",
+            "tenant": {
+              "id": "123456fake7890",
+              "name": "foo@fakedomain.eu-default-tenant"
+            }
+          },
+          "user": {
+            "id": "98765fake43210",
+            "name": "foo@fakedomain.eu",
+            "roles": [
+              {
+                "id": "00000000004024",
+                "serviceId": "140",
+                "name": "user",
+                "tenantId": "123456fake7890"
+              },
+              {
+                "id": "00000000004022",
+                "serviceId": "110",
+                "name": "Admin",
+                "tenantId": "123456fake7890"
+              },
+              {
+                "id": "00000000004025",
+                "serviceId": "120",
+                "name": "sysadmin",
+                "tenantId": "123456fake7890"
+              },
+              {
+                "id": "00000000004003",
+                "serviceId": "100",
+                "name": "domainadmin"
+              },
+              {
+                "id": "00000000004016",
+                "serviceId": "120",
+                "name": "netadmin",
+                "tenantId": "123456fake7890"
+              },
+              {
+                "id": "00000000004004",
+                "serviceId": "100",
+                "name": "domainuser"
+              },
+              {
+                "id": "00000000004013",
+                "serviceId": "130",
+                "name": "block-admin",
+                "tenantId": "123456fake7890"
+              }
+            ]
+          },
+          "serviceCatalog": [
+            {
+              "name": "Object Storage",
+              "type": "object-store",
+              "endpoints": [{
+                "tenantId": "123456fake7890",
+                "publicURL": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1\/123456fake7890",
+                "region": "region-a.geo-1",
+                "versionId": "1.0",
+                "versionInfo": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1.0\/",
+                "versionList": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com"
+              }]
+            },
+            {
+              "name": "Identity",
+              "type": "identity",
+              "endpoints": [
+                {
+                  "publicURL": "https:\/\/region-b.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
+                  "region": "region-b.geo-1",
+                  "versionId": "2.0",
+                  "versionInfo": "https:\/\/region-b.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
+                  "versionList": "https:\/\/region-b.geo-1.identity.hpcloudsvc.com:35357"
+                },
+                {
+                  "publicURL": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
+                  "region": "region-a.geo-1",
+                  "versionId": "2.0",
+                  "versionInfo": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
+                  "versionList": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357"
+                }
+              ]
+            },
+            {
+              "name": "Image Management",
+              "type": "image",
+              "endpoints": [{
+                "tenantId": "123456fake7890",
+                "publicURL": "https:\/\/glance2.uswest.hpcloud.net:9292\/v1.0",
+                "region": "az-2.region-a.geo-1",
+                "versionId": "1.0",
+                "versionInfo": "https:\/\/glance2.uswest.hpcloud.net:9292\/v1.0\/",
+                "versionList": "https:\/\/glance2.uswest.hpcloud.net:9292"
+              }]
+            },
+            {
+              "name": "Block Storage",
+              "type": "volume",
+              "endpoints": [{
+                "tenantId": "123456fake7890",
+                "publicURL": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/123456fake7890",
+                "region": "az-2.region-a.geo-1",
+                "versionId": "1.1",
+                "versionInfo": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/",
+                "versionList": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com"
+              }]
+            },
+            {
+              "name": "Compute",
+              "type": "compute",
+              "endpoints": [{
+                "tenantId": "123456fake7890",
+                "publicURL": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/123456fake7890",
+                "publicURL2": "https:\/\/az-2.region-a.geo-1.ec2-compute.hpcloudsvc.com\/services\/Cloud",
+                "region": "az-2.region-a.geo-1",
+                "versionId": "1.1",
+                "versionInfo": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/",
+                "versionList": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com"
+              }]
+            }
+          ]
+        }}
     http_version: 
-  recorded_at: Mon, 27 Aug 2012 12:28:51 GMT
-- request:
+  recorded_at: Tue, 11 Dec 2012 11:41:12 GMT
+- request: 
     method: get
-    uri: http://10.34.32.211:8774/v1.1/e827289fd66f4effb5b9b5012282fdb7/servers/fef00348-9991-404c-b0d4-655d18f84345
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      X-Auth-Token:
-      - 7fa6728dbb9349dabbf7da4b10a665a7
-      X-Storage-Token:
-      - 7fa6728dbb9349dabbf7da4b10a665a7
-      Connection:
+    uri: https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/806837
+    body: 
+      string: ""
+    headers: 
+      X-Storage-Token: 
+      - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
+      Content-Type: 
+      - application/json
+      Accept: 
+      - application/json
+      X-Auth-Token: 
+      - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
+      User-Agent: 
+      - OpenStack Ruby API 1.0.7
+      Connection: 
+      - Keep-Alive
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Content-Type: 
+      - application/json; charset=UTF-8
+      Date: 
+      - Tue, 11 Dec 2012 11:41:13 GMT
+      Content-Length: 
+      - "1294"
+    body: 
+      string: "{\"server\": {\"status\": \"ACTIVE\", \"updated\": \"2012-12-11T11:36:16Z\", \"hostId\": \"bbe65f8ab3fc264a6d7b576cf43db3268a0053b15a84ec9b1daaaf22\", \"user_id\": \"98765fake43210\", \"name\": \"Server-1355225740-az-2-region-a-geo-1\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/806837\", \"rel\": \"self\"}, {\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/servers/806837\", \"rel\": \"bookmark\"}], \"addresses\": {\"private\": [{\"version\": 4, \"addr\": \"10.7.17.252\"}, {\"version\": 4, \"addr\": \"15.185.175.43\"}]}, \"tenant_id\": \"123456fake7890\", \"image\": {\"id\": \"47940\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/images/47940\", \"rel\": \"bookmark\"}]}, \"created\": \"2012-12-11T11:35:45Z\", \"uuid\": \"936765b5-27bd-4d7d-a010-437e67611312\", \"accessIPv4\": \"\", \"accessIPv6\": \"\", \"key_name\": \"marios_default\
 ", \"progress\": 100, \"flavor\": {\"id\": \"100\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/flavors/100\", \"rel\": \"bookmark\"}]}, \"config_drive\": \"\", \"id\": 806837, \"security_groups\": [{\"name\": \"default\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/os-security-groups/1381\", \"rel\": \"bookmark\"}], \"id\": 1381}], \"metadata\": {}}}"
+    http_version: 
+  recorded_at: Tue, 11 Dec 2012 11:41:13 GMT
+- request: 
+    method: get
+    uri: https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/extensions
+    body: 
+      string: ""
+    headers: 
+      X-Storage-Token: 
+      - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
+      Content-Type: 
+      - application/json
+      Accept: 
+      - application/json
+      X-Auth-Token: 
+      - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
+      User-Agent: 
+      - OpenStack Ruby API 1.0.7
+      Connection: 
       - Keep-Alive
-      User-Agent:
-      - OpenStack Ruby API 1.0.3
-      Accept:
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Content-Type: 
+      - application/json; charset=UTF-8
+      Date: 
+      - Tue, 11 Dec 2012 11:41:15 GMT
+      Content-Length: 
+      - "1570"
+    body: 
+      string: "{\"extensions\": [{\"updated\": \"2011-03-25T00:00:00+00:00\", \"name\": \"Volumes\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/volumes/api/v1.1\", \"alias\": \"os-volumes\", \"description\": \"Volumes support\"}, {\"updated\": \"2012-10-11T00:00:00+00:00\", \"name\": \"HP Bootable Volumes\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/hp-bootable-volumes/api/v1.1\", \"alias\": \"hp-bootable-volumes\", \"description\": \"hp bootable volumes support\"}, {\"updated\": \"2012-09-04T00:00:00+00:00\", \"name\": \"hp volume backup\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/hp-volume-backups/api/v1.1\", \"alias\": \"hp-volume-backups\", \"description\": \"hp volume backups support\"}, {\"updated\": \"2011-08-08T00:00:00+00:00\", \"name\": \"Keypairs\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/keypairs/api/v1.1\", \"alias\": \"os-keypairs\", \"description\": \"Keypair Support\"}, {\"updated\": \"
 2011-12-08T00:00:00+00:00\", \"name\": \"Console_output\", \"links\": [], \"namespace\": \"http://docs.openstack.org/compute/ext/os-console-output/api/v1.1\", \"alias\": \"os-console-output\", \"description\": \"Console log output support, with tailing ability.\"}, {\"updated\": \"2011-07-21T00:00:00+00:00\", \"name\": \"SecurityGroups\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/securitygroups/api/v1.1\", \"alias\": \"security_groups\", \"description\": \"Security group support\"}, {\"updated\": \"2011-06-16T00:00:00+00:00\", \"name\": \"Floating_ips\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/floating_ips/api/v1.1\", \"alias\": \"os-floating-ips\", \"description\": \"Floating IPs support\"}]}"
+    http_version: 
+  recorded_at: Tue, 11 Dec 2012 11:41:15 GMT
+- request: 
+    method: get
+    uri: https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/806837/os-volume_attachments
+    body: 
+      string: ""
+    headers: 
+      X-Storage-Token: 
+      - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
+      Content-Type: 
+      - application/json
+      Accept: 
       - application/json
-      Content-Type:
+      X-Auth-Token: 
+      - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
+      User-Agent: 
+      - OpenStack Ruby API 1.0.7
+      Connection: 
+      - Keep-Alive
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Content-Type: 
+      - application/json; charset=UTF-8
+      Date: 
+      - Tue, 11 Dec 2012 11:41:16 GMT
+      Content-Length: 
+      - "25"
+    body: 
+      string: "{\"volumeAttachments\": []}"
+    http_version: 
+  recorded_at: Tue, 11 Dec 2012 11:41:16 GMT
+- request: 
+    method: post
+    uri: https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/tokens
+    body: 
+      string: "{\"auth\":{\"passwordCredentials\":{\"username\":\"foo@fakedomain.eu\",\"password\":\"1234fake56789\"},\"tenantName\":\"foo@fakedomain.eu-default-tenant\"}}"
+    headers: 
+      Content-Type: 
       - application/json
-  response:
-    status:
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      X-Compute-Request-Id:
-      - req-be0221ae-72b3-40cc-9ebc-fd70e8542735
-      Content-Type:
+    headers: 
+      Server: 
+      - Apache-Coyote/1.1
+      Content-Type: 
+      - application/json
+      Expires: 
+      - "-1"
+      Pragma: 
+      - no-cache
+      Cache-Control: 
+      - no-cache
+      Date: 
+      - Tue, 11 Dec 2012 11:41:17 GMT
+      Content-Length: 
+      - "4011"
+    body: 
+      string: |-
+        {"access": {
+          "token": {
+            "expires": "2012-12-11T23:41:18.114Z",
+            "id": "EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1",
+            "tenant": {
+              "id": "123456fake7890",
+              "name": "foo@fakedomain.eu-default-tenant"
+            }
+          },
+          "user": {
+            "id": "98765fake43210",
+            "name": "foo@fakedomain.eu",
+            "roles": [
+              {
+                "id": "00000000004024",
+                "serviceId": "140",
+                "name": "user",
+                "tenantId": "123456fake7890"
+              },
+              {
+                "id": "00000000004022",
+                "serviceId": "110",
+                "name": "Admin",
+                "tenantId": "123456fake7890"
+              },
+              {
+                "id": "00000000004025",
+                "serviceId": "120",
+                "name": "sysadmin",
+                "tenantId": "123456fake7890"
+              },
+              {
+                "id": "00000000004003",
+                "serviceId": "100",
+                "name": "domainadmin"
+              },
+              {
+                "id": "00000000004016",
+                "serviceId": "120",
+                "name": "netadmin",
+                "tenantId": "123456fake7890"
+              },
+              {
+                "id": "00000000004004",
+                "serviceId": "100",
+                "name": "domainuser"
+              },
+              {
+                "id": "00000000004013",
+                "serviceId": "130",
+                "name": "block-admin",
+                "tenantId": "123456fake7890"
+              }
+            ]
+          },
+          "serviceCatalog": [
+            {
+              "name": "Object Storage",
+              "type": "object-store",
+              "endpoints": [{
+                "tenantId": "123456fake7890",
+                "publicURL": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1\/123456fake7890",
+                "region": "region-a.geo-1",
+                "versionId": "1.0",
+                "versionInfo": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1.0\/",
+                "versionList": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com"
+              }]
+            },
+            {
+              "name": "Identity",
+              "type": "identity",
+              "endpoints": [
+                {
+                  "publicURL": "https:\/\/region-b.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
+                  "region": "region-b.geo-1",
+                  "versionId": "2.0",
+                  "versionInfo": "https:\/\/region-b.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
+                  "versionList": "https:\/\/region-b.geo-1.identity.hpcloudsvc.com:35357"
+                },
+                {
+                  "publicURL": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
+                  "region": "region-a.geo-1",
+                  "versionId": "2.0",
+                  "versionInfo": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
+                  "versionList": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357"
+                }
+              ]
+            },
+            {
+              "name": "Image Management",
+              "type": "image",
+              "endpoints": [{
+                "tenantId": "123456fake7890",
+                "publicURL": "https:\/\/glance2.uswest.hpcloud.net:9292\/v1.0",
+                "region": "az-2.region-a.geo-1",
+                "versionId": "1.0",
+                "versionInfo": "https:\/\/glance2.uswest.hpcloud.net:9292\/v1.0\/",
+                "versionList": "https:\/\/glance2.uswest.hpcloud.net:9292"
+              }]
+            },
+            {
+              "name": "Block Storage",
+              "type": "volume",
+              "endpoints": [{
+                "tenantId": "123456fake7890",
+                "publicURL": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/123456fake7890",
+                "region": "az-2.region-a.geo-1",
+                "versionId": "1.1",
+                "versionInfo": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/",
+                "versionList": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com"
+              }]
+            },
+            {
+              "name": "Compute",
+              "type": "compute",
+              "endpoints": [{
+                "tenantId": "123456fake7890",
+                "publicURL": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/123456fake7890",
+                "publicURL2": "https:\/\/az-2.region-a.geo-1.ec2-compute.hpcloudsvc.com\/services\/Cloud",
+                "region": "az-2.region-a.geo-1",
+                "versionId": "1.1",
+                "versionInfo": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/",
+                "versionList": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com"
+              }]
+            }
+          ]
+        }}
+    http_version: 
+  recorded_at: Tue, 11 Dec 2012 11:41:18 GMT
+- request: 
+    method: get
+    uri: https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/unknown
+    body: 
+      string: ""
+    headers: 
+      X-Storage-Token: 
+      - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
+      Content-Type: 
+      - application/json
+      Accept: 
       - application/json
-      Content-Length:
-      - '1403'
-      Date:
-      - Mon, 27 Aug 2012 16:17:33 GMT
-      Connection:
-      - keep-alive
-    body:
-      encoding: US-ASCII
-      string: ! '{"server": {"OS-EXT-STS:task_state": null, "addresses": {"demonet":
-        [{"version": 4, "addr": "10.0.0.2"}]}, "links": [{"href": "http://10.34.32.211:8774/v1.1/e827289fd66f4effb5b9b5012282fdb7/servers/fef00348-9991-404c-b0d4-655d18f84345",
-        "rel": "self"}, {"href": "http://10.34.32.211:8774/e827289fd66f4effb5b9b5012282fdb7/servers/fef00348-9991-404c-b0d4-655d18f84345",
-        "rel": "bookmark"}], "image": {"id": "bf7ce59a-d9f9-45d4-9313-f45b16436602",
-        "links": [{"href": "http://10.34.32.211:8774/e827289fd66f4effb5b9b5012282fdb7/images/bf7ce59a-d9f9-45d4-9313-f45b16436602",
-        "rel": "bookmark"}]}, "OS-EXT-STS:vm_state": "active", "OS-EXT-SRV-ATTR:instance_name":
-        "instance-0000000c", "flavor": {"id": "1", "links": [{"href": "http://10.34.32.211:8774/e827289fd66f4effb5b9b5012282fdb7/flavors/1",
-        "rel": "bookmark"}]}, "id": "fef00348-9991-404c-b0d4-655d18f84345", "user_id":
-        "f2286a51122345cea7d216c120974b41", "OS-DCF:diskConfig": "MANUAL", "accessIPv4":
-        "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "config_drive":
-        "", "status": "ACTIVE", "updated": "2012-08-27T15:27:16Z", "hostId": "13942eef5ee69ea6fabcd918042084b1ec915973056bb1b497b43dfa",
-        "OS-EXT-SRV-ATTR:host": "openstack-01.lab.eng.brq.redhat.com", "key_name":
-        "", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "name": "test-3", "created":
-        "2012-08-27T15:27:12Z", "tenant_id": "e827289fd66f4effb5b9b5012282fdb7", "metadata":
-        {}}}'
+      X-Auth-Token: 
+      - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
+      User-Agent: 
+      - OpenStack Ruby API 1.0.7
+      Connection: 
+      - Keep-Alive
+  response: 
+    status: 
+      code: 404
+      message: Not Found
+    headers: 
+      Content-Type: 
+      - application/json; charset=UTF-8
+      Nncoection: 
+      - close
+      Date: 
+      - Tue, 11 Dec 2012 11:41:19 GMT
+      Content-Length: 
+      - "78"
+    body: 
+      string: "{\"itemNotFound\": {\"message\": \"The resource could not be found.\", \"code\": 404}}"
     http_version: 
-  recorded_at: Mon, 27 Aug 2012 12:28:51 GMT
-recorded_with: VCR 2.2.4
+  recorded_at: Tue, 11 Dec 2012 11:41:19 GMT


Mime
View raw message