misty 0.1.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +222 -1
- data/lib/misty.rb +8 -0
- data/lib/misty/auth.rb +60 -0
- data/lib/misty/auth/auth_v2.rb +46 -0
- data/lib/misty/auth/auth_v3.rb +58 -0
- data/lib/misty/autoload.rb +82 -0
- data/lib/misty/cloud.rb +133 -0
- data/lib/misty/http/client.rb +115 -0
- data/lib/misty/http/direct.rb +26 -0
- data/lib/misty/http/method_builder.rb +96 -0
- data/lib/misty/http/request.rb +75 -0
- data/lib/misty/misty.rb +51 -0
- data/lib/misty/openstack/aodh/aodh_v2.rb +12 -0
- data/lib/misty/openstack/aodh/v2.rb +20 -0
- data/lib/misty/openstack/ceilometer/ceilometer_v2.rb +13 -0
- data/lib/misty/openstack/ceilometer/v2.rb +20 -0
- data/lib/misty/openstack/cinder/cinder_v1.rb +35 -0
- data/lib/misty/openstack/cinder/cinder_v3.rb +148 -0
- data/lib/misty/openstack/cinder/v1.rb +24 -0
- data/lib/misty/openstack/cinder/v3.rb +24 -0
- data/lib/misty/openstack/designate/designate_v2.rb +69 -0
- data/lib/misty/openstack/designate/v2.rb +20 -0
- data/lib/misty/openstack/glance/glance_v1.rb +16 -0
- data/lib/misty/openstack/glance/glance_v2.rb +29 -0
- data/lib/misty/openstack/glance/v1.rb +20 -0
- data/lib/misty/openstack/glance/v2.rb +20 -0
- data/lib/misty/openstack/heat/heat_v1.rb +85 -0
- data/lib/misty/openstack/heat/v1.rb +24 -0
- data/lib/misty/openstack/ironic/ironic_v1.rb +71 -0
- data/lib/misty/openstack/ironic/v1.rb +26 -0
- data/lib/misty/openstack/karbor/karbor_v1.rb +32 -0
- data/lib/misty/openstack/karbor/v1.rb +20 -0
- data/lib/misty/openstack/keystone/keystone_v2_0.rb +11 -0
- data/lib/misty/openstack/keystone/keystone_v2_0_ext.rb +32 -0
- data/lib/misty/openstack/keystone/keystone_v3.rb +147 -0
- data/lib/misty/openstack/keystone/keystone_v3_ext.rb +124 -0
- data/lib/misty/openstack/keystone/v2_0.rb +23 -0
- data/lib/misty/openstack/keystone/v3.rb +23 -0
- data/lib/misty/openstack/magnum/magnum_v1.rb +41 -0
- data/lib/misty/openstack/magnum/v1.rb +26 -0
- data/lib/misty/openstack/manila/manila_v2.rb +143 -0
- data/lib/misty/openstack/manila/v2.rb +26 -0
- data/lib/misty/openstack/microversion.rb +62 -0
- data/lib/misty/openstack/neutron/neutron_v2_0.rb +205 -0
- data/lib/misty/openstack/neutron/v2_0.rb +20 -0
- data/lib/misty/openstack/nova/nova_v2_1.rb +269 -0
- data/lib/misty/openstack/nova/v2_1.rb +40 -0
- data/lib/misty/openstack/sahara/sahara_v1_1.rb +77 -0
- data/lib/misty/openstack/sahara/v1_1.rb +20 -0
- data/lib/misty/openstack/searchlight/searchlight_v1.rb +15 -0
- data/lib/misty/openstack/searchlight/v1.rb +20 -0
- data/lib/misty/openstack/senlin/senlin_v1.rb +66 -0
- data/lib/misty/openstack/senlin/v1.rb +20 -0
- data/lib/misty/openstack/swift/swift_v1.rb +23 -0
- data/lib/misty/openstack/swift/v1.rb +20 -0
- data/lib/misty/openstack/trove/trove_v1_0.rb +51 -0
- data/lib/misty/openstack/trove/v1_0.rb +20 -0
- data/lib/misty/openstack/zaqar/v2.rb +20 -0
- data/lib/misty/openstack/zaqar/zaqar_v2.rb +46 -0
- data/lib/misty/version.rb +2 -2
- data/test/integration/compute_test.rb +35 -0
- data/test/integration/network_test.rb +34 -0
- data/test/integration/orchestration_test.rb +92 -0
- data/test/integration/test_helper.rb +19 -0
- data/test/integration/vcr/compute_using_nova_v2_1.yml +1107 -0
- data/test/integration/vcr/network_using_neutron_v2_0.yml +1029 -0
- data/test/integration/vcr/orchestration_using_heat_v1.yml +1457 -0
- data/test/unit/auth_helper.rb +52 -0
- data/test/unit/auth_test.rb +99 -0
- data/test/unit/cloud/requests_test.rb +113 -0
- data/test/unit/cloud/services_test.rb +171 -0
- data/test/unit/cloud_test.rb +145 -0
- data/test/unit/http/client_test.rb +74 -0
- data/test/unit/http/direct_test.rb +103 -0
- data/test/unit/http/method_builder_test.rb +133 -0
- data/test/unit/http/request_test.rb +123 -0
- data/test/unit/misty_test.rb +36 -0
- data/test/unit/openstack/APIs_test.rb +40 -0
- data/test/unit/openstack/microversion_test.rb +70 -0
- data/test/unit/service_helper.rb +25 -0
- data/test/unit/test_helper.rb +8 -0
- metadata +170 -5
data/lib/misty/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
module Misty
|
2
|
-
VERSION = "0.
|
1
|
+
module Misty
|
2
|
+
VERSION = "0.3.0"
|
3
3
|
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
describe "Compute Service Nova v2.1 features" do
|
4
|
+
it "GET/POST/PUT/DELETE requests" do
|
5
|
+
VCR.use_cassette "compute using nova v2.1" do
|
6
|
+
cloud = Misty::Cloud.new(:auth => auth, :compute => {:api_version => "v2.1"})
|
7
|
+
|
8
|
+
# POST with body data
|
9
|
+
server = { "name": "test_create_server", "flavorRef": "1", "imageRef": "c091ccf2-a4ae-4fa0-a716-defd6376b5dc", "networks": [{"uuid": "9c6e43b6-3d1d-4106-ad45-5fc3f5e371ee"}]}
|
10
|
+
response = cloud.compute.create_server("server" => server)
|
11
|
+
response.code.must_equal "202"
|
12
|
+
id = response.body["server"]["id"]
|
13
|
+
id.wont_be_empty
|
14
|
+
|
15
|
+
# GET
|
16
|
+
response = cloud.compute.list_servers
|
17
|
+
response.code.must_equal "200"
|
18
|
+
response.body["servers"].size.must_equal 2
|
19
|
+
|
20
|
+
# GET with URI value
|
21
|
+
response = cloud.compute.show_server_details(id)
|
22
|
+
response.code.must_equal "200"
|
23
|
+
response.body["server"]["name"].must_equal "test_create_server"
|
24
|
+
|
25
|
+
# PUT with URI value and body data
|
26
|
+
update_server = { "name": "test_updated_server" }
|
27
|
+
response = cloud.compute.update_server(id, "server" => update_server)
|
28
|
+
response.code.must_equal "200"
|
29
|
+
response.body["server"]["name"].must_equal "test_updated_server"
|
30
|
+
|
31
|
+
# DELETE with URI value
|
32
|
+
cloud.compute.delete_server(id).code.must_equal "204"
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
describe "Network Service Neutron v2.0 features" do
|
4
|
+
it "GET/POST/PUT/DELETE requests" do
|
5
|
+
VCR.use_cassette "network using neutron v2.0" do
|
6
|
+
cloud = Misty::Cloud.new(:auth => auth, :network => {:api_version => "v2.0"})
|
7
|
+
|
8
|
+
# POST with body data
|
9
|
+
response = cloud.network.create_network("network" => { "name": "test_network" })
|
10
|
+
response.code.must_equal "201"
|
11
|
+
id = response.body["network"]["id"]
|
12
|
+
id.wont_be_empty
|
13
|
+
|
14
|
+
# GET
|
15
|
+
response = cloud.network.list_networks
|
16
|
+
response.code.must_equal "200"
|
17
|
+
response.body["networks"].size.must_equal 3
|
18
|
+
|
19
|
+
# GET with URI value
|
20
|
+
response = cloud.network.show_network_details(id)
|
21
|
+
response.code.must_equal "200"
|
22
|
+
response.body["network"]["name"].must_equal "test_network"
|
23
|
+
|
24
|
+
# PUT with URI value and body data
|
25
|
+
update_network = { "name": "test_updated_network" }
|
26
|
+
response = cloud.network.update_network(id, "network" => update_network)
|
27
|
+
response.code.must_equal "200"
|
28
|
+
response.body["network"]["name"].must_equal "test_updated_network"
|
29
|
+
|
30
|
+
# DELETE with URI value
|
31
|
+
cloud.network.delete_network(id).code.must_equal "204"
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,92 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
heat_template1 = {
|
4
|
+
"files": {},
|
5
|
+
"disable_rollback": true,
|
6
|
+
"stack_name": "test_stack1",
|
7
|
+
"template": {
|
8
|
+
"heat_template_version": "2013-05-23",
|
9
|
+
"description": "Test Template 1",
|
10
|
+
"resources": {
|
11
|
+
"private_test_network": {
|
12
|
+
"type": "OS::Neutron::Net",
|
13
|
+
"properties": { "name": "heat_test_network" }
|
14
|
+
}
|
15
|
+
}
|
16
|
+
},
|
17
|
+
"timeout_mins": 60
|
18
|
+
}
|
19
|
+
|
20
|
+
heat_template2 = {
|
21
|
+
"files": {},
|
22
|
+
"disable_rollback": true,
|
23
|
+
"parameters": {
|
24
|
+
"flavor": "m1.tiny"
|
25
|
+
},
|
26
|
+
"stack_name": "test_stack2",
|
27
|
+
"template": {
|
28
|
+
"heat_template_version": "2013-05-23",
|
29
|
+
"description": "Test Template 2",
|
30
|
+
"parameters": {
|
31
|
+
"flavor": {
|
32
|
+
"default": "m1.small",
|
33
|
+
"type": "string"
|
34
|
+
}
|
35
|
+
},
|
36
|
+
"resources": {
|
37
|
+
"hello_world": {
|
38
|
+
"type": "OS::Nova::Server",
|
39
|
+
"properties": {
|
40
|
+
"flavor": { "get_param": "flavor" },
|
41
|
+
"image": "50fd6f2b-d9f0-41b6-b0a9-4482bfe61914",
|
42
|
+
"user_data": "#!/bin/bash -xv\necho \"hello world\" > /root/hello-world.txt\n"
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
},
|
47
|
+
"timeout_mins": 60
|
48
|
+
}
|
49
|
+
|
50
|
+
describe "Orchestration Service using Heat v1" do
|
51
|
+
it "GET/POST/PUT/DELETE requests" do
|
52
|
+
VCR.use_cassette "orchestration using heat v1" do
|
53
|
+
cloud = Misty::Cloud.new(:auth => auth, :orchestration => {:api_version => "v1"})
|
54
|
+
|
55
|
+
# POST with body data
|
56
|
+
response = cloud.orchestration.create_stack(heat_template1)
|
57
|
+
response.code.must_equal "201"
|
58
|
+
id1 = response.body["stack"]["id"]
|
59
|
+
id1.wont_be_empty
|
60
|
+
|
61
|
+
response = cloud.orchestration.create_stack(heat_template2)
|
62
|
+
response.code.must_equal "201"
|
63
|
+
id2 = response.body["stack"]["id"]
|
64
|
+
id2.wont_be_empty
|
65
|
+
|
66
|
+
# GET
|
67
|
+
response = cloud.orchestration.list_stacks
|
68
|
+
response.code.must_equal "200"
|
69
|
+
response.body["stacks"].size.must_equal 2
|
70
|
+
|
71
|
+
# GET with URI value
|
72
|
+
response = cloud.orchestration.show_stack_details("test_stack2", id2)
|
73
|
+
response.code.must_equal "200"
|
74
|
+
response.body["stack"]["stack_name"].must_equal "test_stack2"
|
75
|
+
|
76
|
+
# PUT with URI value and body data
|
77
|
+
# Updating the network template because it's faster to execute
|
78
|
+
# therefore more likely to be in ready state before updating
|
79
|
+
heat_template1[:template][:description] = "Updated test template"
|
80
|
+
response = cloud.orchestration.update_stack("test_stack1", id1, heat_template1)
|
81
|
+
response.code.must_equal "202"
|
82
|
+
|
83
|
+
# PATCH with URI values
|
84
|
+
response = cloud.orchestration.update_stack_patch("test_stack1", id1, "disable_rollback": false)
|
85
|
+
response.code.must_equal "202"
|
86
|
+
|
87
|
+
# DELETE with URI value
|
88
|
+
cloud.orchestration.delete_stack("test_stack1", id1).code.must_equal "204"
|
89
|
+
cloud.orchestration.delete_stack("test_stack2", id2).code.must_equal "204"
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require "misty"
|
2
|
+
require 'minitest/autorun'
|
3
|
+
require 'vcr'
|
4
|
+
require 'webmock/minitest'
|
5
|
+
|
6
|
+
VCR.configure do |config|
|
7
|
+
config.cassette_library_dir = "test/integration/vcr"
|
8
|
+
config.hook_into :webmock
|
9
|
+
end
|
10
|
+
|
11
|
+
def auth
|
12
|
+
{
|
13
|
+
:url => "http://192.0.2.21:5000",
|
14
|
+
:user => "admin",
|
15
|
+
:password => "CJk9hb2ZFR96Ypu74KFFGWuhv",
|
16
|
+
:project => "admin",
|
17
|
+
:domain => "default"
|
18
|
+
}
|
19
|
+
end
|
@@ -0,0 +1,1107 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://192.0.2.21:5000/v3/auth/tokens
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"auth":{"identity":{"methods":["password"],"password":{"user":{"name":"admin","domain":{"id":"default"},"password":"CJk9hb2ZFR96Ypu74KFFGWuhv"}}},"scope":{"project":{"name":"admin","domain":{"id":"default"}}}}}'
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- application/json
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 201
|
21
|
+
message: Created
|
22
|
+
headers:
|
23
|
+
Date:
|
24
|
+
- Sat, 10 Dec 2016 01:11:47 GMT
|
25
|
+
Server:
|
26
|
+
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
27
|
+
X-Subject-Token:
|
28
|
+
- 833ec66536114df89e1490483869bfcf
|
29
|
+
Vary:
|
30
|
+
- X-Auth-Token
|
31
|
+
X-Openstack-Request-Id:
|
32
|
+
- req-58dd3da3-63e6-4cf4-a7df-b05bb026294a
|
33
|
+
Content-Length:
|
34
|
+
- '8373'
|
35
|
+
Content-Type:
|
36
|
+
- application/json
|
37
|
+
body:
|
38
|
+
encoding: UTF-8
|
39
|
+
string: '{"token": {"methods": ["password"], "roles": [{"id": "362084a241d94d56b6371f6cb1c87abf",
|
40
|
+
"name": "admin"}], "expires_at": "2016-12-10T02:11:48.103055Z", "project":
|
41
|
+
{"domain": {"id": "default", "name": "Default"}, "id": "48985e6b8da145699d411f12a3459fca",
|
42
|
+
"name": "admin"}, "catalog": [{"endpoints": [{"region_id": "regionOne", "url":
|
43
|
+
"http://192.0.2.21:8774/v2.1/48985e6b8da145699d411f12a3459fca", "region":
|
44
|
+
"regionOne", "interface": "internal", "id": "09e14aa5f80a4c3d84f20ecef245af13"},
|
45
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8774/v2.1/48985e6b8da145699d411f12a3459fca",
|
46
|
+
"region": "regionOne", "interface": "public", "id": "8beeb2f5570f4e668bb9df77105c396d"},
|
47
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8774/v2.1/48985e6b8da145699d411f12a3459fca",
|
48
|
+
"region": "regionOne", "interface": "admin", "id": "d368b97fae184bba9fdd2213287a327b"}],
|
49
|
+
"type": "compute", "id": "1a96b84b844a4c028f22b7da27501c0d", "name": "nova"},
|
50
|
+
{"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v1/48985e6b8da145699d411f12a3459fca",
|
51
|
+
"region": "regionOne", "interface": "admin", "id": "3e02c6f778ba4ab38476fff972c269c8"},
|
52
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v1/48985e6b8da145699d411f12a3459fca",
|
53
|
+
"region": "regionOne", "interface": "public", "id": "6483567da043458fb0bc734c39908f2f"},
|
54
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v1/48985e6b8da145699d411f12a3459fca",
|
55
|
+
"region": "regionOne", "interface": "internal", "id": "ad95dbf1f99a4fbda130bdcc71b81c15"}],
|
56
|
+
"type": "volume", "id": "1fb40dbf60ae483f853764381c1c6bab", "name": "cinder"},
|
57
|
+
{"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:9696/",
|
58
|
+
"region": "regionOne", "interface": "admin", "id": "029a7263b7e14ebe8f10a0033b636ed9"},
|
59
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:9696/", "region": "regionOne",
|
60
|
+
"interface": "public", "id": "a8e4debb78ed4aef9989ef07780abb46"}, {"region_id":
|
61
|
+
"regionOne", "url": "http://192.0.2.21:9696/", "region": "regionOne", "interface":
|
62
|
+
"internal", "id": "b188a6216018481d8b1f6f9f41e69354"}], "type": "network",
|
63
|
+
"id": "2358e09f2ee14eca9b047cc3c2ca62f8", "name": "neutron"}, {"endpoints":
|
64
|
+
[{"region_id": "regionOne", "url": "http://192.0.2.21:35357/v3", "region":
|
65
|
+
"regionOne", "interface": "admin", "id": "0ede2537de2644199f649bb566015c2c"},
|
66
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:5000/v3", "region": "regionOne",
|
67
|
+
"interface": "internal", "id": "2220349ef81d4b8fb678485c81f2a214"}, {"region_id":
|
68
|
+
"regionOne", "url": "http://192.0.2.21:5000/v3", "region": "regionOne", "interface":
|
69
|
+
"public", "id": "9b84ce6363324320af67511b995d6e32"}], "type": "identity",
|
70
|
+
"id": "2901e458d8b74d2399a041b5b64cb8d1", "name": "identity_v3"}, {"endpoints":
|
71
|
+
[{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v2/48985e6b8da145699d411f12a3459fca",
|
72
|
+
"region": "regionOne", "interface": "public", "id": "45c91d23e63648308e45e05944a530b9"},
|
73
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v2/48985e6b8da145699d411f12a3459fca",
|
74
|
+
"region": "regionOne", "interface": "admin", "id": "648693e76f00499289fc77ea6eea12eb"},
|
75
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v2/48985e6b8da145699d411f12a3459fca",
|
76
|
+
"region": "regionOne", "interface": "internal", "id": "ca2d606db4694c80802398bea56b8d7c"}],
|
77
|
+
"type": "volumev2", "id": "454c392dbb6d44bdb8a736a73628a8c4", "name": "cinderv2"},
|
78
|
+
{"endpoints": [], "type": "identity_v3", "id": "6f3b70e1db1b4ce692f558bc7fa2dfd7",
|
79
|
+
"name": "keystone_v3"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8080/v1/AUTH_48985e6b8da145699d411f12a3459fca",
|
80
|
+
"region": "regionOne", "interface": "internal", "id": "9ee36bdd422c4d04b1737b38079a7160"},
|
81
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8080/v1", "region": "regionOne",
|
82
|
+
"interface": "admin", "id": "bc34638cfdae4cc1ae168c283e4e915a"}, {"region_id":
|
83
|
+
"regionOne", "url": "http://192.0.2.21:8080/v1/AUTH_48985e6b8da145699d411f12a3459fca",
|
84
|
+
"region": "regionOne", "interface": "public", "id": "d41709fb49114560b459300f661bb3ed"}],
|
85
|
+
"type": "object-store", "id": "8e795505992141c1b32c1f9138b47b98", "name":
|
86
|
+
"swift"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8004/v1/48985e6b8da145699d411f12a3459fca",
|
87
|
+
"region": "regionOne", "interface": "admin", "id": "04a4bcb47c774cf4b776dd330ec90ac7"},
|
88
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8004/v1/48985e6b8da145699d411f12a3459fca",
|
89
|
+
"region": "regionOne", "interface": "internal", "id": "39f306a869084899af052b3d7a85701f"},
|
90
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8004/v1/48985e6b8da145699d411f12a3459fca",
|
91
|
+
"region": "regionOne", "interface": "public", "id": "b37cfb8813c649ca932b74717a4924dc"}],
|
92
|
+
"type": "orchestration", "id": "a8e72740ce92456ab392a75375ec9df7", "name":
|
93
|
+
"heat"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8042/",
|
94
|
+
"region": "regionOne", "interface": "internal", "id": "2bd9d0c1fc544f078c2fef39a5f4decd"},
|
95
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8042/", "region": "regionOne",
|
96
|
+
"interface": "admin", "id": "9c3ac290cf5944e9957f387987a6d7e8"}, {"region_id":
|
97
|
+
"regionOne", "url": "http://192.0.2.21:8042/", "region": "regionOne", "interface":
|
98
|
+
"public", "id": "b8345563ada3461a8f871d897bae1c60"}], "type": "alarming",
|
99
|
+
"id": "afce35c3b5c640658578063bcb52fe0e", "name": "aodh"}, {"endpoints": [{"region_id":
|
100
|
+
"regionOne", "url": "http://192.0.2.21:8777/", "region": "regionOne", "interface":
|
101
|
+
"public", "id": "0a8c20af41384e9b94ffbd266e69f8b0"}, {"region_id": "regionOne",
|
102
|
+
"url": "http://192.0.2.21:8777/", "region": "regionOne", "interface": "admin",
|
103
|
+
"id": "407e04f068d64cc49c8beb612087d60c"}, {"region_id": "regionOne", "url":
|
104
|
+
"http://192.0.2.21:8777/", "region": "regionOne", "interface": "internal",
|
105
|
+
"id": "5506ecfd12e04e9fae93a16dd7cd473e"}], "type": "metering", "id": "afde6b4f37d1406d83939829e87fbfb9",
|
106
|
+
"name": "ceilometer"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:9292/",
|
107
|
+
"region": "regionOne", "interface": "public", "id": "1b37c9b615634b9ba354acab8e797bd5"},
|
108
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:9292/", "region": "regionOne",
|
109
|
+
"interface": "admin", "id": "24ed5cb4e2104b9796a2529a21de04ac"}, {"region_id":
|
110
|
+
"regionOne", "url": "http://192.0.2.21:9292/", "region": "regionOne", "interface":
|
111
|
+
"internal", "id": "8493c76b6a1f400b80e20a11e3ac9e8d"}], "type": "image", "id":
|
112
|
+
"be4dfdcf14ef48039edf82ef5ae1629e", "name": "glance"}, {"endpoints": [{"region_id":
|
113
|
+
"regionOne", "url": "http://192.0.2.21:8041/", "region": "regionOne", "interface":
|
114
|
+
"admin", "id": "709ff9a3f13848209b8934bb1f6dec26"}, {"region_id": "regionOne",
|
115
|
+
"url": "http://192.0.2.21:8041/", "region": "regionOne", "interface": "internal",
|
116
|
+
"id": "d51d46cd35f941df88f5508b3e879777"}, {"region_id": "regionOne", "url":
|
117
|
+
"http://192.0.2.21:8041/", "region": "regionOne", "interface": "public", "id":
|
118
|
+
"fd3c88b22fab4df58cd629f174fd2e3b"}], "type": "metric", "id": "c2b4bf300bd84cfba6d9cb8c03874c15",
|
119
|
+
"name": "gnocchi"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:35357/v2.0",
|
120
|
+
"region": "regionOne", "interface": "admin", "id": "9bbbac3ebf04425fbf6f850c61727c36"},
|
121
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:5000/v2.0", "region":
|
122
|
+
"regionOne", "interface": "public", "id": "a4f073188f834e08a541f3172afbf2aa"},
|
123
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:5000/v2.0", "region":
|
124
|
+
"regionOne", "interface": "internal", "id": "fe25750a2f23451186b78cafeb2500c2"}],
|
125
|
+
"type": "identity", "id": "dcf4906057004977bdabba7de167c923", "name": "keystone"},
|
126
|
+
{"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8386/v1.1/48985e6b8da145699d411f12a3459fca",
|
127
|
+
"region": "regionOne", "interface": "internal", "id": "09f14e579c22456498293c45deafc29c"},
|
128
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8386/v1.1/48985e6b8da145699d411f12a3459fca",
|
129
|
+
"region": "regionOne", "interface": "public", "id": "39b2796eadd2410295b3f0b1398db694"},
|
130
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8386/v1.1/48985e6b8da145699d411f12a3459fca",
|
131
|
+
"region": "regionOne", "interface": "admin", "id": "7ec9decfbe5b46ee850619c1752bfa67"}],
|
132
|
+
"type": "data-processing", "id": "ea7797ce177d4bfd8e360de675c71f35", "name":
|
133
|
+
"sahara"}], "user": {"domain": {"id": "default", "name": "Default"}, "id":
|
134
|
+
"1e50c2f0995446fd9b135a1a549cabdb", "name": "admin"}, "audit_ids": ["NHwNmQjzQiCdjw0aiInYpg"],
|
135
|
+
"issued_at": "2016-12-10T01:11:48.103087Z"}}'
|
136
|
+
http_version:
|
137
|
+
recorded_at: Fri, 17 Feb 2017 06:15:10 GMT
|
138
|
+
- request:
|
139
|
+
method: get
|
140
|
+
uri: http://192.0.2.21:8774/
|
141
|
+
body:
|
142
|
+
encoding: US-ASCII
|
143
|
+
string: ''
|
144
|
+
headers:
|
145
|
+
Content-Type:
|
146
|
+
- application/json
|
147
|
+
Accept:
|
148
|
+
- application/json
|
149
|
+
Accept-Encoding:
|
150
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
151
|
+
User-Agent:
|
152
|
+
- Ruby
|
153
|
+
response:
|
154
|
+
status:
|
155
|
+
code: 200
|
156
|
+
message: OK
|
157
|
+
headers:
|
158
|
+
Content-Length:
|
159
|
+
- '369'
|
160
|
+
Content-Type:
|
161
|
+
- application/json
|
162
|
+
Date:
|
163
|
+
- Sat, 10 Dec 2016 01:11:48 GMT
|
164
|
+
body:
|
165
|
+
encoding: UTF-8
|
166
|
+
string: '{"versions": [{"status": "SUPPORTED", "updated": "2011-01-21T11:33:21Z",
|
167
|
+
"links": [{"href": "http://192.0.2.21:8774/v2/", "rel": "self"}], "min_version":
|
168
|
+
"", "version": "", "id": "v2.0"}, {"status": "CURRENT", "updated": "2013-07-23T11:33:21Z",
|
169
|
+
"links": [{"href": "http://192.0.2.21:8774/v2.1/", "rel": "self"}], "min_version":
|
170
|
+
"2.1", "version": "2.25", "id": "v2.1"}]}'
|
171
|
+
http_version:
|
172
|
+
recorded_at: Fri, 17 Feb 2017 06:15:10 GMT
|
173
|
+
- request:
|
174
|
+
method: post
|
175
|
+
uri: http://192.0.2.21:5000/v3/auth/tokens
|
176
|
+
body:
|
177
|
+
encoding: UTF-8
|
178
|
+
string: '{"auth":{"identity":{"methods":["password"],"password":{"user":{"name":"admin","domain":{"id":"default"},"password":"CJk9hb2ZFR96Ypu74KFFGWuhv"}}},"scope":{"project":{"name":"admin","domain":{"id":"default"}}}}}'
|
179
|
+
headers:
|
180
|
+
Content-Type:
|
181
|
+
- application/json
|
182
|
+
Accept:
|
183
|
+
- application/json
|
184
|
+
Accept-Encoding:
|
185
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
186
|
+
User-Agent:
|
187
|
+
- Ruby
|
188
|
+
response:
|
189
|
+
status:
|
190
|
+
code: 201
|
191
|
+
message: Created
|
192
|
+
headers:
|
193
|
+
Date:
|
194
|
+
- Sat, 10 Dec 2016 01:11:48 GMT
|
195
|
+
Server:
|
196
|
+
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
197
|
+
X-Subject-Token:
|
198
|
+
- 0c3727438acb413c9250d310dd29843c
|
199
|
+
Vary:
|
200
|
+
- X-Auth-Token
|
201
|
+
X-Openstack-Request-Id:
|
202
|
+
- req-25d919f3-adca-418d-8d66-9916eb5c7dd9
|
203
|
+
Content-Length:
|
204
|
+
- '8373'
|
205
|
+
Content-Type:
|
206
|
+
- application/json
|
207
|
+
body:
|
208
|
+
encoding: UTF-8
|
209
|
+
string: '{"token": {"methods": ["password"], "roles": [{"id": "362084a241d94d56b6371f6cb1c87abf",
|
210
|
+
"name": "admin"}], "expires_at": "2016-12-10T02:11:48.255480Z", "project":
|
211
|
+
{"domain": {"id": "default", "name": "Default"}, "id": "48985e6b8da145699d411f12a3459fca",
|
212
|
+
"name": "admin"}, "catalog": [{"endpoints": [{"region_id": "regionOne", "url":
|
213
|
+
"http://192.0.2.21:8774/v2.1/48985e6b8da145699d411f12a3459fca", "region":
|
214
|
+
"regionOne", "interface": "internal", "id": "09e14aa5f80a4c3d84f20ecef245af13"},
|
215
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8774/v2.1/48985e6b8da145699d411f12a3459fca",
|
216
|
+
"region": "regionOne", "interface": "public", "id": "8beeb2f5570f4e668bb9df77105c396d"},
|
217
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8774/v2.1/48985e6b8da145699d411f12a3459fca",
|
218
|
+
"region": "regionOne", "interface": "admin", "id": "d368b97fae184bba9fdd2213287a327b"}],
|
219
|
+
"type": "compute", "id": "1a96b84b844a4c028f22b7da27501c0d", "name": "nova"},
|
220
|
+
{"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v1/48985e6b8da145699d411f12a3459fca",
|
221
|
+
"region": "regionOne", "interface": "admin", "id": "3e02c6f778ba4ab38476fff972c269c8"},
|
222
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v1/48985e6b8da145699d411f12a3459fca",
|
223
|
+
"region": "regionOne", "interface": "public", "id": "6483567da043458fb0bc734c39908f2f"},
|
224
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v1/48985e6b8da145699d411f12a3459fca",
|
225
|
+
"region": "regionOne", "interface": "internal", "id": "ad95dbf1f99a4fbda130bdcc71b81c15"}],
|
226
|
+
"type": "volume", "id": "1fb40dbf60ae483f853764381c1c6bab", "name": "cinder"},
|
227
|
+
{"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:9696/",
|
228
|
+
"region": "regionOne", "interface": "admin", "id": "029a7263b7e14ebe8f10a0033b636ed9"},
|
229
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:9696/", "region": "regionOne",
|
230
|
+
"interface": "public", "id": "a8e4debb78ed4aef9989ef07780abb46"}, {"region_id":
|
231
|
+
"regionOne", "url": "http://192.0.2.21:9696/", "region": "regionOne", "interface":
|
232
|
+
"internal", "id": "b188a6216018481d8b1f6f9f41e69354"}], "type": "network",
|
233
|
+
"id": "2358e09f2ee14eca9b047cc3c2ca62f8", "name": "neutron"}, {"endpoints":
|
234
|
+
[{"region_id": "regionOne", "url": "http://192.0.2.21:35357/v3", "region":
|
235
|
+
"regionOne", "interface": "admin", "id": "0ede2537de2644199f649bb566015c2c"},
|
236
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:5000/v3", "region": "regionOne",
|
237
|
+
"interface": "internal", "id": "2220349ef81d4b8fb678485c81f2a214"}, {"region_id":
|
238
|
+
"regionOne", "url": "http://192.0.2.21:5000/v3", "region": "regionOne", "interface":
|
239
|
+
"public", "id": "9b84ce6363324320af67511b995d6e32"}], "type": "identity",
|
240
|
+
"id": "2901e458d8b74d2399a041b5b64cb8d1", "name": "identity_v3"}, {"endpoints":
|
241
|
+
[{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v2/48985e6b8da145699d411f12a3459fca",
|
242
|
+
"region": "regionOne", "interface": "public", "id": "45c91d23e63648308e45e05944a530b9"},
|
243
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v2/48985e6b8da145699d411f12a3459fca",
|
244
|
+
"region": "regionOne", "interface": "admin", "id": "648693e76f00499289fc77ea6eea12eb"},
|
245
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v2/48985e6b8da145699d411f12a3459fca",
|
246
|
+
"region": "regionOne", "interface": "internal", "id": "ca2d606db4694c80802398bea56b8d7c"}],
|
247
|
+
"type": "volumev2", "id": "454c392dbb6d44bdb8a736a73628a8c4", "name": "cinderv2"},
|
248
|
+
{"endpoints": [], "type": "identity_v3", "id": "6f3b70e1db1b4ce692f558bc7fa2dfd7",
|
249
|
+
"name": "keystone_v3"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8080/v1/AUTH_48985e6b8da145699d411f12a3459fca",
|
250
|
+
"region": "regionOne", "interface": "internal", "id": "9ee36bdd422c4d04b1737b38079a7160"},
|
251
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8080/v1", "region": "regionOne",
|
252
|
+
"interface": "admin", "id": "bc34638cfdae4cc1ae168c283e4e915a"}, {"region_id":
|
253
|
+
"regionOne", "url": "http://192.0.2.21:8080/v1/AUTH_48985e6b8da145699d411f12a3459fca",
|
254
|
+
"region": "regionOne", "interface": "public", "id": "d41709fb49114560b459300f661bb3ed"}],
|
255
|
+
"type": "object-store", "id": "8e795505992141c1b32c1f9138b47b98", "name":
|
256
|
+
"swift"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8004/v1/48985e6b8da145699d411f12a3459fca",
|
257
|
+
"region": "regionOne", "interface": "admin", "id": "04a4bcb47c774cf4b776dd330ec90ac7"},
|
258
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8004/v1/48985e6b8da145699d411f12a3459fca",
|
259
|
+
"region": "regionOne", "interface": "internal", "id": "39f306a869084899af052b3d7a85701f"},
|
260
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8004/v1/48985e6b8da145699d411f12a3459fca",
|
261
|
+
"region": "regionOne", "interface": "public", "id": "b37cfb8813c649ca932b74717a4924dc"}],
|
262
|
+
"type": "orchestration", "id": "a8e72740ce92456ab392a75375ec9df7", "name":
|
263
|
+
"heat"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8042/",
|
264
|
+
"region": "regionOne", "interface": "internal", "id": "2bd9d0c1fc544f078c2fef39a5f4decd"},
|
265
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8042/", "region": "regionOne",
|
266
|
+
"interface": "admin", "id": "9c3ac290cf5944e9957f387987a6d7e8"}, {"region_id":
|
267
|
+
"regionOne", "url": "http://192.0.2.21:8042/", "region": "regionOne", "interface":
|
268
|
+
"public", "id": "b8345563ada3461a8f871d897bae1c60"}], "type": "alarming",
|
269
|
+
"id": "afce35c3b5c640658578063bcb52fe0e", "name": "aodh"}, {"endpoints": [{"region_id":
|
270
|
+
"regionOne", "url": "http://192.0.2.21:8777/", "region": "regionOne", "interface":
|
271
|
+
"public", "id": "0a8c20af41384e9b94ffbd266e69f8b0"}, {"region_id": "regionOne",
|
272
|
+
"url": "http://192.0.2.21:8777/", "region": "regionOne", "interface": "admin",
|
273
|
+
"id": "407e04f068d64cc49c8beb612087d60c"}, {"region_id": "regionOne", "url":
|
274
|
+
"http://192.0.2.21:8777/", "region": "regionOne", "interface": "internal",
|
275
|
+
"id": "5506ecfd12e04e9fae93a16dd7cd473e"}], "type": "metering", "id": "afde6b4f37d1406d83939829e87fbfb9",
|
276
|
+
"name": "ceilometer"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:9292/",
|
277
|
+
"region": "regionOne", "interface": "public", "id": "1b37c9b615634b9ba354acab8e797bd5"},
|
278
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:9292/", "region": "regionOne",
|
279
|
+
"interface": "admin", "id": "24ed5cb4e2104b9796a2529a21de04ac"}, {"region_id":
|
280
|
+
"regionOne", "url": "http://192.0.2.21:9292/", "region": "regionOne", "interface":
|
281
|
+
"internal", "id": "8493c76b6a1f400b80e20a11e3ac9e8d"}], "type": "image", "id":
|
282
|
+
"be4dfdcf14ef48039edf82ef5ae1629e", "name": "glance"}, {"endpoints": [{"region_id":
|
283
|
+
"regionOne", "url": "http://192.0.2.21:8041/", "region": "regionOne", "interface":
|
284
|
+
"admin", "id": "709ff9a3f13848209b8934bb1f6dec26"}, {"region_id": "regionOne",
|
285
|
+
"url": "http://192.0.2.21:8041/", "region": "regionOne", "interface": "internal",
|
286
|
+
"id": "d51d46cd35f941df88f5508b3e879777"}, {"region_id": "regionOne", "url":
|
287
|
+
"http://192.0.2.21:8041/", "region": "regionOne", "interface": "public", "id":
|
288
|
+
"fd3c88b22fab4df58cd629f174fd2e3b"}], "type": "metric", "id": "c2b4bf300bd84cfba6d9cb8c03874c15",
|
289
|
+
"name": "gnocchi"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:35357/v2.0",
|
290
|
+
"region": "regionOne", "interface": "admin", "id": "9bbbac3ebf04425fbf6f850c61727c36"},
|
291
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:5000/v2.0", "region":
|
292
|
+
"regionOne", "interface": "public", "id": "a4f073188f834e08a541f3172afbf2aa"},
|
293
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:5000/v2.0", "region":
|
294
|
+
"regionOne", "interface": "internal", "id": "fe25750a2f23451186b78cafeb2500c2"}],
|
295
|
+
"type": "identity", "id": "dcf4906057004977bdabba7de167c923", "name": "keystone"},
|
296
|
+
{"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8386/v1.1/48985e6b8da145699d411f12a3459fca",
|
297
|
+
"region": "regionOne", "interface": "internal", "id": "09f14e579c22456498293c45deafc29c"},
|
298
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8386/v1.1/48985e6b8da145699d411f12a3459fca",
|
299
|
+
"region": "regionOne", "interface": "public", "id": "39b2796eadd2410295b3f0b1398db694"},
|
300
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8386/v1.1/48985e6b8da145699d411f12a3459fca",
|
301
|
+
"region": "regionOne", "interface": "admin", "id": "7ec9decfbe5b46ee850619c1752bfa67"}],
|
302
|
+
"type": "data-processing", "id": "ea7797ce177d4bfd8e360de675c71f35", "name":
|
303
|
+
"sahara"}], "user": {"domain": {"id": "default", "name": "Default"}, "id":
|
304
|
+
"1e50c2f0995446fd9b135a1a549cabdb", "name": "admin"}, "audit_ids": ["BthQxKt7RTuoz-DPEpy_vg"],
|
305
|
+
"issued_at": "2016-12-10T01:11:48.255504Z"}}'
|
306
|
+
http_version:
|
307
|
+
recorded_at: Fri, 17 Feb 2017 06:15:11 GMT
|
308
|
+
- request:
|
309
|
+
method: post
|
310
|
+
uri: http://192.0.2.21:8774/v2.1/48985e6b8da145699d411f12a3459fca/servers
|
311
|
+
body:
|
312
|
+
encoding: UTF-8
|
313
|
+
string: '{"server":{"name":"test_create_server","flavorRef":"1","imageRef":"c091ccf2-a4ae-4fa0-a716-defd6376b5dc","networks":[{"uuid":"9c6e43b6-3d1d-4106-ad45-5fc3f5e371ee"}]}}'
|
314
|
+
headers:
|
315
|
+
Content-Type:
|
316
|
+
- application/json
|
317
|
+
Accept:
|
318
|
+
- application/json
|
319
|
+
X-Auth-Token:
|
320
|
+
- 833ec66536114df89e1490483869bfcf
|
321
|
+
X-Openstack-Nova-Api-Version:
|
322
|
+
- '2.25'
|
323
|
+
X-Openstack-Api-Version:
|
324
|
+
- compute 2.25
|
325
|
+
Accept-Encoding:
|
326
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
327
|
+
User-Agent:
|
328
|
+
- Ruby
|
329
|
+
response:
|
330
|
+
status:
|
331
|
+
code: 202
|
332
|
+
message: Accepted
|
333
|
+
headers:
|
334
|
+
Content-Length:
|
335
|
+
- '438'
|
336
|
+
Location:
|
337
|
+
- http://192.0.2.21:8774/v2.1/48985e6b8da145699d411f12a3459fca/servers/d20888e5-736c-4bf8-92f2-e5a0209886a2
|
338
|
+
Content-Type:
|
339
|
+
- application/json
|
340
|
+
X-Openstack-Nova-Api-Version:
|
341
|
+
- '2.25'
|
342
|
+
Vary:
|
343
|
+
- X-OpenStack-Nova-API-Version
|
344
|
+
X-Compute-Request-Id:
|
345
|
+
- req-b9254197-ebfe-4e40-86d5-708c425cf142
|
346
|
+
Date:
|
347
|
+
- Sat, 10 Dec 2016 01:11:48 GMT
|
348
|
+
body:
|
349
|
+
encoding: UTF-8
|
350
|
+
string: '{"server": {"security_groups": [{"name": "default"}], "OS-DCF:diskConfig":
|
351
|
+
"MANUAL", "id": "d20888e5-736c-4bf8-92f2-e5a0209886a2", "links": [{"href":
|
352
|
+
"http://192.0.2.21:8774/v2.1/48985e6b8da145699d411f12a3459fca/servers/d20888e5-736c-4bf8-92f2-e5a0209886a2",
|
353
|
+
"rel": "self"}, {"href": "http://192.0.2.21:8774/48985e6b8da145699d411f12a3459fca/servers/d20888e5-736c-4bf8-92f2-e5a0209886a2",
|
354
|
+
"rel": "bookmark"}], "adminPass": "GjMk287xQWKG"}}'
|
355
|
+
http_version:
|
356
|
+
recorded_at: Fri, 17 Feb 2017 06:15:11 GMT
|
357
|
+
- request:
|
358
|
+
method: post
|
359
|
+
uri: http://192.0.2.21:5000/v3/auth/tokens
|
360
|
+
body:
|
361
|
+
encoding: UTF-8
|
362
|
+
string: '{"auth":{"identity":{"methods":["password"],"password":{"user":{"name":"admin","domain":{"id":"default"},"password":"CJk9hb2ZFR96Ypu74KFFGWuhv"}}},"scope":{"project":{"name":"admin","domain":{"id":"default"}}}}}'
|
363
|
+
headers:
|
364
|
+
Content-Type:
|
365
|
+
- application/json
|
366
|
+
Accept:
|
367
|
+
- application/json
|
368
|
+
Accept-Encoding:
|
369
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
370
|
+
User-Agent:
|
371
|
+
- Ruby
|
372
|
+
response:
|
373
|
+
status:
|
374
|
+
code: 201
|
375
|
+
message: Created
|
376
|
+
headers:
|
377
|
+
Date:
|
378
|
+
- Sat, 10 Dec 2016 01:11:48 GMT
|
379
|
+
Server:
|
380
|
+
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
381
|
+
X-Subject-Token:
|
382
|
+
- a7dbc27393894b6bac1dcbc698f5e130
|
383
|
+
Vary:
|
384
|
+
- X-Auth-Token
|
385
|
+
X-Openstack-Request-Id:
|
386
|
+
- req-9277647c-0f47-4c3b-8a88-5a4fcf2dfe2f
|
387
|
+
Content-Length:
|
388
|
+
- '8373'
|
389
|
+
Content-Type:
|
390
|
+
- application/json
|
391
|
+
body:
|
392
|
+
encoding: UTF-8
|
393
|
+
string: '{"token": {"methods": ["password"], "roles": [{"id": "362084a241d94d56b6371f6cb1c87abf",
|
394
|
+
"name": "admin"}], "expires_at": "2016-12-10T02:11:48.932754Z", "project":
|
395
|
+
{"domain": {"id": "default", "name": "Default"}, "id": "48985e6b8da145699d411f12a3459fca",
|
396
|
+
"name": "admin"}, "catalog": [{"endpoints": [{"region_id": "regionOne", "url":
|
397
|
+
"http://192.0.2.21:8774/v2.1/48985e6b8da145699d411f12a3459fca", "region":
|
398
|
+
"regionOne", "interface": "internal", "id": "09e14aa5f80a4c3d84f20ecef245af13"},
|
399
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8774/v2.1/48985e6b8da145699d411f12a3459fca",
|
400
|
+
"region": "regionOne", "interface": "public", "id": "8beeb2f5570f4e668bb9df77105c396d"},
|
401
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8774/v2.1/48985e6b8da145699d411f12a3459fca",
|
402
|
+
"region": "regionOne", "interface": "admin", "id": "d368b97fae184bba9fdd2213287a327b"}],
|
403
|
+
"type": "compute", "id": "1a96b84b844a4c028f22b7da27501c0d", "name": "nova"},
|
404
|
+
{"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v1/48985e6b8da145699d411f12a3459fca",
|
405
|
+
"region": "regionOne", "interface": "admin", "id": "3e02c6f778ba4ab38476fff972c269c8"},
|
406
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v1/48985e6b8da145699d411f12a3459fca",
|
407
|
+
"region": "regionOne", "interface": "public", "id": "6483567da043458fb0bc734c39908f2f"},
|
408
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v1/48985e6b8da145699d411f12a3459fca",
|
409
|
+
"region": "regionOne", "interface": "internal", "id": "ad95dbf1f99a4fbda130bdcc71b81c15"}],
|
410
|
+
"type": "volume", "id": "1fb40dbf60ae483f853764381c1c6bab", "name": "cinder"},
|
411
|
+
{"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:9696/",
|
412
|
+
"region": "regionOne", "interface": "admin", "id": "029a7263b7e14ebe8f10a0033b636ed9"},
|
413
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:9696/", "region": "regionOne",
|
414
|
+
"interface": "public", "id": "a8e4debb78ed4aef9989ef07780abb46"}, {"region_id":
|
415
|
+
"regionOne", "url": "http://192.0.2.21:9696/", "region": "regionOne", "interface":
|
416
|
+
"internal", "id": "b188a6216018481d8b1f6f9f41e69354"}], "type": "network",
|
417
|
+
"id": "2358e09f2ee14eca9b047cc3c2ca62f8", "name": "neutron"}, {"endpoints":
|
418
|
+
[{"region_id": "regionOne", "url": "http://192.0.2.21:35357/v3", "region":
|
419
|
+
"regionOne", "interface": "admin", "id": "0ede2537de2644199f649bb566015c2c"},
|
420
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:5000/v3", "region": "regionOne",
|
421
|
+
"interface": "internal", "id": "2220349ef81d4b8fb678485c81f2a214"}, {"region_id":
|
422
|
+
"regionOne", "url": "http://192.0.2.21:5000/v3", "region": "regionOne", "interface":
|
423
|
+
"public", "id": "9b84ce6363324320af67511b995d6e32"}], "type": "identity",
|
424
|
+
"id": "2901e458d8b74d2399a041b5b64cb8d1", "name": "identity_v3"}, {"endpoints":
|
425
|
+
[{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v2/48985e6b8da145699d411f12a3459fca",
|
426
|
+
"region": "regionOne", "interface": "public", "id": "45c91d23e63648308e45e05944a530b9"},
|
427
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v2/48985e6b8da145699d411f12a3459fca",
|
428
|
+
"region": "regionOne", "interface": "admin", "id": "648693e76f00499289fc77ea6eea12eb"},
|
429
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v2/48985e6b8da145699d411f12a3459fca",
|
430
|
+
"region": "regionOne", "interface": "internal", "id": "ca2d606db4694c80802398bea56b8d7c"}],
|
431
|
+
"type": "volumev2", "id": "454c392dbb6d44bdb8a736a73628a8c4", "name": "cinderv2"},
|
432
|
+
{"endpoints": [], "type": "identity_v3", "id": "6f3b70e1db1b4ce692f558bc7fa2dfd7",
|
433
|
+
"name": "keystone_v3"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8080/v1/AUTH_48985e6b8da145699d411f12a3459fca",
|
434
|
+
"region": "regionOne", "interface": "internal", "id": "9ee36bdd422c4d04b1737b38079a7160"},
|
435
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8080/v1", "region": "regionOne",
|
436
|
+
"interface": "admin", "id": "bc34638cfdae4cc1ae168c283e4e915a"}, {"region_id":
|
437
|
+
"regionOne", "url": "http://192.0.2.21:8080/v1/AUTH_48985e6b8da145699d411f12a3459fca",
|
438
|
+
"region": "regionOne", "interface": "public", "id": "d41709fb49114560b459300f661bb3ed"}],
|
439
|
+
"type": "object-store", "id": "8e795505992141c1b32c1f9138b47b98", "name":
|
440
|
+
"swift"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8004/v1/48985e6b8da145699d411f12a3459fca",
|
441
|
+
"region": "regionOne", "interface": "admin", "id": "04a4bcb47c774cf4b776dd330ec90ac7"},
|
442
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8004/v1/48985e6b8da145699d411f12a3459fca",
|
443
|
+
"region": "regionOne", "interface": "internal", "id": "39f306a869084899af052b3d7a85701f"},
|
444
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8004/v1/48985e6b8da145699d411f12a3459fca",
|
445
|
+
"region": "regionOne", "interface": "public", "id": "b37cfb8813c649ca932b74717a4924dc"}],
|
446
|
+
"type": "orchestration", "id": "a8e72740ce92456ab392a75375ec9df7", "name":
|
447
|
+
"heat"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8042/",
|
448
|
+
"region": "regionOne", "interface": "internal", "id": "2bd9d0c1fc544f078c2fef39a5f4decd"},
|
449
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8042/", "region": "regionOne",
|
450
|
+
"interface": "admin", "id": "9c3ac290cf5944e9957f387987a6d7e8"}, {"region_id":
|
451
|
+
"regionOne", "url": "http://192.0.2.21:8042/", "region": "regionOne", "interface":
|
452
|
+
"public", "id": "b8345563ada3461a8f871d897bae1c60"}], "type": "alarming",
|
453
|
+
"id": "afce35c3b5c640658578063bcb52fe0e", "name": "aodh"}, {"endpoints": [{"region_id":
|
454
|
+
"regionOne", "url": "http://192.0.2.21:8777/", "region": "regionOne", "interface":
|
455
|
+
"public", "id": "0a8c20af41384e9b94ffbd266e69f8b0"}, {"region_id": "regionOne",
|
456
|
+
"url": "http://192.0.2.21:8777/", "region": "regionOne", "interface": "admin",
|
457
|
+
"id": "407e04f068d64cc49c8beb612087d60c"}, {"region_id": "regionOne", "url":
|
458
|
+
"http://192.0.2.21:8777/", "region": "regionOne", "interface": "internal",
|
459
|
+
"id": "5506ecfd12e04e9fae93a16dd7cd473e"}], "type": "metering", "id": "afde6b4f37d1406d83939829e87fbfb9",
|
460
|
+
"name": "ceilometer"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:9292/",
|
461
|
+
"region": "regionOne", "interface": "public", "id": "1b37c9b615634b9ba354acab8e797bd5"},
|
462
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:9292/", "region": "regionOne",
|
463
|
+
"interface": "admin", "id": "24ed5cb4e2104b9796a2529a21de04ac"}, {"region_id":
|
464
|
+
"regionOne", "url": "http://192.0.2.21:9292/", "region": "regionOne", "interface":
|
465
|
+
"internal", "id": "8493c76b6a1f400b80e20a11e3ac9e8d"}], "type": "image", "id":
|
466
|
+
"be4dfdcf14ef48039edf82ef5ae1629e", "name": "glance"}, {"endpoints": [{"region_id":
|
467
|
+
"regionOne", "url": "http://192.0.2.21:8041/", "region": "regionOne", "interface":
|
468
|
+
"admin", "id": "709ff9a3f13848209b8934bb1f6dec26"}, {"region_id": "regionOne",
|
469
|
+
"url": "http://192.0.2.21:8041/", "region": "regionOne", "interface": "internal",
|
470
|
+
"id": "d51d46cd35f941df88f5508b3e879777"}, {"region_id": "regionOne", "url":
|
471
|
+
"http://192.0.2.21:8041/", "region": "regionOne", "interface": "public", "id":
|
472
|
+
"fd3c88b22fab4df58cd629f174fd2e3b"}], "type": "metric", "id": "c2b4bf300bd84cfba6d9cb8c03874c15",
|
473
|
+
"name": "gnocchi"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:35357/v2.0",
|
474
|
+
"region": "regionOne", "interface": "admin", "id": "9bbbac3ebf04425fbf6f850c61727c36"},
|
475
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:5000/v2.0", "region":
|
476
|
+
"regionOne", "interface": "public", "id": "a4f073188f834e08a541f3172afbf2aa"},
|
477
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:5000/v2.0", "region":
|
478
|
+
"regionOne", "interface": "internal", "id": "fe25750a2f23451186b78cafeb2500c2"}],
|
479
|
+
"type": "identity", "id": "dcf4906057004977bdabba7de167c923", "name": "keystone"},
|
480
|
+
{"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8386/v1.1/48985e6b8da145699d411f12a3459fca",
|
481
|
+
"region": "regionOne", "interface": "internal", "id": "09f14e579c22456498293c45deafc29c"},
|
482
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8386/v1.1/48985e6b8da145699d411f12a3459fca",
|
483
|
+
"region": "regionOne", "interface": "public", "id": "39b2796eadd2410295b3f0b1398db694"},
|
484
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8386/v1.1/48985e6b8da145699d411f12a3459fca",
|
485
|
+
"region": "regionOne", "interface": "admin", "id": "7ec9decfbe5b46ee850619c1752bfa67"}],
|
486
|
+
"type": "data-processing", "id": "ea7797ce177d4bfd8e360de675c71f35", "name":
|
487
|
+
"sahara"}], "user": {"domain": {"id": "default", "name": "Default"}, "id":
|
488
|
+
"1e50c2f0995446fd9b135a1a549cabdb", "name": "admin"}, "audit_ids": ["IUty163pT6qWnwO7UAmdKQ"],
|
489
|
+
"issued_at": "2016-12-10T01:11:48.932777Z"}}'
|
490
|
+
http_version:
|
491
|
+
recorded_at: Fri, 17 Feb 2017 06:15:11 GMT
|
492
|
+
- request:
|
493
|
+
method: get
|
494
|
+
uri: http://192.0.2.21:8774/v2.1/48985e6b8da145699d411f12a3459fca/servers
|
495
|
+
body:
|
496
|
+
encoding: US-ASCII
|
497
|
+
string: ''
|
498
|
+
headers:
|
499
|
+
Content-Type:
|
500
|
+
- application/json
|
501
|
+
Accept:
|
502
|
+
- application/json
|
503
|
+
X-Auth-Token:
|
504
|
+
- 833ec66536114df89e1490483869bfcf
|
505
|
+
X-Openstack-Nova-Api-Version:
|
506
|
+
- '2.25'
|
507
|
+
X-Openstack-Api-Version:
|
508
|
+
- compute 2.25
|
509
|
+
Accept-Encoding:
|
510
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
511
|
+
User-Agent:
|
512
|
+
- Ruby
|
513
|
+
response:
|
514
|
+
status:
|
515
|
+
code: 200
|
516
|
+
message: OK
|
517
|
+
headers:
|
518
|
+
Content-Length:
|
519
|
+
- '721'
|
520
|
+
Content-Type:
|
521
|
+
- application/json
|
522
|
+
X-Openstack-Nova-Api-Version:
|
523
|
+
- '2.25'
|
524
|
+
Vary:
|
525
|
+
- X-OpenStack-Nova-API-Version
|
526
|
+
X-Compute-Request-Id:
|
527
|
+
- req-a0a1d3c8-efbc-4f4b-9d2a-1dbe484b4b5c
|
528
|
+
Date:
|
529
|
+
- Sat, 10 Dec 2016 01:11:49 GMT
|
530
|
+
body:
|
531
|
+
encoding: UTF-8
|
532
|
+
string: '{"servers": [{"id": "d20888e5-736c-4bf8-92f2-e5a0209886a2", "links":
|
533
|
+
[{"href": "http://192.0.2.21:8774/v2.1/48985e6b8da145699d411f12a3459fca/servers/d20888e5-736c-4bf8-92f2-e5a0209886a2",
|
534
|
+
"rel": "self"}, {"href": "http://192.0.2.21:8774/48985e6b8da145699d411f12a3459fca/servers/d20888e5-736c-4bf8-92f2-e5a0209886a2",
|
535
|
+
"rel": "bookmark"}], "name": "test_create_server"}, {"id": "34d1072a-d954-481e-8057-cb07deb6f9ed",
|
536
|
+
"links": [{"href": "http://192.0.2.21:8774/v2.1/48985e6b8da145699d411f12a3459fca/servers/34d1072a-d954-481e-8057-cb07deb6f9ed",
|
537
|
+
"rel": "self"}, {"href": "http://192.0.2.21:8774/48985e6b8da145699d411f12a3459fca/servers/34d1072a-d954-481e-8057-cb07deb6f9ed",
|
538
|
+
"rel": "bookmark"}], "name": "overcloud-test"}]}'
|
539
|
+
http_version:
|
540
|
+
recorded_at: Fri, 17 Feb 2017 06:15:11 GMT
|
541
|
+
- request:
|
542
|
+
method: post
|
543
|
+
uri: http://192.0.2.21:5000/v3/auth/tokens
|
544
|
+
body:
|
545
|
+
encoding: UTF-8
|
546
|
+
string: '{"auth":{"identity":{"methods":["password"],"password":{"user":{"name":"admin","domain":{"id":"default"},"password":"CJk9hb2ZFR96Ypu74KFFGWuhv"}}},"scope":{"project":{"name":"admin","domain":{"id":"default"}}}}}'
|
547
|
+
headers:
|
548
|
+
Content-Type:
|
549
|
+
- application/json
|
550
|
+
Accept:
|
551
|
+
- application/json
|
552
|
+
Accept-Encoding:
|
553
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
554
|
+
User-Agent:
|
555
|
+
- Ruby
|
556
|
+
response:
|
557
|
+
status:
|
558
|
+
code: 201
|
559
|
+
message: Created
|
560
|
+
headers:
|
561
|
+
Date:
|
562
|
+
- Sat, 10 Dec 2016 01:11:49 GMT
|
563
|
+
Server:
|
564
|
+
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
565
|
+
X-Subject-Token:
|
566
|
+
- b9edc164d8b54d799cd6383c24c6c6ce
|
567
|
+
Vary:
|
568
|
+
- X-Auth-Token
|
569
|
+
X-Openstack-Request-Id:
|
570
|
+
- req-33e8e123-60db-4095-8823-def9977747dd
|
571
|
+
Content-Length:
|
572
|
+
- '8373'
|
573
|
+
Content-Type:
|
574
|
+
- application/json
|
575
|
+
body:
|
576
|
+
encoding: UTF-8
|
577
|
+
string: '{"token": {"methods": ["password"], "roles": [{"id": "362084a241d94d56b6371f6cb1c87abf",
|
578
|
+
"name": "admin"}], "expires_at": "2016-12-10T02:11:49.168519Z", "project":
|
579
|
+
{"domain": {"id": "default", "name": "Default"}, "id": "48985e6b8da145699d411f12a3459fca",
|
580
|
+
"name": "admin"}, "catalog": [{"endpoints": [{"region_id": "regionOne", "url":
|
581
|
+
"http://192.0.2.21:8774/v2.1/48985e6b8da145699d411f12a3459fca", "region":
|
582
|
+
"regionOne", "interface": "internal", "id": "09e14aa5f80a4c3d84f20ecef245af13"},
|
583
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8774/v2.1/48985e6b8da145699d411f12a3459fca",
|
584
|
+
"region": "regionOne", "interface": "public", "id": "8beeb2f5570f4e668bb9df77105c396d"},
|
585
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8774/v2.1/48985e6b8da145699d411f12a3459fca",
|
586
|
+
"region": "regionOne", "interface": "admin", "id": "d368b97fae184bba9fdd2213287a327b"}],
|
587
|
+
"type": "compute", "id": "1a96b84b844a4c028f22b7da27501c0d", "name": "nova"},
|
588
|
+
{"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v1/48985e6b8da145699d411f12a3459fca",
|
589
|
+
"region": "regionOne", "interface": "admin", "id": "3e02c6f778ba4ab38476fff972c269c8"},
|
590
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v1/48985e6b8da145699d411f12a3459fca",
|
591
|
+
"region": "regionOne", "interface": "public", "id": "6483567da043458fb0bc734c39908f2f"},
|
592
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v1/48985e6b8da145699d411f12a3459fca",
|
593
|
+
"region": "regionOne", "interface": "internal", "id": "ad95dbf1f99a4fbda130bdcc71b81c15"}],
|
594
|
+
"type": "volume", "id": "1fb40dbf60ae483f853764381c1c6bab", "name": "cinder"},
|
595
|
+
{"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:9696/",
|
596
|
+
"region": "regionOne", "interface": "admin", "id": "029a7263b7e14ebe8f10a0033b636ed9"},
|
597
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:9696/", "region": "regionOne",
|
598
|
+
"interface": "public", "id": "a8e4debb78ed4aef9989ef07780abb46"}, {"region_id":
|
599
|
+
"regionOne", "url": "http://192.0.2.21:9696/", "region": "regionOne", "interface":
|
600
|
+
"internal", "id": "b188a6216018481d8b1f6f9f41e69354"}], "type": "network",
|
601
|
+
"id": "2358e09f2ee14eca9b047cc3c2ca62f8", "name": "neutron"}, {"endpoints":
|
602
|
+
[{"region_id": "regionOne", "url": "http://192.0.2.21:35357/v3", "region":
|
603
|
+
"regionOne", "interface": "admin", "id": "0ede2537de2644199f649bb566015c2c"},
|
604
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:5000/v3", "region": "regionOne",
|
605
|
+
"interface": "internal", "id": "2220349ef81d4b8fb678485c81f2a214"}, {"region_id":
|
606
|
+
"regionOne", "url": "http://192.0.2.21:5000/v3", "region": "regionOne", "interface":
|
607
|
+
"public", "id": "9b84ce6363324320af67511b995d6e32"}], "type": "identity",
|
608
|
+
"id": "2901e458d8b74d2399a041b5b64cb8d1", "name": "identity_v3"}, {"endpoints":
|
609
|
+
[{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v2/48985e6b8da145699d411f12a3459fca",
|
610
|
+
"region": "regionOne", "interface": "public", "id": "45c91d23e63648308e45e05944a530b9"},
|
611
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v2/48985e6b8da145699d411f12a3459fca",
|
612
|
+
"region": "regionOne", "interface": "admin", "id": "648693e76f00499289fc77ea6eea12eb"},
|
613
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v2/48985e6b8da145699d411f12a3459fca",
|
614
|
+
"region": "regionOne", "interface": "internal", "id": "ca2d606db4694c80802398bea56b8d7c"}],
|
615
|
+
"type": "volumev2", "id": "454c392dbb6d44bdb8a736a73628a8c4", "name": "cinderv2"},
|
616
|
+
{"endpoints": [], "type": "identity_v3", "id": "6f3b70e1db1b4ce692f558bc7fa2dfd7",
|
617
|
+
"name": "keystone_v3"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8080/v1/AUTH_48985e6b8da145699d411f12a3459fca",
|
618
|
+
"region": "regionOne", "interface": "internal", "id": "9ee36bdd422c4d04b1737b38079a7160"},
|
619
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8080/v1", "region": "regionOne",
|
620
|
+
"interface": "admin", "id": "bc34638cfdae4cc1ae168c283e4e915a"}, {"region_id":
|
621
|
+
"regionOne", "url": "http://192.0.2.21:8080/v1/AUTH_48985e6b8da145699d411f12a3459fca",
|
622
|
+
"region": "regionOne", "interface": "public", "id": "d41709fb49114560b459300f661bb3ed"}],
|
623
|
+
"type": "object-store", "id": "8e795505992141c1b32c1f9138b47b98", "name":
|
624
|
+
"swift"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8004/v1/48985e6b8da145699d411f12a3459fca",
|
625
|
+
"region": "regionOne", "interface": "admin", "id": "04a4bcb47c774cf4b776dd330ec90ac7"},
|
626
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8004/v1/48985e6b8da145699d411f12a3459fca",
|
627
|
+
"region": "regionOne", "interface": "internal", "id": "39f306a869084899af052b3d7a85701f"},
|
628
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8004/v1/48985e6b8da145699d411f12a3459fca",
|
629
|
+
"region": "regionOne", "interface": "public", "id": "b37cfb8813c649ca932b74717a4924dc"}],
|
630
|
+
"type": "orchestration", "id": "a8e72740ce92456ab392a75375ec9df7", "name":
|
631
|
+
"heat"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8042/",
|
632
|
+
"region": "regionOne", "interface": "internal", "id": "2bd9d0c1fc544f078c2fef39a5f4decd"},
|
633
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8042/", "region": "regionOne",
|
634
|
+
"interface": "admin", "id": "9c3ac290cf5944e9957f387987a6d7e8"}, {"region_id":
|
635
|
+
"regionOne", "url": "http://192.0.2.21:8042/", "region": "regionOne", "interface":
|
636
|
+
"public", "id": "b8345563ada3461a8f871d897bae1c60"}], "type": "alarming",
|
637
|
+
"id": "afce35c3b5c640658578063bcb52fe0e", "name": "aodh"}, {"endpoints": [{"region_id":
|
638
|
+
"regionOne", "url": "http://192.0.2.21:8777/", "region": "regionOne", "interface":
|
639
|
+
"public", "id": "0a8c20af41384e9b94ffbd266e69f8b0"}, {"region_id": "regionOne",
|
640
|
+
"url": "http://192.0.2.21:8777/", "region": "regionOne", "interface": "admin",
|
641
|
+
"id": "407e04f068d64cc49c8beb612087d60c"}, {"region_id": "regionOne", "url":
|
642
|
+
"http://192.0.2.21:8777/", "region": "regionOne", "interface": "internal",
|
643
|
+
"id": "5506ecfd12e04e9fae93a16dd7cd473e"}], "type": "metering", "id": "afde6b4f37d1406d83939829e87fbfb9",
|
644
|
+
"name": "ceilometer"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:9292/",
|
645
|
+
"region": "regionOne", "interface": "public", "id": "1b37c9b615634b9ba354acab8e797bd5"},
|
646
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:9292/", "region": "regionOne",
|
647
|
+
"interface": "admin", "id": "24ed5cb4e2104b9796a2529a21de04ac"}, {"region_id":
|
648
|
+
"regionOne", "url": "http://192.0.2.21:9292/", "region": "regionOne", "interface":
|
649
|
+
"internal", "id": "8493c76b6a1f400b80e20a11e3ac9e8d"}], "type": "image", "id":
|
650
|
+
"be4dfdcf14ef48039edf82ef5ae1629e", "name": "glance"}, {"endpoints": [{"region_id":
|
651
|
+
"regionOne", "url": "http://192.0.2.21:8041/", "region": "regionOne", "interface":
|
652
|
+
"admin", "id": "709ff9a3f13848209b8934bb1f6dec26"}, {"region_id": "regionOne",
|
653
|
+
"url": "http://192.0.2.21:8041/", "region": "regionOne", "interface": "internal",
|
654
|
+
"id": "d51d46cd35f941df88f5508b3e879777"}, {"region_id": "regionOne", "url":
|
655
|
+
"http://192.0.2.21:8041/", "region": "regionOne", "interface": "public", "id":
|
656
|
+
"fd3c88b22fab4df58cd629f174fd2e3b"}], "type": "metric", "id": "c2b4bf300bd84cfba6d9cb8c03874c15",
|
657
|
+
"name": "gnocchi"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:35357/v2.0",
|
658
|
+
"region": "regionOne", "interface": "admin", "id": "9bbbac3ebf04425fbf6f850c61727c36"},
|
659
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:5000/v2.0", "region":
|
660
|
+
"regionOne", "interface": "public", "id": "a4f073188f834e08a541f3172afbf2aa"},
|
661
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:5000/v2.0", "region":
|
662
|
+
"regionOne", "interface": "internal", "id": "fe25750a2f23451186b78cafeb2500c2"}],
|
663
|
+
"type": "identity", "id": "dcf4906057004977bdabba7de167c923", "name": "keystone"},
|
664
|
+
{"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8386/v1.1/48985e6b8da145699d411f12a3459fca",
|
665
|
+
"region": "regionOne", "interface": "internal", "id": "09f14e579c22456498293c45deafc29c"},
|
666
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8386/v1.1/48985e6b8da145699d411f12a3459fca",
|
667
|
+
"region": "regionOne", "interface": "public", "id": "39b2796eadd2410295b3f0b1398db694"},
|
668
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8386/v1.1/48985e6b8da145699d411f12a3459fca",
|
669
|
+
"region": "regionOne", "interface": "admin", "id": "7ec9decfbe5b46ee850619c1752bfa67"}],
|
670
|
+
"type": "data-processing", "id": "ea7797ce177d4bfd8e360de675c71f35", "name":
|
671
|
+
"sahara"}], "user": {"domain": {"id": "default", "name": "Default"}, "id":
|
672
|
+
"1e50c2f0995446fd9b135a1a549cabdb", "name": "admin"}, "audit_ids": ["AKi6CAAxQKO0QGDGssWSFw"],
|
673
|
+
"issued_at": "2016-12-10T01:11:49.168556Z"}}'
|
674
|
+
http_version:
|
675
|
+
recorded_at: Fri, 17 Feb 2017 06:15:11 GMT
|
676
|
+
- request:
|
677
|
+
method: get
|
678
|
+
uri: http://192.0.2.21:8774/v2.1/48985e6b8da145699d411f12a3459fca/servers/d20888e5-736c-4bf8-92f2-e5a0209886a2
|
679
|
+
body:
|
680
|
+
encoding: US-ASCII
|
681
|
+
string: ''
|
682
|
+
headers:
|
683
|
+
Content-Type:
|
684
|
+
- application/json
|
685
|
+
Accept:
|
686
|
+
- application/json
|
687
|
+
X-Auth-Token:
|
688
|
+
- 833ec66536114df89e1490483869bfcf
|
689
|
+
X-Openstack-Nova-Api-Version:
|
690
|
+
- '2.25'
|
691
|
+
X-Openstack-Api-Version:
|
692
|
+
- compute 2.25
|
693
|
+
Accept-Encoding:
|
694
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
695
|
+
User-Agent:
|
696
|
+
- Ruby
|
697
|
+
response:
|
698
|
+
status:
|
699
|
+
code: 200
|
700
|
+
message: OK
|
701
|
+
headers:
|
702
|
+
Content-Length:
|
703
|
+
- '1873'
|
704
|
+
Content-Type:
|
705
|
+
- application/json
|
706
|
+
X-Openstack-Nova-Api-Version:
|
707
|
+
- '2.25'
|
708
|
+
Vary:
|
709
|
+
- X-OpenStack-Nova-API-Version
|
710
|
+
X-Compute-Request-Id:
|
711
|
+
- req-cc02ee0a-a883-4470-bec2-a15022ea9622
|
712
|
+
Date:
|
713
|
+
- Sat, 10 Dec 2016 01:11:49 GMT
|
714
|
+
body:
|
715
|
+
encoding: UTF-8
|
716
|
+
string: '{"server": {"status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated":
|
717
|
+
"2016-12-10T01:11:49Z", "hostId": "09e8ba124eee149a153421f87483391234dbb759b7cd5ac06de32b99",
|
718
|
+
"OS-EXT-SRV-ATTR:host": "overcloud-compute-1.localdomain", "addresses": {},
|
719
|
+
"links": [{"href": "http://192.0.2.21:8774/v2.1/48985e6b8da145699d411f12a3459fca/servers/d20888e5-736c-4bf8-92f2-e5a0209886a2",
|
720
|
+
"rel": "self"}, {"href": "http://192.0.2.21:8774/48985e6b8da145699d411f12a3459fca/servers/d20888e5-736c-4bf8-92f2-e5a0209886a2",
|
721
|
+
"rel": "bookmark"}], "key_name": null, "image": {"id": "c091ccf2-a4ae-4fa0-a716-defd6376b5dc",
|
722
|
+
"links": [{"href": "http://192.0.2.21:8774/48985e6b8da145699d411f12a3459fca/images/c091ccf2-a4ae-4fa0-a716-defd6376b5dc",
|
723
|
+
"rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": null, "OS-EXT-STS:task_state":
|
724
|
+
null, "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name":
|
725
|
+
"instance-00000026", "OS-EXT-SRV-ATTR:root_device_name": null, "OS-SRV-USG:launched_at":
|
726
|
+
null, "locked": false, "flavor": {"id": "1", "links": [{"href": "http://192.0.2.21:8774/48985e6b8da145699d411f12a3459fca/flavors/1",
|
727
|
+
"rel": "bookmark"}]}, "id": "d20888e5-736c-4bf8-92f2-e5a0209886a2", "description":
|
728
|
+
null, "OS-EXT-SRV-ATTR:kernel_id": "", "host_status": "UP", "OS-EXT-AZ:availability_zone":
|
729
|
+
"nova", "user_id": "1e50c2f0995446fd9b135a1a549cabdb", "name": "test_create_server",
|
730
|
+
"OS-EXT-SRV-ATTR:launch_index": 0, "created": "2016-12-10T01:11:48Z", "tenant_id":
|
731
|
+
"48985e6b8da145699d411f12a3459fca", "OS-DCF:diskConfig": "MANUAL", "OS-EXT-SRV-ATTR:hypervisor_hostname":
|
732
|
+
"overcloud-compute-1.localdomain", "os-extended-volumes:volumes_attached":
|
733
|
+
[], "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id":
|
734
|
+
"r-rsn3wljx", "OS-EXT-SRV-ATTR:hostname": "test-create-server", "progress":
|
735
|
+
0, "OS-EXT-STS:power_state": 0, "config_drive": "", "OS-SRV-USG:terminated_at":
|
736
|
+
null, "metadata": {}}}'
|
737
|
+
http_version:
|
738
|
+
recorded_at: Fri, 17 Feb 2017 06:15:12 GMT
|
739
|
+
- request:
|
740
|
+
method: post
|
741
|
+
uri: http://192.0.2.21:5000/v3/auth/tokens
|
742
|
+
body:
|
743
|
+
encoding: UTF-8
|
744
|
+
string: '{"auth":{"identity":{"methods":["password"],"password":{"user":{"name":"admin","domain":{"id":"default"},"password":"CJk9hb2ZFR96Ypu74KFFGWuhv"}}},"scope":{"project":{"name":"admin","domain":{"id":"default"}}}}}'
|
745
|
+
headers:
|
746
|
+
Content-Type:
|
747
|
+
- application/json
|
748
|
+
Accept:
|
749
|
+
- application/json
|
750
|
+
Accept-Encoding:
|
751
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
752
|
+
User-Agent:
|
753
|
+
- Ruby
|
754
|
+
response:
|
755
|
+
status:
|
756
|
+
code: 201
|
757
|
+
message: Created
|
758
|
+
headers:
|
759
|
+
Date:
|
760
|
+
- Sat, 10 Dec 2016 01:11:49 GMT
|
761
|
+
Server:
|
762
|
+
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
763
|
+
X-Subject-Token:
|
764
|
+
- d9980a529b264d918237a84c4fc7d1ee
|
765
|
+
Vary:
|
766
|
+
- X-Auth-Token
|
767
|
+
X-Openstack-Request-Id:
|
768
|
+
- req-3b081c5b-fdad-4274-a8e1-662c584b2a9a
|
769
|
+
Content-Length:
|
770
|
+
- '8373'
|
771
|
+
Content-Type:
|
772
|
+
- application/json
|
773
|
+
body:
|
774
|
+
encoding: UTF-8
|
775
|
+
string: '{"token": {"methods": ["password"], "roles": [{"id": "362084a241d94d56b6371f6cb1c87abf",
|
776
|
+
"name": "admin"}], "expires_at": "2016-12-10T02:11:49.617284Z", "project":
|
777
|
+
{"domain": {"id": "default", "name": "Default"}, "id": "48985e6b8da145699d411f12a3459fca",
|
778
|
+
"name": "admin"}, "catalog": [{"endpoints": [{"region_id": "regionOne", "url":
|
779
|
+
"http://192.0.2.21:8774/v2.1/48985e6b8da145699d411f12a3459fca", "region":
|
780
|
+
"regionOne", "interface": "internal", "id": "09e14aa5f80a4c3d84f20ecef245af13"},
|
781
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8774/v2.1/48985e6b8da145699d411f12a3459fca",
|
782
|
+
"region": "regionOne", "interface": "public", "id": "8beeb2f5570f4e668bb9df77105c396d"},
|
783
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8774/v2.1/48985e6b8da145699d411f12a3459fca",
|
784
|
+
"region": "regionOne", "interface": "admin", "id": "d368b97fae184bba9fdd2213287a327b"}],
|
785
|
+
"type": "compute", "id": "1a96b84b844a4c028f22b7da27501c0d", "name": "nova"},
|
786
|
+
{"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v1/48985e6b8da145699d411f12a3459fca",
|
787
|
+
"region": "regionOne", "interface": "admin", "id": "3e02c6f778ba4ab38476fff972c269c8"},
|
788
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v1/48985e6b8da145699d411f12a3459fca",
|
789
|
+
"region": "regionOne", "interface": "public", "id": "6483567da043458fb0bc734c39908f2f"},
|
790
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v1/48985e6b8da145699d411f12a3459fca",
|
791
|
+
"region": "regionOne", "interface": "internal", "id": "ad95dbf1f99a4fbda130bdcc71b81c15"}],
|
792
|
+
"type": "volume", "id": "1fb40dbf60ae483f853764381c1c6bab", "name": "cinder"},
|
793
|
+
{"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:9696/",
|
794
|
+
"region": "regionOne", "interface": "admin", "id": "029a7263b7e14ebe8f10a0033b636ed9"},
|
795
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:9696/", "region": "regionOne",
|
796
|
+
"interface": "public", "id": "a8e4debb78ed4aef9989ef07780abb46"}, {"region_id":
|
797
|
+
"regionOne", "url": "http://192.0.2.21:9696/", "region": "regionOne", "interface":
|
798
|
+
"internal", "id": "b188a6216018481d8b1f6f9f41e69354"}], "type": "network",
|
799
|
+
"id": "2358e09f2ee14eca9b047cc3c2ca62f8", "name": "neutron"}, {"endpoints":
|
800
|
+
[{"region_id": "regionOne", "url": "http://192.0.2.21:35357/v3", "region":
|
801
|
+
"regionOne", "interface": "admin", "id": "0ede2537de2644199f649bb566015c2c"},
|
802
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:5000/v3", "region": "regionOne",
|
803
|
+
"interface": "internal", "id": "2220349ef81d4b8fb678485c81f2a214"}, {"region_id":
|
804
|
+
"regionOne", "url": "http://192.0.2.21:5000/v3", "region": "regionOne", "interface":
|
805
|
+
"public", "id": "9b84ce6363324320af67511b995d6e32"}], "type": "identity",
|
806
|
+
"id": "2901e458d8b74d2399a041b5b64cb8d1", "name": "identity_v3"}, {"endpoints":
|
807
|
+
[{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v2/48985e6b8da145699d411f12a3459fca",
|
808
|
+
"region": "regionOne", "interface": "public", "id": "45c91d23e63648308e45e05944a530b9"},
|
809
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v2/48985e6b8da145699d411f12a3459fca",
|
810
|
+
"region": "regionOne", "interface": "admin", "id": "648693e76f00499289fc77ea6eea12eb"},
|
811
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v2/48985e6b8da145699d411f12a3459fca",
|
812
|
+
"region": "regionOne", "interface": "internal", "id": "ca2d606db4694c80802398bea56b8d7c"}],
|
813
|
+
"type": "volumev2", "id": "454c392dbb6d44bdb8a736a73628a8c4", "name": "cinderv2"},
|
814
|
+
{"endpoints": [], "type": "identity_v3", "id": "6f3b70e1db1b4ce692f558bc7fa2dfd7",
|
815
|
+
"name": "keystone_v3"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8080/v1/AUTH_48985e6b8da145699d411f12a3459fca",
|
816
|
+
"region": "regionOne", "interface": "internal", "id": "9ee36bdd422c4d04b1737b38079a7160"},
|
817
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8080/v1", "region": "regionOne",
|
818
|
+
"interface": "admin", "id": "bc34638cfdae4cc1ae168c283e4e915a"}, {"region_id":
|
819
|
+
"regionOne", "url": "http://192.0.2.21:8080/v1/AUTH_48985e6b8da145699d411f12a3459fca",
|
820
|
+
"region": "regionOne", "interface": "public", "id": "d41709fb49114560b459300f661bb3ed"}],
|
821
|
+
"type": "object-store", "id": "8e795505992141c1b32c1f9138b47b98", "name":
|
822
|
+
"swift"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8004/v1/48985e6b8da145699d411f12a3459fca",
|
823
|
+
"region": "regionOne", "interface": "admin", "id": "04a4bcb47c774cf4b776dd330ec90ac7"},
|
824
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8004/v1/48985e6b8da145699d411f12a3459fca",
|
825
|
+
"region": "regionOne", "interface": "internal", "id": "39f306a869084899af052b3d7a85701f"},
|
826
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8004/v1/48985e6b8da145699d411f12a3459fca",
|
827
|
+
"region": "regionOne", "interface": "public", "id": "b37cfb8813c649ca932b74717a4924dc"}],
|
828
|
+
"type": "orchestration", "id": "a8e72740ce92456ab392a75375ec9df7", "name":
|
829
|
+
"heat"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8042/",
|
830
|
+
"region": "regionOne", "interface": "internal", "id": "2bd9d0c1fc544f078c2fef39a5f4decd"},
|
831
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8042/", "region": "regionOne",
|
832
|
+
"interface": "admin", "id": "9c3ac290cf5944e9957f387987a6d7e8"}, {"region_id":
|
833
|
+
"regionOne", "url": "http://192.0.2.21:8042/", "region": "regionOne", "interface":
|
834
|
+
"public", "id": "b8345563ada3461a8f871d897bae1c60"}], "type": "alarming",
|
835
|
+
"id": "afce35c3b5c640658578063bcb52fe0e", "name": "aodh"}, {"endpoints": [{"region_id":
|
836
|
+
"regionOne", "url": "http://192.0.2.21:8777/", "region": "regionOne", "interface":
|
837
|
+
"public", "id": "0a8c20af41384e9b94ffbd266e69f8b0"}, {"region_id": "regionOne",
|
838
|
+
"url": "http://192.0.2.21:8777/", "region": "regionOne", "interface": "admin",
|
839
|
+
"id": "407e04f068d64cc49c8beb612087d60c"}, {"region_id": "regionOne", "url":
|
840
|
+
"http://192.0.2.21:8777/", "region": "regionOne", "interface": "internal",
|
841
|
+
"id": "5506ecfd12e04e9fae93a16dd7cd473e"}], "type": "metering", "id": "afde6b4f37d1406d83939829e87fbfb9",
|
842
|
+
"name": "ceilometer"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:9292/",
|
843
|
+
"region": "regionOne", "interface": "public", "id": "1b37c9b615634b9ba354acab8e797bd5"},
|
844
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:9292/", "region": "regionOne",
|
845
|
+
"interface": "admin", "id": "24ed5cb4e2104b9796a2529a21de04ac"}, {"region_id":
|
846
|
+
"regionOne", "url": "http://192.0.2.21:9292/", "region": "regionOne", "interface":
|
847
|
+
"internal", "id": "8493c76b6a1f400b80e20a11e3ac9e8d"}], "type": "image", "id":
|
848
|
+
"be4dfdcf14ef48039edf82ef5ae1629e", "name": "glance"}, {"endpoints": [{"region_id":
|
849
|
+
"regionOne", "url": "http://192.0.2.21:8041/", "region": "regionOne", "interface":
|
850
|
+
"admin", "id": "709ff9a3f13848209b8934bb1f6dec26"}, {"region_id": "regionOne",
|
851
|
+
"url": "http://192.0.2.21:8041/", "region": "regionOne", "interface": "internal",
|
852
|
+
"id": "d51d46cd35f941df88f5508b3e879777"}, {"region_id": "regionOne", "url":
|
853
|
+
"http://192.0.2.21:8041/", "region": "regionOne", "interface": "public", "id":
|
854
|
+
"fd3c88b22fab4df58cd629f174fd2e3b"}], "type": "metric", "id": "c2b4bf300bd84cfba6d9cb8c03874c15",
|
855
|
+
"name": "gnocchi"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:35357/v2.0",
|
856
|
+
"region": "regionOne", "interface": "admin", "id": "9bbbac3ebf04425fbf6f850c61727c36"},
|
857
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:5000/v2.0", "region":
|
858
|
+
"regionOne", "interface": "public", "id": "a4f073188f834e08a541f3172afbf2aa"},
|
859
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:5000/v2.0", "region":
|
860
|
+
"regionOne", "interface": "internal", "id": "fe25750a2f23451186b78cafeb2500c2"}],
|
861
|
+
"type": "identity", "id": "dcf4906057004977bdabba7de167c923", "name": "keystone"},
|
862
|
+
{"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8386/v1.1/48985e6b8da145699d411f12a3459fca",
|
863
|
+
"region": "regionOne", "interface": "internal", "id": "09f14e579c22456498293c45deafc29c"},
|
864
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8386/v1.1/48985e6b8da145699d411f12a3459fca",
|
865
|
+
"region": "regionOne", "interface": "public", "id": "39b2796eadd2410295b3f0b1398db694"},
|
866
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8386/v1.1/48985e6b8da145699d411f12a3459fca",
|
867
|
+
"region": "regionOne", "interface": "admin", "id": "7ec9decfbe5b46ee850619c1752bfa67"}],
|
868
|
+
"type": "data-processing", "id": "ea7797ce177d4bfd8e360de675c71f35", "name":
|
869
|
+
"sahara"}], "user": {"domain": {"id": "default", "name": "Default"}, "id":
|
870
|
+
"1e50c2f0995446fd9b135a1a549cabdb", "name": "admin"}, "audit_ids": ["Zfu_2GLRRhSdrhwjLNm8Cw"],
|
871
|
+
"issued_at": "2016-12-10T01:11:49.617326Z"}}'
|
872
|
+
http_version:
|
873
|
+
recorded_at: Fri, 17 Feb 2017 06:15:12 GMT
|
874
|
+
- request:
|
875
|
+
method: put
|
876
|
+
uri: http://192.0.2.21:8774/v2.1/48985e6b8da145699d411f12a3459fca/servers/d20888e5-736c-4bf8-92f2-e5a0209886a2
|
877
|
+
body:
|
878
|
+
encoding: UTF-8
|
879
|
+
string: '{"server":{"name":"test_updated_server"}}'
|
880
|
+
headers:
|
881
|
+
Content-Type:
|
882
|
+
- application/json
|
883
|
+
Accept:
|
884
|
+
- application/json
|
885
|
+
X-Auth-Token:
|
886
|
+
- 833ec66536114df89e1490483869bfcf
|
887
|
+
X-Openstack-Nova-Api-Version:
|
888
|
+
- '2.25'
|
889
|
+
X-Openstack-Api-Version:
|
890
|
+
- compute 2.25
|
891
|
+
Accept-Encoding:
|
892
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
893
|
+
User-Agent:
|
894
|
+
- Ruby
|
895
|
+
response:
|
896
|
+
status:
|
897
|
+
code: 200
|
898
|
+
message: OK
|
899
|
+
headers:
|
900
|
+
Content-Length:
|
901
|
+
- '1107'
|
902
|
+
Content-Type:
|
903
|
+
- application/json
|
904
|
+
X-Openstack-Nova-Api-Version:
|
905
|
+
- '2.25'
|
906
|
+
Vary:
|
907
|
+
- X-OpenStack-Nova-API-Version
|
908
|
+
X-Compute-Request-Id:
|
909
|
+
- req-d1959f75-621f-4572-b28d-88852d7d0d21
|
910
|
+
Date:
|
911
|
+
- Sat, 10 Dec 2016 01:11:49 GMT
|
912
|
+
body:
|
913
|
+
encoding: UTF-8
|
914
|
+
string: '{"server": {"status": "BUILD", "updated": "2016-12-10T01:11:49Z", "hostId":
|
915
|
+
"09e8ba124eee149a153421f87483391234dbb759b7cd5ac06de32b99", "addresses": {},
|
916
|
+
"links": [{"href": "http://192.0.2.21:8774/v2.1/48985e6b8da145699d411f12a3459fca/servers/d20888e5-736c-4bf8-92f2-e5a0209886a2",
|
917
|
+
"rel": "self"}, {"href": "http://192.0.2.21:8774/48985e6b8da145699d411f12a3459fca/servers/d20888e5-736c-4bf8-92f2-e5a0209886a2",
|
918
|
+
"rel": "bookmark"}], "image": {"id": "c091ccf2-a4ae-4fa0-a716-defd6376b5dc",
|
919
|
+
"links": [{"href": "http://192.0.2.21:8774/48985e6b8da145699d411f12a3459fca/images/c091ccf2-a4ae-4fa0-a716-defd6376b5dc",
|
920
|
+
"rel": "bookmark"}]}, "locked": false, "flavor": {"id": "1", "links": [{"href":
|
921
|
+
"http://192.0.2.21:8774/48985e6b8da145699d411f12a3459fca/flavors/1", "rel":
|
922
|
+
"bookmark"}]}, "id": "d20888e5-736c-4bf8-92f2-e5a0209886a2", "description":
|
923
|
+
null, "user_id": "1e50c2f0995446fd9b135a1a549cabdb", "name": "test_updated_server",
|
924
|
+
"created": "2016-12-10T01:11:48Z", "tenant_id": "48985e6b8da145699d411f12a3459fca",
|
925
|
+
"OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "progress":
|
926
|
+
0, "metadata": {}}}'
|
927
|
+
http_version:
|
928
|
+
recorded_at: Fri, 17 Feb 2017 06:15:12 GMT
|
929
|
+
- request:
|
930
|
+
method: post
|
931
|
+
uri: http://192.0.2.21:5000/v3/auth/tokens
|
932
|
+
body:
|
933
|
+
encoding: UTF-8
|
934
|
+
string: '{"auth":{"identity":{"methods":["password"],"password":{"user":{"name":"admin","domain":{"id":"default"},"password":"CJk9hb2ZFR96Ypu74KFFGWuhv"}}},"scope":{"project":{"name":"admin","domain":{"id":"default"}}}}}'
|
935
|
+
headers:
|
936
|
+
Content-Type:
|
937
|
+
- application/json
|
938
|
+
Accept:
|
939
|
+
- application/json
|
940
|
+
Accept-Encoding:
|
941
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
942
|
+
User-Agent:
|
943
|
+
- Ruby
|
944
|
+
response:
|
945
|
+
status:
|
946
|
+
code: 201
|
947
|
+
message: Created
|
948
|
+
headers:
|
949
|
+
Date:
|
950
|
+
- Sat, 10 Dec 2016 01:11:49 GMT
|
951
|
+
Server:
|
952
|
+
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
953
|
+
X-Subject-Token:
|
954
|
+
- e60e371842f04de8915da7f7d2990b1c
|
955
|
+
Vary:
|
956
|
+
- X-Auth-Token
|
957
|
+
X-Openstack-Request-Id:
|
958
|
+
- req-26a9c2af-5cae-416c-a265-c702c35aaeb7
|
959
|
+
Content-Length:
|
960
|
+
- '8373'
|
961
|
+
Content-Type:
|
962
|
+
- application/json
|
963
|
+
body:
|
964
|
+
encoding: UTF-8
|
965
|
+
string: '{"token": {"methods": ["password"], "roles": [{"id": "362084a241d94d56b6371f6cb1c87abf",
|
966
|
+
"name": "admin"}], "expires_at": "2016-12-10T02:11:50.088277Z", "project":
|
967
|
+
{"domain": {"id": "default", "name": "Default"}, "id": "48985e6b8da145699d411f12a3459fca",
|
968
|
+
"name": "admin"}, "catalog": [{"endpoints": [{"region_id": "regionOne", "url":
|
969
|
+
"http://192.0.2.21:8774/v2.1/48985e6b8da145699d411f12a3459fca", "region":
|
970
|
+
"regionOne", "interface": "internal", "id": "09e14aa5f80a4c3d84f20ecef245af13"},
|
971
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8774/v2.1/48985e6b8da145699d411f12a3459fca",
|
972
|
+
"region": "regionOne", "interface": "public", "id": "8beeb2f5570f4e668bb9df77105c396d"},
|
973
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8774/v2.1/48985e6b8da145699d411f12a3459fca",
|
974
|
+
"region": "regionOne", "interface": "admin", "id": "d368b97fae184bba9fdd2213287a327b"}],
|
975
|
+
"type": "compute", "id": "1a96b84b844a4c028f22b7da27501c0d", "name": "nova"},
|
976
|
+
{"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v1/48985e6b8da145699d411f12a3459fca",
|
977
|
+
"region": "regionOne", "interface": "admin", "id": "3e02c6f778ba4ab38476fff972c269c8"},
|
978
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v1/48985e6b8da145699d411f12a3459fca",
|
979
|
+
"region": "regionOne", "interface": "public", "id": "6483567da043458fb0bc734c39908f2f"},
|
980
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v1/48985e6b8da145699d411f12a3459fca",
|
981
|
+
"region": "regionOne", "interface": "internal", "id": "ad95dbf1f99a4fbda130bdcc71b81c15"}],
|
982
|
+
"type": "volume", "id": "1fb40dbf60ae483f853764381c1c6bab", "name": "cinder"},
|
983
|
+
{"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:9696/",
|
984
|
+
"region": "regionOne", "interface": "admin", "id": "029a7263b7e14ebe8f10a0033b636ed9"},
|
985
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:9696/", "region": "regionOne",
|
986
|
+
"interface": "public", "id": "a8e4debb78ed4aef9989ef07780abb46"}, {"region_id":
|
987
|
+
"regionOne", "url": "http://192.0.2.21:9696/", "region": "regionOne", "interface":
|
988
|
+
"internal", "id": "b188a6216018481d8b1f6f9f41e69354"}], "type": "network",
|
989
|
+
"id": "2358e09f2ee14eca9b047cc3c2ca62f8", "name": "neutron"}, {"endpoints":
|
990
|
+
[{"region_id": "regionOne", "url": "http://192.0.2.21:35357/v3", "region":
|
991
|
+
"regionOne", "interface": "admin", "id": "0ede2537de2644199f649bb566015c2c"},
|
992
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:5000/v3", "region": "regionOne",
|
993
|
+
"interface": "internal", "id": "2220349ef81d4b8fb678485c81f2a214"}, {"region_id":
|
994
|
+
"regionOne", "url": "http://192.0.2.21:5000/v3", "region": "regionOne", "interface":
|
995
|
+
"public", "id": "9b84ce6363324320af67511b995d6e32"}], "type": "identity",
|
996
|
+
"id": "2901e458d8b74d2399a041b5b64cb8d1", "name": "identity_v3"}, {"endpoints":
|
997
|
+
[{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v2/48985e6b8da145699d411f12a3459fca",
|
998
|
+
"region": "regionOne", "interface": "public", "id": "45c91d23e63648308e45e05944a530b9"},
|
999
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v2/48985e6b8da145699d411f12a3459fca",
|
1000
|
+
"region": "regionOne", "interface": "admin", "id": "648693e76f00499289fc77ea6eea12eb"},
|
1001
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8776/v2/48985e6b8da145699d411f12a3459fca",
|
1002
|
+
"region": "regionOne", "interface": "internal", "id": "ca2d606db4694c80802398bea56b8d7c"}],
|
1003
|
+
"type": "volumev2", "id": "454c392dbb6d44bdb8a736a73628a8c4", "name": "cinderv2"},
|
1004
|
+
{"endpoints": [], "type": "identity_v3", "id": "6f3b70e1db1b4ce692f558bc7fa2dfd7",
|
1005
|
+
"name": "keystone_v3"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8080/v1/AUTH_48985e6b8da145699d411f12a3459fca",
|
1006
|
+
"region": "regionOne", "interface": "internal", "id": "9ee36bdd422c4d04b1737b38079a7160"},
|
1007
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8080/v1", "region": "regionOne",
|
1008
|
+
"interface": "admin", "id": "bc34638cfdae4cc1ae168c283e4e915a"}, {"region_id":
|
1009
|
+
"regionOne", "url": "http://192.0.2.21:8080/v1/AUTH_48985e6b8da145699d411f12a3459fca",
|
1010
|
+
"region": "regionOne", "interface": "public", "id": "d41709fb49114560b459300f661bb3ed"}],
|
1011
|
+
"type": "object-store", "id": "8e795505992141c1b32c1f9138b47b98", "name":
|
1012
|
+
"swift"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8004/v1/48985e6b8da145699d411f12a3459fca",
|
1013
|
+
"region": "regionOne", "interface": "admin", "id": "04a4bcb47c774cf4b776dd330ec90ac7"},
|
1014
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8004/v1/48985e6b8da145699d411f12a3459fca",
|
1015
|
+
"region": "regionOne", "interface": "internal", "id": "39f306a869084899af052b3d7a85701f"},
|
1016
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8004/v1/48985e6b8da145699d411f12a3459fca",
|
1017
|
+
"region": "regionOne", "interface": "public", "id": "b37cfb8813c649ca932b74717a4924dc"}],
|
1018
|
+
"type": "orchestration", "id": "a8e72740ce92456ab392a75375ec9df7", "name":
|
1019
|
+
"heat"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8042/",
|
1020
|
+
"region": "regionOne", "interface": "internal", "id": "2bd9d0c1fc544f078c2fef39a5f4decd"},
|
1021
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8042/", "region": "regionOne",
|
1022
|
+
"interface": "admin", "id": "9c3ac290cf5944e9957f387987a6d7e8"}, {"region_id":
|
1023
|
+
"regionOne", "url": "http://192.0.2.21:8042/", "region": "regionOne", "interface":
|
1024
|
+
"public", "id": "b8345563ada3461a8f871d897bae1c60"}], "type": "alarming",
|
1025
|
+
"id": "afce35c3b5c640658578063bcb52fe0e", "name": "aodh"}, {"endpoints": [{"region_id":
|
1026
|
+
"regionOne", "url": "http://192.0.2.21:8777/", "region": "regionOne", "interface":
|
1027
|
+
"public", "id": "0a8c20af41384e9b94ffbd266e69f8b0"}, {"region_id": "regionOne",
|
1028
|
+
"url": "http://192.0.2.21:8777/", "region": "regionOne", "interface": "admin",
|
1029
|
+
"id": "407e04f068d64cc49c8beb612087d60c"}, {"region_id": "regionOne", "url":
|
1030
|
+
"http://192.0.2.21:8777/", "region": "regionOne", "interface": "internal",
|
1031
|
+
"id": "5506ecfd12e04e9fae93a16dd7cd473e"}], "type": "metering", "id": "afde6b4f37d1406d83939829e87fbfb9",
|
1032
|
+
"name": "ceilometer"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:9292/",
|
1033
|
+
"region": "regionOne", "interface": "public", "id": "1b37c9b615634b9ba354acab8e797bd5"},
|
1034
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:9292/", "region": "regionOne",
|
1035
|
+
"interface": "admin", "id": "24ed5cb4e2104b9796a2529a21de04ac"}, {"region_id":
|
1036
|
+
"regionOne", "url": "http://192.0.2.21:9292/", "region": "regionOne", "interface":
|
1037
|
+
"internal", "id": "8493c76b6a1f400b80e20a11e3ac9e8d"}], "type": "image", "id":
|
1038
|
+
"be4dfdcf14ef48039edf82ef5ae1629e", "name": "glance"}, {"endpoints": [{"region_id":
|
1039
|
+
"regionOne", "url": "http://192.0.2.21:8041/", "region": "regionOne", "interface":
|
1040
|
+
"admin", "id": "709ff9a3f13848209b8934bb1f6dec26"}, {"region_id": "regionOne",
|
1041
|
+
"url": "http://192.0.2.21:8041/", "region": "regionOne", "interface": "internal",
|
1042
|
+
"id": "d51d46cd35f941df88f5508b3e879777"}, {"region_id": "regionOne", "url":
|
1043
|
+
"http://192.0.2.21:8041/", "region": "regionOne", "interface": "public", "id":
|
1044
|
+
"fd3c88b22fab4df58cd629f174fd2e3b"}], "type": "metric", "id": "c2b4bf300bd84cfba6d9cb8c03874c15",
|
1045
|
+
"name": "gnocchi"}, {"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:35357/v2.0",
|
1046
|
+
"region": "regionOne", "interface": "admin", "id": "9bbbac3ebf04425fbf6f850c61727c36"},
|
1047
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:5000/v2.0", "region":
|
1048
|
+
"regionOne", "interface": "public", "id": "a4f073188f834e08a541f3172afbf2aa"},
|
1049
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:5000/v2.0", "region":
|
1050
|
+
"regionOne", "interface": "internal", "id": "fe25750a2f23451186b78cafeb2500c2"}],
|
1051
|
+
"type": "identity", "id": "dcf4906057004977bdabba7de167c923", "name": "keystone"},
|
1052
|
+
{"endpoints": [{"region_id": "regionOne", "url": "http://192.0.2.21:8386/v1.1/48985e6b8da145699d411f12a3459fca",
|
1053
|
+
"region": "regionOne", "interface": "internal", "id": "09f14e579c22456498293c45deafc29c"},
|
1054
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8386/v1.1/48985e6b8da145699d411f12a3459fca",
|
1055
|
+
"region": "regionOne", "interface": "public", "id": "39b2796eadd2410295b3f0b1398db694"},
|
1056
|
+
{"region_id": "regionOne", "url": "http://192.0.2.21:8386/v1.1/48985e6b8da145699d411f12a3459fca",
|
1057
|
+
"region": "regionOne", "interface": "admin", "id": "7ec9decfbe5b46ee850619c1752bfa67"}],
|
1058
|
+
"type": "data-processing", "id": "ea7797ce177d4bfd8e360de675c71f35", "name":
|
1059
|
+
"sahara"}], "user": {"domain": {"id": "default", "name": "Default"}, "id":
|
1060
|
+
"1e50c2f0995446fd9b135a1a549cabdb", "name": "admin"}, "audit_ids": ["eOUOotmfRji-tEsb5s6org"],
|
1061
|
+
"issued_at": "2016-12-10T01:11:50.088310Z"}}'
|
1062
|
+
http_version:
|
1063
|
+
recorded_at: Fri, 17 Feb 2017 06:15:12 GMT
|
1064
|
+
- request:
|
1065
|
+
method: delete
|
1066
|
+
uri: http://192.0.2.21:8774/v2.1/48985e6b8da145699d411f12a3459fca/servers/d20888e5-736c-4bf8-92f2-e5a0209886a2
|
1067
|
+
body:
|
1068
|
+
encoding: US-ASCII
|
1069
|
+
string: ''
|
1070
|
+
headers:
|
1071
|
+
Content-Type:
|
1072
|
+
- application/json
|
1073
|
+
Accept:
|
1074
|
+
- application/json
|
1075
|
+
X-Auth-Token:
|
1076
|
+
- 833ec66536114df89e1490483869bfcf
|
1077
|
+
X-Openstack-Nova-Api-Version:
|
1078
|
+
- '2.25'
|
1079
|
+
X-Openstack-Api-Version:
|
1080
|
+
- compute 2.25
|
1081
|
+
Accept-Encoding:
|
1082
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1083
|
+
User-Agent:
|
1084
|
+
- Ruby
|
1085
|
+
response:
|
1086
|
+
status:
|
1087
|
+
code: 204
|
1088
|
+
message: No Content
|
1089
|
+
headers:
|
1090
|
+
Content-Length:
|
1091
|
+
- '0'
|
1092
|
+
Content-Type:
|
1093
|
+
- application/json
|
1094
|
+
X-Openstack-Nova-Api-Version:
|
1095
|
+
- '2.25'
|
1096
|
+
Vary:
|
1097
|
+
- X-OpenStack-Nova-API-Version
|
1098
|
+
X-Compute-Request-Id:
|
1099
|
+
- req-572dab11-6b04-4ef9-9ee9-9edb5318221e
|
1100
|
+
Date:
|
1101
|
+
- Sat, 10 Dec 2016 01:11:50 GMT
|
1102
|
+
body:
|
1103
|
+
encoding: UTF-8
|
1104
|
+
string: ''
|
1105
|
+
http_version:
|
1106
|
+
recorded_at: Fri, 17 Feb 2017 06:15:13 GMT
|
1107
|
+
recorded_with: VCR 3.0.3
|