get node details failed when creating node is error

Bug #1820823 reported by Thai Nguyen Ngoc
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
senlin
Fix Released
Undecided
Unassigned

Bug Description

Hi all,

When having actions creating new node, but creating VMs is failed and having not set security_groups.
Now, state of node is Error and I show node with detail = true then return TypeError: 'NoneType' object is not iterable.

File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/senlin/profiles/os/nova/server.py", line 1313, in do_get_details
for sg in server_data['security_groups']:

TypeError: 'NoneType' object is not iterable.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to senlin (master)

Reviewed: https://review.openstack.org/644524
Committed: https://git.openstack.org/cgit/openstack/senlin/commit/?id=0ff5aabd1f9c2396f970bc9ed7c7399527e146da
Submitter: Zuul
Branch: master

commit 0ff5aabd1f9c2396f970bc9ed7c7399527e146da
Author: Thai Nguyen Ngoc <email address hidden>
Date: Tue Mar 19 16:21:36 2019 +0700

    fix get node detail when creating VM is failed

    Change-Id: Ice4ea35bb7c91612e79d2a7d707dca24605a3f3b
    Closes-Bug: #1820823

Changed in senlin:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/senlin 8.0.0.0rc1

This issue was fixed in the openstack/senlin 8.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.