node status should update to 'ERROR' when fail to create nova instance

Bug #1509145 reported by lvdongbing
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
senlin
Fix Released
Undecided
lvdongbing

Bug Description

I create a profile with examples/profiles/nova_server.yaml, and then create a node with the profile.
Since I didn't create the keypair name 'oskey', the action of creating nova instance failed, the status
of node didn't update but stayed at 'CREATING' all the time.

lvdongbing (dbcocle)
Changed in senlin:
assignee: nobody → lvdongbing (dbcocle)
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/238753

Changed in senlin:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to senlin (master)

Reviewed: https://review.openstack.org/238753
Committed: https://git.openstack.org/cgit/openstack/senlin/commit/?id=b56cb5fc89b98881b98db99c49f5314a5cdd611e
Submitter: Jenkins
Branch: master

commit b56cb5fc89b98881b98db99c49f5314a5cdd611e
Author: lvdongbing <email address hidden>
Date: Tue Dec 15 01:16:42 2015 -0500

    Update node status when fail to create nova instance

    Now, node status didn't update to 'ERROR' when nova instance creation
    failed, the primary cause is that the exception is handled as exception
    log when profile's do_create action, then node creation unable to catch
    the exception to handle so node's status can't be updated.
    Change-Id: I26bd4b919fa313e7053cbeb890252efa4f04defc
    Closes-bug: #1509145

Changed in senlin:
status: In Progress → Fix Released
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.