node-list fails if the show_deleted argument is specified

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

Bug Description

When listing nodes, a user may want to show nodes that were deleted by specifying '--show-deleted'.

However, if the profiles referenced by some of the nodes are not found, i.e. the profiles are deleted as well, we cannot get a list of node objects. Instead, we are getting errors like this:

  $ senlin node-list --show-deleted
   ERROR(404): The profile (d782be24-8385-4ae3-b981-1c6a5014700c) could not be found.

Revision history for this message
Ethan Lynn (ethanlynn) wrote :
Changed in senlin:
assignee: nobody → Ethan Lynn (ethanlynn)
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/262178
Committed: https://git.openstack.org/cgit/openstack/senlin/commit/?id=156bb3f4f0300c7ddae0b4a6465dd1ed6cead406
Submitter: Jenkins
Branch: master

commit 156bb3f4f0300c7ddae0b4a6465dd1ed6cead406
Author: Ethan Lynn <email address hidden>
Date: Wed Dec 30 02:16:13 2015 +0800

    Catch ProfileNotFound exception when load_runtime_data in Node

    Catch ProfileNotFound exception when load_runtime_data in Node

    Closes-Bug: #1526223
    Change-Id: I1cfa170b445281b9fc0e6d1925f855215ced8d80

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.