/srv/irclogs.ubuntu.com/2016/12/12/#juju-dev.txt

menn0anastasiamac: gah. just found in nasty bug with resources (not migrations but resources themselves).04:02
menn0anastasiamac: should be easy enough to fix04:02
veebersmenn0: (eavesdropping) what's the bug? Might be a candidate for EDA04:18
menn0veebers: EDA?04:18
menn0veebers: the problem is with "placeholder" resources. A placeholder resource is where a charm has defined a resource but no unit has retrieved it yet.04:19
veebersmenn0: escaped defect analysis that qa does i.e. why did this bug git hit outside our testing04:19
veebersgit/get04:20
menn0veebers: when the application is removed a cleanup operation is scheduled for the placeholder resource to remove it from gridfs04:20
menn0veebers: but there's nothing to remove, so the cleanup fails04:20
menn0veebers: it's only visible from the logs (and also prevents a migration from starting, which is how I noticed)04:21
veebersmenn0: ah I see, nice catch :-)04:21
menn0veebers: there's no unit test coverage for this (which I will fix)04:22
menn0veebers: not sure if it makes sense to cover in functional tests - it's a corner case04:22
veebersmenn0: ack, cheers04:24
blahdeblahaxw: Around, or still on a sprint?04:43
blahdeblahOr anyone else around familiar enough with https://bugs.launchpad.net/juju-core/+bug/1645729 to help me work out a problem with testing it?04:47
mupBug #1645729: environment unstable after 1.25.8 upgrade <juju:Fix Committed by axwalk> <juju 2.1:Fix Committed by axwalk> <juju-core:Fix Committed by axwalk> <juju-core 1.25:Fix Released by axwalk> <https://launchpad.net/bugs/1645729>04:47
blahdeblahWell, I'll throw my questions here and hope someone sees them:05:00
blahdeblahI've added the proposed ppa and upgraded my local package such that "juju version" reports 1.25.9. I've also added agent-stream: proposed to environments.yaml for the environments I want to upgrade.05:00
blahdeblahBut when I try an upgrade-juju --dry-run, it tells me no upgrades are available.05:00
blahdeblahTried once with --upload-tools and it didn't work, but looks like it might be working now. o.O05:06
anastasiamacmenn0: this is brilliant \o/ thank you for finiding it and for fixing it \o/05:46
* anastasiamac wonders if nay part of HA would require migration.. menn0could fix it as drive-by05:47
anastasiamacany*05:47
anastasiamacblahdeblah: axw is on holiday until mid-Jan. how is ur upgrade?05:47
blahdeblahanastasiamac: I'm not sure05:48
blahdeblahStill waiting for sync-tools to finish05:48
blahdeblahyay ADSL 1Mbps upload05:48
anastasiamacblahdeblah: *\o/*05:50
anastasiamacblahdeblah: i need to go afk - **sigh** kids... - but will check backscroll later.. alternatively, feel free to email ;D05:51
blahdeblahanastasiamac: Is there anything that explains the process of upgrading a stable environment to proposed other than the paragraph on the PPA?05:52
anastasiamacblahdeblah: as far as I kow, u need to upgrade you tools stream value to 'proposed' and that's it05:53
blahdeblahI don't suppose there's a way to get the bootstrap node to pull the tools directly from streams?05:54
blahdeblahOr should that be the default05:54
blahdeblah?05:54
anastasiamacblahdeblah: i think setting agent-metadata-url could do it...05:55
* blahdeblah gives up on letting sync-tools trash his ADSL link05:55
blahdeblahsetting it to what?05:55
anastasiamacblahdeblah: i need to go but for Juju 1.x, you could ...05:56
anastasiamacjuju set-env agent-metadata-url=https://streams.canonical.com/juju/tools05:56
anastasiamacjuju upgrade-juju --version 1.25.605:56
anastasiamacblahdeblah: u might b able to do equivalent for Juju 2.x05:56
blahdeblahThis is 1.25.805:56
anastasiamacblahdeblah: sorry, I'll b back in cuple of hrs ... promise :)05:57
blahdeblahno worries - thanks anastasiamac05:57
anastasiamacblahdeblah: yes, so it should work as long as --version set to ur next desired..05:57
anastasiamacblahdeblah: u'd still need agent-stream value to b set to proposed tho05:59
blahdeblahyep05:59
=== frankban|afk is now known as frankban
blahdeblahanastasiamac: Thanks for the help; I seemed to need juju sync-tools before things would work.08:31
blahdeblahI'll update the bug shortly08:31
voidspacefrobware: ping09:44
frobwarevoidspace: pong09:45
voidspacefrobware: morning :-)09:45
voidspacefrobware: I'm having a chat with Ante about his network issues at noon09:46
frobwarevoidspace: ok, can join.09:46
voidspacefrobware: I added you to the meeting if you'll be available09:46
frankbanhey, I need a review for the quick fix at https://github.com/juju/juju/pull/6694, anyone available?09:46
voidspacefrobware: cool, thanks09:46
voidspacefrankban: not possible to test it I guess09:49
frankbanvoidspace: just bootstrap a controller, and run "juju gui"09:50
voidspacefrankban: I mean an automated test09:50
voidspacefrankban: but that sounds like a good thing to do too09:50
frankbanvoidspace: unit tests are already there, and they keep passing09:50
=== jamespag` is now known as jamespage
anastasiamacblahdeblah: ack10:02
voidspacefrankban: so if we're specifying the target directory there's no difference (except signature of function) between ioutil.TempDir and os.MkDir10:03
voidspacefrankban: I know it's a trivial change, just want to ensure I *actually* understand it10:03
voidspacefrankban: "juju gui" didn't fail with lxd, trying it with maas to watch it fail10:03
frankbanvoidspace: the difference is that os.MkDir receives the dir name, while TempDir creates a temporary dir (therefore with an available random name) in the given directory, with the given prefix10:05
voidspacefrankban: ah yes, it's still a random name in the specified directory10:06
voidspacefrankban: thanks10:06
voidspacefrankban: I'm pretty sure your one line change is fine, I'm just trying it out10:07
voidspacefrankban: :-)10:07
frankbanvoidspace: cool, and thanks!10:07
voidspacefrankban: so I can't repro the original problem without multiple storage devices on my maas nodes10:17
voidspacefrankban: but the new branch at least works fine, so LGTM10:17
frankbanvoidspace: ty!10:17
mattywhey folks, is it possible to force juju to change the leader, so I can test leadership election in charms?11:53
voidspacefrobware: ping for networking12:00
frobwarevoidspace: omw12:00
=== petevg_afk is now known as petevg
kjackalHey rick_h got a question you might be able to help me with or route me to the right person. When I "juju register" a controller the password field inside the ~/.local/share/juju/accounts.yaml is not set. The python jujuclient we have is failing to parse the environment.15:05
kjackalrick_h: Is this a problem with the "juju register" command or with the jujuclient lib?15:05
rick_hkjackal: thinking15:09
kjackalrick_h: http://pastebin.ubuntu.com/23619350/15:09
kjackalrick_h: Here is cwr failing because of this problem15:10
voidspacefrobware: ping15:11
rick_hkjackal: so, what client is doing the register?15:15
rick_hkjackal: so when you normally cli register you get a chance to set a password15:15
rick_hkjackal: but if not set, there's a cookie I think that gets set15:15
rick_hkjackal: so it could be client issue in registering, reading the cookie, etc15:15
rick_hkjackal: but hard to say from the pastebin as that's after the fact so not sure what got up to there15:15
kjackalrick_h: you "juju register" the controller and you provide a password. After that the controller is operational. Bundle tester works fine with it. No problem there.15:16
kjackalrick_h: The registration process does not add the password field in the accounts.yaml so the jujuclient library is failing15:17
rick_hkjackal: right so what's bundle tester using that jujuclient isn't then. I'm guessing it's not able to read the cookie data?15:18
kjackalrick_h: from your answer I gather that the password field in accounts.yaml is optional15:19
rick_hkjackal: yea, though I'm trying to think about that.15:19
rick_hkjackal: I mean the only real 'permanent' password is the credentials.yaml15:19
rick_hkjackal: that's persistent, so I'm curious if there's something that we should be doing in credentials.yaml that's correct or not15:20
rick_hkjackal: that one I need to chat with some other folks on and see why we don't. I guess because that's for a cloud and not a controller that's already running...15:20
kjackalrick_h: is password is optional then this line here seems wrong: http://bazaar.launchpad.net/~juju-deployers/python-jujuclient/trunk/view/head:/jujuclient/juju2/connector.py#L6415:21
kjackal*if15:22
rick_hkjackal: yea, I just can't think of a great reason not to fill it in if the user has entered it. Maybe worth an email to juju-dev email list.15:22
rick_hkjackal: can you do full repro steps and bring it up and I'll chime in and see if we can get some feedback from the folks that did it if there was some reason I'm blanking on atm?15:23
kjackalok, will do that. thanks rick_h15:24
frobwarevoidspace: pong15:35
voidspacefrobware: tycho's patch uses the constraints off the instanceConfig15:48
voidspacefrobware: however the CreateContainer method it is in takes a parameter called cons, which is a constraints.Value15:48
frobwarevoidspace: the patch is quite old. :/15:49
voidspacefrobware: obviously kvm needs to specify these constraints differently from within the CreateContainer call15:49
voidspacefrobware: ah, ok - so it may just be out of date15:49
voidspacefrobware: I'm trying to see how it's used15:49
frobwarevoidspace: pretty sure this was done at the austin sprint, so march/april this year.15:50
voidspacefrobware: that's no *soooo* olld15:50
voidspace*old even15:50
frobwarevoidspace: 2016 still. :)15:51
voidspacefrobware: right15:51
voidspacefrobware: so StartInstanceParams dows have Constraints, which is also a constraints.Value15:52
voidspaceI wonder if it's just the same stuff duplicated or different15:52
voidspacetime for some instrumentation I think15:52
=== frankban is now known as frankban|afk
mupBug #1649379 opened: bootstrap failed sigabrt when installing services <bootstrap> <intermittent-failure> <juju-core:Triaged> <https://launchpad.net/bugs/1649379>19:33
alexisbping anastasiamac22:32
cmarshey, does the GCE provider support exposing port ranges?23:17
cmarsi may have found a bug..23:17
mupBug #1510689 changed: juju upgrade --upload-tools tries to upload tools agents that are not permitted by the state server <bug-squad> <simplestreams> <upgrade-juju> <upload-tools> <juju:Triaged> <juju-core:Won't Fix> <https://launchpad.net/bugs/1510689>23:24
mupBug #1510689 opened: juju upgrade --upload-tools tries to upload tools agents that are not permitted by the state server <bug-squad> <simplestreams> <upgrade-juju> <upload-tools> <juju:Triaged> <juju-core:Won't Fix> <https://launchpad.net/bugs/1510689>23:33
mupBug #1510689 changed: juju upgrade --upload-tools tries to upload tools agents that are not permitted by the state server <bug-squad> <simplestreams> <upgrade-juju> <upload-tools> <juju:Triaged> <juju-core:Won't Fix> <https://launchpad.net/bugs/1510689>23:36
mupBug #1649379 changed: bootstrap failed sigabrt when installing services <bootstrap> <intermittent-failure> <juju-core:Won't Fix> <https://launchpad.net/bugs/1649379>23:48

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