Can not delete the stack: TypeError: 'NoneType' object has no attribute '__getitem__'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
High
|
huangtianhua |
Bug Description
convergence_engine = false
1. create a stack with the snippet:
******************
resources:
th_server:
type: OS::Nova::Server
properties:
name: si_ser
flavor: {get_param: flavor}
image: {get_param: image}
networks:
- port: {get_resource: port}
tags:
- t1
port:
type: OS::Neutron::Port
properties:
network: private
*******
2. snapshot for the stack
3. update the stack to add a external server resource:
**************
resources:
th_server:
type: OS::Nova::Server
properties:
name: si_ser
flavor: {get_param: flavor}
image: {get_param: image}
networks:
- port: {get_resource: port}
tags:
- t1
external_ser:
type: OS::Nova::Server
external_id: 1c002884-
port:
type: OS::Neutron::Port
properties:
network: private
******************
4. to delete the stack, then an error raised: TypeError: 'NoneType' object has no attribute '__getitem__'
Changed in heat: | |
assignee: | nobody → huangtianhua (huangtianhua) |
importance: | Undecided → High |
milestone: | none → queens-1 |
The error details see: http:// paste.openstack .org/show/ 620916/