/srv/irclogs.ubuntu.com/2018/09/09/#juju.txt

bdxfrom a charm's perspective, what is the best way to inquire about the # of units that exist for the type of application that you are? - e.g. how many of myself are there?15:31
bdxpretty sure there is an all_units floating around somewhere15:31
bdxthought I would run it by the pros15:31
Doctor_Nickwhat are some good autoscalers to use with juju?17:35
bdxDoctor_Nick: depends on the cloud substrate19:39
bdxDoctor_Nick: https://jujucharms.com/charmscaler/19:40
Doctor_Nickbdx: aws, gcloud21:35
Doctor_NickI had looked at that, but it's not free software21:36
babbageclunkwallyworld: here's that PR I was telling you about: https://github.com/juju/juju/pull/918022:32
wallyworldbabbageclunk: already looking :-)22:32
babbageclunksweet22:32
wallyworldbabbageclunk: returning an  error from the worker will just restart the worker every 3 seconds and spam the logs. maybe the restart delay needs to be longer in this case?22:35
babbageclunkwallyworld: yeah, I was wondering about that - how do I do a longer delay, return a specific error type?22:37
wallyworldnot sure that we can - i know there's a RetryDelay we can set for the worker itself but I'm not sure off hand how to change that for a specific error22:38
wallyworldwe'll have to look at the worker code22:38
babbageclunkok, I'll take a look22:39
babbageclunkwallyworld: I could just change the worker loop so that it doesn't crash with that error, just logs it and sets retry to something bigger than the default 5 seconds - say 1 minute?23:06
wallyworldbabbageclunk: i think that works - you mean provide an IsFatal()23:07

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!