[openstack-dev] [vitrage] scenario evaluator not enabled by default

Rosensweig, Elisha (Nokia - IL) elisha.rosensweig at nokia.com
Thu Aug 11 15:37:14 UTC 2016


This is on purpose. 

When Vitrage is started, it first runs a "consistency" round where it gets all the resources from its datasources and inserts them into the entity graph. Once this initial phase is over, the evaluator is run over all the entity graph to check for meaningful patterns based on it's templates.

The reason for this process is to avoid too much churn during the initial phase when Vitrage comes up. With so many changes done to the entity graph, it's best to wait for the initial collection phase to finish and then to do the analysis.

Elisha

> From: Yujun Zhang [mailto:zhangyujun+zte at gmail.com] 
> Sent: Thursday, August 11, 2016 5:49 PM
> To: OpenStack Development Mailing List (not for usage questions)
> Subject: Re: [openstack-dev] [vitrage] scenario evaluator not enabled by default
>
> Sorry for having put a url from forked repo. It should be https://github.com/openstack/vitrage/commit/bdba10cb71b2fa3744e4178494fa860303ae0bbe#diff> -6f1a277a2f6e9a567b38d646f19728bcL36

> But the content is the same
> --
> Yujun

> On Thu, Aug 11, 2016 at 10:43 PM Yujun Zhang <zhangyujun+zte at gmail.com> wrote:
> It seems the scenario evaluator is not enabled when vitrage is started in devstack installer.
>
> I dig a bit in the history, it seems the default value for the evaluator is changed from True to False > in a history commit [1].
>
> Is it breaking the starting of evaluator or I have missed some steps to enable it explictily?
>
> - [1] https://github.com/openzero-zte/vitrage/commit/bdba10cb71b2fa3744e4178494fa860303ae0bbe#diff- 6f1a277a2f6e9a567b38d646f19728bcL36

> --
> Yujun


More information about the OpenStack-dev mailing list