fail to create stack: TypeError: create() takes at least 4 arguments (4 given)
If use below template to create a stack, it will be failed with errors, but when i removed "user_data_format: SOFTWARE_CONFIG" from the template, then it works. Is it a bug of heat? Another interesting thing was that the template (with 'user_data_format: SOFTWARE_CONFIG' inside) worked fine several days ago. Cann't figure out what's changed.
2016-12-16 04:33:58.970 22011 INFO heat.engine.
2016-12-16 04:33:58.970 22011 ERROR heat.engine.
2016-12-16 04:33:58.970 22011 ERROR heat.engine.
2016-12-16 04:33:58.970 22011 ERROR heat.engine.
2016-12-16 04:33:58.970 22011 ERROR heat.engine.
2016-12-16 04:33:58.970 22011 ERROR heat.engine.
2016-12-16 04:33:58.970 22011 ERROR heat.engine.
2016-12-16 04:33:58.970 22011 ERROR heat.engine.
2016-12-16 04:33:58.970 22011 ERROR heat.engine.
2016-12-16 04:33:58.970 22011 ERROR heat.engine.
2016-12-16 04:33:58.970 22011 ERROR heat.engine.
2016-12-16 04:33:58.970 22011 ERROR heat.engine.
2016-12-16 04:33:58.970 22011 ERROR heat.engine.
2016-12-16 04:33:58.970 22011 ERROR heat.engine.
2016-12-16 04:33:58.970 22011 ERROR heat.engine.
2016-12-16 04:33:58.970 22011 ERROR heat.engine.
2016-12-16 04:33:58.970 22011 ERROR heat.engine.
2016-12-16 04:33:58.970 22011 ERROR heat.engine.
2016-12-16 04:33:58.970 22011 ERROR heat.engine.
2016-12-16 04:33:58.970 22011 ERROR heat.engine.
2016-12-16 04:33:58.970 22011 ERROR heat.engine.
2016-12-16 04:33:58.970 22011 ERROR heat.engine.
2016-12-16 04:33:59.006 22011 INFO heat.engine.stack [req-71c7fafb-
The heat template:
1 heat_template_
2 description: test
3 outputs:
4 mgmt_ip-VDU1:
5 value:
6 get_attr: [CP1, fixed_ips, 0, ip_address]
7 parameters: {}
10
11 resources:
12 CP1:
13 properties: {network: demo-net, port_security_
14 type: OS::Neutron::Port
15 VDU1:
16 properties:
17 availability_zone: nova
18 config_drive: false
19 flavor: {get_resource: VDU1_flavor}
20 image: cirros-0.3.0
21 networks:
22 - port: {get_resource: CP1}
23 user_data_format: SOFTWARE_CONFIG
24 type: OS::Nova::Server
25 VDU1_flavor:
26 properties: {disk: 1, ram: 512, vcpus: 1}
27 type: OS::Nova::Flavor
Other info:
i'm using Newton with heat version 1.5.0.
heat --version
1.5.0
would anyone kind help on this?
thansk,
steve
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu heat Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: