/srv/irclogs.ubuntu.com/2020/02/21/#juju.txt

thumperlooking for another review of https://github.com/juju/juju/pull/1120801:03
hpidcockthumper: I had a quick glance over it, but might be better for wallyworld to review it more thoroughly01:24
wallyworldlooking01:26
wallyworldthumper: to what extent were you still intending to look at john's unresolved comments? the only other issue is the one hpidcock raised. were you lokking for a +1 or waiting for john?02:00
wallyworldhpidcock: here's that show-operation one https://github.com/juju/juju/pull/1123802:01
thumperwallyworld: john's main unresolved issue was the initialization case, where we were calculating the summary hash for every model change during initialization02:01
thumperthis was the addition of the initializing variable and hooking into mark and sweep02:01
thumperI was looking for a +102:02
thumperI'll update the controller's mark and sweep to lock02:02
wallyworldthumper: there's also hr passing of the address of initialising variable02:02
wallyworldthat could open t up to a race condition02:03
thumpernot really02:03
thumperor at least the race detector doesn't think so02:03
thumperthere are memory barriers around the access and udpates02:04
wallyworldok02:04
wallyworldthumper: you have your +102:05
* thumper goes to make updates for hpidcock02:05
hpidcockwallyworld: I added comments on your PR04:14
wallyworldta04:14
wallyworldkelvinliu_: your pr fixes bug 1854104 right?04:21
mupBug #1854104: Duplicate file mounts in CaaS charm causes silent failure <k8s> <juju:In Progress by kelvin.liu> <https://launchpad.net/bugs/1854104>04:21
kelvinliu_wallyworld: yes04:21
wallyworldta, i'll add link to pr04:21
kelvinliu_we were editing the description at the same time, but u committed quicker. lol04:24
hpidcockwallyworld: how about this for a kicker, aws returns a `Your requested instance type (c4.large) is not supported in your requested Availability Zone (ap-northeast-1a)` even though the instance type is supported according to their APIs. And to top it off, they also use that error when there isn't any stock available.04:29
hpidcockso nothing we can do about that atm04:30
hpidcockI've fixed the cases where the AZ straight up doesn't support the instance type04:30
wallyworldhpidcock: well how about that, jeez04:38
wallyworldkelvinliu_: got time for HO?04:38
kelvinliu_yep04:38
hpidcockwallyworld: also apne1-az3 (which is our ap-northeast-1a) looks to be either a small AZ or they are decommissioning it. So this could be the source of the problems04:39
wallyworldkelvinliu_: google hangouts sound not working, will try reboot04:41
kelvinliu_nws04:42
wallyworldkelvinliu_: ah wait, i  think it works again04:42
wallyworldkelvinliu_: am in HO04:43
kelvinliu_me 204:44
kelvinliu_ru in standup?04:44
hpidcockwallyworld: I believe I've found the bug. When we retry a StartInstance call, we don't retry on failed AZs. But, there was logic to check if there are no AZs left to try on, and to clear the failed flag for that machine. But we only checked to see if there were ANY AZs that we could retry on. So if the constraints filtered out at least one AZ, we would never clear the failed flags.05:38
hpidcockSo when filtering to one AZ, it would only ever try once to start the instance.05:39
wallyworldhpidcock: interesting, i could have sworn we had a special error type to deal with az failures05:42
anastasiamachpidcock: also for the instance types that are no longer suported by cloud providers, they can be marked as deprecated.. i believe that will elminiate them from the running...05:48
hpidcockanastasiamac: problem is this specific AZ, AWS APIs report them as being supported. And they are not deprecated yet (still considered current generation according to AWS)05:50
anastasiamacah05:50
wallyworldhpidcock: ty for review also, i cargo culted that "interesting" timer code from actions. i'll refactor all the instances05:50
wallyworldhpidcock: so is the plan to rework the retry logic on AZ failure?05:51
hpidcockno it's a tiny change, the retry logic just needed to handle constraints05:52
hpidcockit handles constraints when selecting an az, not when retrying the AZs the constraints match05:52
hpidcockI'll throw a PR up soon05:53
wallyworldgr8 ok05:53
hpidcockcan probably wait till monday https://github.com/juju/juju/pull/11239 happy to change anything06:17
wallyworldhpidcock: looking06:18
wallyworldhpidcock: should github.com/hpidcock/aws-fetch-instance-types live alongside process_cost_data.go in ec2/internal/instancetypes06:20
hpidcockwallyworld: I didn't want to introduce aws-sdk06:21
hpidcockbut I'm happy to06:21
wallyworldah i see06:22
wallyworldwe have the k8s api, azure sdk etc06:22
wallyworldone more may not hurt06:23
wallyworldlol "17,114 additions, 3,649 deletions not shown because the diff is too large. Please use a local Git client to view these changes."06:24
hpidcockjust a few changes06:25
wallyworldhpidcock: btw, the reason the wait duration was a string was to allow the user to leave off the duration and have it default to seconds06:27
wallyworldi don't like it but it's a compatibility change :-( could stick it behnd a the feature flag i guess06:28
wallyworldall code that's 5 years old06:28
hpidcock--wait 106:28
hpidcock1 what lol06:28
wallyworldyeah, i know, i know06:29
wallyworldit will be  abit messy but i can do show-operation the right way and hack up the legacy show-action-output to use the feature flag06:30
wallyworldsince show-task and show-action-output are the same command06:31
wallyworldbut with a different name for jujuv3 feature flag vs legacy06:31
wallyworldand show-operation was copied across from show-action-output06:31
=== parlos_afk is now known as parlos
=== parlos is now known as parlos_afk
=== parlos_afk is now known as parlos
matt_kosuticey: hi I was proposing a small improvement on ansible apply_playbook in charm-helpers about how arguments are passed. Wondering if it seems worth dicussing https://github.com/juju/charm-helpers/pull/42508:56
iceymatt_kosut: I've never even looked at the ansible bits of charmhelpers :-P09:03
matt_kosuticey: github kinda suggested you as reviewer, should I look for someone else in there? :D09:04
iceymatt_kosut: one of the existing contributors, maybe? I can review the code but I don't have any context on the change09:06
matt_kosuttinwood: back to you again :-) you have been the last one reviewing ansible part of charm-helpers past few years, maybe you could have more context to have a look on my PR? https://github.com/juju/charm-helpers/pull/42509:10
zeestrat^ and a couple more Ansible PRs: https://github.com/juju/charm-helpers/pull/403, https://github.com/juju/charm-helpers/pull/40409:55
tinwoodmatt_kosut, zeestrat, I'm not really an ansible person ... i.e. I don't whether these things are 'correct' or not. However, I'm happy to merge if you can review each other's patches.10:15
manadartstickupkid, achilleasa: Need a review of https://github.com/juju/juju/pull/1124110:22
matt_kosuttinwood: sounds reasonable too, I used it quite lot past few weeks :)10:23
zeestrat@tinwood I understand. Just for the record, matt_kosut and me are colleagues so are slightly biased, but I have looked over his and it looks good. I suggested adding a docstring to clarify, should be good to go after that.10:33
stickupkidmanadart, looking10:41
stickupkidmanadart, done11:06
manadartstickupkid: Ta.11:06
stickupkidmanadart, the test code for goose doesn't obviously fill in the device id :|11:09
stickupkidmanadart, makes it difficult to test11:10
manadart●_●11:13
zeestrattinwood: Things are reviewed and ready to go when you are.11:13
tinwoodzeestrat, matt_kosut please could you bring those branches up to date with the current head of master; I can do it, but then you'd need to pull the changes if you wanted to make any more mods to the branches (e.g. if the merge broke a test for example).12:34
zeestrattinwood: should be up to date now.12:48
matt_kosuttinwood: same on my side, good to go. :-)12:50
tinwoodzeestrat, matt_kosut just working my way through them; they take a while as each time one is merged, the branch needs to be brought up to date and then the tests have to run ...  I'll get back to you! :)12:55
zeestrattinwood: ty! I fixed conflict in https://github.com/juju/charm-helpers/pull/403.12:56
tinwoodzeestrat, kk - I'll keep an eye on them. I've just merged https://github.com/juju/charm-helpers/pull/425 so it may happen again?12:58
zeestrattinwood: Looks good now.13:11
tinwoodzeestrat, matt_kosut that should be all three merged.  Thanks for your work on them!13:36
zeestrattinwood: nice. Thank you very much and have a nice weekend :)13:40
tinwoodyou too!13:40
matt_kosutthanks!13:42
hmlachilleasa:  approved 1123714:20
achilleasahml: tyvm14:21
stickupkidmanadart, https://github.com/go-goose/goose/pull/7914:57
manadartstickupkid: Approved it.15:13
stickupkidta much15:15
stickupkidmanadart https://github.com/juju/juju/pull/1123515:37
manadartstickupkid: Swap you. https://github.com/juju/juju/pull/1124315:44
skayhow do I configure a file via the command line?15:46
skayI mean, a config setting15:46
skaymy yaml file uses include-file15:47
skaya ha! got help from a friend. juju config app value=@/path/to/file15:49
hmlregion pr review: https://github.com/juju/juju/pull/1124215:54
stickupkidmanadart, done16:04
manadartstickupkid: Ta.16:06
hmlstickupkid:  ty16:37
achilleasahml: or stickupkid any recommendations for playing with windows workloads?16:48
hmlachilleasa:  never done it.  :-D16:48
achilleasahml: hmmm... maybe windows vm and manual?16:49
achilleasaI want to try the reboot check16:49
hmlachilleasa:  there’s a noop charm in the store?16:49
hmlachilleasa: https://jaas.ai/u/ionutbalutoiu/noop/716:49
hmlbut might not have enough for your purposes16:50
achilleasaall a need is a unit agent16:50
achilleasas/a/I/16:50
hmlthat should get ya one16:50
achilleasaawesome thanks16:50

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