Re: [Monasca] alarm transition events are missing in kafka queue - mysql alarm state is updated properly

2018-02-06 Thread Bryant, Craig W (HP Cloud Service)
Hi Yuan, I have been unable to reproduce the problem you have seen. I set up the threshold engine to run with only 3 partitions on alarm-state-transitions and triggered multiple alarm transitions. All of them were correctly written to the database. That is the behavior that I expected as

Re: [Monasca] alarm transition events are missing in kafka queue - mysql alarm state is updated properly

2018-01-30 Thread Yuan.Pen
Hi Craig, It is indeed that the alarm was dropped because of error to write to kafka. Once we started debug mode in storm, we saw the error. Thanks for patching it up so next time we can see what happened in log file. By the way, the error is "Invalid partition given with record".Because the

Re: [Monasca] alarm transition events are missing in kafka queue - mysql alarm state is updated properly

2018-01-18 Thread Bryant, Craig W (HP Cloud Service)
Hi Yuan, I have not seen an issue like this before and have never had it reported, either. Unfortunately, the code only logs an exception on send to kafka as debug so it won’t show up in the standard configuration. I will submit a patch to change that, but you will have to upgrade to get that

[Monasca] alarm transition events are missing in kafka queue - mysql alarm state is updated properly

2018-01-12 Thread Yuan.Pen
Hi Roland, This is Yuan Pen from Deutsche Telekom. I am sending this email to the monasca community asking for help on monasca threshold engine. We have found that when sometime alarm state transitions happened, the threshold engine updated mysql alarm state properly, but failed to put state