Delete cluster without security groups failed
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Sahara |
Fix Released
|
High
|
Andrew Lazarev | ||
| Juno |
Fix Released
|
High
|
Nikita Konovalov | ||
Bug Description
1. Create cluster with auto security groups. Creating cluster failed and security groups not created.
2. Try delete cluster.
3. Get an error:
2014-11-11 17:40:37.585 2628 INFO sahara.
2014-11-11 17:40:37.586 2628 INFO sahara.
2014-11-11 17:40:37.656 2628 ERROR sahara.service.ops [-] Error during operating cluster 'sr-template-test' (reason: 'NoneType' object has no attribute '__getitem__')
2014-11-11 17:40:37.656 2628 TRACE sahara.service.ops Traceback (most recent call last):
2014-11-11 17:40:37.656 2628 TRACE sahara.service.ops File "/home/
2014-11-11 17:40:37.656 2628 TRACE sahara.service.ops f(cluster_id, *args, **kwds)
2014-11-11 17:40:37.656 2628 TRACE sahara.service.ops File "/home/
2014-11-11 17:40:37.656 2628 TRACE sahara.service.ops INFRA.shutdown_
2014-11-11 17:40:37.656 2628 TRACE sahara.service.ops File "/home/
2014-11-11 17:40:37.656 2628 TRACE sahara.service.ops self._shutdown_
2014-11-11 17:40:37.656 2628 TRACE sahara.service.ops File "/home/
2014-11-11 17:40:37.656 2628 TRACE sahara.service.ops self._delete_
2014-11-11 17:40:37.656 2628 TRACE sahara.service.ops File "/home/
2014-11-11 17:40:37.656 2628 TRACE sahara.service.ops name = node_group.
2014-11-11 17:40:37.656 2628 TRACE sahara.service.ops TypeError: 'NoneType' object has no attribute '__getitem__'
2014-11-11 17:40:37.656 2628 TRACE sahara.service.ops
| Changed in sahara: | |
| assignee: | nobody → Andrew Lazarev (alazarev) |
| Changed in sahara: | |
| status: | Fix Committed → Fix Released |
| Changed in sahara: | |
| milestone: | kilo-1 → 2015.1.0 |

Probably we'll need to backport it to Juno, isn't it?
On Tuesday, November 11, 2014, Sergey Reshetnyak <email address hidden>
wrote:
> Public bug reported: utils.general [-] Cluster status 23b1-46d0- 9018-b291bceef6 0e, New cli.sahara_ all [-] 127.0.0.1 - - 32b4c72b82070ab bcd61ba8/ clusters/ 1221cb5e- 23b1-46d0- 9018-b291bceef6 0e serg/projects/ sahara/ sahara/ service/ ops.py" , line 141, in wrapper serg/projects/ sahara/ sahara/ service/ ops.py" , line 284, in cluster( cluster) serg/projects/ sahara/ sahara/ service/ direct_ engine. py", line 488, in instances( cluster) serg/projects/ sahara/ sahara/ service/ direct_ engine. py", line 447, in auto_security_ group(node_ group) serg/projects/ sahara/ sahara/ service/ direct_ engine. py", line 453, in auto_security_ group security_ groups[ -1] /bugs.launchpad .net/bugs/ 1391536 utils.general [-] Cluster 23b1-46d0- 9018-b291bceef6 0e, New cli.sahara_ all [-] 127.0.0.1 -
>
> 1. Create cluster with auto security groups. Creating cluster failed and
> security groups not created.
> 2. Try delete cluster.
> 3. Get an error:
>
> 2014-11-11 17:40:37.585 2628 INFO sahara.
> has been changed: id=1221cb5e-
> status=Deleting
> 2014-11-11 17:40:37.586 2628 INFO sahara.
> [11/Nov/2014 17:40:37] "DELETE
> /v1.1/8e44eb2ce
> HTTP/1.1" 204 139 0.077875
> 2014-11-11 17:40:37.656 2628 ERROR sahara.service.ops [-] Error during
> operating cluster 'sr-template-test' (reason: 'NoneType' object has no
> attribute '__getitem__')
> 2014-11-11 17:40:37.656 2628 TRACE sahara.service.ops Traceback (most
> recent call last):
> 2014-11-11 17:40:37.656 2628 TRACE sahara.service.ops File
> "/home/
> 2014-11-11 17:40:37.656 2628 TRACE sahara.service.ops f(cluster_id,
> *args, **kwds)
> 2014-11-11 17:40:37.656 2628 TRACE sahara.service.ops File
> "/home/
> terminate_cluster
> 2014-11-11 17:40:37.656 2628 TRACE sahara.service.ops
> INFRA.shutdown_
> 2014-11-11 17:40:37.656 2628 TRACE sahara.service.ops File
> "/home/
> shutdown_cluster
> 2014-11-11 17:40:37.656 2628 TRACE sahara.service.ops
> self._shutdown_
> 2014-11-11 17:40:37.656 2628 TRACE sahara.service.ops File
> "/home/
> _shutdown_instances
> 2014-11-11 17:40:37.656 2628 TRACE sahara.service.ops
> self._delete_
> 2014-11-11 17:40:37.656 2628 TRACE sahara.service.ops File
> "/home/
> _delete_
> 2014-11-11 17:40:37.656 2628 TRACE sahara.service.ops name =
> node_group.
> 2014-11-11 17:40:37.656 2628 TRACE sahara.service.ops TypeError:
> 'NoneType' object has no attribute '__getitem__'
> 2014-11-11 17:40:37.656 2628 TRACE sahara.service.ops
>
> ** Affects: sahara
> Importance: Medium
> Status: Confirmed
>
> --
> You received this bug notification because you are subscribed to Sahara.
> https:/
>
> Title:
> Delete cluster without security groups failed
>
> Status in OpenStack Data Processing (Sahara, ex. Savanna):
> Confirmed
>
> Bug description:
> 1. Create cluster with auto security groups. Creating cluster failed and
> security groups not created.
> 2. Try delete cluster.
> 3. Get an error:
>
> 2014-11-11 17:40:37.585 2628 INFO sahara.
> status has been changed: id=1221cb5e-
> status=Deleting
> 2014-11-11 17:40:37.586 2628 INFO sahara.
> - [11/Nov/2014 17:40:37] "DELETE
> /v1.1/8e4...