/srv/irclogs.ubuntu.com/2016/05/23/#juju.txt

blahdeblahHi. Anyone know of a good example of combining multiple charms.reactive states? It's driving me a bit mental at the moment.02:32
blahdeblahI've got these reactive handlers: https://pastebin.canonical.com/156991/ both executing in the same hook invocation. o.O02:32
blahdeblaheven if I remove the @when_all part on the 2nd method, it still executes02:32
blahdeblahOr even a way to debug what reactive's doing when I call main, so I can work it out?02:37
rick_h_blahdeblah: sorry, the reactive experts are cory_fu and marcoceppi and bcsaller who aren't around atm.02:42
rick_h_blahdeblah: the big data charms are the latest biggest reactive things to try to peek at, those and the docker/swarm observable bundles02:42
rick_h_as far as ones to look at02:42
rick_h_blahdeblah: if those don't help I'd shoot off a layers email to the list as there's a growing community of folks that know this stuff pretty well there02:43
rick_h_and I can make sure to poke you a reply from the experts02:43
blahdeblahrick_h_: Yeah - wasn't expecting many of those guys to be around. :-)02:43
rick_h_blahdeblah: heh, just covering my "hmm, sorry I don't know" :P02:43
blahdeblahIs there a separate list for charms, or do you mean just the main juju users list?02:43
rick_h_blahdeblah: the main juju@ one02:44
blahdeblahrick_h_: Thanks - much appreciated; I'll check out the charms you mentioned.02:44
blahdeblah(and do a bit more debugging to see if I can work out what's going on)02:44
veebersIs the juju user features complete or WIP? The web docs mention the command 'user add' which doesn't exist, the help for the command 'add-user' mentions the command 'switch-user' which also doesn't exist. Anyone have pointers?02:45
rick_h_veebers: it's in 2.002:45
veebersrick_h_: I'm running 2.0 from source02:45
rick_h_veebers: you can add-user, send a register command to another user, etc02:45
rick_h_veebers: I've run through it a couple of times02:46
rick_h_user add I think was the pre 2.0 one02:46
rick_h_veebers: and I think switch user was replaced with logout/login (to do a switch)02:46
veebersrick_h_: ah aye, sorry wasn't very clear,  I can add user and reg. But no such command 'switch-user'02:46
veebersah ok02:46
veebersthe help strings for the command seem out of date then02:46
rick_h_veebers: right, I think in testing that we decided to replace that with just logout/in. Docs still need updating there.02:47
veebers(in multiple places).02:47
rick_h_veebers: rgr02:47
veebersrick_h_: Should I file a bug somewhere/02:47
rick_h_veebers: sure, https://bugs.launchpad.net/juju-core02:47
veebersrick_h_: sweet, will file that now02:48
rick_h_veebers: <302:48
rick_h_and thanks for trying it out02:48
veebersrick_h_: heh, I'm writing tests as I'm on the jujuqa team ;-)02:49
rick_h_veebers: still ty02:50
veebersnw02:50
rick_h_veebers: and welcome, we've not had a chance to meet up yet02:50
veebersrick_h_: Cheers, no not yet. Looking forward to it02:50
veebersrick_h_: rats, how do I log back into the systems 'admin' user? (i.e. the user I used by default when I wasn't messing with user stuff)02:54
lazyPowerblahdeblah if you're still around i can lend a hand03:00
blahdeblah\o lazyPower - I sure am03:00
blahdeblahI was just about to have lunch, but now that you're here... ;-)03:01
lazyPowero/ - so, i see some new decorators here that i was unaware of03:01
lazyPower@When_all an @when_not_all -- those are wholly new to me. @when_all seems like a direct clone of @when - as its goign to fail if any of the conditions are not true03:01
lazyPowerand @when_any  is a if any of these are true, do your thangggg03:01
blahdeblahI've been going by the doc at https://pythonhosted.org/charms.reactive/charms.reactive.decorators.html03:01
blahdeblahthat is pretty much my understanding of it03:02
blahdeblahwhen is apparently just an alias to when_all03:02
blahdeblahditto for when_not -> when_none03:02
lazyPoweryep03:02
lazyPowerlooks to be the case. #TIL03:02
blahdeblahSo I think there's actually a bug in whatever provides config.set.VAR03:03
lazyPowerThats possible03:03
lazyPowerI know we've had some issues with the @when_file_changed decorator in the past03:03
blahdeblahBecause if I dump the corresponding hookenv config variables in the 2nd handler (which shouldn't execute), they are definitely set.03:03
veebersrick_h_: ah I think I got it, I just had to change to a controller that 'I owned' i.e. not one created with a different juju user03:03
veebersok I take it back, I'm not 100% how that works. I was able to switch controllers which automatically logged me in as admin? At any rate, when I tried to login as new user again it gave me a message about setting a passwd03:06
lazyPowerblahdeblah - i know that i've used the config.changed state bits which are provided by layer-basic... its entirely possible there's a bug lingering around in some of that03:06
blahdeblahI might have a bit of a dig into layer-basic and see what I can find.03:07
lazyPowerhttps://github.com/juju-solutions/layer-basic/blob/master/lib/charms/layer/basic.py#L12603:07
lazyPowerthat should help make it easy, there's the init / changed methods handling those states03:07
blahdeblahLooks pretty simple, TBH03:11
lazyPowerblahdeblah - if your layer is public i'd be happy to build it and give it a go at debugging the behavior03:14
blahdeblahlazyPower: It will be public once I make it do something. :-)03:16
blahdeblahBut maybe I'll just have no shame and put it out there and ping you with the location03:17
blahdeblahI'm pretty sure my peer relation hook could use some work as well - it seems to execute 20-30 times before stabilising.03:17
lazyPowerblahdeblah - i had that issue before i started gating on the data being available. This is why in the ~containers charms you'll see a lot of use of .connected and .available states (connected is as it sounds, available only gets set when we have all the actionable data)  - without seeing the code, i'm assuming that is the root cause.03:24
lazyPowerbut i dont want to hold you up. I'll be around ~ another hour and a half if you want to run and grab lunch. I'll be around to riff when you get back03:25
* lazyPower is catching up on Sunday Night TV before the spoiler tweets land03:25
blahdeblahlazyPower: thanks - will let you know how I go03:57
blahdeblahlazyPower: So here's what I did after your last comment: https://pastebin.canonical.com/156993/ ; then I changed the other methods to gate on dynect.config-available, and it all worked as expected.04:12
blahdeblahPersonally, I think that's still a bug in config.set.* handling, since those states (AFAICT) are supposed to work for exactly this purpose.  But at least I've unblocked that path.04:13
ejatrick_h_: juju mlist or askubuntu ?04:15
veebersSurely if I add a user and grant them 'read' they should be able to execute 'status' on the controller? (i.e. they can deploy a charm, I want to be able to monitor it's status)04:25
ejatrick_h_: bugs no 158458204:40
ejathttps://bugs.launchpad.net/charms/+source/rabbitmq-server/+bug/158458204:41
mupBug #1584582: ERROR juju.worker.uniter.operation runhook.go:107 hook "config-changed" failed (dns resolver) <rabbitmq-server (Juju Charms Collection):New> <https://launchpad.net/bugs/1584582>04:41
jamespagemorning all08:53
jamespagehappy monday :-)08:53
RajithHi while using juju set command getting error unknown option09:04
Rajiththis is happening while deploying service09:07
jamespagegnuoy, https://review.openstack.org/#/c/319779/09:23
jamespagecan you take a peek? working through Juju 2.0 related bugs this morning - bdx ^^ that should fixup your dvr issue - charm store accessible version in the bug report09:23
jamespagegnuoy, two more for you:10:01
jamespagehttps://review.openstack.org/#/q/topic:bug/157257510:01
mupBug #1572575: Charm looks for JUJU_ENV_UUID but that does not exist in juju 2 models <bug-squad> <canonical-bootstack> <juju-2.0-api> <landscape-client-charm:New> <landscape-client (Juju Charms Collection):New> <swift-proxy (Juju Charms Collection):In Progress by james-page> <swift-storage (Juju10:01
mupCharms Collection):In Progress by james-page> <https://launchpad.net/bugs/1572575>10:01
gnuoyjamespage, tinwood if you get a chance can you take a look at https://github.com/openstack-charmers/charm-layer-openstack/pull/4 . It adds ha support to the Openstack layer. I think the method for passing kwargs to the config adapter within OpenStackRelationAdapters  and the implicit adding of the cluster adapter are the more controversial bits.10:27
tinwoodgnuoy, we're slightly pulling in opposite directions here.  I've pulled the code OUT of charm-layer-openstack into a charms_openstack module to make layered openstack charms easier to test.  Thus, all the layer has is the templates and a reference to charms_openstack in the wheelhouse.txt -- thus, I'll need to merge this code back into that at the appropriate time?10:33
tinwoodgnuoy, it's currently sitting at https://github.com/ajkavanagh/charm.openstack (but we'll hopefully (if agreed on approach) pull it into an openstack-charmers/charms-openstack git repo.10:35
gnuoytinwood, I don't think we're pulling in different directions. I think it will be straightforward to apply my changes to the module rather than the layer. I just did it againt the layer as the module work has not landed yet.10:40
tinwoodgnuoy, kk - I was just making sure *I* wasn't going in the wrong direction! :)10:41
stubIs anyone else able to login to jujucharms.com ?12:15
stubI'm getting a generic error page after the return from login.ubuntu.com12:16
gnuoystub, I'm able to login to it12:23
stubgnuoy: ta12:27
jamespagegnuoy, ok https://review.openstack.org/#/c/319787/ is OK12:55
jamespageits counterpart failed - looking at that12:55
gnuoyok12:55
jamespageand the change to n-ovs failed to bootstrap one test...12:55
lazyPowerblahdeblah - thats great! It may be worthwhile to file a bug against layer-basic to start the discussion around that behavior.13:20
jamespagegnuoy, swift-storage review tests fail for mitaka due to out-of-date swift-proxy branches in LP - fixing that now...13:23
gnuoyjamespage, can you make 17:00 UTC on a wednesday for charmers IRC meeting?13:27
* jamespage thinks13:30
jamespageyah13:30
lazyPowerwait, we're having a meeting on wednesay? or is this specifically for the ~openstack charmers?13:36
* lazyPower doesn't see anything on the calendar for wednesday13:36
lazyPowergnuoy ^13:36
gnuoylazyPower, openstack charmers13:37
lazyPowerOk, phwew13:37
lazyPowerI thought I missed the memo13:37
* magicaltrout hands lazyPower the memo13:37
gnuoylazyPower, you'd be more than welcome if you fancy it13:37
lazyPoweri mean, if you need me i'll be there buddy13:37
lazyPowergnuoy - whats the focus of the meeting? i may crash regardless so i can lend a hand while running support in here during off-hours.13:43
lazyPowerif there's going to be a knowledge dump or something :)13:43
gnuoylazyPower, Rap about all think Openstack charm related really13:44
gnuoyhttps://wiki.ubuntu.com/ServerTeam/OpenStackCharmsMeeting13:44
gnuoyjamespage, it's all booked with the fridge and I've created a basic wiki area https://wiki.ubuntu.com/ServerTeam/OpenStackCharmsMeeting13:46
jamespage\o/13:50
gnuoyjamespage, I've pushed hacluster up to github and have a project-config change ready to propose, is there anything else I need to do to get hacluster in?14:14
jamespagegnuoy, I don't think so14:14
gnuoykk, ta14:14
jamespagegnuoy, oh wait - does it have a stable branch?14:15
* jamespage looks14:15
gnuoyjamespage, it does not have a stable branch14:15
jamespagegnuoy, OK we can cut that once we move over if need be14:15
jamespagegnuoy, I can't remember what I did to each repo proir to proposing14:16
jamespagegnuoy, I think it was a) add tox and testr configuration stuff a b) add .gitreview so that git review dtrt once moved14:16
gnuoyah, I haven't checked those, thanks14:17
josegnuoy: only 30m for that meeting?14:29
gnuoyjose, I was going by the server team meeting which is usually done within 30mins tbh14:31
joseah, ok :)14:31
gnuoyjamespage, tinwood, do either of you do some mocking recently of apt_pkg? I'm sure I saw that fly by in a review14:43
tinwoodgnuoy, not that I specifically remember, but I'm pretty good at mocking things out now (properties notwithstanding)14:45
* tinwood shakes fist at code.14:45
jamespagegnuoy, erm yes - in a action unit test14:57
gnuoyjamespage, ah, I think I've got it, heat14:58
jamespagegnuoy, ggnnnnnn15:02
jamespagegnuoy, keep hitting that juju bug where the private/public address disappears15:02
jamespagetwice today15:02
gnuoyyeah, it's a real pain15:02
jamespagegnuoy, I'll poke the juju team again, but so far...15:04
jamespagegrag15:04
coreycbjamespage, this is fixed up: https://code.launchpad.net/~corey.bryant/charm-helpers/systemd/+merge/28711015:59
cory_fulazyPower: The filebeat and topbeat charms were promulgated from ~containers, right?  And they're up to date with what's in the ~containers namespace?16:39
lazyPowercory_fu - uhh, no. there's some slight changes that landed in repo that need to make it to the store16:42
lazyPowerbut correct. promulgated sources point at ~containers16:42
=== redir_afk is now known as redir
lazyPowerhey dimitern o/   Re: your questions about amulet with juju2.  From what I remember, tvansteenburgh has landed some new code and PPA's to make getting at this easier. If you add ppa:tvansteenburgh/ppa and apt-get install python-jujuclient from there, that should be all you need to get amulet working under juju2.17:18
lazyPowerif i'm missing anything, i'm sure he will correct me :)17:18
dimiternlazyPower: thanks, I'll give that a try and come back with feedback then :)17:18
tvansteenburghdimitern: you want juju-deployer from that ppa also17:19
dimiternlazyPower: e.g. it will be much faster to use lxd + zfs backing to run amulet tests, rather than old lxc even with btrfs backing17:19
dimiterntvansteenburgh: because amulet uses it?17:19
tvansteenburghdimitern: yeah17:20
dimiterntvansteenburgh: (I haven't specifically needed the deployer yet)17:20
dimiterntvansteenburgh: right, good to know, thanks!17:20
dimiterntvansteenburgh, lazyPower: so by the end of the week I might poke you guys for a official review :) \o/17:21
dimiternonce I get the clustering working and a few other things, and ofc lots more tests17:21
lazyPowerdimitern i look forward to it :) good luck man, and hi5 on the progress17:21
dimiternlazyPower: thanks! I was kinda scared by the apparent complexity of the layers, but it only took me a couple of hours following various guides to grok all the awesomeness..17:23
dimiternindeed the interface layers I got almost immediately17:23
lazyPowerdimitern - we're highly interested in feedback in that dept. Such as how good our docs are, what was missing/good. etc.17:23
dimiternlazyPower: well, as for feedback, some docs / guides need updating.. but that's true for most of juju's docs heh17:24
dimiternlazyPower: I'll keep a list of comments / thoughts to share at the end of it17:25
lazyPowerdimitern dont tell me, go file bugs <317:25
dimiternhehe will do17:25
lazyPowernick reassigns them to us when he identifies its an eco-wheelhouse thing17:25
lazyPowerso the more feedback the better off our docs will be. ta in advance :D17:25
dimiternsure, no probs :)17:26
cory_fulazyPower: What's the status on the kibana charm support for beats?  I see that the promulgated version doesn't have the dashboard?17:37
lazyPowercory_fu pending a review as pointed out last week https://code.launchpad.net/~lazypower/charms/trusty/kibana/add-dashboard-loader-action/+merge/29535917:37
cory_fuAh, you got the config change in there, I see.  Nice17:38
lazyPoweri didnt know if you wanted to wait fo rthis to come up to the top in the revq or get it triaged sooner as its a dpeendency for your work.17:38
cory_fuI'll review that now, since I need to publish the Spark bundle using it17:38
lazyPowerok, i have a rev increment on filebeat/topbeat as well17:38
lazyPowerlet me finish this isv work and i'll switch feet to make sure that i've got latest in teh store. there were some fixes that made the layers easier to digest with the apt_layer17:39
cory_fuSounds good17:39
cory_fulazyPower: Please see review comments on https://code.launchpad.net/~lazypower/charms/trusty/kibana/add-dashboard-loader-action/+merge/29535918:15
cory_fuIf you can inform me what the correct fixes are, I'm happy to work on them as part of merging, since I need this for our bundle.18:16
cory_fuThe first couple seem self-evident, but I'm not sure how to handle the elasticsearch relation requirement18:17
lazyPowercory_fu - i'm checking for the relationship in the action and failing if its not present18:18
lazyPoweris that not good enough?18:18
cory_fuThere are some gaps18:19
lazyPowercory_fu - but thats bs18:19
lazyPowerconfig-changed is executed after the relationship hooks18:20
cory_fuI don't believe that is true, and even if it's true for bundles, it's not true for manual deploys18:20
lazyPowerbundles have zero bearing over hook sequence18:20
lazyPowercory_fu - did you deploy to verify the gaps?18:21
lazyPoweri did and it worked as expected. i didn't need to force a config-changed event18:21
cory_fuI did manually test all of the issues I noted18:22
* lazyPower sighs heavilly18:22
lazyPoweri dont know why this worked for me and not for you then18:22
* lazyPower bootstraps and gets ready to sink more time in this18:22
cory_fuOf possible relevance is that I'm testing on 1.2518:23
lazyPoweri dont think there was any change to hook sequencing of that nature between 1.25 -> 2.018:23
lazyPoweri guess the easy fix is to implicity call config-changed from the relation-changed hook18:23
lazyPowers/implicitly/explicitly18:23
cory_fulazyPower: Case one: I left the config at default value, added the relation, then changed the checksum option to trigger a config-changed hook.  That config-change hook failed with http://pastebin.ubuntu.com/16640068/18:25
cory_fuThe config-changed hook definitely did not fire after the relation hook until I manually changed a config value18:25
cory_fuI can believe that relation-ids returns values during config-changed in a bundle deploy because the relations are established early.  That won't even depend on the hook order18:26
lazyPowerthere's no good way to validate this then18:26
cory_fuo_O18:27
cory_fuI can replicate this entirely consistently18:27
lazyPoweri'm saying if ES is there18:27
lazyPoweri cant reasonably do this without some kind of state mechanism letting me know the data is there18:27
lazyPoweri've been spoiled with reactive18:27
lazyPowerand this is not reactive18:27
cory_fuTrue18:28
cory_fuBut you can always use relation-get18:28
lazyPowercory_fu - contributions welcome <#18:28
lazyPower<318:28
cory_fuBut I was wondering if you even care about the relation data, because it doesn't appear to be used in load.sh.  That just defaults to localhost anyway18:28
cory_fulazyPower: I'm perfectly happy to make the changes and run them by you.18:28
lazyPowerthat vhost isn't created until elasticsearch is joined18:28
lazyPowerso it'll fail either way18:29
cory_fuThe action should be validating the presence of the vhost, then18:29
lazyPowerhmmm18:29
cory_fuBut should load.sh be using the relation data?  That was my main question18:29
cory_fuOr is localhost ok?18:29
* lazyPower shrugs18:29
lazyPowerwhat makes more sense?18:30
lazyPowerits both going to the same place, just depends if its going through the proxy or directly to ES18:30
cory_fuI don't know anything about kibana, so I have no idea18:30
cory_fuOk, so either will work?  That's fine, then.18:30
cory_fuI just saw that it accepted the host as a param that wasn't being provided and figured it was a bug18:30
lazyPoweryeah, that proxy was an addon a while back so you dont have to juju expose es ot the world18:30
lazyPoweri really really really want to re-write this charm18:31
cory_fu:)18:31
lazyPoweri just dont have the time :/18:31
cory_fuYeah, I understand18:31
cory_fuOk, I'll make the changes that I think are appropriate and run them by you18:31
lazyPowerkk thanks man. sorry i dont know juju hook-execution as well as i used to18:32
lazyPoweri blame you for this though... or credit. Either way, its a positive thing18:32
cory_fuha18:32
cory_fuIndeed18:32
cory_fulazyPower: Was the intent of the load-dashboard action to support custom (manually uploaded) dashboard?  Or only pre-baked?18:33
lazyPowerboth18:34
cory_fuOk, that's what I thought18:34
lazyPowerso long as it lives in $CHARM_DIR/dashboards/$DASH  and has a load.sh18:34
cory_fuYep18:34
lazyPowerwhich i think is outlined in the readme18:34
* lazyPower crosses fingers18:34
lazyPowerphwew, yeah i did cover that.18:34
cory_fuOh, good, it even talks about the localhost proxy18:35
cory_fuI guess I should have read that before bugging you.  :p18:35
lazyPowernah :D its all good. thats a common gotchya because we do this, its not necessarily required18:37
lazyPowerartifact of the charm being smarter than the deployment guide18:37
lazyPoweralso, man, dang i see what you meant by it failed with action-get. you removed the config value and it still triggered calling the loader.18:38
lazyPowerthats a hairy assumption18:38
lazyPowermbruzek - just landed tls/k8s. \o/18:39
lazyPowerready for you to rev at your leisure sir18:40
lazyPowercory_fu - did you want me to get the other concerns aside from the elasticsearch relation sniffing? I can fix the logic erorrs in the action/loader.18:40
cory_fuNo, I'll address them18:40
lazyPowerack18:40
cory_fulazyPower: Does Kibana do anything useful w/o ElasticSearch?18:42
lazyPowernegative18:42
lazyPowerit no-ops without ES18:42
cory_fuThat's what I thought.  It should probably just report blocked pending the relation18:42
lazyPoweri mean, it does deploy kibana18:42
lazyPowerbut kibana directs you to a status page that points out its unhealthy18:42
lazyPowerand doesn't tell you what it really needs, it just reports an error in the "ES Driver"18:43
cory_fuHrm.  Why wasn't it made subordinate to ES, I wonder?18:43
cory_fu*shrug*18:43
lazyPoweryeah, its just a webapp that does very little server side processing.... it makes sense to make it a sub18:43
cory_fulazyPower: I assume that calling a dashboard's load.sh is idempotent and there's no significant cost to calling it again?18:49
lazyPowercorrect, it will overwrite what was there before18:50
lazyPowerso if you load up a visualization and manually edit it, then re-run that ocnfig-changed block wave bye to your custom visualization that was a derivative from what was included.  (this was the original reason i made it an action)18:51
cory_fuAnd it's not terribly expensive to re-load it?18:51
cory_fuWait, by manually edit it... Do you mean via the GUI or such?  Is that expected to happen?  If so, I'll add checking to not reload them automatically18:52
cory_fuActually, I think I'll do that anyway18:53
lazyPowerright. so you load it, and then you go into kibana and modify one of the "beats visualizations"  - like the mongodb connection visualizer to include latency. it will forefit that visualization modification. They have the same ID unless you explicitly make a copy of the visualization.18:54
=== rogpeppe3 is now known as rogpeppe
cory_fulazyPower: This look good to you?  https://bazaar.launchpad.net/~johnsca/charms/trusty/kibana/dashboard-review/revision/2720:10
lazyPowerwill TAL in a sec, verifying k8s20:11
lazyPowercory_fu omg the return of sentinel files20:15
lazyPowerbut man, you really gave this some TLC20:15
cory_fuI know.  Without charmhelpers, there's no alternative20:15
cory_fuI wonder if it wouldn't have been faster to convert it to layers.  ;)20:16
lazyPowerhooks/install may want a mkdir -p in the event it exists. (no idea why, but better to be ok with it existing than fail)20:16
cory_fumkdir -p on what?20:16
cory_fuOh yeah20:16
lazyPowerthis looks great. i would +1 this as is. that comment was a nit20:17
cory_fuOk, if you're ok with that, I'm ok with the original review, so I can go ahead and merge it20:18
lazyPowerSGTM20:18
lazyPower+1000 for hte contribution, thanks for being a fixer20:18
cory_fuHrm.  That charm is still depending on ingestion.20:19
* lazyPower awards cory the fixer badge20:19
cory_fu:)20:19
lazyPowernah i just kept that up to date as its the only canonical source i could find for kibana20:19
cory_fuShould I re-promulgate that using the new workflow?20:19
lazyPowerwe still need ot charm push it20:19
lazyPoweryeah20:19
lazyPoweri was going to take it, but if you're ok with owning it, i'm +1 to you owning it20:19
* lazyPower has ~ 20 charms he's responsible for already... 5 of which i'm actively maintaining20:19
cory_fuAre you guys taking ownership of it (i.e., should I promulgate from ~containers)?20:19
lazyPoweri mean, you can :D20:20
lazyPowerwe'll take it int eh namespace so it lives with logstash and the beats20:20
lazyPoweri suppose that makes the most sense, keep em all together20:20
cory_fuThough it's not really anything to do with containers20:21
lazyPowerright20:21
lazyPowerit has more to do with little data20:21
cory_fuI feel like this is a slight rough edge to the new process20:21
lazyPoweri've been pointing people at ~containers to deploy kibana for beats since step 1, its probably fine to push it there and re-point the promulgated copy20:23
lazyPoweri'll shepherd it20:23
lazyPowerpretty sure mbruzek will too20:23
cory_fulazyPower: Actually, I don't have access to ~containers20:34
lazyPowercory_fu - adding you individually. If you like you can supplant that with the bigdata team so we can jointly maintain it20:35
lazyPower  Write:20:35
lazyPower  - containers20:35
lazyPower  - johnsca20:35
lazyPowershould be g2g now20:36
cory_fulazyPower: Hrm.  I can't push to LP, though.20:36
lazyPowerhrm20:36
lazyPoweryou cant push to lp:~charmers/charms/trusty/kibana/trunk?20:36
cory_fuβ bzr push lp:~containers/charms/trusty/kibana/trunk20:36
cory_fubzr: ERROR: Permission denied: "~containers/charms/trusty/kibana/trunk/": : Cory Johns is not a member of Charm Containers20:36
lazyPoweroh, ooooohhhhh20:36
lazyPoweri see what you did there20:36
lazyPowerhang on i can fix that as well20:37
cory_fuI could push it to ~charmers, though, but you'll want to re-own it, right?20:37
lazyPowerwell, i'm jsut now catching up to what you're concerned with. that the source branch is  not obvious living in ~charmers, and its only further compouding old behavior of who owns what that we dont want to persist20:37
cory_fuYeah, we should promulgate from the same namespace that the code lives in.20:38
cory_fuUnless we move it to GitHub, of course20:38
cory_fuI mean, I guess it doesn't technically matter where the source lives20:38
lazyPoweras the meme implies "Sooooooon"20:38
lazyPoweroh we care20:38
lazyPoweror we should20:38
lazyPowerwhen we go to patch it, if we have no idea where it came from we're kinda asked out20:39
cory_fuWell, that's what the homepage and bugs-url extra-info are for, right?  ;)20:39
lazyPoweroh, yeah20:39
lazyPoweri suppose thats right20:39
cory_fuBut it will be easier if the namespaces match up20:39
lazyPoweryep i'll add ya20:39
lazyPoweror i would if marcoceppi didn't own everything i ever did ever20:40
cory_fu:)20:40
lazyPowermarcoceppi <3 can you add cory to ~containers?20:40
cory_fulazyPower: Why I don't I just push it to ~charmers and let you re-own it?20:40
lazyPoweri'm ok with this too20:40
lazyPowerpretty sure the bugs url points to that location anyway20:40
cory_fulazyPower: Ok, pushed20:42
cory_fuIf you can re-push it to ~containers, I can re-promulgate from there20:43
cory_fuActually, I guess I can go ahead and do the store updates and you can do the code move at your leisure20:43
cory_fuOr not.  Still unauthorized to `charm push` to ~containers20:44
lazyPowercs:~containers/trusty/kibana-420:44
lazyPoweri just pulled and pushed20:44
lazyPowerweird that you're denied when you're implicitly added, are you johnsca on launchpad?20:44
cory_fulazyPower: Oh, I'd need read & write perms to the unpublished channel as well20:45
lazyPowerhrm, i didn't know permissions were by channel. thats news to me20:45
cory_fuYep20:45
lazyPoweri thought it was ACL'd on the entity itself20:45
lazyPowerlike, one step below that20:45
cory_fuNope.  Do `charm show cs:~containers/trusty/kibana id perm --channel=unpublished`20:45
lazyPoweryeah i see this now in the charm grant help output20:46
lazyPower#TIL20:46
cory_fuMakes sense, too.  You may well want different perms on unpublished, development, stable20:46
cory_fuMight want unpublished to not be publicly visible, for instance20:46
lazyPoweryar, i just updated the unpublished channel. Shouldn't be an issue next time around20:47
lazyPowerwarning: bugs-url is not set.  See set command. -- i do need to plug that warning though20:47
lazyPowerok cory_fu, last bit thats needed that i see is re-pointing the promulgated link20:49
cory_fulazyPower: Ok, done20:50
lazyPowerboom ^5 on the teamwork20:50
cory_fulazyPower: Are topbeat and filebeat updated?20:51
lazyPowerthats also 2 closed bugs, great succes20:51
lazyPowerdoing that now20:51
cory_fuThose will both be -2 right?20:51
lazyPoweri believe so yes20:51
lazyPoweryep, current promulgated revisions are -1 on both filebeat and topbeat, so next push should rev to -220:52
lazyPowercory_fu ok both are pushed and published20:56
cory_fuThanks!20:56
lazyPowershould be all good in the hood for CWR now20:57
ryebottvansteenburgh, does amulet handle deploying different services to different series in the same deployment? e.g., service A -> trusty & service B -> xenial?21:24
cholcombelazyPower, are you good with sphinx docs for python?21:29
tvansteenburghryebot, yes21:36
ryebottvansteenburgh: thanks, that's also true under juju2?21:36
tvansteenburghryebot, yep21:36
ryebottvansteenburgh: thanks21:36
tvansteenburghryebot, see the 'series' kwarg to Deployment.add()21:37
petevgI have a newbie question: what does a "series is empty" error mean? (The context is that I'm doing "juju deploy hadoop-processing", and it fails on openjdk with 'cannot add service "openjdk": series is empty')21:51
petevg"juju deploy openjdk" does work, as a standalone command. Am I doing the right thing if I deploy openjdk, then trying redeploying hadoop-processing?21:52
petevg(This is on an Ubuntu Xenial box, deploying locally to lxc containers. My juju version is 2.0-beta3-xenial-amd64)21:53
tvansteenburghpetevg: i think that was a bug in the bundle handling in beta3, it works with beta722:07
tvansteenburghjs22:07
petevgtvansteenburgh: Cool. I didn't realize that I was that far behind. I'll update. Thank you :-)22:08
ryebottvansteenburgh: ah, needed to update the amulet lib to get it to work right; thanks again!22:11
cholcombei uploaded the ceph_api to pypi: https://pypi.python.org/pypi/ceph_api and docs: http://pythonhosted.org/ceph_api/.  Let me know what you guys think!22:11
petevgAha. I had the juju2 package installed from juju/stable. Removing it and installing juju-2.0 from juju/devel made everything a lot happier.22:25
blahdeblahlazyPower: It actually turns out I was doing something bone-headed, which is not using the hook template from layer-basic.22:40
blahdeblahNot sure if that requirement is documented anywhere, but I certainly haven't come across it in my travels.22:40
blahdeblahAnyway, stub pointed out where I was wrong and next time I get a chance to hack on it I'll try going back to the original state-based way once I get my hooks right.22:40
=== \b is now known as Guest49310
=== tris- is now known as tris
=== sarnold_ is now known as sarnold

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