[00:09] wallyworld: ok, will fixup the er's .. I can probably do it as two branches, I will look in to that. As for the results, I already define a params.go to hold the result, so I can just store the value that I am marshalling in there instead of manually marshalling it and the RPC layer will do that for me? [00:10] wwitzel3: i believe so yes [00:11] the gui makes other api calls which just return the structs [00:12] wwitzel3: don't waste time on 2 branches if it's too difficult to split out. bigger branches can be harder to land though since one bit might be ok but other bits may need fixes and the ok bit can't land separately [00:14] wwitzel3: also, don't forget to add SupportedArchitectures to the results [00:14] wallyworld: I actually removed it, since it is send along with each instanceType [00:14] sent [00:14] we also need to handle that some providers can not supply InstanceTypes but do have SupportedAchitectures etc [00:15] oh, let me look [00:16] wwitzel3: i think we need supported arches as an explicit field since otherwise the caller will have to iterate over the instance types and pull out the arches, also not all providers will suport returning instance types but will be able to supply supported arches [00:16] wallyworld: which ones? I didn't see that, it is easy to re-add them as their own top level key in the map [00:17] manual provider for example [00:17] maas also [00:18] the supported arches value will be used to guide the user in creating vlid constraints with arch=blah [00:18] ahh ok [00:18] should I still include it with the instanceType data? [00:18] no, it is a separate concept [00:18] each provider has a SupportedArchitecures() api [00:19] wallyworld: right, I just notice that InstanceType had an Arches field and it was the same type as the return value of SupportedArchitectures() [00:20] wwitzel3: yes, that's right. for ec2 (only i think), instances can run on i386 or amd64. i think for all other providers instance types run on one arch [00:20] so we record for individual instance types what arch(es) that instance type can run on [00:21] wallyworld: ok, so that needs to be specific to the instance, not the provider level SupportedArchitectures() [00:21] no, it's at the provider level [00:22] the supported rches for the provider comes from reading the simplestreams image metadata [00:22] and adding together all the arches listed [00:23] so that the system can disallow arch=foo constraints for arches for which there is no available image [00:23] wallyworld: right and that is different than the supported arches for an instance [00:23] wwitzel3: yes, so when an image is chosen, it needs to be matched up with an instance type and the arches also need to match there too [00:24] wallyworld: right, so really what I am doing now in the API InstanceType.Arches = provider.SupportedArchiectures() is wrong, I need to move supported up to its own field and only populate Arches from the specific provider instance/package/flavor response [00:24] wallyworld: found one leak [00:24] wwitzel3: so when the user says mem=64G arch=i386, the matching finds an i386 image from simplestreams and then looks at all the instance types which can provid 64G which can run on i386 [00:25] wwitzel3: you don't really need all the instance type data - just the valid names [00:25] wwitzel3: the gui only cares about knowing what instance type names are valid [00:25] wallyworld: oh, ok, so I'll just drop it from the results then and move supportedArchiectures up to its own field [00:26] i guess we could return all the instance type data [00:26] not just the names [00:26] but names is all that's needed for now [00:26] and regardless, yes, we do need supported aches as top level field [00:26] wallyworld: sounds good [00:27] wwitzel3: since we have api versioning, let's start with just names, and add stuff later if needed [00:27] wallyworld: also if you have any suggestions of where I should look to create a proper testing env to exercise this code that would be helpful. [00:27] maybe not... [00:27] geez [00:27] wallyworld: well I already have all the other stuff in there, but I can remove it if you prefer [00:27] wwitzel3: i'm wary of yagni [00:28] and the extra testing, maintenance etc for stuff thats not used [00:28] wwitzel3: which bit specifically do you need help testing? the client calls? [00:28] thumper: be with you in a sec [00:29] wallyworld: yes, starting from state/api .. the env I am creating is throwing nil pointer exceptions because it doesn't have the InstanceTypes method or AvailabilityZones methods .. but I've added them to the dummy provider .. [00:30] wwitzel3: i normally add an assertion that a struct implements an interface so i get a compile time error if i haven't got the right methods eg var _ environs.EnvironProvider = (*environProvider)(nil) [00:30] wallyworld: https://github.com/wwitzel3/juju/commit/e1598a5300cd20c4c23c02e09952d1b6136fdad3 here is my broken test if that helps [00:31] the above says that the environProvider struct implements the EnvironProvider interface [00:31] and it won't compile if it doesn't [00:31] we have a bunch of those in the various providers [00:31] wallyworld: ok [00:31] since there's several interfaces that can be implemented [00:32] wwitzel3: dummy provider has these already [00:32] var _ imagemetadata.SupportsCustomSources = (*environ)(nil) [00:32] var _ tools.SupportsCustomSources = (*environ)(nil) [00:32] var _ environs.Environ = (*environ)(nil) [00:33] i can't see trivially what's wrong with your implementation [00:33] wallyworld: ok, thanks, I'll keep poking at it [00:34] wwitzel3: thank you. let me know how you go [00:45] wallyworld: your tip help, added common.EnvironCapabilities like you mentioned and it revealed that the dummy provider wasn't properly implementing the interface [00:45] cool :-) [00:45] wallyworld: I guess now I actually have to write some tests that assert something useful [00:45] bugger :P [00:45] lol yeah [00:46] wallyworld: chat when you have a minute [00:46] thumper: sure, 2 mins [00:51] https://github.com/juju/juju/pull/195 [00:51] i am blocked on this review [00:52] wallyworld: https://github.com/juju/juju/pull/201 [00:52] thumper: https://plus.google.com/hangouts/_/canonical.com/tanzanite-daily [01:05] wallyworld: gonna spend some time today looking into test failures [01:06] clearly something is very broken [01:06] axw: hey, yes please, i was going to ask you to do that. thumper already has one fix landing https://github.com/juju/juju/pull/201 [01:06] cool [01:06] axw: I'm just testing that precise upgrades fix now [01:07] menn0: cool, thanks [01:18] grr, version package [01:28] axw: also, don't forget to backport stuff to the 1.20 branch eg i think the ssh timeout fix was proposed for master only [01:30] wallyworld: should i move version.SeriesVersion so it is only visible when compiled on linux ? [01:30] wallyworld: I've been waiting for them to merge into master first. I guess I'd better do it now before I forget [01:30] axw: np :-) [01:31] davecheney: it's needed on other clients too [01:31] to set up ubuntu workloads using custom image metadata [01:31] wallyworld: that is a problem [01:31] how can I run it on osx ? [01:31] fuckit [01:31] i'll just remove that comment [01:31] davecheney: see my comment? [01:31] yup [01:31] it can run [01:31] i'll just remove my comment on that function and back away [01:32] ;) [01:32] why not just make the trivial change i suggested? [01:32] then it can run on other clients [01:32] looked harder than just backing out a comment I wrote that was a mistake [01:32] my comment was in error [01:32] i have deleted it [01:32] sure, but it seems like there's a legitimate problem there that is trivially fixable [01:32] so lets just fix it [01:33] wallyworld: i'll fix it in a followu [01:33] ok [01:33] the goal is to fix 1.20 [01:33] i didn't think this was broken in 1.20 [01:33] wallyworld: i am only going on the reports I have been given [01:33] the 1.20 branch was forked of master before this change? [01:34] i cannot validate the problem or the fix myself [01:34] i could be wrong [01:34] let me check [01:38] axw: did this make it in to 1.20 as well? https://github.com/juju/juju/pull/188 [01:39] axw: my manual upgrade test worked fine btw [01:39] menn0: sweet. not yet, I've just created a PR and sent it to the bot now [01:40] axw: great, just making sure [01:40] menn0: thanks for testing [01:43] davecheney: 1.20 was forked for trunk right before that os_version change that broke stuff [01:43] so any fixes just need to go to trunk [01:44] axw: once stuff lands in 1.20, mark the bugs as fix committed as well [01:45] i think there are 2 branches for bug 1334273 [01:45] wallyworld: will do [01:45] <_mup_> Bug #1334273: Upgrades of precise localhost fail [01:45] wallyworld: yep, there's one more coming for 1.20 [01:45] axw: I've tested the 1.18.4 to 1.19.5 upgrade on precise 3 times now and all looks well [01:45] \o/ [01:45] menn0: awesome [01:58] wallyworld: i don't understand [01:59] how can i help? [01:59] wallyworld: dunno, does 1.20 cli work on windows ? [01:59] if so, job done [02:00] it should i think since the landings to trunk which broke things happened after 1.20 was forked [02:00] but [02:00] even on 1.20, if SUpportedSeries is called on bootstrap, it will fail [02:01] wallyworld: the bug i have is 1.20 cli doesn't work on windows [02:01] i cannot validate this muself [02:01] only go on the bug report I have [02:01] and at the moment, things are getting less clear by the second [02:01] hmmm. i don't know about that then. perhpas that bug was raised before the decision was made to branch 1.20 off an earlier rev from master [02:02] we'd need to check with curtis [02:03] sinzui: ping ? [02:05] davecheney: what bug number? [02:07] lp # 1334493 [02:07] <_mup_> Bug #1334493: Cannot compile/exec win client [02:08] davecheney: that bug is not marked as affecting 1.20 [02:08] it was taken off 1.20 on the 28th [02:08] wallyworld: mate all I can tell you is what is in the bug [02:08] i'm guessing that's when the 1.20 branch was cut off an earlier rev before that bug was introduced [02:08] somethigns broken [02:09] i fixed something [02:09] maybe it helped [02:09] the bug was introduced in https://github.com/juju/juju/pull/95/files [02:09] davecheney: sure, but look at the affected series - 1.20 was removed [02:09] which was 17 days ago [02:10] * thumper has father in law drop in for a quick visit [02:11] thumper: is that a euphamism for something ? [02:12] boom tish [02:13] davecheney: 1.20 was forked before that rev from what i can tell, which is why the bug was changed to no longer affecting it [02:14] 1.20 was forked on the 15th of June ? [02:14] really ? [02:14] no [02:14] last common rev was merging pull reuqest 160 [02:14] i think your date is a bit out [02:15] pr 160 was 5 days ago [02:15] wallyworld: oh [02:15] you are right [02:15] i am sorry [02:15] np [02:15] i was lookig at the first comment on that PR [02:15] not when it finally merged [02:15] so [02:15] ok [02:15] so 1.20 isn't broken and trunk isn't blocked then [02:16] so, i *think* that bug was originally raised as affecting 1.20, and then retracted [02:16] yes, 1.20 is good, trunk not blocked [02:16] phew [02:16] * wallyworld is not 100% sure the issue is fixed on trunk, but seems to be [02:17] with the pr to be merged [02:17] ok, here's the plan [02:17] i'll merge this one [02:18] then i have a followup waiting on it that adds more tests [02:18] ok [02:18] we can keep the fun going there [02:18] deal ? [02:18] deal, thanks :-) [02:18] \o/ [02:18] sorry for confusion [02:18] nope [02:18] it was my fault [02:19] np [02:46] wallyworld: I guess my branch didn't fix the panic [02:46] wallyworld: sorry... [02:46] thumper: hey, thanks for trying. you did a lot of good fixes regardless [03:04] oh fark... [03:04] * thumper had an annoying thought [03:11] menn0: are you around to chat? [03:11] thumper: yep [03:13] thumper: hang out? [03:14] menn0: yeah [03:15] thumper: https://plus.google.com/hangouts/_/gy36zsk3j2lx4ffgfvotsvzxmya [03:25] thumper: did you foresee a charm's resources directory on disk being a flat list of files? [03:26] i'd think we'd want a dir heirarchy [03:26] wallyworld: yes... [03:26] hmmm [03:26] it was strongly suggested that the dir be flat by the time a charm hook is using it [03:27] by whom? our fearless leader? [03:28] thumper: also, there seem to be devel and stable streams. but what about charm revisions? would we have a stream for each revision, or namespace the resources under each stream by revision? [03:35] axw: do my eyes deceive me, your branch landed [03:35] wow, first attempt [04:03] wallyworld: charm revisions are independent of stream revisions [04:03] wallyworld: the full charm version would then be "charm revision - stream - stream revision" tuple [04:03] all mashed together into a string [04:04] that was the idea anyway [04:47] umm [04:47] https://github.com/juju/juju/pull/195 [04:47] the bot ate my merge requst [04:48] looks like our landing instance might have gone down [04:48] it was processing a pr and got interrupted [04:50] weird, mine too [04:50] hmmm, and now the lander says no pull requests to merge [04:50] wallyworld: it thinks it's still processing them [04:51] gotta add a "Build failed: whatever" message [04:51] i'll poke around and see if i can find out where it keeps its in progress queue [04:52] wallyworld: it's dumb, it just checks for "Status: merge request accepted." and then a "Build failed:" [04:52] oh wait, i see what you're saying [04:52] sigh [04:53] I think what we should do is add a link to the Jenkins job, so the the lander can periodically check the status of the jobs it thinks are running [04:53] yep, let's talk to martin about it [04:53] atm we just get a link to the job type, but not the actual run [04:54] until it fails anyway [04:54] so, should i $$merge$$ again ? [04:54] davechen1y: already done [04:54] thanks mate [05:52] can someone kill this job [05:52] http://juju-ci.vapour.ws:8080/job/github-merge-juju/310/console [05:52] it's not going to pass [05:53] gooone [05:54] today is giving me the shits [05:55] yeah :-( [06:07] win12 === vladk|offline is now known as vladk [06:27] wallyworld: https://github.com/juju/juju/pull/205 [06:28] looking [06:29] # github.com/juju/juju/state [06:29] state/action.go:86: too many arguments in call to names.NewActionTag [06:29] state/state.go:1389: tag.UnitTag undefined (type names.ActionTag has no field or method UnitTag) [06:29] state/state.go:1390: tag.Sequence undefined (type names.ActionTag has no field or method Sequence) [06:29] is anyone seeing this on master ? [06:29] yes, i've run godeps [06:29] davechen1y: I was before I ran godeps [06:29] * axw tries again [06:29] lucky(~/src/github.com/juju/juju) % godeps -u dependencies.tsv [06:29] "/home/dfc/src/github.com/juju/names" now at b2e06a0ab1c09f138853d1ef6b11f94ca9f7b675 [06:30] commit 780947ad0e66382af782c65eec6b86796409f0c7 [06:30] Author: Roger Peppe [06:30] Date: Thu Jun 26 15:46:34 2014 +0100 [06:30] use earlier names dependency [06:30] umm [06:30] why ? [06:30] no problems here [06:30] axw: what sha do you have for juju/names ? [06:30] b2e06a0ab1c09f138853d1ef6b11f94ca9f7b675 [06:31] ta [06:31] oh fuck [06:31] godeps is broken [06:31] lucky(~/src/github.com/juju/juju) % godeps -u dependencies.tsv [06:31] "/home/dfc/src/github.com/juju/names" now at b2e06a0ab1c09f138853d1ef6b11f94ca9f7b675 [06:32] lucky(~/src/github.com/juju/names) % git log | head -n2 [06:32] commit d6e9f06b936da18e4feeef3e788bf0dde0cc2d99 [06:32] Merge: 01e6ac7 f52c443 [06:32] greap, godeps doens't work [06:32] great, that's fucking great [06:32] now the new version of godeps [06:32] lies [06:33] rather than telling you it can't find that rev [06:33] hmm. I'm sure it failed for me last time I didn't specify -f [06:33] ಠ╭╮ಠ [06:33] axw: i recently upraded to rog's new version [06:33] imma gonna downgrade again [06:34] davechen1y: yeah I'm on the new version too [06:34] it didn't work for me [06:34] unless there' a new new version [06:34] it kept saying "i've updated" [06:34] but it didn't [06:34] see above === vladk is now known as vladk|offline [06:46] shit . === vladk|offline is now known as vladk [07:02] axw: https://github.com/juju/juju/pull/206 [07:06] https://github.com/juju/loggo/pull/2 [07:12] there are SO MANY races in the apiserver package [07:15] morning all [07:15] davechen1y: sorry went to pick up my daughter. looking now [07:15] davechen1y: does the detector pick them up? didn't find any last time I ran it [07:15] mattyw: morning [07:16] axw, thanks for taking a look at my branch - sorry about putting the wrong bug link [07:16] A few minutes before I wrote that I commented on the wrong bug in lp as well [07:16] mattyw: that's ok, I figured it out from the commit description :) [07:17] axw: it does, if you're persistant enough [07:17] http://paste.ubuntu.com/7730028/ [07:17] davechen1y: ah, thanks [07:17] PR's for both in play [07:17] sweet [07:31] morning all [07:33] morning [07:34] axw: shit [07:34] that race is worse than I thought [07:35] davechen1y: which one? [07:36] dimitern: ping [07:37] vladk, pong [07:37] axw: the one on the loggo/TestLogWriter [07:38] axw: i'm fixing it now [07:38] davechen1y: ah, I see. [07:38] hrm, thought I fixed that.. maybe it was a similar case [07:38] dimitern: I wrote a test for WatchInterfaces API client, It gives a 5 sec delay between state modification and notify signal [07:39] dimitern: test is working fast on API server, but with delays on API client [07:39] axw: i cna't see a way we can assert that the TestLogWriter is single threaded [07:40] davechen1y: perhaps just call loggo.RemoveWriter before ranging over tw.Log [07:40] axw: fuck it, i've gone and made tw.Log a function that returns a copy of writer.Log [07:40] okey dokey [07:40] vladk, probably the statetesting code used for the watcher need tweaking a bit - can i have a look? [07:40] if it's worth doing; it's worth over doing [07:40] less band-aid-ish [07:40] sgtm [07:43] axw: PTAL [07:44] this will need some work to integrate into juju and other callers [07:44] vladk, look for BackingState and StartSync it once you're sure there's a notification waiting [07:45] vladk, (even if that's not *directly* applicable, the point is that the *State that's driving the api server needs to be synced -- and that's not necessarily the *State you're usually manipulating in the tests) [07:47] fwereade, statetesting does that internally for the Assert methods [07:47] ..IIRC [07:47] dimitern, indeed, but it's not necessarily using the right *State [07:47] dimitern, and if you're using the wrong one you'll see those 5s delays [07:47] fwereade, right [07:48] ttps://bugs.launchpad.net/juju-core/+bug/1336180 [07:48] <_mup_> Bug #1336180: state/apiserver: yet more data races [07:48] fwereade, vladk, it uses c.State.StartSync() [07:49] dimitern, vladk: so it *should* just be a matter of starting it with s.BackingState, if that's accessible; and figuring out how to set one up if it's not [07:49] dimitern, fwereade: https://github.com/juju/juju/pull/207 [07:50] vladk, line 278 in networker_test.go - use s.BackingState instead of s.State for NewNotifyWatcherC [07:51] (and in other similar cases) === rogpeppe2 is now known as rogpeppe [08:06] morning [08:06] *yawn* [08:17] dimitern: thanks, that works, could you review my PR [08:24] vladk, will do in a bit === rogpeppe1 is now known as rogpeppe [09:05] dimitern: so a network interface always has a subnet (in the juju model) [09:05] dimitern: what's the default subnet? [09:08] dimitern: and why do we reference count networks? [09:09] voidspace, sorry, in a call, will get back to you a bit later [09:09] dimitern: no problem [09:32] * fwereade bbiab [09:33] is juju-bot on holiday today? [09:34] voidspace, back [09:34] voidspace, so there are two default networks - juju-private and juju-public (if available) [09:35] voidspace, they are discovered and created at bootstrap time, if the provider supports that [09:36] voidspace, we use refcounts for networks, because they can be referenced by services and/or machines (i.e. they are considered in-use, when the refcount>0) [09:37] voidspace, removing networks in use is not allowed; refcounts are used as a simple sanity check on the same doc as the network, as opposed to checking multiple documents in other collections [09:41] axw, are you still awake/ working? [09:43] mattyw: I am here [09:43] the bot is not on holiday, it's just a bit sick [09:44] mattyw: which PR are you trying to land? [09:44] axw, https://github.com/juju/juju/pull/108 [09:44] axw, but I was going to ask you about this one: https://github.com/juju/juju/pull/198/ [09:45] vladk, reviewed [09:45] mattyw: nfi why it didn't pick that up... [09:45] mattyw: ask away [09:46] axw, just wanted to make sure I understand your feedback properly [09:46] axw, do you mean if you specifiy add-machine -n you shouldn't be able to specify lxc:2 as well? [09:47] mattyw: right [09:47] mattyw: just like with "juju deploy", which doesn't allow you to do --to and -n together [09:49] axw, deploy uses the UnitCommandBase stuff for all of that, I did wonder if I should be using something generic to provide the -n flag, but I figured it probably wouldn't be worth it, I guess I should just implement the same logic in AddMachineCommand.Init? [09:50] mattyw: yeah I think so [09:50] axw, also I wasn't sure if I should just be sending a list of items to the existing AddMachine api call - or making a new api that would take a NumMachine int, do you have an opinion either way? [09:52] one small command change for review: https://github.com/juju/juju/pull/208 [09:52] mattyw: I think a list makes sense [09:52] dimitern: thanks [09:52] dimitern: but, I was asking specifically about subnets [09:53] dimitern: every network must have a subnet [09:53] voidspace, yes [09:53] dimitern: so what is the "default subnet"? [09:53] voidspace, a subnet of the default network [09:53] dimitern: specifically [09:53] dimitern: what will the netmask be [09:53] dimitern: how do we determine it [09:54] voidspace, the provider will implement ListNetworks() and/or ListSubnets(), depending on what's supported, and tell us [09:54] dimitern: heh, so for local provider then [09:54] voidspace, in network.BasicInfo struct used as result will have an IsDefault field [09:55] dimitern: what does the implementation of ListSubnets do? or what if the provider doesn't support subnets [09:55] dimitern: what will we use as the default [09:55] voidspace, local and manual are special (yet undefined fully wrt networking) [09:55] dimitern: I just wonder if the concept of "you have to have a subnet" really reflects reality [09:56] dimitern: and for refcounts, it seems to be the case that we want refcounts in order to destroy networks [09:56] voidspace, there are SupportsNetworks() and there will be SupportsSubnets() as well, which each provider implements to tell juju what it can handle, and we call ListSubnets/Networks or both accordingly [09:56] dimitern: i.e. know when they are not references [09:56] dimitern: (sure, but as a network *must* have a subnet I wonder what we do if the provider doesn't support subnets - what is "the default") [09:56] voidspace, read the doc :) [09:56] dimitern: why do we need to destroy networks? as they're abstract concepts, what's the cost in just leaving them around [09:57] dimitern: I am! [09:57] dimitern: these are questions that don't *appear* to be easily answered [09:57] voidspace, when the provider does not support subnets, but supports networks, we simulate a subnet by splitting the network.BasicInfo into a network + subnet [09:57] dimitern: right, I'm asking what the subnet part is [09:58] dimitern: it's quite likely that my understanding of the basic concept is flawed [09:58] voidspace, CIDR + VLANTag (optional) + AvailabilityZone (if applicable) + ProviderId (if applicable) + IsDefault [09:58] voidspace, sorry, not the last thing [09:58] dimitern: but doesn't a subnet mask off part of the ip range [09:58] voidspace, a network does not specify a CIDR range, it's a collection of subnets with a name [09:59] dimitern: so do we simulate it by having a 0.0.0.0 netmask [09:59] voidspace, sure, for example 172.20.0.0/16 [09:59] dimitern: so a network from a provider comes with *a subnet* as part of the specification [10:00] voidspace, if the provider does not support subnets, only networks, and what we get from the provider contains 0.0.0.0/0 as CIDR, that's the "catch-all" case - everything goes [10:00] dimitern: "not supporting subnets" just means we can't create new subnets, but there will always be a default [10:00] dimitern: ok, fair enough [10:00] voidspace, take MAAS as an example [10:00] dimitern: ok [10:00] voidspace, it supports networks, which have a label, CIDR, VLANTag and list of connected MACs [10:01] voidspace, so even if subnets are not supported, we have all the info we need from the network to create a subnet for it [10:01] dimitern: ok, cool [10:01] (not supported as "there's no such api-accessible entity for juju to handle) [10:02] dimitern: much appreciated, thanks [10:02] (effectively, there will always be some subnet involved, but we might not be able to know which, if the provider does not tell us - like manual and local) [10:03] voidspace, np, glad you're asking the right questions :) i'll update the model doc some more today, including some clarifications around default networks, as discussed with fwereade [10:04] great [10:26] voidspace: so to put it from my view, (just in case), we model it as having a subnet, even if that subnet just matches the whole network [10:41] jam1: right - that specifically wasn't clear (to me) from the doc. That in order to match our model we might create a subnet that "just matches the whole network" [10:42] jam1: I guess it's implied... [10:42] voidspace, we refcount networks so we can know when to delete them [10:42] voidspace, jam1, vladk, TheMue, I'm sorry I might miss the standup due to an unexpected minor emergency, will join later if it's still going [10:42] voidspace, when we *can* delete them, rather [10:43] fwereade: right, I wonder why we want to delete them [10:43] voidspace, if they can be added, we should be able to remove them, I think [10:43] dimitern: ok, hope it’s not to bad [10:43] too [10:44] dimitern: np, take care of your stuff [10:44] voidspace: dimitern: I have the feeling it was in an earlier draft...? I thought I had read it in the subnet section. [10:44] fwereade: in general I suppose I agree, refcounting can be a fair amount of work/hassle to get right [10:44] jam1: I will read again (just gone back for a reread anyway) [10:44] voidspace, refcounting *is* a hassle [10:44] jam1: maybe I just missed it [10:44] fwereade: :-) [10:44] voidspace: I don't see it in my quick searching. [10:45] voidspace, but peculiarities of the mgo/txn model mean that it's the only tool we really have [10:45] Probably worth adding to the subnet/network sections somehow. As EC2 doesn't really have a Network model, just subnets, and MaaS doesn't have Subnets, just a Network. [10:45] speaking of which, TheMue, voidspace, vladk: standup? [10:45] voidspace, in particular, we can only do asserts against specific documents [10:46] voidspace, so there's no way to assert that "no service uses this network", for example [10:46] fwereade: right [10:46] jam1: coming, only quick jump to the bath ;) [10:46] oh for a relational query I guess... [10:46] TheMue: ?? [10:46] voidspace, well we can do queries just fine [10:46] voidspace, but we can't use them in txn asserts [10:46] axw, don't suppose you're still around? [10:46] fwereade: ah, I see [11:16] gsamfira: ping? [11:17] hey [11:17] sorry I got here a bit late, are you in today? [11:17] yup, but It will be a short day for me. [11:17] I'm in the hangout [11:18] gsamfira: william and I are there too and we dont see you [11:18] :) [11:19] hmm [11:19] can you give me the link? [11:19] certainly [11:20] https://plus.google.com/hangouts/_/canonical.com/cloudbase?authuser=3 === jam is now known as jam1 [11:59] fwereade: can you confirm that we no longer need git in juju? we can remove it from our cloud-config? [11:59] (I just deployed ubuntu to azure without git installed, and it worked... not sure what else I'd need to test) [12:03] axw: doesn't juju bootstrap install it? [12:03] ahasenack: it does, I want to remove it [12:03] and more importantly, not require it in windows bootstrap [12:04] axw: while you wait for an answer, try an experiment. In a deployed unit, remove git, make a silly change to the charm and run juju upgrade-charm [12:04] axw: or, go to /var/lib/juju/.../..../(don't remember)/charm, see if it's a git repo [12:04] ahasenack: thanks [12:04] I'll try that [12:14] dimitern: I fixed your notices in https://github.com/juju/juju/pull/207 [12:14] vladk, cheers, looking === psivaa_ is now known as psivaa-lunch [12:19] vladk, LGTM [12:19] dimitern: thanks === vladk is now known as vladk|offline [12:56] TheMue: proposal reviewed [12:56] jam1: thx [12:57] jam1: yeah, will add a follow-up for those tests === psivaa-lunch is now known as psivaa [13:30] fwereade, g+? [13:39] does anyone know what juju-bot hates me? https://github.com/juju/juju/pull/108 [13:40] mattyw: well he seems to be hating axw too [13:41] mattyw, perrito666 That looks like it was caused by my attempt to move testing to its dedicated server [13:41] I am requeuing the tests [13:54] hello team :) [13:54] morning katco [13:55] hey, are we having stdup? [13:57] is that a question for me? [13:58] mattyw, your PR isn't among the ones that got rejected by the git-merge-juju job [13:58] sinzui, afaik it's not even attempted to land yet [13:58] perrito666: yes :) [13:58] sinzui, juju-bot has certainly never told me it accepted a request to merge [13:58] mattyw, I see you are a public member of the juju org, which is enough for the bot to know your $$merge$$ is good [13:59] sinzui, it certainly worked before [13:59] I see axwalk also tried to intercede. [14:00] mgz, ^ the bot hates mattyw. Can you broker a peace? [14:01] no treaty - just an armistice is ok [14:06] teh bot is in an unhappy place [14:07] we also have a massive queue, which is partly because nothing has eben lading, but if I get the switch to your dedicated job done sinzui that'll be sorted at least [14:09] mgz, I think we need to configure git on that machine to. [14:09] maybe you have [14:09] sinzui: yeah, I need to do some sample runs to check [14:10] mgz, have you started lxc containers instead of ami instanced? I am very keen to get to it? [14:11] I've been trying it out, but just locally [14:12] mgz, I can add lxc support to run-unit-tests within the next 24 hours. Do you intend to use clone? [14:13] I'd really like to [14:14] mgz, I gave up hunting for a utopic AMI, so I switch the utopic unit tests to run directly on the utopic slave. I worry that I will have janitorial duties until something like lxc is available [14:15] hmmm [14:16] mgz, I will add command support for lxc, setup and teardown. I doubt I can help in the creation the the template or change the test suite to like lxc envs [14:17] mgz, and you want test ./... || test -p 2./... ? [14:17] sinzui: I think we need it for now, but it's not helping much today... [14:19] mgz, not many branches pass when -p 2 is needed. I thought fixing the "panic session closed" bug would make -p 2 better [14:21] ericsnow, perrito666: https://github.com/wwitzel3/juju/compare/013-environment-info-api [14:22] small milestone; got some charms deployed locally! :) [14:23] however, it seemed to take a long time for wordpress to start (10ish minutes). is that normal? [14:26] katco: with the local provider? probably, it may well be faster for you second time [14:27] mgz: does jujud do any sort of caching of charms? [14:27] it does, but it was the lxc setup I was thinking of [14:27] ahhh [14:28] thank you :) [14:31] jam1: ping [14:31] voidspace: not usually when I'm around, but I happen to be today, what can i help you with? [14:31] jam1: I thought I'd give it a try... you seem to work about 18hours a day usually [14:31] voidspace: :) [14:32] jam1: you suggested that to change mongo to use ipv6 in our test suite that testing/mgo.go would be a place to start [14:32] that was my thought, yes [14:32] jam1: this is now a thin wrapper around gitjujutesting/mgo.go (or whatever it's called - horrible package name) [14:33] jam1: it *starts* mongo, but it's open.go that handles the connection [14:33] jam1: how did you have in mind changing the connection just for tests? [14:33] jam1: where you thinking of binding to :: specifically (I'm hoping we don't need to do that and mongo will allow either - but I need to check) [14:34] voidspace: So it looks like (as you notice) the old github.com/juju/juju/testing got pulled out into github.com/juju/testing/ but there is still the mgo.go file, they did alreayd remove --bind_ip [14:35] but they are'nt passing '--ipv6' for mongo [14:35] jam1: I thought it just used inst.run() to start it... I obviously need to look better [14:35] voidspace: thati s where it passes the args [14:36] MgoInstance.run needs to pass "--ipv6" [14:36] jam1: gah, ok [14:36] jam1: sorry, being dumb [14:36] voidspace: http://docs.mongodb.org/manual/reference/program/mongo/#cmdoption--ipv6 [14:36] yeah, I've added that in the actual code and the tests all pass [14:36] voidspace: presumably as long as we do that, mongo will be happy to start and bind to both networks [14:36] yeah, I need to specifically test that [14:37] jam1: for some reason I thought inst.run() called our standard code for starting mongo [14:37] voidspace: the other bit is that mongo seems to report "mongod:PORTNUM" for output and we wait to see that. [14:37] not sure why I thought that... [14:37] voidspace: I could see why it you'd think so, certainly it would make more sense if it was shared code [14:39] alexisb: you vanished [14:41] * perrito666 notices that he should get food before the football game starts or he will not have food until after [14:43] perrito666: which game? [14:43] katco: apparently my country (ARG) against.. some other country :p [14:43] haha [14:44] perrito666: SWI, directly south to GER (which won yesterday) [14:44] katco: that produces eigher a) food places closing or b) cook spitting into my food [14:44] good luck to them :) [14:44] katco, perrito666: obviously perrito666 is a real patriot ;) [14:44] haha [14:44] TheMue: I know where SWI its, I did not know that its the team against ARG [14:44] i'm recording the US v Belgium game [14:44] perrito666: imho ARG will do it, but it won’t be simple [14:45] ericsnow: I pay taxes and have the flag on flag day, I dont mind that much about sports [14:45] TheMue: well our politicians will have problems, bc they have their hart in ARG but their money in SWI [14:45] katco: there USA will win, the second GER team in this championchip *lol* [14:45] perrito666: next you'll tell me you don't tango ;) [14:45] TheMue: i haven't heard it put like that lol. it's true! [14:45] perrito666: that’s a problem of many politicians (and industrials) [14:45] i hope they win [14:46] ericsnow: I dont, requires far more motor ability than I have [14:47] perrito666: eh, I don't dance well either [14:47] * ericsnow doesn't like where this conversation is heading [14:47] * TheMue has to admit he absolutely failed when learning tango once in the past [14:48] * katco often wonders if she's the only lady with no dancing skills whatsoever [14:48] ericsnow: assuming all Argentinans know how to dance tango is like assuming every oriental person knows martial arts [14:48] katco: oh no, my wife and I cannot put one step together [14:48] katco: no, my wife neither [14:48] lol [14:49] perrito666: h5 [14:49] lol :D [14:49] perrito666: so true [14:49] katco: alas, my wife has a degree in dance [14:49] ericsnow: oh how neat :) [14:50] ericsnow: I lack practically all required skills to be Argentinian. [14:50] perrito666: you have the funny tea drink thing skilz right? [14:51] haha [14:51] mgz: I do :p [14:51] that's all you need [14:51] perrito666: ah, but you have mate so it's okay :) [14:51] you'll need to do a demo next week [14:53] mgz: I usually prefer not to go trough the hassle of explaining frontier authorities what is that green herb I carry and why is there a metallic tube on my baggage [14:53] :D [14:55] mgz: amazon carries everything you need: http://www.amazon.com/Taragui-Yerba-Mate-Bombilla-Leather/dp/B007V650EM/ref=sr_1_1?ie=UTF8&qid=1404226489&sr=8-1&keywords=mate+cup === vladk|offline is now known as vladk [14:58] ericsnow: with a bit overprice :p but yes [14:58] you also need a thermos [14:58] or something that keeps water hot [14:58] perrito666: :) [15:20] fwereade: have you got a link to a doc for the specification for charm resources/blobs, by any chance,? [15:24] jam1, mgz, voidspace, wwitzel3: ^ [15:25] i've *heard* about the "streams" stuff, but i don't think i've seen it written down [15:25] rogpeppe1: afraid not, sorry [15:25] voidspace: thanks [15:25] speaking of blobs, we have 2 (soon 3) API client methods that deal with sending/receiving binary blobs over RPC... [15:26] do we anticipate more need for supporting that for more methods? [15:27] (should we consider adding support for binary data to our RPC implementation?) [15:27] ericsnow: with potentially large binary blobs, we generally tend to avoid RPC and use REST-style [15:27] ericsnow: which methods are you thinking of there? [15:27] AddLocalCharm and UploadTools [15:27] and soon Backup [15:28] and Restore [15:28] AddLocalCharm doesn't use RPC [15:28] ericsnow: i haven't looked at UploadTools, but I hope it's similar to AddLocalCharm [15:28] ericsnow: and Backup and Restore should be similar [15:28] rogpeppe1: it is basically copy-and-paste [15:28] rogpeppe1: right [15:29] ericsnow: well, there might be some common code that can be abstracted [15:29] for Backup I've factored the boilerplate into a common package [15:29] rogpeppe1: I plan on refactoring the other two methods to use it [15:29] ericsnow: i'm surprised there was much boilerplate, actually [15:30] ericsnow: have you got a link to your proposed common package? [15:30] rogpeppe1: there was enough that wholesale copy-and-paste was happening [15:30] rogpeppe1: https://github.com/juju/juju/pull/200 [15:31] rogpeppe1: I called it RPC because it basically it...it just doesn't use our RPC implementation nor does it do JSON RPC [15:31] ericsnow: it's really just a REST request, right? [15:32] rogpeppe1: I wouldn't say REST. In each case it's a POST to a URL whose location ends with the method name [15:33] rogpeppe1: args are handled via URL values [15:33] ericsnow: just about anything can be considered REST if it does a POST :-) [15:34] rogpeppe1: :) [15:34] rogpeppe1: it's basically a form [15:34] ericsnow: yeah [15:35] ericsnow: BTW if you're implementing exported methods in a package, each exported function should a) deserve to be exported and b) have a doc comment describing what it does [15:36] rogpeppe1: good to know (I'll fix that) [15:37] ericsnow: i agree that that's useful boilerplate to abstract out [15:37] rogpeppe1: you mean in export_test.go? [15:38] ericsnow: no, export_test.go is an exception in lots of respects :-) [15:38] ericsnow: i'm looking at UnpackJSON [15:38] rogpeppe1: ah, got it [15:38] ericsnow: i'm not entirely sure about the form of the package there. let me think for a few moments. [15:42] ericsnow: do we not use a standard error struct type for all error returns? [15:42] rogpeppe1: not that I saw (I may have missed it) [15:46] rogpeppe1: you mean why did I make ErrorResult instead of using params.Error? [15:47] ericsnow: yeah [15:47] rogpeppe1: it was for testing [15:48] ericsnow: i think it should be easy enough to test without that [15:48] rogpeppe1: the interface allowed using the method rather that relying on the struct member (which is inconsistently an error or a string in various results types) [15:49] ericsnow: i'd suggest something like this: http://paste.ubuntu.com/7732030/ [15:50] rogpeppe1: since it only mattered for the raw RPC calls, I figured ErrorResult was more appropriate in the rawrpc package than in params/apierror.go [15:50] * ericsnow takes a look [15:54] rogpeppe1: FYI, my background is heavily Python with a little C; I first wrote my first Go code around a month ago so pointers on idiomatic approaches is *always* appreciated :) [15:54] ericsnow: np [15:57] rogpeppe1: as to that code you pasted, are you suggesting that we use an approach like that to handle the errors in the unmarshalled results? [15:57] ericsnow: the point of that function, as i see it, is to take out the boilerplate involved in parsing the error result from http requests to the API [15:58] rogpeppe1: right, and that was my intention with UnpackJSON as well [16:10] ericsnow: how about something like this: http://paste.ubuntu.com/7732104/ [16:11] rogpeppe1: I like that [16:12] ericsnow: cool [16:12] ericsnow: i'd also add a doc comment to the Doer, BTW. [16:14] ericsnow: something like: // Do makes an HTTP request. It is implemented by *http.Client, for example. [16:14] rogpeppe1: this does put certain constraints on the response, right? [16:14] rogpeppe1: yeah [16:14] rogpeppe1: result, rather [16:14] ericsnow: sure - it means we need to use a consistent error type for all error responses [16:14] ericsnow: but that seems like a good thing to me [16:14] rogpeppe1: I'm on board with that :) [16:16] rogpeppe1: I swear the hardest thing we do in this industry is finding the balance between doing things the best way and getting things done (in the cases where you don't have the resources for both) [16:17] ericsnow: yeah === vladk is now known as vladk|offline [16:20] ericsnow: the other hardest thing we do is coping with the inevitable creeping complexity that comes from doing too much of the latter without enough of the former :-) [16:21] ericsnow: not that your case was an example of that though, i hasten to add [16:22] rogpeppe1: :) [16:24] rogpeppe1: I'll readily admit that I tend toward the latter but over time have become more cognizant of the realities of a world of limited resources and immediate needs :p [16:25] ericsnow: i *hope* you mean tend towards the former :-) [16:25] ericsnow: well, i guess "getting things done" is an admirable attribute too [16:25] rogpeppe1: oh, yeah :) [16:25] ericsnow: and one which i could do with more of :-) [16:25] rogpeppe1: I'm glad we have a mix of both in this world [16:54] rogpeppe1: ping [16:55] voidspace: sprong [16:55] rogpeppe1: :-) === rogpeppe1 is now known as rogpeppe [16:55] rogpeppe1: can you tell me where in the code we store the replicaset (mongo) addresses [16:55] rogpeppe: and where those addresses are created [16:55] I've tried following a few trails but I thought you'd likely know pretty quickly [16:56] client side or agent side? [16:57] rogpeppe: agent side [16:57] rogpeppe: client side shouldn't have them, right? just api server addresses [16:57] voidspace: the primary source of info is in the state. APIAddresses [16:57] voidspace: oh yeah [16:57] voidspace: sorry, i was thinking of api addresses [16:57] rogpeppe: I want the mongo addresses not api addresses [16:57] right [16:58] rogpeppe: I'm experimenting with having mongo use ipv6 [16:58] rogpeppe: so I want to tweak the way we create those addresses [16:59] rogpeppe: it looks like adding the "--ipv6" flag is sufficient to allow us to connect with ipv6, whilst remaining compatible with our existing code [17:00] voidspace: cool [17:00] voidspace: i'd hope so [17:00] voidspace: state.Machine has a MongoHostPorts method [17:00] oh no it doesn't [17:01] voidspace: ah [17:01] rogpeppe: sorry, if you replied to me then I didn't see it - my connection was dropped [17:01] mfoord: what was the last thing you saw me say? [17:01] voidspace: sorry, i was thinking of api addresses [17:03] mfoord: so we get the mongo addresses by adding the configuration's StatePort to the machine addresses [17:03] rogpeppe: right, I remember that being the case [17:03] rogpeppe: where do we do that? [17:03] mfoord: that's not ideal - i would prefer it if a machine could choose its own mongo port [17:03] mfoord: in worker/peergrouper [17:03] (we have the same problem with rsyslog) [17:03] mfoord: see worker/peergrouper/shim.go:/MongoHostPorts [17:04] cool [17:04] rogpeppe: thanks [17:06] defining methods on machineShim before we define machineShim is confusing [17:06] if only briefly [17:18] mfoord: yeah, it should be declared earlier [17:19] so if I hardcode that to use ::1 then everything still seems to work [17:19] I need to verify this address is actually being used directly though === vladk|offline is now known as vladk === alexisb is now known as alexisb_afk === urulama is now known as uru-away [18:07] i just ran into this gem: unit-wordpress-0: 2014-07-01 18:07:02 INFO juju-log db:2: We are now single, ALL THE SINGLE UNITS ALL THE SINGLE UNITS [18:08] kudos to whomever :) [18:13] lol, I guess you could bzr blame that [18:15] voidspace: so I'm guessing their upgrading your internet right now :) [18:15] ericsnow: indeed, he looks taller [18:15] :p [18:17] mfoord: nice internet you have there :) [18:29] ericsnow: yeah, horrible [18:30] and now... EOD [18:30] g'night all [18:30] so, added https://github.com/juju/juju/pull/211 as final PR for today [18:31] * TheMue waves [18:52] jamespage: ping === alexisb_afk is now known as alexisb [19:51] sinzui, mgz ping? [19:52] hi mattyw [19:52] sinzui, I'm not sure if I'm reading this right but it looks like my branch test failed but still landed? http://juju-ci.vapour.ws:8080/job/github-merge-juju/332/console [19:53] mattyw, It did [19:54] mattyw, The test suite is soooo bad that the running will try the tests as we think they should run, and fail over to a run with just two procs. Your branch passed the second try [19:55] sinzui, well that's *good* news I guess [19:55] thanks [19:55] as long as the landing is working to plan [19:55] mattyw, yes, your branch is not being failed because someone else landed a brittle test [19:57] sinzui, sweet [19:57] well - thats officially a day then [19:57] night all [20:47] morning folks [20:48] howdy thumper [20:48] katco: morning, how's the learning going? [20:49] good, thanks for asking :) having a lot of fun [20:49] working on a brilliant charm right now. it's going to revolutionize the way we say hello to the world. [20:51] thumper, speaking of fun, this video totally reminds me of Jesse: https://www.youtube.com/watch?v=HYupUy7wiIU [20:51] :) [20:51] * katco has a very dry sense of humor [20:51] katco: hah :-) [20:52] alexisb: youtube hates me "an error occurred" [20:52] alexisb: but I can guess what it is about :-) [20:52] o, you have to watch it, it is so fitting [20:53] * alexisb waits for jesse to show up online [20:54] alexisb: i hope this person is still here next week :) [20:54] :) [20:54] katco, wallyworld will have to fill you in on the back story next week [20:54] hehe ok [20:55] * wallyworld clicks the video [20:55] * wallyworld wallyworld can't stop laughing [20:55] alexisb: you are evil [20:55] :) [20:57] can I come program in Go yet? me and python are no longer friends :-/ [20:58] well, specifically, me, Jenkins and running python jobs are no longer friends [20:59] haha [20:59] ChrisW1: is that a whingy pom I hear? [21:00] sea of red: http://jenkins.simplistix.co.uk/ [21:00] ChrisW1: what are you doing to it? [21:01] ChrisW1: and three isn't really a sea [21:01] http://jenkins.simplistix.co.uk/job/testfixtures-virtualenv/ [21:01] spot the pattern [21:02] ChrisW1: you'll have to tell me because I'm not going to go through it all hoping to see a pattern [21:02] still trying to go through my 200 odd emails [21:03] there is no pattern [21:03] although to be honest, I spent the first six months of programming Go being very angry at it [21:03] coming from python [21:03] I think I have calmed down a lot now though [21:03] you? angry? nah, don't buy it [21:03] could never ever imagine that... [21:04] heh [21:04] if I had hair I would be pulling it out right now === vladk is now known as vladk|offline [21:04] you could grow it longer just for the pleasure of pulling it out [21:06] * ChrisW1 wonders if menn0 is up yet? [21:06] ChrisW1: yep :) [21:07] menn0: careful, I think he may be in a complaining mood [21:08] * thumper pokes ChrisW1 with a long stick and runs away [21:08] he he [21:09] ChrisW1: so what brings you to these parts? :) [21:10] my fault, attempting to support a package on 3 x os and 4 x python versions [21:10] menn0: oh, no reason... [21:10] how's nz? [21:11] very cold today [21:11] weather forecast is for 15-20cm of snow today [21:11] which is a lot for us [21:11] and likely to close schools [21:11] that'd be a lot for the uk too!" [21:11] however right now, it is just cold ~3°C and dry [21:12] that would bring the UK to a stand-still :) [21:12] I'm missing sunny [21:12] no.. not what I meant, missing summer [21:12] warmth [21:12] and sun [21:13] thumper, it is 34 C here today [21:13] hottest day of the year so far [21:13] :-( [21:13] and I think I would rather have snow [21:13] yeah, pretty toasty here too [21:14] great weather for debugging weird on top of weird [21:14] heh [21:24] cmars: thanks for the info. gonna read the paper 2nd time tomorrow morning with a fresh brain, and try to deduce the number of interactions, as per their design and as section 7 somehow shows their efficiency, there shouldn't be an issue for scaling [21:32] ChrisW1: I normally find a drink helps in the evening to lower the frustration levels [21:33] aim for the Ballmer peak: http://xkcd.com/323/ [21:34] menn0: fwiw, I agree on the facade approach [21:34] menn0: if things go wrong, we want the user to be able to ssh in at least [21:34] and if we remove the api altogether, we can't do that easily [21:34] thumper: did you see the email I just sent? [21:34] yeah [21:34] just agreeing with you [21:35] finally through email backlog [21:35] you said "facade approach" and what I'm suggesting is actually not quite using facades - although the work done for facades has made it a lot easier [21:35] now I get about 25 minutes before the next meeting [21:35] * thumper sighs [21:35] menn0: well, whatever you said makes sense, let's look at the implementation :-) [21:37] sinzui: where is the jub page for the landing bot? [21:38] thumper: github.com/juju/jenkins-github-lander [21:38] sinzui: I'm curious to see if recent landings have improved the intermittent failure issue [21:38] it looks like it has [21:38] oh, diff bot :) [21:38] thumper, http://juju-ci.vapour.ws:8080/job/github-merge-juju/ [21:38] sinzui: cheers [21:38] thumper, There was a misadventure 8 hours ago [21:39] thumper, I tried to move the job to the dedicated slave, but I don't think git was setup. [21:39] sinzui: well five passes in a row is more than we have seen in some time [21:39] thumper, so I requeued the job to my favour, all 1.20 jobs first [21:39] thumper, mgz was also working on it the running [21:40] * thumper nods [21:40] I just landed lxc support to the run-unit-tests script. I hope that will help mgz [22:00] cmars: with you shortly, just making a pot of tea for my sick wife [22:00] :) [23:00] wallyworld, I am concerned about 1.20. http://juju-ci.vapour.ws:8080/ shows the restore tests failing. I just changed one test to HP after it reached its final 3 tries. Either our restore code has spontaneously combusted in both branch or ec2 has changed. I don't wan't to say https://bugs.launchpad.net/juju-core/+bug/1336104 also affect 1.20 [23:00] <_mup_> Bug #1336104: cannot restore bootstrap machine: cannot get public address of bootstrap machine [23:00] wallyworld, I was hoping to start the 1.20 release with a blessed revision in an hour [23:01] sinzui: ok, will look. i was hoping we were good to release as well :-( [23:03] sinzui: can you clarify - do you think this affects 1.20 also? [23:04] This is 1.20 that is failing right now in a similar way [23:04] :-( [23:04] wallyworld, none of the recent commits seem to be a cause [23:04] and it is running now against hp cloud ? [23:05] in case it's an ec2 issue? [23:05] wallyworld, I stopped running the functional test on HP at the start of June. This is the first time I am trying them with the new regions [23:05] ok [23:06] sinzui: was the bootstrap timeout config attribute you are using typed in as "bootstrap-timeout" [23:10] wallyworld, I tried this with all joyent encs [23:10] bootstrap-timeout: 600 [23:10] I now have a job that kills any joyent proc older than i hour [23:10] hmmm, ok. that looks correct, so might be an issue [23:12] wallyworld, 1.20.0 is soooo much better than 1.18.0. Since I am not killing the 1.20.0 versions of juju I favour fixing this issue in 1.20.1 [23:12] sounds good [23:12] sinzui: my first look into the restore code shows no recent changes in the part that is failing [23:13] Hp just started its restore http://juju-ci.vapour.ws:8080/job/functional-backup-restore/1050/console [23:13] 20 minutes and I hope for a pass [23:16] The other restore test just switched to Hp [23:17] sinzui: the error seems to indicate the mongo db is empty, and further back in the console log i see "Restore failed:" but with no additional information [23:18] :( [23:24] wallyworld, the HP run failed with "no reachable servers" this might be caused by Hp...but the error is still in juju-restore :( http://juju-ci.vapour.ws:8080/job/functional-backup-restore/1050/ [23:24] * sinzui moves the test back to aws [23:25] hmmmm [23:25] we this kinda sucks [23:26] sinzui: i think "Restore failed:" is printed by the ci script [23:26] yes [23:26] i wonder why it is not logging an error? [23:29] wallyworld, the test prints "Restore Failed" then the error that was sent to stderr [23:29] which appears to be nothing :-( [23:30] wallyworld, message about the lock is nothing? http://juju-ci.vapour.ws:8080/job/functional-backup-restore/1049/console [23:31] sinzui: didn't see that. that is a problem [23:31] so 2 things are running apt [23:33] wallyworld, I have seen that several times. The problem with the test is there is so much setup that we see failures getting to HA or restore dies early with a huge glob of text http://juju-ci.vapour.ws:8080/job/functional-backup-restore/1048/console [23:35] maybe a manual test is required [23:37] we'll also look into the rev where it first started failing [23:38] sinzui: how hard would it be to re-run a test with the previous rev to 7f77fc1 [23:38] just to get another data point