solar orch report sometimes throws an error

Bug #1552930 reported by Łukasz Oleś
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Maciej Kwiek

Bug Description

(venv) [root@fuel f2s]# solar orch report

Traceback (most recent call last):
  File "/root/venv/bin/solar", line 10, in <module>
  File "/root/venv/lib/python2.7/site-packages/solar/cli/", line 172, in run
  File "/root/venv/lib/python2.7/site-packages/click/", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/root/venv/lib/python2.7/site-packages/click/", line 696, in main
    rv = self.invoke(ctx)
  File "/root/venv/lib/python2.7/site-packages/click/", line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/root/venv/lib/python2.7/site-packages/click/", line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/root/venv/lib/python2.7/site-packages/click/", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/root/venv/lib/python2.7/site-packages/click/", line 534, in invoke
    return callback(*args, **kwargs)
  File "/root/venv/lib/python2.7/site-packages/solar/cli/", line 93, in report
    wait_report(uid, wait)
  File "/root/venv/lib/python2.7/site-packages/solar/cli/", line 64, in wait_report
  File "/root/venv/lib/python2.7/site-packages/solar/cli/", line 68, in click_report
    report = graph.report_progress(uid)
  File "/root/venv/lib/python2.7/site-packages/solar/orchestration/", line 203, in report_progress
    return report_progress_graph(get_graph(uid))
  File "/root/venv/lib/python2.7/site-packages/solar/orchestration/", line 209, in report_progress_graph
    'total_time': longest_path_time(dg),
  File "/root/venv/lib/python2.7/site-packages/solar/orchestration/", line 109, in longest_path_time
    node_start = graph.node[n]['start_time']
KeyError: 'start_time'

Revision history for this message
Łukasz Oleś (loles) wrote :

It's random behavior

Changed in solar:
milestone: none → 0.3.0
importance: Undecided → High
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

Changed in solar:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on solar (master)

Change abandoned by Maciej Kwiek (<email address hidden>) on branch: master
Reason: It doesn't make sense to fix it like this.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers