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

Bug #1443446 reported by Sebastian Kalinowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Unassigned

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

Revision history for this message
Sebastian Kalinowski (prmtl) wrote :
Revision history for this message
Sebastian Kalinowski (prmtl) wrote :
Revision history for this message
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)
Changed in fuel:
milestone: 7.0 → 8.0
status: Won't Fix → Triaged
no longer affects: fuel/8.0.x
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-fuelclient (master)

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

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

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)
tags: added: area-python
Revision history for this message
Artem Hrechanychenko (agrechanichenko) wrote :

Verified on Ubuntu and CentOS master nodes:

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

Revision history for this message
Artem Hrechanychenko (agrechanichenko) wrote :

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

Revision history for this message
Artem Hrechanychenko (agrechanichenko) wrote :

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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