+1 for notification from inspector.

For inspector with RCA like Vitrage, it is quite straight forward to deduce
the VM error from Host failure.
Juvonen, Tomi (Nokia - FI/Espoo) <[email protected]>于2017年1月17日
周二18:52写道:

> In my current APEX testing environment Doctor use case takes average about
> 290ms (from detection to alarm received by consumer).
>
> I have been testing this again a bit and here is some data and conclusions.
>
> In my system the average ”reset state to error Nova API call” duration was:
> 248ms
> Then I changed the forming of the payload in Nova to contain the
> absolutely minimum to our needs (which was the thing I measured to take a
> lot of time already back in autumn):
> tenant_id
> user_id
> instance_id
> state
> With this change I dropped the average ”reset state to error Nova API
> call” duration to:
> 158ms
>
> So average of 90ms was taken from Doctor use case execution by this trial
> code.
>
> Anyhow this is still not enough as I would be happy to have total time
> under 50ms to reach some kind of Telco expectations (if didn’t calculate
> yet, in my testing system the other part of Doctor consumes already ~50ms)
>
> Note! As I have been restarting nova-api when doing code changes I have
> discover a reason for our random failure in Doctor testing. When nova-api
> is restarted, the first ”reset state to error Nova API call” usually takes
> little over 1second. Also you can get this 3 times as it means first API
> call on each controller (and we have 3). Even with my enhanced notification
> payload, this will still be an issues, since it cuts just that average of
> 90ms (yes, even the API call would take normally let’s say 1050ms, it still
> cuts just about the same amount of time ending with total execution over
> 1second). I have not looked deeper wither this is some Nova cache or making
> the .pyc in first call, just measured this is what happens. I have also
> seen the same issue with other environment.
>
> Note! As there is this radical problem of first ”reset state to error Nova
> API call”, I have not included that in my time measures.
>
> Next thing to try would be the right thing to do: Make the notification
> straight from Inspector and get rid of the needles ”reset state to error
> Nova API call”.
>
> Br,
> Tomi
>
> _______________________________________________
> opnfv-tech-discuss mailing list
> [email protected]
> https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss
>
_______________________________________________
opnfv-tech-discuss mailing list
[email protected]
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss

Reply via email to