/srv/irclogs.ubuntu.com/2015/02/27/#juju-dev.txt

thumperwallyworld: I'm in our hangout if you are ready early00:27
wallyworldok00:27
=== ericsnow_afk is now known as ericsnow
ericsnowdavecheney: I have a question about a review comment you left on our GCE patch00:32
ericsnowdavecheney: do we have a uniform mechanism for getting a string representation of a machine ID (and not by using a machine tag)?00:33
ericsnowdavecheney: given the strong correllation between instances and juju machines, using the machine ID in the instance name is valuable00:34
davecheneyericsnow: a name for a machine id that isn't a tag ('cos this isn't the api) ?00:35
davecheneyhonestly, not sure00:35
davecheneystate.Machine.String() ?00:35
davecheney^ total guess00:35
ericsnowdavecheney: k00:36
davecheneymenn0: waigani any ideas ?00:36
menn0hmm00:37
ericsnowdavecheney: the alternative is to pick a suitable format to use in the one bit of code (losing any benefits of code reuse)00:39
menn0davecheney, ericsnow: don't you just want Machine.Id()?00:39
menn0i'm probably not understanding what you're after00:39
ericsnowmenn0: all I have is the ID as a string (e.g. "0")00:39
menn0ericsnow: right00:40
menn0ericsnow: and what would you like?00:40
ericsnowmenn0: currently I'm using names.NewMachineTag and then String() on the result, all to get a standardized representation to use in an instance name00:41
ericsnowmenn0: I was trying to keep naming consistent with the rest of juju, but it sounds like we don't have another way to get that uniform repr from a machine ID00:42
menn0ericsnow: why I don't think there's anything else. A shorter route to the same thing would be someMachine.Tag().String().00:45
menn0s/why//00:45
menn0if you have a machine instance00:45
ericsnowmenn0: this code is provider-related, so pretty much it's unrelated (directly) to state00:47
menn0ericsnow: ok then, I've got nothing :)00:48
ericsnowmenn0: no worries :)00:48
cheryljericsnow: I added the function names.ReadableString a while back to do what I think you're looking for01:10
cheryljoh wait, that takes a tag too01:10
cheryljbut I added that in to not print machine tags out on the CLI01:11
axwwallyworld: forgot to talk about storage info in 1:1. did you understand what I was getting at in the standup about translating volume/filesystem info to storage info on-the-fly?02:49
hazmatahasenack, dpb1, rick_h_ pushed new py j client w/ iterator fix .. version incr math fixed as well (0.50.1)02:50
wallyworldaxw: yeah, sounded "ok" at a high level, could you shoot through a tl;dr; email with a quick summary of the implementation?02:50
axwwallyworld: sure02:50
wallyworldty02:50
rick_h_hazmat: <3 ty kindly. jcsackett should have finished QA and we'll get it into the juju stable ppa tomorrow.02:51
axwwallyworld: sent02:56
wallyworldty02:56
axwwallyworld: once again without gpg please03:09
wallyworldoh ffs03:18
wallyworldi gotta find out why thunderbird does that03:19
dpb1hazmat: https://bugs.launchpad.net/python-jujuclient/+bug/1426020 need that one too, I'll be landing it soon, but could use your eyes on that patch if it was something you intended another way03:44
mupBug #1426020: TypeError: super object is not an iterator <python-jujuclient:New> <https://launchpad.net/bugs/1426020>03:44
rick_h_dpb1: got that in http://bazaar.launchpad.net/~juju-deployers/python-jujuclient/trunk/revision/5403:47
rick_h_dpb1: so think the release done should be good to QA and move forward.03:48
axwwallyworld: I just thought of a probably better alternative. instead of watching individual storage attachments, the apiserver can return watchers for filesystem or volume attachments depending on the kind03:48
axwthen there's no need to bump the other doc at all03:49
wallyworldaxw: i do prefer to have fewer/no individual watchers - that's sort of what I was questioning (poorly) in that other review03:50
axwwallyworld: can't really get away without individual watchers. the other one only responds to lifecycle state. also, with only a single watcher, we'd be forced into having everything in the one collection03:51
wallyworldyeah, given the current implementation, that is true. i wish for a proper pubsub implementation03:51
axwso I'm thinking a watcher that watches all of a unit's storage attachments' lifecycle states, and then the uniter will watch volumes/filesystems individually03:51
wallyworldsounds good03:52
* dpb1 checks03:52
dpb1rick_h_: thx -- closing out the bug03:52
rick_h_dpb1: ty03:52
axwwallyworld: I might move this normalisation code out of state too, into apiserver/common. client and uniter can use that, makes state a bit leaner.03:53
wallyworldyep03:53
wallyworldi thinkit belongs in a service layer03:53
wallyworldi sorta think we need it elsewhere, not apiserver03:54
wallyworldanother new storage service layer03:54
wallyworldapiserver is for network marshalling etc03:54
wallyworldstate is for persistence03:54
wallyworlda (new) storage service layer is for service business logic03:55
wallyworldi would love to move methods off the domain objects into that layer03:55
wallyworldmove towards a proper SOA03:55
=== Murali_ is now known as Murali
ericsnowdavecheney: if you have any time to spare, I'd love it if you could follow up on your reviews for the 3 patches I have up. thanks05:04
davecheneyericsnow: sure05:09
davecheneywill do05:09
ericsnowdavecheney: much appreciated05:09
ericsnowdavecheney: on that note, I'm going to bed :)05:09
axwwallyworld: argh :(  can't make that change, at least not the way things currently are. for a filesystem-kind storage backed by a volume, it wouldn't be enough to watch a volume attachment06:10
axwsince it is affected by block devices also06:10
axw(that's where filesystem information comes from)06:10
wallyworldah yeah, doh06:10
wallyworldaxw: i've proposed the default block provider stuff http://reviews.vapour.ws/r/1024/, gotta go do pickup so no hurry06:12
axwwallyworld: ok, thanks06:12
=== Murali_ is now known as Murali
axwwallyworld: I'm investigating a small-ish model change which I think will simplify things; being adding an optional VolumeTag to Filesystem, identifying the volume that backs the filesystem07:32
dimiternhmm cursed but not blocked?07:32
dimiternmorning07:33
axwmorning dimitern07:33
axwwallyworld: so IOW, there will be a Filesystem for filesystem-kind storage, regardless of whether it's first-class07:34
axwif it's not, that storage will have both a Volume and a Filesystem07:34
=== Murali_ is now known as Murali
TheMuemorning08:06
TheMuedimitern: did a test from 1.22 fail on your system? I took 1.21.3.08:09
dimiternTheMue, I should've said 1.21.3, not 1.2208:09
dimiternTheMue, morning :)08:09
TheMuedimitern: o/08:10
dimiternTheMue, so the upgrade did work?08:10
TheMuedimitern: yep. only message in log has been by the metering08:10
dimiternTheMue, great! I just wanted to double check08:11
TheMuedimitern: and I've just seen that the CI is unblocked now, fine08:11
TheMuedimitern: did you know http://juju.fail?08:11
dimiternTheMue, yes :) I've heard about it, but have forgotten - will bookmark it now :)08:12
TheMuedimitern: yes, I've bookmarked it too. better than all those $$please-let-me-in-now$$08:13
dimiternTheMue, for sure :)08:14
TheMuedimitern: the bug I'm on now need a bit more for understanding. missing knowledge about juju-deployer08:16
=== Murali_ is now known as Murali
dimiternTheMue, juju-deployer is irrelevant for the fix itself08:17
bodie_coreycb, Actions are now out from behind the feature flag in trunk08:17
dimiternTheMue, I've explained in the email - we need to make sure Ports and PortRanges fields on UnitInfo in the megawatcher are never set to nil but empty slices instead08:18
TheMuedimitern: yes, seen it. it's only to get a better feeling for the situation which leaded to this error and maybe reproduce it08:19
dimiternTheMue, you can test it using juju-gui and the ubuntu charm in a local env, as described in the steps08:21
dimiternTheMue, and looking at the machine-0.log at TRACE level for "Deltas" (which is part of the changes reported by the AllWatcher)08:22
TheMueok08:23
dimiternTheMue, read through it and try it out, if still unclear - let's chat on the standup08:24
TheMuedimitern: yep, will do08:24
dimiternTheMue, cheers - and please add a card for it and move your other one once merged08:24
dimitern(but edit it a bit to reflect what you did in state - it's not a sub-package change as it says)08:25
TheMuedimitern: cards are created/changed, only waiting for merging now08:31
dimiternTheMue, +1, cool08:32
Muntanergood morning o/09:42
Muntanerguys, I'm using Juju with my laptop on a cloud private OpenStack server. Another laptop now wants to bootstrap the same environment: is this possible?09:46
Muntanersolved :)10:18
voidspacedimitern: http://reviews.vapour.ws/r/1025/10:28
dimiternvoidspace, LGTM10:36
voidspacedimitern: great :-)10:36
voidspacedimitern: although it looks like we're blocked at the moment10:38
dimiternvoidspace, really? I can't see any blockers10:38
dimiternhmm topic needs updating10:38
=== ChanServ changed the topic of #juju-dev to: https://juju.ubuntu.com | On-call reviewer: see calendar | Open critical bugs: none
dimiternvoidspace, http://juju.fail/ - all green10:39
TheMuevoidspace: dimitern: I added a review too, only regarding the logging format10:43
* TheMue is OCR today ;)10:44
dimiternTheMue, thanks, I've replied10:48
TheMuedimitern: ah, ok, misinterpreted the output. thanks10:49
dimiternTheMue, np  :)10:49
voidspaceyeah, I think the (...) format to distinguish method calls is good10:49
TheMuevoidspace: yes, reading it this way sounds logical in traces10:51
voidspaceTheMue: cool, thanks for looking at the PR10:51
TheMueyw10:51
voidspacedimitern: you should close your old review (and PR probably)10:53
dimiternvoidspace, will do, cheers10:59
dimiternTheMue, as OCR have a look at this please http://reviews.vapour.ws/r/1026/10:59
* TheMue looks ;)10:59
natefinchahh my god, my country for a relational DB11:08
natefinchyes, let's duplicate the same information in 20 places, that sounds like a fantastic idea11:09
TheMuedimitern: you've got a review11:11
dimiternTheMue, tyvm11:11
TheMuenatefinch: morning natefinch11:11
natefinchgood morning :)11:11
TheMuenatefinch: some wishes for a new persistency layer? ;)11:12
natefinchTheMue: honestly, I think if we just didn't duplicate data in our current one, it would be a lot better.  As it is, I'm surprised we don't have more problems with inconsistencies11:12
natefinchfor example, in our list of machines, we say what jobs each machine has... cool, ok... but then we also have a separate list in the stateServers collection of which machines are state servers.... why don't we just calculate that from the machines that have JobManageEnviron?11:14
TheMuee.g. always available in a view, or even a materialized view11:15
TheMue*sigh*11:16
dimiterndooferlad, LGTM on http://reviews.vapour.ws/r/1010/ - thanks!11:27
dooferladdimitern: thanks!11:27
hazmatjust got a jujuclient bug that looks like a serious core issue imo..  allwatcher blows up in the middle of consuming the event stream.. bug 142566911:50
mupBug #1425669: AllWatcher next internal failure for previously removed service. <canonical-bootstack> <is> <juju-core:New> <python-jujuclient:New> <https://launchpad.net/bugs/1425669>11:50
natefinchhazmat: reading the bug,  I can't really tell what the repro steps are... it looks like "deploy a (subordinate) service, destroy the service" ... then what?11:54
hazmatnatefinch: then do an allwatcher and consume11:56
hazmats/consume/next on the allwatcher11:56
Muntanerguys12:00
MuntanerI'm writing my first charm12:00
Muntanerand have some questions12:00
wallyworldaxw: i think it makes sense to model a volume backed filesystem using a volume tag attr, since ten as you say, there will always be a FileSystem object for filesystem storages. we can model it and see how it evolves12:03
dimiternhazmat, I've commented on that bug to ask for clarification12:05
dimiternhazmat, is the failure that Next returns an error or that the changes it returned have errors in them?12:05
hazmatdimitern: next returns error12:05
hazmatdimitern: that EnvError exception only triggers if the Error flag is set in the response, else its an app exception12:06
hazmatdimitern: natefinch: unrelated, but similiar to an end user.. i've also seen issues where the subordinates services are not in the watches as well bug 142131512:07
mupBug #1421315: subordinate service not appearing in watch output <oil> <juju-core:Triaged> <juju-deployer:Triaged by hazmat> <https://launchpad.net/bugs/1421315>12:07
dimiternhazmat, subordinates won't appear unless there's a relation to their principal12:07
hazmatnoted12:08
hazmatdimitern:  so a definied service won't appear in the watch output?12:09
hazmatdimitern: thats a regression btw12:09
hazmat0 units, but service def should be in  results returned in the watch12:10
dimiternhazmat, a subordinate service AIUI it's not really defined until there's a relation to a principal12:11
dimiternhazmat, I have to double check though12:12
hazmatdimitern: of course it is12:12
hazmatdimitern: it has state12:13
hazmatits a service with no units, there are is subordinate checks on add-unit/remove-unit12:13
dimiternhazmat, ok, that's correct yes12:14
dimiternhazmat, no units, but the subordinate service exists12:14
hazmatanyways.. the point is more that a change in behavior on the watch here (if thats what is) is a serious regression.. but of course it could just be a bug.12:14
dimiternhazmat, I'm looking into that Next() issue now with AllWatcher12:15
dimiternwe *really* need tests for the AllWatcher in core12:15
dimiterndooferlad, the trunk port of the fix for bug 1415961 becomes more important with the failing maas ci jobs12:35
mupBug #1415961: juju gives up on bootstrapping with 'bootstrap instance started but did not change to Deployed state' <bootstrap> <maas-provider> <oil> <juju-core:Triaged by dooferlad> <juju-core 1.22:Fix Released by wallyworld> <https://launchpad.net/bugs/1415961>12:35
rick_h_dimitern: as things like the gui rely on the allwatcher to know when services are added/etc a subordinate with no units should still go across the watcher so we can show it and allow a GUI user to relate it to an existing service in the environment. Just my .02 as a consumer of things.12:36
rick_h_morning and all that as /me looks at scrollback12:36
dimiternrick_h_, morning, and yes - I agree; I've narrowed down a few possible places that could be causing this12:37
dooferladdimitern: On it now.12:37
dimiterndooferlad, thanks!12:37
rick_h_dimitern: ty, adding my feedback to the bug and let me know if there's anything we can do to help.12:37
dimiternrick_h_, cheers; it will be useful to know how far back this issue goes - is it a 1.22 and 1.23 (or just the latter), is it older12:38
rick_h_dimitern: hmm, do you all have a good pattern for git bisecting things now that juju is in git and such?12:38
dimiternrick_h_, not that I know of12:39
dimiternTheMue, hey, I'm 99% sure now the bug you're working on is caused by state/megawatcher.go:116 (since the unit is not yet assigned)12:41
dimiternTheMue, however, since you're on it anyway, the original fix I proposed will still fix that and possibly other cases where the slices can be nil12:43
perrito666ericsnow: ping12:45
TheMuegreat, will look at it. just came back from lunch and now reviewing an other PR12:45
dimiternTheMue, thanks12:47
dooferladTheMue: One for your review queue http://reviews.vapour.ws/r/1028/ :-)13:17
TheMuedooferlad: *click*13:17
TheMuedooferlad: where do I find those 600s?13:20
coreycbbodie_, awesome, thanks13:24
dooferladTheMue: I just ported this to trunk, didn't actually check the original commit messages!13:33
TheMuedimitern: so in case we've got this IsNotAssigned, we return no error. should we then retry until we get them or we've got a timeout?13:48
dimiternTheMue, no, we can't retry there - we're being called inside the multiwatcher loop13:49
dimiternTheMue, however, when we get NotAssignedError, it's ok to return []network.PortRange{}, []network.Port{}, nil13:50
TheMuedimitern: ah, fine, this would have been my solution otherwise to avoid those nils ;)13:51
dimiternTheMue, the watcher will call us again if the unit gets assigned, but we don't know when (or if)13:53
TheMuedimitern: we cannot know exactly when, but if in case of an assignment should be clear, shouldn't it?13:54
dimiternTheMue, yes :) I meant "when or even if ever"13:55
TheMue;)13:55
dimiternTheMue, also, as I was just investigating the possible cause for bug 142566913:57
mupBug #1425669: AllWatcher next internal failure for previously removed service. <canonical-bootstack> <is> <juju-core:New> <python-jujuclient:New> <https://launchpad.net/bugs/1425669>13:57
TheMuedimitern: of 1.20?13:58
dimiternTheMue, what?13:58
TheMuedimitern: only seen versions: juju-core 1.20.1413:58
dimiternTheMue, my point was - can you add to your fix a couple of checks right after we call st.Unit(name) and to do the right thing if it returns NotFoundError - there are only 2 places in state/megawatcher.go -  line 107 and 18713:59
dimiternTheMue, ah, that's where they're seeing this13:59
dimiternTheMue, so about those checks - if errors.IsNotError(err) { return "", "", nil } in getUnitAddresses, and the same as above for getUnitPortRangesAndPorts - two empty slices and nil error14:01
TheMuedimitern: ok, will add it there14:03
dimiternTheMue, thanks14:04
TheMuedimitern: got to thank you for your investigation14:04
dimiternTheMue, np, I'm on the watch for new blockers hehe14:05
TheMuedimitern: *bg*14:05
jw4trivial fmt string fix: http://reviews.vapour.ws/r/1029/ PTAL14:24
dimiternjw4, this is already fixed14:25
jw4dimitern, cool, tx - I didn't see it in the lastest master... must still be merging14:26
dimiternjw4, ah, sorry I might be wrong14:27
hazmatdimitern: what about  1425669 is it incomplete? the client interaction api calls are known .. unless your asking for all api calls ever against that env.14:28
dimiternjw4, indeed - there was a similar % instead of %v in allocate address14:29
dimiternjw4, LGTM then14:29
jw4dimitern, ta14:29
dimiternhazmat, I'm asking for more logs14:29
hazmatk14:30
perrito666natefinch: brt14:30
dimiternhazmat, it's not obvious what led to that issue, so it's important to be able to follow the API calls through the logs14:32
dimiternhazmat, since we don't even have the juju status output or more than a few words describing the deployment14:33
rick_h_dimitern: jrwren is working on checking the subordinate thing againts the versions of juju and should have notes back shortly14:44
rick_h_dimitern: just fyi14:45
beisnerhi all.  in test driving juju/devel, i'm still getting beta3 tools.  (WARNING failed to find 1.22-beta4 tools, will attempt to use 1.22-beta3)   why is that?14:45
mgzbeisner: can you look at the simplestreams junk, add --debug and retry14:48
beisnermgz, yep will do, thx14:48
dimiternrick_h_, awesome, tyvm14:56
Muntanerhi developers o/14:57
MuntanerI'm writing my first charm and wanted to ask some questions14:57
MuntanerI have a web application that needs apache2 and mysql15:03
MuntanerWhen it's prompted the first time, in wordpress style, there is a web page installation15:04
Muntanerand it asks me the mysql server ip15:04
Muntanerhow should I integrate this with the existing charms?15:04
Muntanershould I install mysql and apache2 "inside" my web application charm?15:05
Muntaner(dunno if I explained myself)15:08
dimiternMuntaner, hey, for charm questions, #juju is a better place to ask << lazyPower, mbruzek, marcoceppi, jcastro, can any of you guys help here? ^^15:15
jcastroyeah sure, come on over to #juju!15:15
Muntanerok dimitern so, sorry :)15:15
mattywdimitern, ping?15:17
dimiternMuntaner, no worries at all :)15:20
dimiternmattyw, hey15:20
jrwrenbeisner: you get anywhere looking for 1.22-beta4 tools?15:21
jrwrendimitern: I can't repro this subordinate allwatcher issue with juju 1.21.3 or 1.22-beta3. I do not have a good way to test any other versions.15:22
dimiternjrwren, ok, thanks for the update - will you comment on the bug as well please?15:23
jrwrendimitern: yes.15:23
beisnerjrwren, mgz - fyi debugging sstreams on serverstack.   it seems juju is trying to query a "index2.sjson" which is the current mystery.  http://paste.ubuntu.com/10449788/15:23
dimiternjrwren, cheers15:23
beisneras that initial query url doesn't match what is defined in keystone catalog (where we expect juju to first ask)15:23
jrwrenbeisner: ah, private cloud, a bit different than I'm trying. I just happened to get the same issue when I wanted to test something with 1.22-beta415:24
beisnerjrwren, it could be that our private stuff is all fine, and that that the beta4 tools really are awol, but i don't know how to confirm that.15:25
ericsnowsinzui: when will we have a milestone in lp for 1.24?15:25
sinzuiericsnow, I can create one now15:27
ericsnowsinzui: thanks!15:27
sinzuiericsnow, reload to see the milestone15:29
ericsnowsinzui: perfect!15:30
ericsnowcmars: could you give me a review on http://reviews.vapour.ws/r/1002/?15:38
ericsnowcmars: http://reviews.vapour.ws/r/983/ could you some extra eyes too if you can :)15:39
ericsnowfrankban: ^^^ I suppose my plea applies to you too :)15:40
cmarsericsnow, will do, currently in standup15:40
ericsnowcmars: thanks!15:40
frankbanericsnow: I think I am missing some context15:40
ericsnowfrankban: on the patches or on my request?15:41
ericsnowfrankban: the patches will add systemd support to juju15:42
frankbanericsnow: on everything, I was offline I guess15:42
ericsnowfrankban: the request is because you are OCR :)15:42
ericsnowfrankban: ah15:42
ericsnowfrankban: I was asking for a review of http://reviews.vapour.ws/r/1002/ and http://reviews.vapour.ws/r/983/15:43
frankbanericsnow: I am not aware of being a juju-core reviewer15:43
ericsnowfrankban: oops, wrong Frank ;P15:45
frankbanericsnow: np ;-)15:45
ericsnowTheMue: ^^^15:45
TheMueericsnow: lokking15:46
ericsnowTheMue: thanks!15:46
sinzuidimitern, the i386 test suite will be reported as a failure in the next hour. There are errors in logs, but the test didn't get all its retries because of aws didn't provide instances. I elected to let us start testing new revision then wait 2 more for 38615:56
dimiternsinzui, ok, my fix that disables flaky tests (and the new ppc64 build failure) has landed15:58
TheMueericsnow: in #1002, do you have the same troubles with dependencies.tsv as me in the last change?15:59
ericsnowericsnow: I didn't have any trouble updating it, if that's what you mean15:59
ericsnowTheMue: ^^^15:59
ericsnowTheMue: though reviewboard is having some kind of trouble16:00
TheMueericsnow: take a look at the review board in the diff from 3 to 416:00
ericsnowTheMue: you mean between 2 and 3?16:02
TheMueericsnow: oh, there already, yes. I started from the end. ;)16:03
ericsnowThe it's just showing up because I rebased :)16:03
cmarsericsnow, looking at 1002 now. weird error in reviewboard on the dependencies.tsv, is that due to a conflict?16:03
sinzuidimitern, your new revisions just started testing16:04
dimiternsinzui, great! I'll check the progress16:05
ericsnowcmars: the patch doesn't touch dependencies.tsv (it shows up due to a rebase)16:05
ericsnowcmars, TheMue: actually that's not true16:06
ericsnowI pulled in the latest testing repo16:06
TheMueericsnow: #983 has a similar problem16:07
ericsnowTheMue: weird, I'll fix that16:08
TheMueericsnow: thx16:08
ericsnowTheMue: (983 adds a dep on the go systemd bindings)16:08
ericsnowTheMue: glad you noticed that16:09
TheMue:)16:09
cmarsericsnow, there's also an error displaying service/common/common.go in 1002 (on page 2)16:11
ericsnowcmars: notice on the right of the file list that it says "deleted" :)16:12
cmarsericsnow, oh yeah, up at the top. ok16:13
cmarsweird16:13
ericsnowcmars: reviewboard isn't super helpful on that16:13
alexisbvoidspace, have you met your son yet?16:17
voidspaceoops, wrong channel16:18
voidspacealexisb: not yet16:18
voidspacestill waiting16:18
* ericsnow was just wondering that too16:21
beisnermgz, jrwren -  interesting, even when i set     tools-metadata-url: https://streams.canonical.com/tools  i still get "failed to find 1.22-beta4 tools, will attempt to use 1.22-beta3"16:22
jrwrenbeisner: right. that is what I was using.16:23
beisnerbut local provider bootstrap builds and uploads tools ok of course16:24
jrwrenbeisner: hrm... really?!?!16:24
mgzbeisner: you ahve the right devel setting in your envrionments.yaml yeah? (just checking the obvious)16:24
beisneryep just install devel on my home laptop.16:25
beisnermgz yep, on the private cloud enviro:  http://paste.ubuntu.com/10450285/    have tried with and without  tools-metadata-url: https://streams.canonical.com/tools16:25
beisnerahh but i can --upload-tools to beta4 ok on the private cloud16:28
mgzbeisner: I can't see anything obviously wrong with the streams, did you pastebin a failing bootstrap with --debug set?16:32
beisnermgz, debug:  http://paste.ubuntu.com/10449788/16:35
beisnermgz, it seems juju is trying to query a "index2.sjson" which is the current mystery.   not sure where juju is getting that url.  keystone catalog doesn't show it afaict.16:35
beisnermgz, L33 is where we expect juju to ask.   http://paste.ubuntu.com/10449937/16:36
perrito666is any of you running a vmaas?16:51
mbruzekjog: I see the tests PASSed for kubernetes http://reports.vapour.ws/charm-tests-by-charm/kubernetes .16:53
mbruzekThanks for your help jog.16:53
mbruzekjog, or abentley It looks like the HP tests passed as well, but they do not show up in the results.  http://juju-ci.vapour.ws:8080/job/charm-bundle-test-hp/49/console  Do either of you know why?16:54
abentleymbruzek: otp16:54
mbruzekabentley: ack.16:55
mbruzekI see the upload to s3 succeeded.  My understanding is if that step fails no report, so I am confused what is going on.16:55
mbruzekping me when available16:56
dimiternperrito666, I am16:58
perrito6662 things 1) requirements in terms of hardware? 2) have a script to create it? :p16:58
katcodimitern: hey just to let you know, i ran into a ton of issues with goamz's v4 signing support, and this is what's been taking a long time16:59
katcodimitern: i'm planning on working until it's complete, but i wanted to let you know.17:00
dimiternkatco, ok, do you intend to land it today?17:00
katcodimitern: if i can, yes. it's my primary focus.17:00
katcodimitern: would you mind sending me an email or something regarding the changes we need to forward-port?17:00
katcodimitern: that way if you're not around i can start on that?17:01
dimiternperrito666, so I'm running vmaas on my laptop, so you'll need lots of RAM (1 GB preferred for the cluster controller kvm - the kvm 4  VMs  I have commissioned use 512 MB only), SSD is helpful as well,17:02
dimiternkatco, ok, I'm making a note to do that17:02
=== urulama is now known as urulama___
dimiternperrito666, as for a script I don't think so - however dooferlad recently installed one and used some scripts to automate adding vms17:03
katcodimitern: ty17:03
perrito666dimitern: I have a laptop with 8G which I use only for that (i work in another)17:04
dimiternperrito666, it should work fine - if it's not using a really old CPU17:04
perrito666dimitern: mmm its an i5 2xxx I wonder what you call old17:05
dooferladperrito666: that will be fine.17:05
* perrito666 debates if he should not go buy a cheap desktop for this17:05
ericsnowTheMue, cmars: Thanks for the reviews.17:06
dooferladperrito666: as long as you have virtualisation support, which that CPU does, you can use KVM and run a few VMs.17:06
TheMueericsnow: yw, still have #1002 open while fighting with own troubles in parallel17:07
ericsnowTheMue: no worries17:07
perrito666dimitern: tx, In fact I do run a windows vm there for windows tests with kvm17:07
dimiternperrito666, that's fine - mine is actually a puny i3 M 35017:08
ericsnowTheMue, cmars: note that davecheney's ship-it on rb #983 was inadvertent17:23
perrito666oh spock died17:23
TheMueericsnow: yep, seen his later comment17:23
perrito666:(17:23
TheMueperrito666: what? haven't seen. :'(17:24
perrito666TheMue: just  learned, very sad moment... I clearly am a nerd17:24
TheMueperrito666: he has been part of my youth *sigh*17:25
* perrito666 announces a star trek marathon to his whife and gets an "are you insane?" look17:28
TheMueperrito666: hehe, you'll need some time for it, indeed17:29
dooferladdimitern: my goodness, that took a lot of test prodding!17:42
dimiterndooferlad, what did?17:43
dimiterndooferlad, ah, yeah :/17:43
dooferladdimitern: that change that you just updated the bug on17:43
dimiterndooferlad, I'm thinking of proposing a PR to skip TestAddRemoveSet and TestConfigEvents17:43
dimiternsinzui, what do you think? ^^17:44
dooferladdimitern: I certainly would like to see the replicaset tests run faster. At least one of those fails was EC2 losing its Ubuntu archive mirror though, so updating the test script to retry the apt-get steps would help in that case17:47
sinzuidimitern, I know the first is unreliable and if You believe  it is not trusty worthy, then please skip it.17:47
dimiterndooferlad, actually juju should be doing the retry - we retry apt-get install but not apt-get update or upgrade17:49
sinzuidimitern, in general if the test cannot be trusted, it isn't worthy of failing the entire test suite. I don't think tests can print warning to the log though17:49
mgzdimitern: I would not mind TestAddRemoveSet dying17:49
dimiterndooferlad, sinzui even has failure cause for that17:50
jogmbruzek, I just got out of a meeting, I'll have a look at the charm reporting17:50
mbruzekjog thank you17:50
dimiternsinzui, mgz, I'm not saying we should forget about fixing them, but skipping them temporarily (under a high tech dept bug) will definitely speed up merges17:50
mbruzekjog I saw the hp one pass17:50
dooferladdimitern: I am talking about this script, lines 140 - 143 http://bazaar.launchpad.net/~juju-qa/juju-ci-tools/trunk/view/head:/run-unit-tests17:51
dooferladdimitern: that has no retry that I can see17:51
sinzuidooferlad, we can fix that in a few minutes17:53
sinzuiand 141 too17:53
sinzuidooferlad, also note the call to $FIXUP_SOURCES which switch to true ubuntu archives which are much more reliable than cloud mirrors17:54
sinzuidooferlad, I think I can have the reties in place in 1 hours17:55
dooferladsinzui: I can submit a patch if you want17:55
sinzuiyou sure can, just using OR "|" will suffice17:56
dimiterndooferlad, I know what you're talking about :) but in all fairness failing on apt-get update is a juju issue, not a CI job one17:56
dooferladsinzui: http://juju-ci.vapour.ws:8080/job/github-merge-juju/2318/console isn't using archive.ubuntu.com. Looks like we don't use --force-archive, though looking at the sed command, it would break the job completely (I think).18:00
sinzuidooferlad, ah...18:00
sinzuidooferlad, I will fix now18:00
ericsnowalexisb: ping18:01
dooferladdimitern: The failure I an talking about is pre-juju in the test. EC2 dropped a net connection while we were setting up the VM.18:01
sinzuidooferlad, retry18:01
sinzuidooferlad, mgz, I know that git-merge-juju once used --force-archive I think we dropped it by accident18:02
dooferladsinzui: Oh, that change has landed now. It just took three attempts.18:02
alexisbericsnow, omw18:02
ericsnowalexisb: k18:02
dimiterndooferlad, oh, good catch then, my bad :)18:02
dooferladsinzui: don't enable --force-archive with "sudo sed s/ec2.archive.ubuntu.com/archive.ubuntu.com/ /etc/apt/sources.list -i" in the script. The EC2 mirror could be http://us-east-1.ec2.archive.ubuntu.com/ubuntu/, which would result in us-east.archive.ubuntu.com...18:04
mgzsinzui: I don't remember any reason not to have --force-archive18:04
dooferladmgz ^^18:04
mgzwe can fix the sed if we want the effect of always using archive.ubuntu.com18:05
dooferladindeed. We just need to not just enable the flag :-)18:05
sinzuimgz, maybe we do want to do that. No cloud has proven to have mirrors as reliable as ubuntu18:06
sinzuidooferlad, retying the update and upgrade is also a good addition18:07
dooferladI think sed s/http:\\/\\/.*.archive.ubuntu.com/http:\\/\\/archive.ubuntu.com/ /etc/apt/sources.list is what we want.18:09
dooferladso many backslashes18:09
dooferladIn fact, more backslashes are probably good: sed s/http:\\/\\/\\.*.archive\\.ubuntu\\.com/http:\\/\\/archive.ubuntu.com/ /etc/apt/sources.list :-)18:13
sinzuidooferlad, sed can use commas as delimiters. s,bad,good,g18:15
sinzuiI don't use / since I work with urls all the time18:15
dooferladsinzui: ah, I tend to avoid sed completely myself. Good tip!18:15
sinzuidooferlad, yeah, and avoiding sed is a plus. mgz and I want to switch to python. we have something that runs the test, but not provision the instance18:16
dooferladsinzui: sounds like a good plan18:17
mgzone of those jobs we'll get to at a sprint or something18:17
perrito666dooferlad: dimitern says you have some scripts to help automate vmaas?18:29
dooferladperrito666: yep, just installing nodes. PM me your email address and i will forward the instructions18:30
ericsnowcmars: thanks for the reviews; I've addressed nearly all your comments19:19
ericsnowTheMue: you EOD?  regardless, thanks for the review :)19:26
perrito666dooferlad: did you have issues with the vnc display after installing maas?20:10
dimiternperrito666, what issues?20:35
dimiternnatefinch, cmars, can I get a review on this please? http://reviews.vapour.ws/r/1031/ - this is the penultimate step towards landing container addressability20:36
cmarsdimitern, taking a look20:36
jw4dimitern: do folks use the word penultimate in casual conversation where you live?20:37
dimiternjw4, no20:38
dimitern:)20:38
jw4:)20:38
perrito666dimitern: well vnc shows a black screen with a couple of white garbage dots at the top20:38
dimiternjw4, but I like it as it's shorter than "second to last" or something20:38
perrito666dimitern: I use ssh, but still20:38
jw4dimitern: +120:38
dimiternperrito666, why vnc? can't you use the virt-manager's vm consoles?20:39
dimiterncmars, cheers20:39
perrito666dimitern: my virt manager uses vnc by default, I changed it to use another one next reboot20:39
dimiternperrito666, ha! mine uses vnc as well - now that I've actually checked :)20:40
perrito666dimitern: lol20:40
dimiternperrito666, is that the maas server vm or one of the maas vm nodes?20:41
perrito666the maas server vm20:42
perrito666still not have nodes :=20:42
perrito666:)20:42
perrito666aghh wrong kb distribution20:42
dimiternperrito666, right, so you've installed it - that's the first boot after?20:43
perrito666dimitern: yup20:44
natefinchman, I wish reviewboard would show me the changes in the area where a comment was resolved, so I can see *how* the comment was resolved.20:48
=== rogpeppe is now known as rogpeppe1
ericsnowcmars: you made some good points in your reviews (thanks!)20:52
cmarsericsnow, sure20:55
natefinchericsnow: you have a ship it on GCE21:00
ericsnownatefinch: thanks!21:00
* natefinch goes back to doing terrible things to the HA code21:05
katcoericsnow: wwitzel3: grats on all the hard work on GCE21:31
ericsnowkatco: thanks!21:31
natefinch^^ x10021:31
ericsnowkatco: I'm happy with where it ended up21:31
katcothat's awesome :)21:31
ericsnowkatco: perhaps the largest patch I may ever land in my life :)21:31
katcoericsnow: lol21:32
perrito666natefinch: remember you hve to do terrible things to hr too :p21:32
natefinchericsnow: oh, I don't know, you can do better ;)21:32
ericsnownatefinch: don't push me!21:32
perrito666dooferlad: wheneer you are around I found a couple of bugs :p but nothing big, your script is useful21:47
dimiternkatco, ping21:48
katcodimitern: pong!21:49
dimiternkatco, hey, before I go, have a look at this https://github.com/go-amz/amz/compare/v2...v3-unstable21:50
katcodimitern: all looks fairly mechanical21:51
katcodimitern: i didn't realize the putwithheaders was a forward-port. my pr has that as well, so that's good :)21:51
dimiternkatco, so it turns out the changes are very few - s3/s3.go, s3/s3_test.go, ec2/ec2t_test (one sort.Strings added), README.md (you might leave this), and AUTHORS.md21:51
katcodimitern: yeah21:52
dimiternkatco, yeah - that's all apart from the import paths and travis CI script config, eg.21:52
dimiternkatco, for easy migration of the import paths check rogpeppe's govers tool - really cool21:53
katcodimitern: it's looking like i'll probably be able to propose this a little after my EoD (fingers crossed). will you be able to look at it any time this weekend (sorry)21:53
dimiternkatco, ok, I'll have a look at some point, np21:53
dimiternkatco, but I need to get going now21:53
natefinchericsnow: looks like there's something missing for one of the tests for providerRegistrySuite.TestSupportedEnvironCommonProviders21:53
dimiternkatco, I'm sure you'll take care of it nicely :)21:53
katcodimitern: ok, i'll be checking in. i'll try and land it into juju this weekend21:53
katcodimitern: i hope so, but gosh it could use another pair of eyes :)21:54
dimiternkatco, sweet! no worries21:54
katcodimitern: ty for all of your hard work/overtime21:54
dimiternkatco, np, we're all in the same boat after all :)21:55
ericsnownatefinch: (╯°□°)╯︵ ┻━┻21:55
katcodimitern: that we are! heave! ho! :p21:55
dimitern;) happy weekends y'all21:55
katcodimitern: tc21:55
marcoceppiperrito666: you around, we're having fun with windows!22:36
perrito666marcoceppi: did I miss the fun?23:04
jw4perrito666 sounds hopeful23:04
perrito666marcoceppi: I am about to vanish unless you tell me not to23:08
marcoceppiperrito666: got like 5 mins to hangout?23:09
lazyPowerperrito666: did you deploy the drupal6 charm during testing or just the nova-hyperv charm?23:09
perrito666sure, pass the url23:09
lazyPoweroh, if you join the hangout - i'll hit you up there :D23:09
marcoceppiperrito666: see pm23:09
lazyPowerlots of juju core questions and whats been tested questions23:09
perrito666marcoceppi: trying to get in23:12
marcoceppiperrito666: we'll sync with you on Monday, nothing vital for today anymore23:14
perrito666marcoceppi: Ill reboot the computer23:15
perrito666and get in, no trouble23:15
=== lazyPower is now known as lp|away

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