`solar orch report` yields an error when there are no resources

Bug #1547537 reported by Maciej Kwiek
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Solar
Fix Released
Undecided
Maciej Kwiek

Bug Description

Steps to reproduce:
$ solar resource clear_all
$ solar orch report

Expected: information that there is nothing to report
Actual: http://paste.openstack.org/show/487578/

Tags: ux
Jedrzej Nowak (jnowak)
Changed in solar:
milestone: none → 0.3.0
Revision history for this message
Jedrzej Nowak (jnowak) wrote :

The problem is that `solar orch report` will use last job id which is stored in file, so it should say that given job id is not found/valid

Changed in solar:
assignee: nobody → Maciej Kwiek (maciej-iai)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to solar (master)

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

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

Reviewed: https://review.openstack.org/286571
Committed: https://git.openstack.org/cgit/openstack/solar/commit/?id=36b126630d44f29cd1a4b681eecc4461ebad56fb
Submitter: Jenkins
Branch: master

commit 36b126630d44f29cd1a4b681eecc4461ebad56fb
Author: Maciej Kwiek <email address hidden>
Date: Tue Mar 1 14:05:28 2016 +0100

    Solar orch report doesn't fail for empty graph

    Additional message is printed for the case when there are no tasks in
    graph to report.

    Change-Id: I0074e8e8b0d5a4e25cdb90187790820c4f1c73e0
    Closes-bug: 1547537

Changed in solar:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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