node-show for nova servers is not handling details correctly

Bug #1526177 reported by Qiming Teng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
senlin
Fix Released
Medium
Qiming Teng

Bug Description

When we have a node (profile type is nova server) created, then the nova server is deleted. If we do a 'senlin node-show -D <node>', we are getting the following 500 error.

ERROR(500): No Server found for 88948c07-7732-4f84-ab5d-6f59e50d7861

This is because we are not handling server not found error properly when getting details about a nova server.

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/257711

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

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

commit 37612051773c5b7218b5da637c7892e7de10ccb6
Author: tengqm <email address hidden>
Date: Tue Dec 15 02:41:19 2015 -0500

    Fix server get_details when server is not found

    When a nova server is not found (e.g. deleted), the get_details()
    function should return some useful information instead of just throwing
    an exception. It would be difficult for users to figure out what
    happened.

    Change-Id: I960edf4cf292ad3a640046dc4afafa2aa7915116
    Closes-Bug: #1526177

Changed in senlin:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/senlin 1.0.0.0b2

This issue was fixed in the openstack/senlin 1.0.0.0b2 development milestone.

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.