To make deployment graph more readable add option to use 'tred' in fuelclient

Bug #1443446 reported by Sebastian Kalinowski on 2015-04-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
High
Ivan Kliuk

Bug Description

Right now we get raw DOT graph in fuelclient. There is a lot of connection between tasks that makes a lot of noise.
To improve readability we should add option to process whole graph with "tred" [1] (if Graphviz is installed)

Results before and after can be seen in attachments.

[1] http://www.graphviz.org/pdf/tred.1.pdf

Sebastian Kalinowski (prmtl) wrote :
Sebastian Kalinowski (prmtl) wrote :
Vladimir Sharshov (vsharshov) wrote :

Can be safely moved to 8.0 because it is feature.

tags: added: feature need-bp
tags: added: tech-debt
removed: need-bp
Changed in fuel:
status: Triaged → Won't Fix
Dmitry Pyzhov (dpyzhov) on 2015-10-12
Changed in fuel:
milestone: 7.0 → 8.0
status: Won't Fix → Triaged
no longer affects: fuel/8.0.x

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

Changed in fuel:
status: Triaged → In Progress

Reviewed: https://review.openstack.org/234066
Committed: https://git.openstack.org/cgit/stackforge/python-fuelclient/commit/?id=655db5e96282bbafc4dae54462a01823b6b464cb
Submitter: Jenkins
Branch: master

commit 655db5e96282bbafc4dae54462a01823b6b464cb
Author: Ivan Kliuk <email address hidden>
Date: Mon Oct 12 21:51:03 2015 +0300

    Add transitive reduction filter for task graphs

      Remove 'pydot_ng' that doesn't support transitive reduction filtering.
      Add '--tred' option for CLI.
      Usage example:

          fuel graph --render graph.gv --tred
          fuel graph --render graph.gv --dir ./output/dir/ --tred

    Change-Id: Ibfd7112dc0751df9bcadd0ab46e29f5159cbb3a5
    Closes-bug: #1443446

Changed in fuel:
status: In Progress → Fix Committed
Dmitry Pyzhov (dpyzhov) on 2015-10-22
tags: added: area-python

Verified on Ubuntu and CentOS master nodes:

Ubuntu - pass
Centos - cannot install python pygraph library - https://bugs.launchpad.net/fuel/+bug/1510884

Update

On CentOS fuel graph --render completely broken because it required pygraphviz library, which cannot be installed on CentOS

https://bugs.launchpad.net/fuel/+bug/1510884

Need to re-check after resolving https://bugs.launchpad.net/fuel/+bug/1510884
After manually build and install package - all works fine

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

Other bug subscribers