/srv/irclogs.ubuntu.com/2012/05/01/#juju-dev.txt

rogpeppeniemeyer: morning!07:15
niemeyerrogpeppe: Heya!07:16
rogpeppeniemeyer: thanks for the LGTM, BTW07:16
rogpeppeniemeyer: will submit after i've upgraded to precise this morning. thought it might be a good idea before heading to UDS. i'm hoping the battery life will have reverted towards what i got under natty...07:18
niemeyerrogpeppe: Ah, super07:20
niemeyerrogpeppe: Just finishing reviews to get some sleep here as well07:21
rogpeppeniemeyer: hmm, precise says it's going to remove libzookeeper-dev, i wonder why07:23
rogpeppeniemeyer: oh yes, one thing i discussed with william last night07:24
rogpeppeniemeyer: how do you feel about upload-tools being a separate subcommand rather than a flag?07:25
niemeyerrogpeppe: Where would it upload to?07:26
rogpeppeniemeyer: to private storage07:26
niemeyerrogpeppe: Which private storage?07:26
niemeyerrogpeppe: There's no environment..07:26
rogpeppeniemeyer: the storage mentioned in environments.yaml07:26
niemeyerrogpeppe: The environment doesn't exist07:26
rogpeppeniemeyer: it is created when necessary. it doesn't matter if it's created by bootstrap or upload-tools, i think07:27
niemeyerrogpeppe: bootstrap is what creates it.. we can't expect the private storage to work before that happens.07:27
niemeyerrogpeppe: Heh07:27
niemeyerrogpeppe: So you're turning upload-tools into bootstrap..07:27
niemeyerrogpeppe: Doesn't feel great.07:27
rogpeppeniemeyer: bootstrap is all about starting the first machine, i think. the storage is somewhat incidental.07:27
niemeyerrogpeppe: bootstrap is all about creating the environment. Everything else is a side effect of that.07:28
niemeyerrogpeppe: Storage can't be assumed to work at all before the environment has been bootstrapped.07:28
rogpeppeniemeyer: ok, so if it's not a command, which commands should get --upload-tools (or --upload-client?) as a flag?07:29
niemeyerrogpeppe: There are environments that already depend on that (local) and it's pretty much certain that private storage will move out of S3 in the future and into a custom service07:29
niemeyerrogpeppe: Right now, bootstrap07:29
rogpeppeniemeyer: and what if you want to upload tools for several architectures before bootstrapping?07:29
niemeyerrogpeppe: You can't. There's no where to upload to before bootstrap happens.07:30
rogpeppeniemeyer: if there was a separate command that could only run after bootstrap, in addition to the --upload-tools flag on bootstrap, that could work07:31
rogpeppeniemeyer: something to think about anyway. for the time being, i'll just do the flag on bootstrap.07:32
rogpeppeniemeyer: thanks for the input.07:32
niemeyerrogpeppe: Maybe, but it might work fine to have --upload-tools as a flag of upgrade-juju as well07:32
niemeyerrogpeppe: Hmm.. not sure07:33
niemeyerrogpeppe: Maybe upload-tools would be cleaner07:33
rogpeppeniemeyer: yeah, not sure either.07:33
rogpeppeniemeyer: it seems like it's mostly orthogonal07:34
niemeyerrogpeppe: Yeah, you're right07:34
niemeyerOkay.. really need some sleep now07:37
rogpeppeniemeyer: yeah, you do!07:37
rogpeppeniemeyer: yeah, you do!)07:37
rogpeppe:-)07:37
niemeyerrogpeppe: Have a great day :)07:37
niemeyerand talk to you in a few hours maybe07:37
rogpeppeniemeyer: yeah07:37
rogpeppeniemeyer: sweet dreams..07:38
niemeyerThanks man07:38
* niemeyer => sweetness07:38
wrtpniemeyer: mornin'16:04
wrtpniemeyer: sleep well? :-)16:05
niemeyerwrtp: Heya!16:24
niemeyerwrtp: Yep16:24
niemeyerwrtp: All good, thanks16:24
niemeyerwrtp: How was the day?16:24
wrtpniemeyer: not quite as productive as hoped. i'm a little unsure about the best way to proceed.16:25
wrtpniemeyer: i might change the proposal i made earlier - i'm currently thinking that an "uploadTools" bool argument to Bootstrap might be better.16:26
niemeyerwrtp: We might have both, I suppose16:27
niemeyerwrtp: Actually, hmm..16:27
wrtpniemeyer: i think that's the best way16:27
niemeyerwrtp: What's the background?16:27
wrtpniemeyer: one current problem is that given the Environ interface, i'm forced to call PutFile before Bootstrap16:27
wrtpniemeyer: i thought about having a separate "Create" call to create the environment's state, but that seems wrong.16:28
niemeyerwrtp: Yeah, I see what you mean.. maybe the bool is the best solution.. let me think for a moment as well16:29
wrtpniemeyer: the other problem is how to tell the Environ to do exact version matching.16:29
wrtpniemeyer: i'm also trying to think forward with an eye towards constraints.16:30
niemeyerwrtp: Talk me through it16:34
wrtpniemeyer: my current idea is that if the uploadTools bool arg to Bootstrap is true, the environ creates the state appropriately and calls environs.UploadTools. it also triggers exact version matching (which will need to be an argument to the provisioning agent).16:35
wrtpniemeyer: *and* (for the future) it adds the current architecture to the bootstrap constraints.16:36
wrtpniemeyer: in addition to that, we'd have an upload-tools command to juju which would upload tools for the current version/arch with no other side effects.16:37
wrtpniemeyer: how does that sound?16:39
niemeyerwrtp: It sounds reasonable16:41
wrtpniemeyer: cool.16:42
niemeyerwrtp: Both things seem interlocked really16:42
niemeyerwrtp: We can't bootstrap without the tools, and we can't upload the tools without bootstrapping16:42
niemeyerwrtp: So it makes sense to have the chicken being fabricated to get started :)16:43
wrtpniemeyer: yeah. well, maybe - it works ok on ec2, but maybe not with other providers as you've said16:43
wrtpniemeyer: and we'd need another arg to bootstrap anyway to ask for an exact version.16:43
niemeyerwrtp: Even EC2 itself may not work so well with that in the near future16:43
niemeyerwrtp: Think environment storage moving onto the nodes16:44
Aramhi folks.16:44
wrtpniemeyer: how can that work?16:44
niemeyerAram: Heya16:44
wrtpniemeyer: how can we know what node to contact without some storage?16:45
wrtpAram: hi16:45
niemeyerwrtp: There are good ways to tag machines in EC2 nowadays16:45
wrtpniemeyer: ah, yeah, that seems reasonable then. ec2 metadata becomes the storage...16:46
niemeyerwrtp: Not really the storage..16:47
wrtpniemeyer: the storage for the initial contact info16:47
wrtpniemeyer: replacing zookeeper-addresses (or whatever the name is)16:47
niemeyerwrtp: yeah.. this is really a lookup mechanism rather than actual storage16:47
niemeyerwrtp: It'll actually be a lot nicer that way16:47
niemeyerwrtp: We can even move into this direction today, I guess16:48
niemeyerwrtp: Well, not yet16:48
niemeyerwrtp: We'd still need the control bucket either way16:48
wrtpniemeyer: yeah16:48
niemeyerwrtp: But it'll be awesome to drop that ugly setting16:48
wrtpniemeyer: although calling it "control-bucket" would soon be a bit wrong16:48
niemeyerwrtp: Well, I hope we kill it for good16:49
niemeyerwrtp: It'll also be a lot nicer to port it across providers16:49
niemeyerOops.. time to talk about juju here..16:50
wrtpniemeyer: have fun16:50
wrtpniemeyer: off for the day. see you tomorrow some time, hopefully.17:03
niemeyerandrewsmedina: Heya18:20
niemeyerandrewsmedina: How're things going there?18:20
andrewsmedinaniemeyer: hi19:08
andrewsmedinaniemeyer: I'm finishing the works in the networking for local provider19:10
andrewsmedinaniemeyer: rog did the review19:10
andrewsmedinaniemeyer: https://codereview.appspot.com/6099051/19:10
niemeyerandrewsmedina: I noticed, that's awesome.. a bit rushy this week due to the event here, but I'm looking forward to checking it out19:49
=== mcclurmc is now known as 31NAA87MH
=== SpamapS_ is now known as SpamapS
=== samkottl_ is now known as samkottler

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