Set node status ERROR when physical id is none

Bug #1606843 reported by EldonZhao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
senlin
Fix Released
High
EldonZhao

Bug Description

When creating node, sometimes it doesn't return physical id of the node. Now, we just return false, but the node status is still CREATING.
I think we may set node status ERROR.

Changed in senlin:
assignee: nobody → EldonZhao (xyz-213083464)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to senlin (master)

Fix proposed to branch: master
Review: https://review.openstack.org/347732

Changed in senlin:
status: New → In Progress
Revision history for this message
Qiming Teng (tengqim) wrote :

we do have a wait_for_server method at the driver layer. If the node status is not ACTIVE during the given timeout, we may need to raise a ProfileOperationTimeout exception. By catching this exception at a higher layer, we can output a better error message if that is the case.

Revision history for this message
Yanyan Hu (yanyanhu) wrote :

Currently, timeout exception has been handled and converted to internalerror eception in the following code:
http://git.openstack.org/cgit/openstack/senlin/tree/senlin/drivers/openstack/sdk.py#n70

So physical_id==None means exception happened during Profile.create_object and it was not caught correctly. Maybe need to dig more here to find the reason if it happens.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on senlin (master)

Change abandoned by EldonZhao (xyz_213083464@126.com) on branch: master
Review: https://review.openstack.org/347732

Revision history for this message
Qiming Teng (tengqim) wrote :

This has been fixed in another patch. Please reopen it if the issue is still there.

Changed in senlin:
status: In Progress → Fix Released
importance: Undecided → High
milestone: none → newton-rc2
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.