/srv/irclogs.ubuntu.com/2018/08/22/#juju.txt

thumperugh...00:03
thumpermy update clock branch now conflicts...00:03
thumperwhen you touch that many files, I suppose it shouldn't be surprising00:03
wallyworldveebers: what's the best way for me to ssh into a machine to run windows unit tests?01:03
wallyworldthumper: here's a small charm.v6 tweak to hopefully fix the windows unit tests https://github.com/juju/charm/pull/25601:28
* thumper looks01:29
wallyworldwhy the fark does windows insist and screwed up path separators01:30
wallyworld*on01:30
thumperwallyworld: approved01:36
wallyworldty01:37
thumperwallyworld: does it fix the bug?01:37
wallyworldthumper: nfi, i don't have a windows box. but reading the code i think so01:37
thumperwallyworld: why can't you log into the windows box?01:37
wallyworldis it documented somewhere?01:38
thumperyes...01:46
thumpersomewhere01:46
wallyworldchange is good regardless as it makes the zips generated standards compliant01:50
veeberswallyworld: (soz was at lunch) there is no automated way, you would scp and ssh into the windows machine and do it that way (you could crib off the windows unit test job)01:52
veeberswallyworld: I had issues ssh-ing into the machine, you may have more luck rdp-ing into the machine after scp-ing the code onto it01:53
wallyworldgawd01:53
wallyworldeasier to land the fix and see. it's a good fix regardless01:53
veebershah ok. We have plans to add windows unit test to the pr experience01:53
veeberswhere is JUJU_DATA for windows?02:04
wallyworldveebers: i think under the User home dir02:27
veeberswallyworld: ack thanks02:27
wallyworldthumper: here's the juju bit of that fix https://github.com/juju/juju/pull/909402:27
thumperwallyworld: that is a lot more than just the charms update02:53
wallyworldtell me about it02:53
thumperwallyworld: and there are two test failures02:53
wallyworldyeah, fixing now02:53
wallyworlddue to new hooks02:53
wallyworldthe sands shifted underneath the deps02:54
wallyworldso bringing in tip of charm.v6 also needed latest of other things02:54
wallyworldthe other things are oci-image and devices support in charm metadata02:54
wallyworldwhich are unused in 2.402:54
wallyworldand also the new update-series hooks, so tests needs fixing02:55
* thumper nods02:58
wallyworldthumper: tests pass now03:27
* thumper looks again03:39
thumperwallyworld: approved03:39
wallyworldty03:39
thumperwallyworld: I'm going to go and make a coffee before our chat03:58
thumperwallyworld: are you wanting to meet this afternoon?03:58
wallyworldthumper: sgtm, i'll do ther same03:58
wallyworldyeah let's briefly03:58
thumperok03:58
* thumper goes to make coffee03:58
wallyworldthumper: in HO04:06
wallyworldbabbageclunk: still on target to land the big mother branch?04:34
babbageclunkHopefully - have been chasing the openstack s390x failures with veebers04:38
veeberssorry to distract you babbageclunk :-P04:38
babbageclunkand dumb gce problem04:38
veebersbabbageclunk: hah, this commit introduced that test failure: https://github.com/juju/juju/commit/48471e3bac7cd694540067dc5fa823c3a28f52c205:23
babbageclunkbums05:24
veebersit's super complicated :-P I'm not sure why yet but it does. I suspect that the error message is wrong and it should be something different05:24
veeberswe didn't see it come up earlier because I broke the ci-run and we missed a handful of commits05:24
veeberswallyworld, thumper: I updated the doc, the invalid url thing isn't related to proxy issues (at least for the unit test) but was introed with the lts name change (not sure off the root cause of the failure, potentially masked error?)05:30
* wallyworld is otp with is05:31
veebersack05:32
veebersI need to go sort tea, I'll be back to push a PR for the assess_recovery failure after that (just testing a run now).05:32
anastasiamacveebers: just out of curiousity..05:33
anastasiamacveebers: is bionic in /usr/share/distro-info/ubuntu.csv on the ci machines that run our tests?...05:34
veebersanastasiamac: I'll have a look for you05:34
veebersanastasiamac: yep, including cosmic05:34
anastasiamacveebers: thnx... ok..05:34
anastasiamacveebers: coz we also have hardcoded mapping (m rolling my eyes here) but m hoping that we do not use it05:35
veebersthe s390x machine does say it needs a reboot, perhaps I'll do that after dinner05:35
anastasiamacveebers: ack05:36
veebersanastasiamac: ack, I need to confirm but I think this might just happen on s390x05:36
* anastasiamac sighs05:36
anastasiamacveebers: i was under impression we no longer supported s390x05:36
thumperno... we do support s390x05:37
anastasiamacthumper: \o/05:37
anastasiamacveebers: m not sure if it'll help but it looks like the juju/os commit in depenendecies.tsv needs to be updated... 2.4 branch points to the one I did in July and misses the update from uros to support new mac os (done 14 days ago)... thumper <<05:47
thumperagreed05:47
thumperif we are rolling a new hash for testing anyway, we should update it05:47
anastasiamack. i'll pause what m doing and will propose now05:48
anastasiamacjust juju/os or can u think of anything else that needs to be updated?05:48
anastasiamacthumper: veebers: https://github.com/juju/juju/pull/909506:00
thumperanastasiamac: approved06:01
anastasiamac\o/06:01
anastasiamaca simple review plz https://github.com/juju/juju/pull/909711:33
stickupkidanastasiamac: I'll give a look11:42
stickupkidanastasiamac: AND done... :D11:47
rick_h_stickupkid: can you please make sure to keep an eye out on that OS PR and land it once it's good?13:37
manadartexternalreality: Do you have any objection to suffixing the status constants in the model package, with "UpgradeSeries" or "Status"?13:38
manadartDisambiguates them from other exports.13:38
stickupkidrick_h_: yeap sure can13:39
rick_h_stickupkid: ty!13:40
hmlstickupkid: rick_h_ : the ci-run for 2.4.2 doc is updated with the latest and greatest.14:15
cory_fustub: You around still?14:17
stickupkidhml: i'll have a quick look at this one - Export bundle test shouldn’t be running in 2.4 ci14:18
rick_h_hml: awesome14:18
rick_h_stickupkid: that was moved behind a feature flag. Might just need ot make sure the tests are engaging the flag?14:19
rick_h_stickupkid: or since it's behind a flag skip the tests for the moment in 2.414:19
rick_h_and we'll sort it in 2.5/backport in the future14:19
hmlrick_h_: stickupkid: the export bundle test wasn’t being run in 2.4 ci for a bit… then appeared overnight14:23
rick_h_hml: like last night overnight?14:24
hmlrick_h_: yes… it wasn’t run in the 1089 run, but is in 109314:24
rick_h_lol14:24
stickupkidhaha14:28
stickupkidtada14:28
rick_h_well, should make the git bisect easy :)14:29
stickupkidhttps://github.com/CanonicalLtd/juju-qa-jenkins/blob/master/jobs/ci-run/functional/functionaltests.yml#L19714:30
stickupkidso it seems this was changed, to run again14:32
stickupkidI'll make a PR14:33
rick_h_well that reads ! doesn't it?14:33
rick_h_I'm confused14:33
rick_h_stickupkid: time for our 1-1 chat?14:33
stickupkidone sec, on a phone :S14:33
rick_h_stickupkid: lol ok14:35
stickupkidwife broke her new phone :|14:36
rick_h_oops, did you tell her that's not how you're supposed to use it?14:38
rick_h_I find that if I tell my wife that she shouldn't have done that it helps a lot and she's grateful for my advice :)14:38
* hml snickering :-D14:42
kwmonroecory_fu: will config.changed.foo always bet set on initial deployment?  i seem to recall config-changed always runs, but am unsure if the c.c.foo flag will be set at that time, or if it's only set if foo is not the default, or if it's not set at all until a 'juju config' operation.16:09
cory_fukwmonroe: Yes, it will always be set on the first run16:11
cory_fukwmonroe: Specifically, it uses `config.changed(opt)` (see https://github.com/juju-solutions/layer-basic/blob/master/lib/charms/layer/basic.py#L211) which will evaluate to True the first time it's called (https://github.com/juju/charm-helpers/blob/master/charmhelpers/core/hookenv.py#L351)16:12
kwmonroeexcellent cory_fu.  thx16:13
cory_fuCynerva_: I think I've addressed all of your comments on https://github.com/juju-solutions/kubernetes/pull/148 if you don't mind taking another look when you have some time16:18
=== Cynerva_ is now known as Cynerva
Cynervacory_fu: thanks, will look soon16:41
externalrealityrick_h_, (upgrade series feature) - As far as allowing retries when hooks fail. My assumption is that retry on failure should be implicit from a CLI perspective. A user can simply run the command again after hook failure and not need to explicitly specify a flag (--retry).16:44
rick_h_externalreality: right, currently though it says you can't because it's already started, for instance16:45
externalrealityrick_h_, understood16:45
rick_h_externalreality: so there's a question then on if we want to warn the user it's already done and if they want to try again make them express that they're aware of that16:45
rick_h_externalreality: so I guess that was just a "hmm, how do we want to handle this?"16:45
externalrealityrick_h_, where would that warning come from. `juju status` doesn't display that kind of information (?I think?) and the `prepare` command, of course, runs async with respect to the CLI (so cannot warn as command output). The only option would be to log that warning - correct?16:50
externalrealityrick_h_, Where would the user get that warning info from? that is.16:50
rick_h_externalreality: so currently if I run prepare after I've already run it the command outputs that the lock document already exists (or something to that effect)16:51
rick_h_externalreality: maybe I'm confused. let me get the test thing setup again.16:51
externalrealityrick_h_, Yes, if you run again the command says the lock already exists.16:52
externalrealityrick_h_, do you mean that if you should run it again and the hooks is in error, the command then notifies you that "The hooks has failed on a previous run, would you like to try again..." kind of thing?16:53
rick_h_externalreality: thinking16:53
externalrealityrick_h_, ack16:53
rick_h_sorry, yea my first thought was along that line but I recall a conversation with jam we had around existing methods of dealing with failing hooks and our existing resolved --retry mechanisms16:53
rick_h_externalreality: so thinking through how that might work16:53
rick_h_and any cases where it might fail/abort but not be tied to a pre/post hook execution16:54
externalrealityrick_h_, cool16:56
rick_h_externalreality: ok, let's hold off on that for now then. Let's just make sure we can resolved/--retry the prepare hooks16:56
externalrealityrick_h_, ok16:56
rick_h_externalreality: and we should validate that once those hooks are successful the process will still move forward doing the machine-related steps16:56
externalrealitygrumpig is out of disk space17:21
rick_h_wheeee17:21
rick_h_tfw you forget to turn on the feature flag before you bootstrap and deploy the test charm...20:21
rick_h_oh dammit, and I also forgot to run make install...wheeee take 420:25
thumpermorning20:37
rick_h_morning thumper20:38
veebersMorning o/21:07
rick_h_morning veebers21:09
veebersMorning rick_h_ o/21:14
babbageclunkmorning veebers and rick_h_21:15
babbageclunkand thumper21:15
rick_h_wheeee21:15
babbageclunkwallyworld: just doing the last bit of changes, flipping the sense of that feature flag. Do you think I should call it disable-raft-leases or something else?22:48
wallyworldbabbageclunk: what about use-legacy-leases or something?22:49
wallyworldkeep the sense of the flag what to use rather than what not to use22:49
babbageclunkwallyworld: yeah, that's nicer thanks. Also, do you want to look through my other responses in case there's something I'm being silly about?22:50
wallyworldbabbageclunk: should be good, i can take a quick look22:50
babbageclunkwallyworld: awesome thanks22:51
babbageclunkwallyworld: ping me if you want to argue about anything :)22:51
veeberswallyworld, babbageclunk: yay https://github.com/juju/juju/blob/develop/acceptancetests/jujupy/client.py#L22723:29
babbageclunkveebers yay, delete it!23:31
anastasiamacbabbageclunk: PTAL https://github.com/juju/juju/pull/909623:39
babbageclunkanastasiamac: wilco - are you blocked on it? Do you mind if I finish off my raftlease featureflag change first?23:43
anastasiamacbabbageclunk: m kind of blocked on it but i can also try to exercise my patience... ;) wanted to land it within 24hr of proposing...23:44
anastasiamacbabbageclunk: i can always beg wallyworld or thumper for a review :D23:44
wallyworldi can look soonish23:48
wallyworldadd it to the queue23:48
veebersmaas spaces and lxd, if I'm seeing the error: (1/lxd/0', 'no obvious space for container "1/lxd/0", host machine has spaces: "ha-space", "space-0") how can I add an obvous space? (this is maas 2.3, juju 2.4)23:50
wallyworldbabbageclunk: changes/comments look ok to me - maybe add a todo or a trello card for the fsm optimisation for expired lease removal23:55
anastasiamacthanks, wallyworld \o/23:55
babbageclunkwallyworld: great thanks23:55
wallyworldbabbageclunk: when it's landed i expect a video of you doing a happy dance23:56
wallyworldand a discouse post :-)23:56
babbageclunkanastasiamac: I had to run outside to get washing off the line - I'll take a look now!23:57
anastasiamacbabbageclunk: :)23:57
anastasiamacbabbageclunk: it's not that urgent.. i'll need to take my 5yo to do a blood test23:57
babbageclunkoh no!23:57
anastasiamacbabbageclunk: which apparently requires several specialist to hold him down23:58
babbageclunk:(23:58
babbageclunkpoor wee guy]23:58
anastasiamacbabbageclunk: so when i said 24 hrs... i meant we have until 10pm bne time23:58
anastasiamacbabbageclunk: yeah :(23:58

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