solar orch report sometimes throws an error

Bug #1552930 reported by Łukasz Oleś on 2016-03-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Solar
High
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>
    sys.exit(run())
  File "/root/venv/lib/python2.7/site-packages/solar/cli/main.py", line 172, in run
    main()
  File "/root/venv/lib/python2.7/site-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/root/venv/lib/python2.7/site-packages/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/root/venv/lib/python2.7/site-packages/click/core.py", line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/root/venv/lib/python2.7/site-packages/click/core.py", line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/root/venv/lib/python2.7/site-packages/click/core.py", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/root/venv/lib/python2.7/site-packages/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "/root/venv/lib/python2.7/site-packages/solar/cli/orch.py", line 93, in report
    wait_report(uid, wait)
  File "/root/venv/lib/python2.7/site-packages/solar/cli/orch.py", line 64, in wait_report
    click_report(uid)
  File "/root/venv/lib/python2.7/site-packages/solar/cli/orch.py", line 68, in click_report
    report = graph.report_progress(uid)
  File "/root/venv/lib/python2.7/site-packages/solar/orchestration/graph.py", line 203, in report_progress
    return report_progress_graph(get_graph(uid))
  File "/root/venv/lib/python2.7/site-packages/solar/orchestration/graph.py", line 209, in report_progress_graph
    'total_time': longest_path_time(dg),
  File "/root/venv/lib/python2.7/site-packages/solar/orchestration/graph.py", line 109, in longest_path_time
    node_start = graph.node[n]['start_time']
KeyError: 'start_time'

Ł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)

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

Changed in solar:
status: New → In Progress

Change abandoned by Maciej Kwiek (<email address hidden>) on branch: master
Review: https://review.openstack.org/289243
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