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

=== gary_poster is now known as gary_poster|away
wallyworld__thumper: yo02:59
thumperwallyworld__: hey03:12
thumperwallyworld__: how's it going today?03:12
wallyworld__thumper: notice how i didn't ping :-)03:12
wallyworld__going ok, deep into some refactoring03:12
thumperwallyworld__: as you may have seen, I've put the kvm broker review up03:12
thumperwallyworld__: yeah...03:12
wallyworld__thumper: funny that, i have a question03:12
thumperwallyworld__: I'm now getting containers to return hardware characteristics03:12
wallyworld__quick hangout?03:13
wallyworld__https://plus.google.com/hangouts/_/76cpj9mtcok4cua6di82i0o3ms?hl=en03:13
* thumper joins03:14
=== Beret- is now known as Beret
thumperwallyworld__: https://codereview.appspot.com/36980043/04:39
wallyworld__\o/04:40
thumperwallyworld__: it's a start04:41
wallyworld__yes04:41
thumperthanks for the review04:45
thumperI'll tweak and land tomorrow morning04:45
thumpernight all04:45
=== jcsackett_ is now known as jcsackett
=== meetingology` is now known as meetingology
axwgtg to my daughter's school orientation, bbl05:28
axwback06:43
rogpeppemornin' all08:14
axwmorning08:16
=== jam1 is now known as jam
jamsmoser: there was a discussion about allowing charms to add constraints (like mem, etc), I could see that being extended to support stuff like "!lxc". However, that probably isn't on the roadmap for this cycle.08:24
axwjam: I forget, do we need to support old CLI with new server?09:18
axwjam: just wondering if I can remove secrets pushing API09:18
axwserver-side09:19
jamaxw: the old CLI didn't push secrets via PI09:19
jamAPI09:19
jamso yes, but we don't have to keep that bit09:19
jamaxw: we have to allow the old CLI direct DB access09:19
axwjam: ah, it's only on trunk isn't it?09:19
axwno.. I broke the last release09:19
jamaxw: ? you broke the new CLI connecting to the old server09:20
jamIIRC09:20
jambut we can drop that bit09:20
jamright now we are trying and if it fails just continuing09:20
axwok09:20
jamwith synchronous bootstrap, we don't even have to try anymore :)09:20
axwjam: well, we should still push secrets for old servers, right?09:20
axwor do we not care?09:21
axwassume they're already set up?09:21
jamaxw: even if there was a 1.17.0 that had async bootstrap and we were pushing via the API as a dev release wedon't have to push secrets to it in 1.17.109:21
jamaxw: we don't care if it is only a dev release09:21
jamthats why we call them *dev*09:21
axwjam: sorry, I mean, can we drop the code that pushes secrets to existing installations09:21
jamit is our way of "lets get this out there, without committing to supporting migration to/from it"09:21
axwof non-dev09:21
jamaxw: so for pushing secrets directly to the DB, I'm not sure if we can drop it.09:22
jam"maybe"09:22
jamwe had talked about "if you bootstrap with 1.16 and then *never do anything with it* and then try to connect with 1.17" that might be broken, but we're not sure we care09:22
axwI really don't think we should09:22
jam(you can destroy-env & rebotstrap because you have nothing in your env, or you can connect with the 1.16 that you bootstrapped, etc)09:23
axwindeed09:23
jamaxw: so *I* wouldn't immediately say "when connecting via direct DB access don't pass secrets"09:23
jamaxw: it isn't worth poking that code just to remove it if we don't have to touch it at all09:23
jamaxw: I'd much rather focus on "we never connect to the DB for a 1.18 client and server"09:23
jamso that instead of having a "and now we don't push secrets" we end up with a "and now we never connect to the DB"09:23
jamaxw: so *probably* we could drop it, but I'd rather get to the point where we can drop NewConnFromName completely09:24
axwunderstood09:24
axwhmm09:24
axwjam: the reason why I'd like to remove it altogether, is then we can get rid of the idea of secrets09:25
axwbut I can leave it for now I guess09:25
jamaxw: we can't. we still have to not put the secrets into cloud-init, and only pass them once we connect to the bootstrap node09:27
jamaxw: the reason we have them today is to not put them into cloud-init09:27
axwjam: that bit's irrelevant, we never put any config into cloud-init anymore09:27
axw(with synchronous bootstrap)09:27
axwcloud-init now does ssh keys, and that's it09:28
jamaxw: so IMO, changing that isn't our first priority right now. I do like that, but I'd be fine if getting rid of the notion of secrets was in 1.2009:29
axwmmkay09:29
jamaxw: vs, we actually have to finish stuff like upgrade-charm and status or we can't remove direct DB access in 1.2009:29
jamaxw: and, of course, time spent with sinzui to make sure CI is happy is time very well spent.09:31
axwjam: indeed. not sure what's going on there :/09:31
axwI can't reproduce the issues on either canonistack or ec209:31
jamaxw: I haven't been able to either. there was a comment about connection flakiness for them. Certainly how did we get a machine up and running and then not have SSH configured.09:32
jamaxw: one thing I was wondering09:32
jamhow do we pick the ssh private key to connect with?09:32
jamIf I set "authorized-keys: foobar" in my environments.yaml how do you match that with eg ~/.ssh/id_rsa_ec2key09:32
axwjam: by default I think it takes id_dsa.pub, id_rsa.pub and identity.pub from ~/.ssh09:33
axwjam: now sure what you mean by "how do you match that"09:34
axwI think ssh will just cycle through all the possible private keys on ~/.ssh?09:34
jamaxw: no09:35
jamit cycles through everything in your ssh-agent09:35
jamI think09:35
jambut for direct keys you can configure it in ~/.ssh/config or supply it as "ssh -i PATHTOKEY" or a couple of other ways.09:36
jambut I'm pretty sure it doesn't just try keys on disk09:36
jamI could be wrong, and I've overspecified my ssh config09:36
axwno actually I think you're right09:36
jambut I was wondering if what sinzui and aaron were seeing was because of keys not getting picked up correctly.09:36
axwit'll also try those defaults I mentioned09:36
axwjam: well, that bit hasn't changed at all, so I don't understand how that'd be the case09:37
jamaxw: right, the specific 2/3 private bits09:37
jamaxw: they weren't having Juju drive SSH before09:37
jamaxw: in the test suite09:37
axwah, true.09:37
axw:)09:37
jamthey were copying logs of via scp at one point09:37
jambut that command *might* be configured specially09:37
jamthe fact that they get "Permission denied (publickey)" sometimes hints that *something* is doing tat.09:38
jamaxw: for Canonistack, I've heard another wrinkel09:38
jamif you give a Canonistack instance a floating IP09:38
jamthat becomes a world-routable IP, but it is *not* routable within the cloud09:38
jamso machine A on canonistack has to talk to machine B in canonistack via the private address, and *not* the floating ip09:38
jamaxw: so you might try "use-floating-ip: true" in your canonistack config and see if that breaks bootstrap for you09:39
axwhurngh09:39
jamit shouldn't from local09:39
jambut it might from cstack => cstack09:39
axwno, but maybe from jenkins09:39
jamaxw: ah, also09:39
jamyou can't directly connect to CStack machines09:40
* jam => lightbulb09:40
axwyeah, gotta sshuttle09:40
rogpeppeanyone know anything about amazon request limits?09:40
jamaxw: actually most people configure their SSH to bounce via chinstrap09:40
jamaxw: ProxyCommand ssh chinstrap.canonical.com nc -q0 %h %p09:40
rogpeppei'm still trying to get this guy's environment up, and we're seeing "Request limit exceeded" errors09:40
jamaxw: so for CStack abentley and sinzui both probably have that, which would let them SSH to a machine, but would *not* let them Dial a machine09:41
axwjam: doesn't explain the permission denied error tho09:41
jamrogpeppe: more that 100/5s is going to trigger their limits, but I don't know what the actual values are (xplod charm was causing amazon request limit exceeded problems before we fixed it)09:41
jamaxw: It would explain not being able to connect, but yes, doesn't explain perm denied09:42
axwI think you're probably onto something with the private keys/them not using ssh before09:42
jamaxw: connect as "ubuntu" user?09:42
axwjam: yep09:42
rogpeppejam: we're still seeing this error after a night of inactivity09:42
jamaxw: I *think* user@host:port is openssh specific09:42
jamrogpeppe: whose inactivity :)09:43
jamrogpeppe: everything shut down?09:43
rogpeppejam: well, we stopped jujud-machine-009:43
jamrogpeppe: i09:43
rogpeppejam: i wonder if the other instances are making ec2 requests09:43
jamif this was 1.13.2 the User and Machine agents had provider creds, IIRC09:44
rogpeppejam: everything is on 1.16.3 AFAIK09:44
jamso they could have been doing it09:44
jamrogpeppe: did you actually get it all moved over?09:44
rogpeppejam: yes09:44
rogpeppejam: but now we're getting this problem09:44
rogpeppejam: one issue after another :-(09:44
axwwow, that ping thread is getting on a bit09:53
rogpeppeaxw: which ping thread?09:54
axwrogpeppe: warthogs09:55
rogpeppeaxw: ha fun09:56
rogpeppeaxw: i don't look at warthogs much09:56
TheMuerogpeppe: any chance to take a look at my CL today?09:58
TheMuerogpeppe: oh, and hello btw09:59
rogpeppeTheMue: i started on it yesterday, will continue today09:59
TheMuerogpeppe: ah, looking forward, thx09:59
rogpeppeTheMue: the main issue i have with it so far is that it always reads from the very start of the file09:59
rogpeppeTheMue: and for very big files (and log files can be very big) that's a significant waste of resources10:00
TheMuerogpeppe: I have to admit I stole an algo of you of the newsgroup :)10:01
rogpeppeTheMue: ha ha10:01
TheMuerogpeppe: but doing the initial reading from the end indeed seems better10:02
rogpeppeTheMue: when was that from?10:02
TheMuerogpeppe: oh, pretty old, would have to look again10:02
TheMuerogpeppe: but I liked the clean approach10:02
jamTheMue, rogpeppe: one thought would be that the api could pass in a possible "bytes from start" to give some context as to where it was looking, which might be a negative number to mean from the end of the file ?10:02
rogpeppejam: i think it would be more intuitive if the api passed in number of lines of context10:03
jamrogpeppe: it would, but it is also *very* hard to do efficiently, vs if you had a byte offset hint10:03
jamit could even just be a hint10:03
rogpeppejam: or even a start date10:03
rogpeppejam: it's not too hard10:03
rogpeppejam: i've done it before, and tail(1) does it without too much difficulty10:04
TheMuerogpeppe: but even then you would have to find it in the file first. ok, a binary search could hel.10:04
rogpeppeTheMue: you can't do binary search10:04
rogpeppeTheMue: but you can read backwards10:04
rogpeppeTheMue: actually, you could binary search if you're looking for a start date10:05
TheMuerogpeppe: that's what I meant10:05
rogpeppethe difficulty with a start date is clock skew10:05
rogpeppelog lines won't necessarily be in strict date order10:06
rogpeppebut that might not be too much of a problem in practice10:06
TheMuerogpeppe: will talk to frankban if that inaccuracy would be ok there10:07
dimiternrogpeppe, fwereade_, mgz, jam, others interested: PutCharm proposal document for comments https://docs.google.com/a/canonical.com/document/d/1TxnOCLPDqG6y3kCzmUGIkDr0tywXk1XQnHx7G6gO5tI/edit#10:07
rogpeppeand as for client vs server clocks, you could probably ask for a given duration before the last log message10:07
TheMuerogpeppe: hey, that's a nice approach, like it10:08
TheMuerogpeppe: with different operating modes I still can keep the full scan if wanted10:08
rogpeppedimitern: looking10:09
jamTheMue: I think the GUI probably wants "as many old lines as is comfortable to put into the UI" so strictly restricting by date might be unwanted10:11
jamconsider "it failed 2 days ago"10:11
jamor "it looks failed, when did it fail" ?10:11
jamSo *hinting* to make finding the right value sounds good, but assuming it is just a hint is probably worthwhile10:11
rogpeppejam: i think that's probably more of an argument for being able to move back in time10:12
jamI guess you could just seed "estimated size of line" in the code, and then update that estimation for a given request as you read through stuff and filter it10:12
jamrogpeppe: sure, but what estimate is 'good' for 100 lines10:12
rogpeppejam: i don't think we need to estimate in bytes10:12
jamrogpeppe: I mean we don't have the API hint, but we use an internal hint10:13
jamgiven that you might have a really noisy machine that *isn't* in the filter10:13
jamor the machine you are reading is noisy itself10:13
rogpeppejam: are you suggesting this as an optimisation?10:14
jamrogpeppe: right10:14
jamI think we don't need to expose it to the UI, and we do already have "num lines" in both the CLI and in what the GUI would like10:14
jamthat said10:14
rogpeppejam: i'm not entirely sure i see how it helps10:14
jamrogpeppe: I think we can land an unoptimized version as long as we can think of a way to make it better when we need to.10:15
rogpeppejam: could you explain?10:15
TheMuejam: yep, wanted is number of lines10:15
jamrogpeppe: so we want to get (eg) 100 lines of filtered context for the UI. We start at some place near the end, read and determine how many filtered lines are in that space, and then jump back an estimate based on the number of lines we've found so far.10:16
jamyou could make the default start 1MB from the end of the file, which might catch 90% of the actual cases10:16
jambut the specific tweaks would all be things that we'd actually need real world testing to fine tune10:16
jamso lets not optimize too much until we have evidence that it is a problem10:16
rogpeppejam: so you're suggesting that we might or might not return the number of lines requested by the user?10:16
rogpeppejam: personally i prefer to avoid heuristics when we can10:17
jamrogpeppe: I'm saying we start with an estimate of where those lines might be, and keep looking until we find them, potentially hitting the beginning of the file10:17
jamrogpeppe: seeking from the end ==> heuristic about how much you should read in one chunk, etc10:17
rogpeppeone mo, am just going to check if this guy's environment is actually working10:18
jamif we do "something" that is ~ reasonable, we get most of the benefit and can drive the rest of the work by actual content10:18
jamTheMue: so I guess my point is, we know the log file can get to multiple GB, so a small amount of "try to get the answer near the end of the file" is worth implementing. But don't do a lot of work to optimize the code until we actually know it is a problem10:19
TheMuejam: btw, how often do we log rotate?10:19
jamTheMue: we don't yet10:20
jamIIRC natefinch started on something, but he wasn't able to get all files so stopped trying10:20
TheMuejam: ouch10:20
jam(he could get all-machines.log to be better, but juju itself kept the log file handle open, so it just kept writing to the rotated place)10:21
jamTheMue: bug #119165110:21
_mup_Bug #1191651: Juju logs don't rotate. <canonical-webops> <canonistack> <logging> <pyjuju:Triaged> <juju-core:Triaged> <https://launchpad.net/bugs/1191651>10:21
jamor bug #107821310:22
_mup_Bug #1078213: juju-machine-agent.log/logs are not logrotated <amd64> <apport-bug> <canonical-webops> <canonistack> <logging> <precise> <juju-core:Triaged> <juju (Ubuntu):Triaged> <https://launchpad.net/bugs/1078213>10:22
TheMuejam: ic, and needs indeed a solution, especially for larger environments10:22
jamTheMue: sure, and it will probably also end up interfering with debug-log, which we'll want to sort out, but it can be an exercise in the future for now10:23
jamthough I think just rotating all-machine.log would be a big win today10:23
TheMuejam: yep10:23
jameven if we aren't rotating everything10:23
jamall-machines.log is something we can do 'easily' because rsyslog already has hooks for rotating its log files10:24
jamvs jujud that would need a SIGHUP or something to be added10:24
TheMuejam: btw, did you looked at the CL so far?10:27
jamTheMue: only in brief, I didn't review it.10:28
TheMuejam: ah, ok10:31
rogpeppeoh darn, another problem encountered.10:31
rogpeppe2013-12-04 10:19:20 ERROR juju.provisioner provisioner_task.go:342 cannot start instance for machine "77": cannot set up groups: cannot authorize securityGroup: The permission '36226792-3--1--1' has already been authorized on the specified group (InvalidPermission.Duplicate)10:31
rogpeppeanyone seen the above error before?10:31
jamrogpeppe: I saw it once. After I had a permission group and I added ICMP to it. Then destroyed and rebootstrapped10:32
jambecause destroy doesn't delete perm groups10:32
jamit saw a group that already existed and tried to reconfigure it10:32
jamapparently in a duplicate fashion10:32
* rogpeppe goes to look at that logic10:32
jamrogpeppe: I *fixed* it by deleting all the low-numbered juju-ENV-0,1,2 etc groups10:33
rogpeppethese guys are really seeing the worst of juju10:33
jamin this case, you'd want to delete juju-ENV-7710:33
jamjuju-ENV-machine-77, I think10:33
rogpeppejam: hmm, i guess it might just be an eventual consistency issue10:36
rogpeppejam: we revoke first, but perhaps the authorize hasn't seen the initial revoke, so it gives the duplicate error10:37
rogpeppejam: FYI i just looked at all their security groups and there's no security group for machine 7710:46
jammgz: rogpeppe: TheMue: standup ?10:46
rogpeppejam: i think it must be the global group10:46
jamhttps://plus.google.com/hangouts/_/calendar/am9obi5tZWluZWxAY2Fub25pY2FsLmNvbQ.mf0d8r5pfb44m16v9b2n5i29ig10:46
jamcould be10:47
mgzthere in a sec10:48
* dimitern gives up on the hangout11:14
jammgz: I approved your https://code.launchpad.net/~gz/juju-core/1.16-juju-update-bootstrap-tweak/+merge/196950 but you might want to hold off for a tick11:24
jamIsStateServer got renamed to IsManager in the old 1.16.4 stuff11:24
jamso it conflicts there11:24
mgzwait, we moved the rename back to 1.16 in the end?11:25
jammgz: that is part of destroy-machine --force, which is still targetted to the 1.16 series (as in something that customers do need, so we're putting it into the current stable series)11:25
mgz>_<11:25
mgzI'll merge and fixup conflicts11:26
jammgz: it hasn't landed yet, I accidentally proposed against trukn11:26
mgzokay, so if I win the race, *you* have to fix it  up? :011:28
mgzthat was not the correct smilie...11:28
jammgz: that is true, but I just marked mine approved11:31
mgz:D11:31
jammgz: well, frank's stuff is in the queue now, so you have a chance11:32
jamdepending on what the bot finds first :)11:33
jammgz: mine landed first :)11:48
mgzI let you win :P11:49
jamI didn't realize you could do that, what does it look like on your end (Insert horizontal rule)11:49
TheMuemgz, jam: geeks :D11:50
* TheMue => lunch12:16
axwhey natefinch. got my xps 15 today - did you have any issues loading 13.10 onto it?12:52
axwI'm getting weird udev issues at startup :\12:52
axwabout to go back to 12.04 and then upgrade...12:52
natefinchaxw: I just transferred my hard drive from my old machine to this one13:00
natefinchaxw: but that worked fine :D13:01
jammorning natefinch, I hope you're feeling better13:01
natefinchjam: got a litle extra sleep, feel like a new man... well, not exactly, but not bad :)13:02
mgza new-ish man13:02
natefinchjam: certainly better than I would have if I'd gotten up at 5:2013:03
axwnatefinch: aha. I was thinking of doing that as a last resort :)13:05
natefinchaxw: sorry, it never occurred to me that installation would be a problem13:08
axwnatefinch: no problems, I'm somewhat used to this :(13:09
axwsad to say13:09
=== gary_poster|away is now known as gary_poster
rogpeppelunch13:24
dimiternrogpeppe, jam, any comments on the PutCharm doc?13:47
dimiternmgz, if you want to take a look as well?13:48
rogpeppedimitern: i will have; juggling a few things currently.13:48
dimiternrogpeppe, sure, take your time13:48
mgzdimitern: sure, looking13:49
mgzgeh, google doc links are annoying to transfer across... :)13:50
mgzdimitern: left a couple of notes14:01
niemeyerrogpeppe: Any news from that issue?14:05
rogpeppeniemeyer: we got it all working, but they've decided that juju is not for them in the future, sadly14:06
niemeyerrogpeppe: Due to that issue, or did they bring up any other reason?14:06
rogpeppeniemeyer: a number of issues14:06
niemeyerrogpeppe: Okay, well.. at least we have feedback to work on then14:07
rogpeppeniemeyer: yes - i am putting together a summary14:07
niemeyerrogpeppe: Thanks a lot14:07
rogpeppeniemeyer: i asked if they could summarise their juju experience for us too14:07
rogpeppeniemeyer: they've put a lot of time into it14:07
dimiternmgz, cheers14:12
sinzuijamespage, I think devs are willing to forgo an SRU for saucy for the sake of 1.16.4.14:21
jamsinzui, jamespage: so 1.16.4 is set in stone (IMO) because it is actually being used in the wild. If we decide we have to revert things/move it to 1.18/whatever we can do so as necessary14:36
jamespagejam, sinzui: so I guess you would like me to upload it to trusty and do the backports dance right?14:36
jamjamespage: I think we want to make binaries available, I'm not 100% sure how that has to happen14:37
sinzuijamespage, yes please :)14:38
jamespagesinzui, jam: OK _ but as we probably can't sru this point release, it can't go into cloud-tools14:40
jamespagesinzui, jam: uploaded to trusty and backporting for the stable PPA now14:49
sinzuiThank you jamespage14:50
abentleyjam: It appears that bug #1257481 applies only when hyphen is used as a separator.  Can you confirm?15:08
_mup_Bug #1257481: juju destroy-environment destroys other environments <ci> <destroy-environment> <juju-core:In Progress by jameinel> <https://launchpad.net/bugs/1257481>15:08
mgzabentley: yeah, that seems right15:08
mgzwe match machines on juju-ENVNAME-*15:09
mgzso, be more creative in your naming :015:09
jamabentley: yes15:09
mgzjam: we can just make the pattern better, right?15:10
mgzin fact, I think it *was* better in pyjuju15:10
jammgz: see the branch associated with the bug15:10
mgzjam: I see no associated branch15:10
jammgz: "juju-ENVNAME-machine-\d*"15:10
jammgz: because I fat-fingered it to 125648115:11
jamugh15:11
mgzjam: you li... right15:11
mgzreviewing, at any rate :)15:11
jammgz: I'm proposing one with the right associated bugs, but the code is the same15:12
jamthen again, it is *one* line :)15:12
mgzjam: really does seem like we want a test15:12
jammgz: how would you write such a test?15:13
jammgz: we do still have 1 test that calls AllMachines15:13
jamand I did manual testing on HP and Canonistack15:13
jamI can do a whitebox test of what the regex is15:14
jambut that doesn't really help much15:14
jamyou really need a test in an environment, because the thing interpreting the regex is HP/Canonistack/Havana/etc15:14
jammgz: and it doesn't help that our "go test -live" is actually broken right now (something about not having AgentVersion in the config)15:14
mgzjam: can write a local live test, hook in some extra instances, and assert only sanely named ones are returned by Instances15:15
mgzdoesn't need to be a live live test15:15
mgz...but I do see why you want that15:16
jammgz: so we can, though it sounds very close to testing that I implemented exactly that, if you have a good way to phrase it that isn't *too* tied to implementaiton, I do think it is good "I didn't screw this up when I refactored code"15:16
mgzmanually nova boot another server with a name that would have matched under the old pattern, but won't under this?15:17
mgzthat way we have a test that fails on the actual bug reported15:17
jammgz: reasonable point, please leave it in the review so I remember to do it15:18
mgzjam: are you putting up a new -cr or should I use that one?15:19
rogpeppedimitern, fwereade_: i've added my original thoughts for how we might do charm uploads to the PutCharm proposal.15:25
rogpeppedimitern, fwereade_: it seems a bit simpler to me, but there's probably a good reason why it would not work15:28
dimiternrogpeppe, thanks, i'm reading it now15:28
dimiternrogpeppe, and commenting15:29
abentleyjam: Thanks for the quick fix.  Looks like it will be really hard to cause a bogus match from here on out.15:32
natefinchniemeyer: got a second?  Hopefully quick question about replica sets15:35
niemeyernatefinch: Yo, yep15:36
natefinchniemeyer: I'm writing tests for my code that configures replica sets, so it brings up some mongo instances with mongod --replset foo etc, but I need a good way to test if they're fully up and ready before adding them to the replica set.  Suggestions?  Would Ping() work?15:38
natefinchniemeyer: my thought was to put a direct dial and then a ping into a loop, and wait til it succeeds or passes a deadline... but it seems never to succeed15:43
mgzcan I have stamp on codereview.appspot.com/37210044 merge of 1.16 into trunk please?15:43
abentleyjam: It appears that when you create an instance on openstack, you can attach metadata to it.  And when you list instances, you can retrieve that metadata.  This could be a sure-fire way of ensuring you delete only the instances you created, e.g. by storing the env name as metadata.15:47
natefinchniemeyer: nevermind, I think I just figured it out... forgot to use a monotonic session.15:48
niemeyernatefinch: Have you seen the LiveServers method?  That's one way too15:55
niemeyernatefinch: Oh, *before* adding to the RS.. okay, nevermind15:55
natefinchniemeyer: right, the problem is that I was trying to add them to the replicaset before they were fully up, so mongo would complain that it couldn't add a majority of the servers to the set15:56
rogpeppefwereade_, jam, dimitern: any idea how the problem mentioned by iri- in #juju might be happening?15:56
niemeyernatefinch: Understood15:56
rogpeppefwereade_, jam, dimitern: (iri- is peter waller, BTW, the person I've been trying to sort out the environment of)15:57
=== natefinch is now known as natefinch-dentis
=== natefinch-dentis is now known as natefnch-dentist
mgzrogpeppe: can I have a stamp on the trunk merge of 1.16 please? cr 3721004416:29
rogpeppemgz: looking16:29
rogpeppemgz: LGTM16:30
mgzta!16:30
bachi rogpeppe or fwereade_, when bootstrapping juju is there a way to get the same effect of 'default-series' in the environment file via the command-line?  --series does not seem to be it.16:43
rogpeppebac:  i think it has to be in the environment config16:44
bacrogpeppe: that was my conclusion but i'd hoped i'd overlooked something.16:44
fwereade_bac, it's not ideal, but you can always change default-series with set-env after you've bootstrapped16:48
bacfwereade_: and that will affect your bootstrap node?16:49
fwereade_bac, no, it won't16:49
bacyeah, that would be scary.16:50
fwereade_bac, it'll affect what charm series is inferred when yu deploy, and what series machines added without --series get, but that should beit16:50
bacok, thanks16:50
fwereade_bac, cheers16:50
jcastrosinzui, I have a community update on juju to stream today, looking at the milestone for 1.16.5 it's 1 bug away, is it safe for me to say that we'll have .5 out before the holidays?16:52
sinzuiNO way16:52
sinzuijcastro, I reported that bug weeks ago and no one is working on it. I think 1.16.5 can never happen because it breaks cli compatability16:53
jcastrook so I can just reiterate that .4 is where it's at?16:54
sinzuiI think we should hope for 1.17 this month with 1.18 in January16:55
sinzuidamn it. abentley there is an extra leading / in the azure release files that is not in the testing files. All the files were pushed to the wrong location16:59
* sinzui blows a gasket.16:59
abentleyCrap!16:59
=== teknico_ is now known as teknico
sinzuiabentley, I am pushing the files to the correct location. We can talk while everything goes up17:11
TheMuerogpeppe: you'll get a new push of my CL tomorrow, I'm now changing it to reading from the end first17:14
rogpeppeTheMue: cool17:14
rogpeppeTheMue: you got my email?17:14
TheMuerogpeppe: oh, eh, yes (right now, didn't looked into mail before) :D17:15
abentleysinzui: relevant? http://162.213.35.54:8080/job/azure-upgrade-deploy/71/console17:16
rogpeppeTheMue: quite fun that i was still able to find the code that i remembered...17:16
TheMuerogpeppe: great, my approach looks initially simpler, but with less error control and less generic17:16
TheMuerogpeppe: will combine both17:17
TheMuerogpeppe: but have to step out now, visitors17:17
rogpeppeTheMue: ok, see ya17:17
sinzuiabentley, yes, in fact, it answers what is in my head,17:18
jamespagesinzui, all the juju-core 1.16.4 packages are built in the juju-packagers PPA btw17:23
sinzuijamespage, I saw thanks17:24
* rogpeppe is done for the day18:44
rogpeppeg'night all18:44
thumpermramm: you around for a quick hangout?19:44
mrammyea19:44
mrammcan I have 5 min19:45
thumpersure19:54
* thumper didn't notice the response19:54
thumpermramm: if you need a few more minutes, I'll go make a coffee19:54
mrammyea19:54
mrammneed a few more19:55
thumperok19:55
* thumper goes to make coffee19:55
natefinchplugged in a new USB gigabit ethernet adapter today, and laptop froze up twice today, which it's never done before.  Coincidence?19:58
thumpernatefinch: probably not :-)20:00
natefinchthumper: I didn't really think so :)   Dang... 'cause it's really much more pleasant on ethernet than wifi where my desk is (there's like 3 walls between me and the router, and my signal blows)20:01
thumpernatefinch: we have brick or plaster interrior walls, and that kills the signal.20:02
thumperran a cat 6 cable from the office to the dining room20:02
thumperand have a second access point there20:02
thumpermramm: for when you are ready https://plus.google.com/hangouts/_/72cpim91vapctd3ad0g1v02aa0?hl=en20:03
natefinchI actually am planning to run a cable from the basement under my office... there's a phone jack in this room that is sort of hilariously useless, which I plan to replace with an ethernet jack.  Putting an access point in here is a good idea, though.  hadn' thought of that20:03
natefinchYou know one of the things I like best about Canonical?  Sometimes stuff actually gets addressed when I complain.20:44
natefinchniemeyer: one (hopefully last) mongo question if you have second?21:13
jcastroheya thumper21:37
jcastrowhat's the TLDR on manual provisioning lately?21:37
thumperjcastro: mostly working21:37
thumperjcastro: hazmat is using it quite a lot I think21:38
thumperjcastro: axw is working on making it destroy itself properly21:38
thumperwhich is involving moving destroy environment into the API21:39
thumperwhich is mostly done I think21:39
thumperapart from that, I think it is working21:39
thumperbut not really documented21:39
=== waigani_ is now known as waigani
thumpero/ waigani21:42
waiganithumper: hello :)21:45
=== gary_poster is now known as gary_poster|away
hazinhelljcastro, its awesome.. after i get out of hell, i've got a cool plugin that you'll like21:53
hazinhellis there still on-going work on api21:53
hazinhelldeploy is listed as is progress but dimeter is on holiday for a while21:54
hazinhellmostly just looking for putcharm in the api21:54
hazinhelljcastro, manual still has some rough edges, there's the manual-provider tag on the bugs21:55
hazinhellbut it works pretty well outside of the rough edges imo.21:55
jcastrothumper, it's partially documented: https://juju.ubuntu.com/docs/config-manual.html21:55
jcastrohazinhell, that's good to hear!21:56
hatchhey does 1.16.4 have the fix for manual provider?23:09

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