-
-
Save badloop/6876df709d7dc622299490d9f522de2a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POD_lan0_network_port: | |
type: OS::Neutron::Port | |
properties: | |
name: | |
str_replace: | |
template: POD_lan0_port_cloudID% | |
params: | |
"cloudID%": { get_param: cloudID } | |
network_id: { get_resource: lan0_network } | |
port_security_enabled: False | |
security_groups: [] | |
allowed_address_pairs: [] | |
# server | |
POD: | |
type: OS::Nova::Server | |
properties: | |
name: pod-node-1 | |
key_name: { get_resource: ssh-key } | |
image: { get_param: image } | |
flavor: { get_param: flavor } | |
networks: | |
repeat: | |
for_each: | |
<%index%>: { get_param: [ wan_array ] } | |
template: | |
- port: { get_attr: [ wan_group, resource.<%index%>.POD_wan_port, id ] } | |
repeat: | |
for_each: | |
<%port%>: ["0"] | |
template: | |
- port: { get_resource: POD_lan0_network_port } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RESP: [400] Connection: keep-alive Content-Length: 254 Content-Type: application/json; charset=UTF-8 Date: Wed, 20 Feb 2019 21:21:33 GMT X-Openstack-Request-Id: req-a5cbe6a1-f3dc-4396-b078-ce13137727f9 | |
RESP BODY: {"explanation": "The server could not comply with the request since it is either malformed or otherwise incorrect.", "code": 400, "error": {"message": "\"[{u'port': None}]\" is not a map", "traceback": null, "type": "ValueError"}, "title": "Bad Request"} | |
POST call to orchestration for http://controller.pod.local:8004/v1/20bf29773a6d4ba683d3850411e46f03/stacks used request id req-a5cbe6a1-f3dc-4396-b078-ce13137727f9 | |
ERROR: "[{u'port': None}]" is not a map | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 400, in run_subcommand | |
result = cmd.run(parsed_args) | |
File "/usr/lib/python2.7/dist-packages/osc_lib/command/command.py", line 41, in run | |
return super(Command, self).run(parsed_args) | |
File "/usr/lib/python2.7/dist-packages/cliff/display.py", line 112, in run | |
column_names, data = self.take_action(parsed_args) | |
File "/usr/lib/python2.7/dist-packages/heatclient/osc/v1/stack.py", line 184, in take_action | |
stack = client.stacks.create(**fields)['stack'] | |
File "/usr/lib/python2.7/dist-packages/heatclient/v1/stacks.py", line 172, in create | |
data=kwargs, headers=headers) | |
File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 357, in post | |
return self.request(url, 'POST', **kwargs) | |
File "/usr/lib/python2.7/dist-packages/heatclient/common/http.py", line 318, in request | |
raise exc.from_response(resp) | |
HTTPBadRequest: ERROR: "[{u'port': None}]" is not a map | |
clean_up CreateStack: ERROR: "[{u'port': None}]" is not a map | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/dist-packages/osc_lib/shell.py", line 135, in run | |
ret_val = super(OpenStackShell, self).run(argv) | |
File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 279, in run | |
result = self.run_subcommand(remainder) | |
File "/usr/lib/python2.7/dist-packages/osc_lib/shell.py", line 180, in run_subcommand | |
ret_value = super(OpenStackShell, self).run_subcommand(argv) | |
File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 400, in run_subcommand | |
result = cmd.run(parsed_args) | |
File "/usr/lib/python2.7/dist-packages/osc_lib/command/command.py", line 41, in run | |
return super(Command, self).run(parsed_args) | |
File "/usr/lib/python2.7/dist-packages/cliff/display.py", line 112, in run | |
column_names, data = self.take_action(parsed_args) | |
File "/usr/lib/python2.7/dist-packages/heatclient/osc/v1/stack.py", line 184, in take_action | |
stack = client.stacks.create(**fields)['stack'] | |
File "/usr/lib/python2.7/dist-packages/heatclient/v1/stacks.py", line 172, in create | |
data=kwargs, headers=headers) | |
File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 357, in post | |
return self.request(url, 'POST', **kwargs) | |
File "/usr/lib/python2.7/dist-packages/heatclient/common/http.py", line 318, in request | |
raise exc.from_response(resp) | |
HTTPBadRequest: ERROR: "[{u'port': None}]" is not a map |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Returns the following: