heat stack update to scale out service instance fails
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R2.20 |
New
|
High
|
Praneet Bachheti | |||
R2.22.x |
Fix Committed
|
High
|
Praneet Bachheti | |||
R3.0 |
Invalid
|
High
|
Praneet Bachheti | |||
Trunk |
Invalid
|
High
|
Praneet Bachheti |
Bug Description
Created a service chain with single instance using HOT, with the help of a template file.
Modified the scale out parameter of the template file, to have more instance and updated the stack and the update failed with
TypeError: object of type 'NoneType' has no len()
root@a5d01e09-
+------
| id | stack_name | stack_status | creation_time |
+------
| c7c365c4-
| 9247c088-
| d027cbd1-
| 5fb46a23-
| 03f1a680-
| a43acc19-
| 10548f89-
+------
root@a5d01e09-
root@a5d01e09-
+------
| id | stack_name | stack_status | creation_time |
+------
| c7c365c4-
| 9247c088-
| d027cbd1-
| 5fb46a23-
| 03f1a680-
| a43acc19-
| 10548f89-
+------
| outputs | [ |
| | { |
| | "output_value": 1, |
| | "description": "Number of active service VMs", |
| | "output_key": "num_active_
| | }, |
| | { |
| | "output_value": [ |
| | { |
| | "status": "ACTIVE", |
| | "vm_id": "836cc5db-
| | "name": "contrail_si001" |
| | } |
| | ], |
| | "description": "List of service VMs", |
| | "output_key": "service_
| | }, |
| | { |
| | "output_value": "default-
| | "description": "FQ name of the service template", |
| | "output_key": "service_
| | } |
| | ] |
| parameters | { |
| | "direction": "<>", |
| | "end_dst_ports": "-1", |
| | "OS::stack_id": "10548f89-
| | "OS::stack_name": "SVC_CHAIN", |
| | "start_src_ports": "-1", |
| | "end_src_ports": "-1", |
| | "private_
| | "private_
| | "policy_name": "contrail_policy", |
| | "private_template": "default-
| | "start_dst_ports": "-1", |
| | "private_
| | "private_
| | } |
| parent | None |
| stack_name | SVC_CHAIN |
| stack_owner | admin |
| stack_status | UPDATE_FAILED |
| stack_status_reason | TypeError: object of type 'NoneType' has no len() |
Hi Vinoth,
Tried it in R2.23-129 .. it works for me.
Can you please upload the heat template for ServiceTemplate.