egon 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/egon/overcloud/undercloud_handle/node.rb +5 -5
- data/lib/egon/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YmI4NWRjYWQ4NWRiYzI5OWE1NWEyYWU0ZjU5OThiMWNmZWMzYmQ3MA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NDVmNGFjMjVjNjFiY2Y4NWIyZjkzOTVlODIxYmVjNWI0ZWQ5ZGU1NA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NWI1YWRlMWE0ODRhNjJjOGRlNjU4ZWFjZDFmOWU3NTk5MTE5Y2RiNmZlNmIx
|
10
|
+
ZTIwMTkyNjE3YmU0Y2M0MTYwYTY0YjgxZDc1NmFkZDY4M2FiOTNhMGE3NTA4
|
11
|
+
ODU5OTAzY2EyYzAyNDQ2ODg3ZTNiMGZjZGI5OGU1N2IwMzFkNDU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OTlmMGIwMDZjZWNkZmRhNDY2MjQxYTk2NTFmMDBjYmFhNWY0YTEzZjYwNTA0
|
14
|
+
YzFjZmRlOGYzNWM0NTU4ZmZhZWE5MGQ0YmJlZDk0OTYyNzg3MTc5ODdmZWJi
|
15
|
+
ZjRlOGM5NTVkMDNkMjMwZjFhN2U2YmQ1ZTY3ZDM1MTRiNmNkNTA=
|
@@ -16,7 +16,7 @@ module Overcloud
|
|
16
16
|
create_flavor_from_node(node) if create_flavor
|
17
17
|
|
18
18
|
node.set_provision_state('manage')
|
19
|
-
introspect_node(node)
|
19
|
+
introspect_node(node.uuid)
|
20
20
|
node
|
21
21
|
end
|
22
22
|
|
@@ -72,8 +72,8 @@ module Overcloud
|
|
72
72
|
## THESE METHODS ARE TEMPORARY UNTIL IRONIC-DISCOVERD IS ADDED TO
|
73
73
|
## OPENSTACK AND KEYSTONE
|
74
74
|
|
75
|
-
def introspect_node(
|
76
|
-
uri = "http://#{@auth_url}:5050/v1/introspection/#{
|
75
|
+
def introspect_node(node_uuid)
|
76
|
+
uri = "http://#{@auth_url}:5050/v1/introspection/#{node_uuid}"
|
77
77
|
auth_token = service('Baremetal').instance_variable_get(:@auth_token)
|
78
78
|
response = Fog::Core::Connection.new(uri, false).request({
|
79
79
|
:expects => 202,
|
@@ -84,8 +84,8 @@ module Overcloud
|
|
84
84
|
})
|
85
85
|
end
|
86
86
|
|
87
|
-
def introspect_node_status(
|
88
|
-
uri = "http://#{@auth_url}:5050/v1/introspection/#{
|
87
|
+
def introspect_node_status(node_uuid)
|
88
|
+
uri = "http://#{@auth_url}:5050/v1/introspection/#{node_uuid}"
|
89
89
|
auth_token = service('Baremetal').instance_variable_get(:@auth_token)
|
90
90
|
response = Fog::Core::Connection.new(uri, false).request({
|
91
91
|
:expects => 200,
|
data/lib/egon/version.rb
CHANGED