/srv/irclogs.ubuntu.com/2011/10/07/#juju.txt

jimbakerhazmat, ok, just making sure00:03
jimbakerhazmat, i did just triage bug 846055 as invalid after some more analysis00:04
_mup_Bug #846055: Occasional error when shutting down a machine from security group removal <juju:Invalid> < https://launchpad.net/bugs/846055 >00:04
hazmatjimbaker, cool00:04
jimbaker(related to my fix of bug 863510 a little bit ago)00:05
_mup_Bug #863510: destory-environment errors and hangs forever <juju:Fix Released by jimbaker> < https://launchpad.net/bugs/863510 >00:05
* hazmat noodles on a charm browser00:18
SpamapSifup /win 2002:38
jamespagemorning all12:02
jamespagelocal provider is working really well for me12:02
jamespagehowever can't upgrade charms - http://paste.ubuntu.com/703911/12:03
jamespagenot the end of the world as destroying restarting is only a couple of minutes :-)12:03
hazmatjamespage, g'morning12:04
jamespagemorning hazmat12:04
hazmatoh.. ugh12:05
hazmati forgot that the unit agent downloads the charm...12:06
hazmatso a filesystem solution isn't going to work very well12:06
hazmatsince the unit and machine agent both need access and are on separate fs mounts12:06
hazmatjamespage, yeah.. upgrade is definitely broken12:07
_mup_Bug #869945 was filed: upgrade broken for local provider <juju:New> < https://launchpad.net/bugs/869945 >12:28
rogcan i ask a quick question about the juju source again, please?12:43
rogi'm trying to understand the machine startup process12:43
hazmatrog, go for it12:43
rogin ec2/__init__.py, there are these two lines:12:44
rog        constraints = machine_data.get("constraints", {})12:44
rog        return EC2LaunchMachine(self, master, constraints).run(machine_id)12:44
hazmatrog, so contraints are how we get the image12:45
hazmator what sort of machine we run, or where we run it12:45
rogi'm wondering where the zookeepers argument to EC2LaunchMachine.start_machine comes form12:46
rogs/form/from/12:46
hazmatthe second line starts the machine, the master param is whether we start a a zookeeper and provisioning agent on the node by default. the machine id is to inform the machine of its zk machine id so its machine agent can connect back to the right place.12:47
rog(and i think i've got confused over the two start_machine implementations... let me have another look)12:47
rogah, machine_id is the machine id of the zookeeper machine, not the new machine?12:47
hazmatrog yes..12:48
hazmatthe provider machine id is only known after the instance has been launched12:48
hazmatrog, some of it is a little confusing because of the desire to reuse implementation and lots of similiar named things... it looks like constraints doesn't actually determine machine type now that i look at it, just image selection.12:49
hazmatrog, start_machine gets called by a base class in common/launch.py12:50
hazmatfrom the launchmachine base class run method12:50
roghazmat: yeah, it's winding in and out of the base class.12:51
rogi was confused12:51
rogi think i see it now12:51
hazmatrog, it uses the findzookeeper class to get the zks to populate the arg to start_machine12:51
hazmatrog, cool12:51
rogyeah, i had looked at that before, but hadn't made the connection12:51
rogthanks12:51
hazmatnp12:51
_mup_juju/hooks-with-noninteractive-apt r395 committed by kapil.thangavelu@canonical.com12:52
_mup_set debian noninteractive12:52
roghazmat: one last, Q: where's the run(machine_id) method defined?12:53
hazmatrog which one?12:54
rogthe one in  return EC2LaunchMachine(self, master, constraints).run(machine_id)12:54
hazmatrog, its the primary entrance point into a  LaunchMachine class, its invoked by the provider facade' start_machine method  defined in each provider package12:54
hazmatrog, its defined on the common/launch.py LaunchMachine class12:55
rogso it is. grep fail.12:56
rogah, so machine_id *is* the id of the new machine, not of the zookeeper machine12:57
rogthanks again12:59
smoserbug 86362913:01
_mup_Bug #863629: libvirt-lxc: virFileOpenTtyAt can't be called on /some/other/dev/pts <patch> <server-o-nrs> <libvirt (Ubuntu):Confirmed> < https://launchpad.net/bugs/863629 >13:01
fwereadehazmat: lp:810649 (Revision number should be optional in metadata) has now been fully addressed, I think; but not in the manner suggested in the bug13:03
fwereadehazmat: shall I mark it invalid?13:03
hazmatfwereade, i'm not sure13:03
hazmatfwereade, the common case the bug is raising isn't addressed13:03
hazmatwhich is i modify a formula, go to deploy it, and transparently the on in storage is used instead13:04
hazmats/on/one13:04
fwereadehazmat: hmm, you're right13:04
hazmatfwereade, so i started to look at exposing the provider storage over http to allow units to download for upgrades13:23
fwereadehazmat: oh yes?13:23
hazmatfwereade, yeah.. i forget the unit agents download the charms directly for upgrades only13:24
hazmatbut i ran into the issue that the charm urls (from provider storage) aren't the same if i bind the webserver on localhost in the host13:24
hazmatits localhost in the provider and 192.168.122.1 in the unit13:24
* hazmat wonders if he should break for coffee13:25
fwereadewhat does 192.168.122.1 resolve to in the host?13:26
hazmatah.. i can bind it explicitly to that interface probably13:27
hazmatfwereade, it is the host13:27
hazmatyeah.. that's the ticket13:27
hazmatfwereade, thanks13:27
fwereadehazmat: yw13:32
niemeyerMorning all!13:39
niemeyerSorry, a bit late.. there was a fierce fight with bed this morning13:39
fwereadeheya niemeyer13:39
niemeyerfwereade: yo!13:40
niemeyerfwereade: Some of the fight was useful.. I woke up with a thought in my head about errors and the store13:40
fwereadeniemeyer: we could certainly make the error handling much more sophisticated13:40
niemeyerfwereade: We need to tell people about non-existent and bad charms somehow13:40
fwereadeniemeyer: bad in what sense?13:41
niemeyerfwereade: I think it's straightforward, but we need a patch soonish, and support on the fake thingy to see if it's working13:41
niemeyerfwereade: bad as in there's content in a branch that the store can't pack13:41
fwereadeniemeyer: ah, ok13:41
fwereadeniemeyer: the fake needs some work anyway, it's only barely good enough to tell that it ought to work13:42
niemeyerfwereade: My suggestion is this:13:42
fwereadeniemeyer: and doesn't even consider usernames13:42
niemeyerfwereade: let's introduce a couple of additional keys for each entry returned through /charm-info13:43
niemeyerfwereade: "warning", and "error"13:43
niemeyerfwereade: The store would take these like that:13:43
niemeyerErm, sorry13:43
niemeyerfwereade: The client would take these like that:13:43
niemeyer1) If there's a "warning", print it as a warning (duh) and continue using the received info normally13:44
fwereadeniemeyer: daring and unorthodox, but I can get behind that13:44
fwereade:p13:44
niemeyer2) If there's an "error" raise a CharmError with the received string and the given charm URL13:44
fwereadeniemeyer: fair enough; what about multiple errors?13:44
fwereadeniemeyer: well, I guess we don't need to worry about them yet13:45
fwereadeniemeyer: API sounds sensible though13:45
niemeyerfwereade: Yeah, we'll sort them out in the server side for now13:45
niemeyerfwereade: Please note these go inside each individual charm's json doc13:45
niemeyerfwereade: So, e.g.:13:45
niemeyerfwereade: {charm_url: {"error": "no metadata.yaml found"}}13:45
fwereadeniemeyer: yep, they're charm info not request info13:45
niemeyerfwereade: Yeah, +113:45
fwereadeniemeyer: sounds good, I'll have a go at that now then13:46
niemeyerfwereade: Thanks!13:46
niemeyerSpamapS: We have a couple of bug fixes in the pipeline, FYI13:46
niemeyerSpamapS: One is merged, the other fwereade is working on right now13:47
_mup_Bug #870000 was filed: client should understand errors and warnings from the charm store <juju:In Progress by fwereade> < https://launchpad.net/bugs/870000 >13:48
fwereadeniemeyer: suggestion: list of warnings, rather than restricting ourselves to just one?13:50
niemeyerfwereade: List of warnings and list of errors? Hmm13:51
fwereadeniemeyer: I'd imagined an error to be a "you're boned, processing stops now" condition13:51
fwereadeniemeyer: whereas if a warning doesn't stop anything, more warnings are possible13:52
niemeyerfwereade: Yeah, but there is always the "you're _seriously_ boned" case13:52
niemeyerfwereade: +1 on lists for both13:52
fwereadeniemeyer: ok, sounds good13:53
hazmatniemeyer, are you planning on doing a web ui on the store to start?13:53
niemeyerfwereade: and calling them "warnings"/"errors" instead13:53
fwereadeniemeyer: indeed13:53
niemeyerhazmat: Not to start.. I'm planning to maybe get it in time at all :-)13:53
hazmatniemeyer, i was playing around with something yesterday, just because i needed a list of interfaces available from other formulas13:53
niemeyerhazmat: Nice13:54
niemeyerhazmat: Did you put the client interface to test?13:54
hazmatniemeyer, i'm just querying lp and scanning bzr branches13:54
niemeyerhazmat: Ah, ok13:54
hazmatniemeyer, is there a store endpoint up already?13:54
niemeyerhazmat: Nope13:54
hazmatSpamapS, there's one more bug in progress on a fix for local provider upgrades as well13:55
hazmatSpamapS, feel free to merge the deb dir removal as well13:55
niemeyerhazmat, SpamapS: Erm, hold on?13:56
niemeyerhazmat, SpamapS: Please don't remove the debian dir now.. the PPA depends on it, this isn't important right now I'd guess?13:56
hazmatniemeyer, its not to me.. but SpamapS had a pending branch out for a while regarding13:57
hazmatniemeyer, i pushed it to the review queue, and its currently awaiting a merge13:57
niemeyerhazmat: Ok, I'm pushing it back then13:58
niemeyerhazmat: and retargetting to the florence milestone13:58
niemeyerhazmat: There's no reason for us to rush this in and have to fix the PPA _right now_13:59
hazmatniemeyer, fine by me13:59
niemeyerReview queue is empty14:20
niemeyerhazmat: and man, good catch on the DEBIAN_FRONTEND14:21
niemeyerTotally forgot about it14:22
rogniemeyer: i'm still waiting for some feedback on the changes i made on my merge proposals in response to your comments, BTW. not that it's that crucial.14:35
niemeyerrog: Yeah, I know.. I've been focusing on the release since yesterday14:35
rogniemeyer: that's fine, just checking.14:36
niemeyerrog: The changes to the Server interface I think should really be postponed, btw14:36
rogniemeyer: you mean the factoring out of the service package?14:36
niemeyerrog: Yeah14:36
niemeyerrog: I'll check your branches now14:36
rogniemeyer: i've gone with you on that, yes14:36
niemeyerrog: Cool, cheers14:36
rogniemeyer: i've merged back in the fixes that were in that branch14:37
niemeyerrog: Sweet, checking it out14:37
niemeyerrog: Your juju branch is ready for action, btw14:38
rog?14:38
rogah, you mean fix-tutorial-with-expose?14:40
rogniemeyer: when i try to push to lp:juju, i get:14:44
rogbzr: ERROR: Cannot lock LockDir(lp-82305296:///%2Bbranch/juju/.bzr/branchlock): Transport operation not possible: readonly transport14:44
niemeyerrog: You probably have a wrong url there14:44
rogok14:44
niemeyerrog: What's "bzr info" telling you about the push location?14:44
rogi did an explicit push14:44
rog% bzr push lp:juju14:45
roghttp://paste.ubuntu.com/703998/14:46
* hazmat is annoyed by twistd14:59
=== wrtp is now known as rog
rogodd15:05
jamespagehazmat: http://paste.ubuntu.com/704017/15:06
jamespagenot sure libzookeeper-java is going to give us quite enough for the local provider15:06
hazmatjamespage, ah.... that's why we wanted zookeeperd15:06
hazmatjamespage, we can work around that15:06
jamespagewell zookeeper is actually enough15:06
hazmatbut its a bug15:06
jamespagethat way nothing starts - but you still get the configuration files15:07
hazmatjamespage, i think zookeeperd actually setups /etc/zookeeper/conf15:08
hazmatwe source it for env variables15:08
jamespageI just tried on a clean server install - zookeeper is enough15:08
hazmatjamespage, cool15:08
jamespagezookeeperd just installs the init scripts I think15:08
rogQQs: what's the difference between machine_id and instance_id, and why does ec2.securitygroup.open_provider_port take both a machine and machine_id?15:09
rog( can't you get a machine_id from a machine?)15:09
hazmatjamespage, i'm not sure who set its up i see /etc/zookeeper/conf_example from zookeeper .. but it looks like its some sort of script that setups the actual directory /etc/zookeeper/conf15:09
jamespagehazmat, the configuration is managed by the alternatives system15:10
jamespage(I think)15:10
* jamespage goes to look15:10
* jamespage worries is memory is not what it used to be15:10
jamespagehazmat: yep - http://tinyurl.com/6a88tag15:12
* jamespage not so worried anymore15:12
jamespageI personally don't like that much - inherited from previous package maintainer15:13
hazmatjamespage, well your the maintainer now.. :-)15:15
hazmatjamespage, thanks, i'll update the pkg check and docs for zookeeper15:15
_mup_juju/local-provider-docs r394 committed by kapil.thangavelu@canonical.com15:16
_mup_update dependency s/libzookeeper-java/zookeeper15:16
hazmatjamespage, alternatively we could manually scan /usr/share/java for the ones we need (minus version numbers).. but its more of a slippery slope15:16
hazmatlibs we need that is15:16
hazmatbcsaller, you mentioned you might have some additions to the local provider docs?15:16
hazmatfor some reason twistd won't daemonize for me..15:17
* hazmat smells a rabbit hole15:17
hazmatwrong cli arg15:28
rogniemeyer:15:35
rogpackage provider15:35
rog// Machine represents a running machine instance.15:35
rogtype Machine interface {15:35
rogId() string15:35
rogDNSName() string15:35
rogPrivateDNSName() string15:35
rog}15:35
rogtype Port struct {15:35
rogProto string15:35
rogNumber int15:35
rog}15:35
rogtype Interface {15:35
rog// StartMachine asks for a new machine instance to be created.15:35
rog// The id of the new machine is given by id.15:36
rog// The currently running list of zookeeper machines15:36
rog// is given by zookeepers.15:36
rog// It returns the new Machine (which is not necessarily15:36
niemeyerrog: paste.ubuntu.com15:36
rog// running yet).15:36
niemeyerrog: paste.ubuntu.com15:36
niemeyerrog: paste.ubuntu.com15:36
niemeyerrog: paste.ubuntu.com15:36
rogStartMachine(id string, zookeepers []Machine) (Machine, os.Error)15:36
rog// Machines returns the list of currently started instances.15:36
rogMachines() ([]Machine, os.Error)15:36
rog// OpenPort opens a new port on m to the outside world.15:36
niemeyerWTF15:36
rogOpenPort(m Machine, p Port) os.Error15:36
rog// ClosePort closes the port on m.15:36
rogClosePort(m Machine, p Port) os.Error15:36
rog// OpenedPorts returns the list of currently open ports15:36
rog// on m.15:36
rogOpenedPorts(m Machine) ([]Port, os.Error)15:36
rog// FileURL returns a URL that can be used to access the given file.15:36
rogURL(file string) (string, os.Error)15:36
rog// Get returns the contents of the given file as a string.15:36
rogGet(file string) (string, os.Error)15:36
rog// Put writes contents to the given file.15:36
rogPut(file string, contents string) os.Error15:36
rog// Destroy shuts down all machines and destroys the environment.15:36
rogDestroy() os.Error15:36
rog}15:36
rog// Register registers a new provider. Name gives the name15:36
rog// of the provider. The connect function is to be used to connect15:36
rog// to the given provider type; attrs gives any provider-specific15:36
rog// attributes; and it should return the newly created provider.Interface.15:36
rog//15:36
rogmuchos apologies folks15:48
rogit seems that xclip does not work15:48
niemeyerrog: It worked very well apparently! ;-)15:50
niemeyerrog: Btw, your url was indeed wrong15:50
niemeyerrog: The trunk branch belongs to the juju team15:50
niemeyerrog: which you're part of15:50
niemeyerrog: So to be able to commit/push, you need to be using it as lp:~juju/juju/trunk15:50
niemeyerrog: Please be extra careful there15:51
rogniemeyer: no, xclip didn't work. i'd told it to hold the URL!15:52
niemeyerrog: LOL15:52
niemeyerrog: update-server-interface reviewed15:52
niemeyerrog: A few comments, but good stuff overall15:52
rogit seems that X clipboards are fundamentally broken, a fact which i knew once, but had forgotten.15:52
niemeyerrog: Yeah, I do know that one15:52
niemeyerrog: For a while!15:52
* niemeyer => lunch15:52
rogniemeyer: i'm also off for the weekend15:53
niemeyerrog: Nice, enjoy!15:53
rogniemeyer: have a good one!15:53
niemeyerrog: Btw, warm +1 on "error"15:53
niemeyerrog: Let's try to get this one in15:53
rogniemeyer: yeah, i think it works ok15:53
rogniemeyer: when i thought of it, i was "yeah, that works"15:53
niemeyerrog: I was looking for an alternative to the ugly error.Value15:53
rogniemeyer: me too.15:54
niemeyerrog: But couldn't find anything else.. a standard "error" would be delicious15:54
rogyup15:54
niemeyerHmmm.. delicious.. lunch!15:54
niemeyerCheers!15:54
niemeyer:)15:54
rogttfn15:54
roghave a good w/e15:54
rogha ha! it seems that my editor uses the xclip's default clipboard, but everything else uses a different one. so i can't make xclip work with both. for god's sake.15:59
rogforce majeur: http://paste.ubuntu.com/704053/16:04
rogthat seems to work. i promise that i will try very hard not to do multiline pastes again16:05
hazmatplan9?16:09
roghazmat: a plan 9 compatibility library i use to introduce some sanity into my command line16:10
roghazmat: (and my C programs, when i write them)16:11
rogrc is a nice minimal shell for scripting in.16:11
rogit fixes some of the fundamental problems with direct sh/csh derivatives16:11
rogniemeyer: here's what i was originally trying to paste16:13
roghttp://paste.ubuntu.com/704063/16:13
roga sketch of what the juju provider interface might look like in Go.16:14
rogany inputs as to whether or not that might be approaching sufficient would be much appreciated.16:15
rogright, gotta go. see y'all on monday.16:15
rogi'll leave the machine on IRC for a while though, so i'll see any comments.16:16
hazmatrog have a good one16:28
niemeyerrog: THe interface looks pretty good16:55
niemeyerThe new logo is quite neat17:02
niemeyerhttps://juju.ubuntu.com/17:02
hazmatniemeyer, but i liked the juju man ;-)17:05
niemeyerhazmat: Yeah, I liked it as well, but some people didn't17:06
niemeyerhazmat: Do you want to have a quick look at this, given we don't have much time to get it wrong: https://code.launchpad.net/~fwereade/juju/charm-store-errors/+merge/7863517:15
hazmatniemeyer, looking17:16
hazmatniemeyer, i've got one last branch that i need to push as well17:16
hazmatniemeyer, also if you have a chance to look over the local provider docs17:17
niemeyerhazmat: I've already reviewed everything this morning17:18
niemeyerhazmat: If you have a few comments in the branches that were up17:18
niemeyers/If//17:18
hazmatniemeyer, nice17:18
hazmatniemeyer, fwiw empty tuple is also a single allocation in python ()17:21
hazmathmm.. maybenot17:22
=== kim0 is now known as kim0|holiday
hazmatinteresting.. id func in python has some strange behavior id(object()) == id(object())17:24
jimbakerhazmat, that's almost certainly because the memory is immediately reclaimed, then used again17:26
jimbakerif you hold a ref to the first object(), no such equality17:27
hazmatjimbaker, thanks.. that was rather confusing17:27
hazmatso indeed python does a single allocation for the empty tuple17:28
jimbakersuch object pooling is an important optimization in cpython. also  in part why unladen swallow was doomed17:28
jimbakerhazmat, correct, i believe that's the behavior in jython too17:29
jimbakeragain, just an optimization17:29
jimbakerhttp://docs.python.org/library/functions.html#id - Two objects with non-overlapping lifetimes may have the same id() value17:30
niemeyerhazmat: Hmm.. that was actually my point17:31
hazmatniemeyer, oh.. i thought you where just referencing go17:31
niemeyerhazmat: No, it was a brain hiccup17:31
niemeyerhazmat: There's no such thing as a () object in Go17:32
niemeyerhazmat: The empty tuple is a rock. :-)17:33
hazmatniemeyer, this interface is a little.. we're expecting to get back json errors and warnings from the charm server?17:33
hazmatembedded in a charm info?17:33
niemeyerhazmat: Hmm17:33
hazmatoh.. its a collection url17:33
niemeyerhazmat: I'd put it slightly differently17:33
niemeyerhazmat: We're expecting to get errors and warnings related to the charm as part of the charm info17:34
hazmatniemeyer, what sort of errors and warnings?17:34
niemeyerhazmat: Completely broken charms, for intance17:34
niemeyerinstance17:34
niemeyerhazmat: Since it's a bazaar branch, there's no way to prevent them from being pushed17:35
hazmatniemeyer, i noticed :-).. all kinds of style variations on the pushes17:35
hazmattrunk-1, trunk, random stuff .. its really all over the place already17:35
hazmatit looked like trunk-1 was an attempt to add series to existing trunks17:35
niemeyerhazmat: Yeah.. the store will help making them more even17:36
niemeyerhazmat: That's not entirely strange.. hmm.. I suspect it may actually have been done by LP itself at some point17:36
niemeyerhazmat: Either way, we'll only be looking at /trunk for now17:36
hazmatthat leaves about 22 charms17:36
hazmatfrom ~charmers17:37
hazmatout of 70 some17:37
hazmatnumbers change.. practices evolve17:37
niemeyerhazmat: Sounds ok.. easy to fix17:37
niemeyerhazmat: In practice, we'll want the branch name to become invisible in the future17:38
hazmatniemeyer, definitely17:38
hazmatniemeyer, some times the end segment is actually the charm name.. only for collectd and collectd-node that i saw17:38
niemeyerhazmat: You mean it's repeated? Like collectd/collectd?17:39
* hazmat digs out his script17:39
hazmatniemeyer, yup17:39
hazmatskipping r-B ~charmers/charm/oneiric/collectd/collectd17:39
hazmatskipping r-B ~charmers/charm/oneiric/collectd/collectd-node17:39
niemeyerhazmat: Cool.. these should be collectd/trunk and collectd-node/trunk17:40
niemeyerhazmat: It also highlights the importance of a strong convention there17:40
hazmatniemeyer, well i expect juju push charm_name .. .will help alot17:40
niemeyerhazmat: =117:40
niemeyer+117:40
hazmatreview in.. back to networking local provider storage17:42
hazmatfwereade, ^17:42
niemeyerhazmat: Cheers!17:43
_mup_juju/go-charm-bits r14 committed by gustavo@niemeyer.net18:19
_mup_Moved expanding logic to its own function as suggested by Rog18:19
_mup_in the review.18:19
_mup_juju/local-provider-storage r395 committed by kapil.thangavelu@canonical.com18:19
_mup_web access to the local provider disk storage18:19
_mup_juju/local-provider-storage r396 committed by kapil.thangavelu@canonical.com18:40
_mup_wire in storage server into provider bootstrap and destroy-env18:40
_mup_juju/go-charm-bits r15 committed by gustavo@niemeyer.net18:42
_mup_Remove internal filepath.Rel. It's now upstream.18:42
_mup_juju/go r12 committed by gustavo@niemeyer.net18:44
_mup_Merged go-charm-bits branch [r=fwereade,rogpeppe]18:44
_mup_This fixes several problems in the bundling and expansion of18:44
_mup_charms in the Go port.18:44
hazmatniemeyer, jimbaker, bcsaller if you have a moment the network'd local provider storage could use a look18:50
jimbakerhazmat, i will take a look18:51
hazmatjimbaker, thanks18:51
hazmatniemeyer, just a fwiw, the zk project ended up linking directly to our out of date docs on zookeeper usage within juju19:01
bcsallerhazmat: http://pastebin.ubuntu.com/702946/19:02
niemeyerHmm19:26
niemeyerhazmat: Which docs are that?19:26
niemeyerSpamapS: How is the openstack conf going?19:26
hazmatniemeyer, the ones linked to from the zookeeper poweredby wiki page.. they linked (not at my request to) to https://juju.ubuntu.com/docs/internals/zookeeper.html19:32
hazmati gave them juju.ubuntu.com as a link.. but oh well.. i did notice how out of date those docs are19:32
niemeyerhazmat: Cool.. still a quite reasonable overview I guess, from the perspective of someone interested in a vague feeling of what we do19:33
niemeyerhazmat: From our end, though, yeah, that's quite out of date19:34
_mup_juju/hooks-with-noninteractive-apt r396 committed by kapil.thangavelu@canonical.com19:42
_mup_also capture APT_LISTCHANGES_FRONTEND for noninteractive hook usage19:42
hazmatbcsaller, +1 on the trivial.. we should have someone else look as well19:44
hazmatjimbaker, thanks for the review19:44
hazmatniemeyer, jimbaker could either of you look at that trivial ben just posted.. it forces the dnsmasq into the resolver config by inserting into head.. both jamespage and bcsaller had problems getting dns resolution working without it.. i don't understand why its needed as it should be picked up from dhcp.. but it works and solves a real issue for some.19:45
hazmater.. fixes the issue for those who had it19:46
niemeyerhazmat: Isn't it because it's being regenerated/19:47
niemeyer?19:47
hazmatniemeyer, so we set it manually for the chroot customize script.. but when the container boots, it should pick it up from the dhcp server (dnsmasq)19:47
niemeyerhazmat: Ok.. I don't understand it either, but if it fixes the problem it looks good for the moment19:48
niemeyerbcsaller: Extra space after the ">" please, as usual for other similar lines in the same file19:48
hazmatbut for some reason its not.. doing this insertion into /etc/resolvconf/resolve.conf.d/base  assures that its *always* included in the generated resolve.conf19:48
hazmati wonder if its a race condition exposed by ssd vs rotating disk.19:49
hazmatjimbaker, does your desktop you tested local provider with have a rotating disk?19:49
niemeyerhazmat: What content ends up in the file when it doesn't work?19:51
hazmatniemeyer, resolv.conf is empty19:51
niemeyerHmm19:51
hazmatwhich makes no sense.. because their networking is running, and dnsmasq handed out the address, and can resolve the container name..19:51
niemeyerhazmat: Has someone tried to re-get the dhcp information after that?19:51
niemeyerhazmat: I'm wondering if the started dhcp is actually not answering DNS requests properly19:51
hazmatniemeyer, not afaik19:51
jimbakerhazmat, it has an ssd19:52
hazmatoh well there goes that idea..19:52
hazmatbcsaller, ^ you want to try and debug root cause19:53
jimbakerhazmat, i certainly have not needed ben's trivial, not certain what makes my env diff19:54
hazmatjimbaker, it worked for you, me, and kim0|holiday without the change.. but it didn't work for jamespage or bcsaller without it19:54
bcsallerhazmat: I can look at it again, sure19:54
hazmatbcsaller, we should still go ahead and commit, i'm curious if we can get a better understanding of the problem, else its a chicken ;-)19:55
hazmatbcsaller, might need tcpdump to look at the queries on the wire19:56
* hazmat gives up on sup19:57
hazmattoo many random messages won't load19:57
_mup_juju/local-provider-docs r395 committed by kapil.thangavelu@canonical.com20:04
_mup_address review comments20:04
_mup_juju/trunk r396 committed by kapil.thangavelu@canonical.com20:06
_mup_merge local-provider-docs [r=jimbaker,niemeyer][f=867991]20:06
_mup_Basic usage docs for using the local provider.20:06
_mup_juju/go-charm-url r16 committed by gustavo@niemeyer.net20:07
_mup_Syncing regex from Python code.20:07
hazmatniemeyer, btw.. it looks like the resolved install_error does indeed go all the way through to start, i must have fixed it and forgotten about it20:10
niemeyerhazmat: Ah, phew.. sweet20:11
hazmatso afaics the pending for eureka is good, just two important items in the review queue.20:12
hazmatactually i'd consider the orchestra docs to be important but i think andreas is still at openstack conf20:12
* hazmat goes back to playing with a charm browser20:13
_mup_juju/go-charm-url r17 committed by gustavo@niemeyer.net20:35
_mup_- Changed error messages as suggested by Rog.20:35
_mup_- More tests on charm URL parsing.20:35
_mup_- Fixed parsing bug.20:35
_mup_juju/go r13 committed by gustavo@niemeyer.net20:57
_mup_Merged go-charm-url branch [r=rogpeppe,fwereade]20:57
_mup_This introduces support for charm URLs in the Go port.20:57
niemeyerI'll head out for some exercising21:20
jimbakerniemeyer, enjoy!21:20
niemeyerWill try to work a bit on that stuff over the weekend21:20
niemeyerjimbaker: Cheers21:20
hazmatniemeyer, cool, have a good one21:26
hazmathmm. bzr has to have a command to get out the rev id21:57
jimbakerhazmat, you might want to look at the butler code in ftests22:04
hazmatjimbaker, probably nott22:16
hazmatbut thanks22:16
hazmatjimbaker, i'm working against revids not revnos22:17
hazmatits a hidden command in bzr.. revision-info22:17
jimbakerhazmat, sounds good22:28
* niemeyer observes hazmat implementing a second store22:49
hazmatrace? ;-)  .. more seriously i just want a web interface to see formulas and interfaces, its rather hard to make something that can connect to multiple things without some sort of interface repo22:51
hazmatunless your writing all the charms yourself22:51
hazmatniemeyer, also playing around with redis as a queue server22:52
hazmatfairly lightweight.. still not sure i'm using it usefully.. but dropping everything into mongo at the end22:52
niemeyerhazmat: Sure, as long as you're not planning to put that online for people to consume, that's fine22:52
SpamapSniemeyer: pretty insane response to the demo w/ Jane23:10
niemeyerSpamapS: Ohhh.. please tell me about it!23:10
SpamapSniemeyer: the talk later was a little bit disorganized but the buzz was *HUGE*23:10
SpamapSniemeyer: OpenStack people are very excited. Cisco has a similar project called Donabe that focuses more on how to define the network resources needed between apps but clearly has the same focus..23:11
SpamapSerr... s/focus/direction/ there23:11
niemeyerSpamapS: That's very exciting for us too!23:11
SpamapSniemeyer: anyway, we deployed hadoop on openstack in 5 minutes.. people were *very* impressed.23:11
SpamapSand the status2gource visualization was wowing people ;)23:12
SpamapSniemeyer: we also made it clear that we had deployed openstack using juju23:13
SpamapSniemeyer: https://launchpad.net/donabe btw ;)23:13
niemeyerSpamapS: 5 minutes?  Woah23:14
SpamapSniemeyer: to be clear, openstack was already deployed.. we just spun up hadoop-master, hadoop-slave, and ganglia (and 5 additional units with add-unit hadoop-slave)23:14
SpamapSniemeyer: but the commands all seemed to resonate with the audience23:15
SpamapSI believe there will be vidio23:15
SpamapSvideo even23:15
niemeyerSpamapS: juju making its magic.. neat :-)23:15
SpamapSniemeyer: yeah, it helped that all the nodes were on a single machine, so network transfer speed was basically 1/2 of RAM bus speed23:16
niemeyerSpamapS: I bet23:16
SpamapSand we had a pretty beefy 6x15krpm RAID5 backing all instance volumes23:16
SpamapSniemeyer: the box we had was actually a 40 core machine w/ 128G of ram23:17
SpamapSreally fun to play with23:17
SpamapSdefinitely a lot to do to make the juju on openstack experience more robust.. the EC2 stuff on nova works ok.. but often gives back responses that txaws gets confused by23:19
SpamapSanyway, about to board flight back to LA23:20
niemeyerSpamapS: Woah23:24
niemeyerSpamapS: I've never been even close to such a machine :)23:24
niemeyerSpamapS: COol, have a good flight (and weekend!)23:24

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