/srv/irclogs.ubuntu.com/2015/07/09/#juju-dev.txt

menn0thumper: bogdan is going to continue with it tomorrow but he's done for today00:00
thumper:-(00:00
menn0only machine 0 seems to upgrade and then others don't00:00
menn0i'll get some reviews out of the way and then i'll take a look through the logs00:01
menn0thumper, wallyworld: i've been chatting to bogdanteleaga00:06
bogdanteleagaso the issue with the upgrade thing00:06
menn0the CI test isn't going to work because it's upgrading from 1.24.200:07
menn0and the 1.24.2 agent won't restart for the upgrade on windows00:07
bogdanteleagapretty much00:07
bogdanteleagathe starting agent needs to have the fix00:07
menn0bogdanteleaga: and they're the fixes you have in the PR that's up already?00:08
bogdanteleagayep00:08
thumperis there a workaround for users that have an older windows version?00:09
bogdanteleagaI guess we either merge that and wait for it to be released, or make a different job00:09
thumperhow do they upgrade?00:09
bogdanteleagathey have to manually restart the service I'm afraid00:09
bogdanteleagathe upgrade itself works00:09
thumperso if they just restart the service, it works, but not if they don't?00:10
thumperis this a regression from previous windows versions, or new?00:10
bogdanteleagait doesn't know to start back up by itself00:10
bogdanteleagait might be a regression since the new service package was introduced00:10
thumperhmm00:11
bogdanteleaganot completely sure what we did before00:11
thumperwhen was it introduced?00:11
bogdanteleagalet me check00:11
thumperalso, which was the first juju version where we supported windows?00:11
thumperdo those versions upgrade to the released versions?00:11
thumperthat's a key question00:11
wallyworldthumper: menn0: bogdanteleaga: if we need to documemtn a one off manual work around to get past this issue, i think that's ok00:12
bogdanteleagaafaik the first one was 1.2100:12
bogdanteleaga1.23 has the old implementation00:13
bogdanteleagaI'd have to try it out to see if it works though00:14
bogdanteleagathe powershell code does not look promising00:14
bogdanteleaga(to create the services)00:14
menn0bogdanteleaga: is manually testing an upgrade from 1.24 with the proposed fixes to master00:24
menn0thumper: ^^^00:24
menn0if that works he's going to merge that into 1.24 so that at least 1.24.3 won't have this problme00:25
menn0we won't have CI success until 1.24.3 is released00:25
thumperack00:25
menn0wallyworld: recap since you were disconnected: bogdanteleaga is manually testing an upgrade from 1.24 with the proposed fixes. if that works he's going to merge that into 1.24 so that at least 1.24.3 won't have this problem. we won't have CI success until 1.24.3 is released00:26
wallyworldok ty00:27
wallyworldand for older deploys, we restart service manually00:27
bogdanteleagaall good00:34
bogdanteleagaI'll merge it in00:34
wallyworldwaigani: hey, did you see my ping before about the maas failed deployment bug?00:36
waiganiwallyworld: no sorry00:36
waiganiwallyworld: do you have a link?00:36
wallyworldwaigani_: can you take a look at 1.24 bug 1472711? it claims bug 1376246 may not quite be fixed00:36
mupBug #1472711: MAAS node has "failed deployment", juju just says "pending" <maas-provider> <juju-core:Triaged> <juju-core 1.24:Triaged> <https://launchpad.net/bugs/1472711>00:36
mupBug #1376246: MAAS provider doesn't know about "Failed deployment" instance status <landscape> <maas-provider> <juju-core:Fix Released by waigani> <juju-core 1.24:Fix Released by waigani> <https://launchpad.net/bugs/1376246>00:36
waiganiwallyworld: sure00:36
wallyworldtyvm00:36
rick_h_thumper: howdy?02:13
thumperrick_h_: I'm not around tomorrow02:13
rick_h_thumper: k02:13
thumperrick_h_: just letting you know as we normally have a call02:13
rick_h_thumper: anything I should know?02:13
thumperonly that we have slow progress, but expect it in 1.2502:14
thumper1.25 feature freeze pushed out so we can hit it02:14
rick_h_thumper: ok, did that stuff help with the jes/system/environment destroy stuff?02:16
thumperrick_h_: yeah, rehashing now02:17
thumperalthough I have a few questions02:17
thumpergot 5 minutes now?02:17
thumperfor a hangotu?02:17
rick_h_sure thing, just have to watch me eat dinner :) /me grabs headphones02:17
thumperkk02:17
thumperrick_h_: https://plus.google.com/hangouts/_/canonical.com/rick02:18
bdxhey whats going on everyone?02:45
bdxI'm looking for a way to seed a custom cloud-config to my juju deployed machines...I can use maas post install scripts for machines managed by maas, but I need my custom cloud-config to run on containers too. Is there a "best practice" way to do this with juju??02:47
bdxfrom what I can tell juju creates the cloud init for lxc services here: https://github.com/juju/juju/blob/master/cloudconfig/containerinit/container_userdata.go02:49
bdxamongst other places02:49
bdxI'm thinking there has to be a way to pass a cloud-config file as an extra parameter when deploying services ....possibly I'm just missing somethig....02:50
bdxcharmers:^^02:51
marcoceppibdx: this is definitely a question for core, most charmers don't have this type of requirement02:52
marcoceppibdx: may I ask what you're trying to customize?02:52
bdxmarcoceppi: ok, thanks. -- I'm trying to automate my puppet cloud-config getting onto containers deployed by juju02:54
marcoceppibdx: why wouldn't you just have that wrapped in a charm?02:54
bdxoooh ....like a secondary charm that I would deploy that was just puppet cloud-config?02:55
marcoceppibdx: sure, you could have it be a subordinate for example02:56
bdxmarcoceppi: Oooh totally...thats a great idea!02:56
marcoceppibdx: I'd have to know more about what this puppet stuff was doing and the goal, but charming is really the best way to interact with the machines juju gives you after deployment02:57
bdxmarcoceppi: totally....we have keys and users amongst other things that need to get onto each machine post deploy ... our infra is tightly tied in with a few puppet classes that are mandatory...plusss our newrelic and papertrial stuff ...02:59
marcoceppibdx: ah, yeah, so I would totally make a "my-management-stuff" subordinate that you just throw on everything. We also have papertrail and new-relic charms, but if those area already puppetized, just have that subordinate do all that for you03:00
bdxmarcoceppi: awesome. Do you know any hot docs for creating subordinate charms?03:02
marcoceppibdx: it's just like a normal charm, except you set subordinate: true in the metadata.yaml and you need a relation in the new subordinate charm03:02
marcoceppibdx: let me get you a link to the docs03:02
marcoceppibdx: https://jujucharms.com/docs/stable/authors-subordinate-services and https://jujucharms.com/docs/stable/authors-implicit-relations03:03
marcoceppibdx: here's an example metadata.yaml since those pages are...confusing03:03
bdxmarcoceppi: I have been scoping this too03:03
bdxhttp://spamaps.org/files/charm-store-policy/drafts/subordinate-internals.html03:03
bdxmarcoceppi: nice! thanks!03:04
bdxmarcoceppi: thats awesome...that will be a perfect solution for what I'm trying to do here03:05
marcoceppibdx: http://paste.ubuntu.com/11845656/03:05
marcoceppithat's all you need to make a subordinate charm, the rest is the same as a primary charm structure03:06
marcoceppilines 8 and 10-12 are the special bits03:06
bdxthats so simple03:06
bdxbeautiful03:06
marcoceppibdx: so, as you deploy services, just do a juju add-relation <service> <your-subordinate> and it'll attach to all units in that service, even as you scale out/in03:07
bdxmarcoceppi: nice...even if the service exists on a container already?03:07
marcoceppibdx: regardless of the system the service is on03:08
marcoceppibdx: if it's deployed by juju, on metal, a VM, or a container03:08
bdxsick03:08
bdxsweet03:08
bdxthats perfect....I'm going to implement it now....I'll let you know how it goes03:09
marcoceppibdx: awesome, I should be around for a few more hours if you have any questions03:09
bdxmarcoceppi: awesome. thanks again for the advice03:09
menn0wallyworld, thumper: so 1.24 is still blocked and we won't know for sure whether that bug is fixed until 1.24.3 is released and the CI test starts using that03:10
menn0wallyworld, thumper: should we removed the blocker tag?03:11
wallyworldmenn0: what bug is it blokec on?03:26
menn0wallyworld: the windows upgrade one03:27
menn0bug 147133203:27
mupBug #1471332: Upgrade fails on windows machines <blocker> <ci> <upgrade-juju> <windows> <juju-core:In Progress by bteleaga> <juju-core 1.24:In Progress by bteleaga> <https://launchpad.net/bugs/1471332>03:27
wallyworldah, i didn't realise that one was a blocker03:27
wallyworldi think based on your explanation above we could remove the blocker tag03:28
menn0wallyworld: cool. i'll do that and add some detail to the bug03:28
wallyworldty03:28
menn0thumper: one line review please: http://reviews.vapour.ws/r/2124/03:31
* thumper looks03:33
thumpermenn0: shipit03:34
menn01.24 is now unblocked03:34
wallyworldwaigani: did you get a chance to look at bug 1472711 ? is it something that juju core needs to fix?04:38
mupBug #1472711: MAAS node has "failed deployment", juju just says "pending" <maas-provider> <juju-core:Triaged> <juju-core 1.24:Triaged> <https://launchpad.net/bugs/1472711>04:38
wallyworldmenn0: we can mark bug 1469199 as fix committed right?04:40
mupBug #1469199: State server seems to have died <cloud-install-failure> <cloud-installer> <landscape> <juju-core:In Progress by menno.smits> <juju-core 1.24:In Progress by menno.smits> <https://launchpad.net/bugs/1469199>04:40
wallyworldon 1.24?04:41
menn0wallyworld: not sure04:45
menn0wallyworld: we've committed 2 possible fixes04:45
menn0wallyworld: but they might not be it04:45
menn0wallyworld: I can't repro it reliably04:45
wallyworldis a stakeholder going to test?04:45
menn0wallyworld: so I don't know the problem is fixed04:45
wallyworldwe could mark as fix committed so 1.24.3 can go out04:46
menn0wallyworld: seems the issue hasn't happened for a while04:46
menn0wallyworld: yeah, mark it as fix committed. the stakeholder said they would report back if the issue happens again (with 1.24.3 or otherwise)04:46
wallyworldok, ty04:46
wallyworldmaster too?04:46
menn0wallyworld: we can always reopen it and it's not like we can do anything more04:47
wallyworldyep04:47
menn0wallyworld: yep master too04:47
wallyworldok04:47
menn0wallyworld: I just marked bug 1465115 as fix committed too. that just merged.04:49
mupBug #1465115: api: data race in test <intermittent-failure> <race-condition> <unit-tests> <juju-core:Fix Committed by dave-cheney> <juju-core 1.24:Fix Committed by menno.smits> <https://launchpad.net/bugs/1465115>04:49
waiganiwallyworld: it's next on my list. I'll just finish this and look at it now.04:50
wallyworldty04:53
wallyworldwaigani: add any comments to the bug so we can see what's happening at the release standup tomorrow04:53
waiganiwallyworld: okay, will do.04:54
wallyworldthanks menn004:54
* wallyworld relocating, afk for a bit04:54
=== thumper is now known as thumper-afk
fwereadeaxw, wallyworld: don't suppose either of you had a chance to look into the add-machine issue I mailed you about?08:17
=== anthonyf is now known as Guest97002
mgzbogdanteleaga: thanks for landing the upgrade changes10:18
mgzbogdanteleaga: do I understand from menno's comment that we can never automatically upgrade from any existing juju versions with windows units?10:19
voidspacemgz: I created a PR that I was expecting to get reviewed, it seems to have landed! Presumably without a test run (although tests pass of course...)10:46
voidspacemgz: https://github.com/juju/juju/pull/275010:46
voidspacemgz: can you see what I did wrong? Presumably I pressed the wrong button somewhere...10:46
mgz>_<10:47
voidspacemgz: hmm... I don't think I did, I think a test run was completed for a different PR and this one was merged10:48
voidspacemgz: I had a PR for this branch which I added the magic $$merge$$ cookie - that PR has vanished10:49
voidspacemgz: https://github.com/voidspace/juju/tree/devices-master-merge-410:49
mgzwell, that was a fun mystery10:56
voidspacemgz: hah, oops... :-)10:56
bogdanteleagamgz: not with whatever is released now11:00
bogdanteleagamgz: I'll ask somebody to try 1.23 later today, but I'm not having high hopes11:02
bogdanteleagamgz: 1.24.x won't work until 1.24.311:02
mgzbogdanteleaga: CI happened to do a 1.22.7 run - that also failed11:03
mgzso, I guess upgrades just won't work for existing windows envs11:04
mgzbogdanteleaga: I think we need to document some manual steps11:04
mgzeven if the sanest thing really is to tear down the existing env and start again11:04
bogdanteleagamgz: yeah, then it's almost certain to fail on 1.23 as well11:04
mgzbogdanteleaga: I've changed the CI job to try to upgrade from your fixed 1.24 - so we'll see if the job passes like that11:05
bogdanteleagamgz: for 1.24 it can be as easy as accessing the machine and restarting the service11:05
bogdanteleagamight be the same for the rest, but it needs to be tested11:05
mgzif I can run that over winrm, that's also possible to script11:06
bogdanteleagaI don't see why not11:06
mgzthough I guess it needs to see the upgrade first, then do the restart11:07
bogdanteleagamgz: you can probably just query the service11:18
bogdanteleagamgz: and when it stops just start is back up11:18
bogdanteleagamgz: but you need to do the same for the units, which will stop after you upgraded the machine agent11:18
=== liam_ is now known as Guest88779
frankbanericsnow or axw: could you please take a look at https://github.com/juju/names/pull/52 ? thanks!13:32
mupBug #1473069 opened: Inconsistency of determining IP addresses in MAAS environment between hosts and LXC containers <addressability> <lxc> <maas-provider> <network> <juju-core:New> <https://launchpad.net/bugs/1473069>13:39
mupBug #1473069 changed: Inconsistency of determining IP addresses in MAAS environment between hosts and LXC containers <addressability> <lxc> <maas-provider> <network> <juju-core:New> <https://launchpad.net/bugs/1473069>13:48
mupBug #1473069 opened: Inconsistency of determining IP addresses in MAAS environment between hosts and LXC containers <addressability> <lxc> <maas-provider> <network> <juju-core:New> <https://launchpad.net/bugs/1473069>13:51
=== kadams54 is now known as kadams54-away
marcoceppihey14:32
marcoceppiquick help14:32
marcoceppiwhat's the command to get the list of help for commands you run in hook env14:32
marcoceppion a call14:32
marcoceppiin a pinch14:32
marcoceppijuju help-tool14:35
* marcoceppi high fives14:35
marcoceppihimself14:36
rick_h_go marcoceppi go14:36
mgzmarcoceppi: also `juju run --unit some-unit/0 "close-port --help"` works14:38
mgzfor help on specific tools14:38
=== kadams54 is now known as kadams54-away
makyo_sinzui, ping17:38
=== makyo_ is now known as Makyo
=== Makyo is now known as makyo_
sinzuihi makyo_17:40
makyo_sinzui, working on setting up some nightly testing with Jenkins and am trying to get it to send emails to us for build status. Does QA have any experience with that?17:41
sinzuimakyo_: no, we abandoned Jenkins sending emails. our emails are sent by a script that inerprets the results17:44
makyo_sinzui, Ah, alright.  None of the solutions I found in Jenkins land were all that good, yeah. Is that up on LP/GH somewhere?17:45
sinzuimakyo_: I can suggest that is builds are trigger other builds, or something watching the builds an trigger a "results" job, you can collect everything for an email and you have a choice of trying to use jenkins' infrastructure or adding your own17:46
sinzuimakyo_: lp:ci-director does some of the emails17:46
makyo_sinzui, alright, thanks.  Will give it a look.17:47
makyo_That sounds good.17:47
katcoericsnow: o/17:51
ericsnowkatco: \o17:51
katcoericsnow: how's the bug-fix coming?17:52
katcoericsnow: sorry i haven't been around17:52
ericsnowkatco: np17:52
ericsnowkatco: good17:52
ericsnowkatco: wish we had sorted all this out thursday/friday :(17:52
katcoericsnow: yeah =/17:52
sinzuimakyo_: for any job, you can check email-notification. It includes the conole log. So a "results" job that summarises other jobs can do what you want cheeply.17:53
katcoericsnow: we've just been demoing basic stuff, it's ok17:53
katcoericsnow: but was wondering if we'd have anything ready for today?17:53
* sinzui has set this up, but gets these emails from other jenkins17:53
ericsnowkatco: wwitzel3's working on it17:53
katcoericsnow: hm. last time i talked to him he said you were ;) maybe different bug?17:55
ericsnowkatco: I'm pretty sure I fixed everything I could yesterday17:56
makyo_sinzui, alright, that makes sense yeah17:56
ericsnowkatco: I've been helping wwitzel3 as much as I can this morning17:56
=== kadams54 is now known as kadams54-away
=== makyo_ is now known as Makyo
mupBug #1473197 opened: openstack: juju failed to launch instance, remains pending forever <juju-core:New> <https://launchpad.net/bugs/1473197>20:06
mupBug #1473197 changed: openstack: juju failed to launch instance, remains pending forever <juju-core:New> <https://launchpad.net/bugs/1473197>20:21
mupBug #1473197 opened: openstack: juju failed to launch instance, remains pending forever <juju-core:New> <https://launchpad.net/bugs/1473197>20:24
mupBug #1473209 opened: github.com/juju/juju/service/windows undefined: newConn <ci> <intermittent-failure> <test-failure> <unit-tests> <windows> <juju-core:Triaged> <juju-core trunk:Triaged> <https://launchpad.net/bugs/1473209>20:54
alexisbwallyworld, ping me whn you are in please20:57
wallyworldalexisb: hi, just about to go into meeting, i'll try and get you before release standup20:59
wallyworldalexisb: free now21:10
alexisblets jump on our hangout21:10
sinzuiwallyworld: do you have time to review http://reviews.vapour.ws/r/2135/21:31
wallyworldsinzui: yes, will do21:31
=== kadams54 is now known as kadams54-away
wallyworldsinzui: lgtm21:55
sinzuithank you wallyworld. this is an example armhf build log the trusty 1.20.11 has the same deps and looks similar https://launchpadlibrarian.net/210434988/buildlog_ubuntu-trusty-armhf.juju-core_1.24.2-0ubuntu1~14.04.1~juju1_BUILDING.txt.gz22:01
wallyworldty, looking22:02
wallyworldanastasiamac: standup?23:17
anastasiamacwallyworld: technical issues.. omw23:17
marcoceppibdx: were you able to get the subordinate working?23:35

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