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

=== Makyo is now known as Makyo|away
=== natefinch-afk is now known as natefinch
stubmarcoceppi: I vaguely recall issues around newer versions building platform specific extensions03:24
=== redir is now known as redir_afk
=== urulama|swap is now known as urulama
godleonDoesn't juju-gui supper xenial yet ?07:14
=== frankban|afk is now known as frankban
=== frankban is now known as frankban|afk
=== frankban|afk is now known as frankban
jamespagegnuoy, https://github.com/openstack-charmers/charm-specs/blob/master/specs/newton/approved/sriov-support.rst11:16
axinoheh12:26
bbaqarHey guys .. while deploying a node using juju with maas .. cloud-init gets stuck at add juju-br0 (/usr/bin/python2 /tmp/add-juju-bridge.py12:35
bbaqarany thoughts?12:35
marcoceppibbaqar: that's odd, is this juju 1.25?12:42
gnuoyjamespage, did you in disable 'issues' in someway for openstack-charmers repos?13:01
bbaqarmarcoceppi: yes 1.25.513:04
bbaqarmarcoceppi trusty13:04
bbaqarmarcoceppi so i got past that issue. Now i have my nodes in pending state .. i can ssh into then with ubuntu@ip13:05
bbaqarmarcoceppi: i can also ping the outside world from there13:05
bbaqarmarcoceppi but no juju process is running ..13:05
bbaqarmarcoceppi can i run the juju tools manually over there13:05
marcoceppibbaqar: not really, cloud-init is responsible for getting tools setup, I don't know if that runs before or after bridge creation13:05
bbaqarmarcoceppi i got past the bridge creation part .. cloud init has finished successfully13:06
bbaqarmarcoceppi still state of nodes are pending13:06
marcoceppibbaqar: is there an upstart job for juju* on the machines13:07
bbaqarmarcoceppi: there is only juju-clean-shutdown.conf13:08
marcoceppibbaqar: can you pastebin /var/log/cloud-init* logs?13:08
bbaqarmarcoceppi its seams like a connectivity issue ..13:10
bbaqarlet me sort that out13:11
aisraelTIL if you're disconnected from a debug-hooks session (like the ssh connection drops), you can re-run the debug-hooks command and it'll drop you right where you left off.13:15
magicaltroutthe wonders of screen/tmux ;)13:16
aisraelyep! I've used screen a lot, but not so much tmux. It impresses me every time I do, though.13:21
magicaltroutevery box I have, the first 2 things I install are Byobu and Mosh13:21
SaMnComarcoceppi: hi13:24
marcoceppicory_fu: SaMnCo is writing a bash layer but needs to connect to an interface layer. Is this how you would send data over to an interface layer? http://bazaar.launchpad.net/~ibmcharmers/charms/trusty/ibm-java/source/view/head:/reactive/ibm-java#L17413:25
marcoceppirelation_call ?13:25
aisraelmagicaltrout: Ohh, I've never seen mosh before13:25
magicaltroutaisrael: i live in the sticks and also just for when I'm moving my laptop around, saves me having to reconnect 100 terminals13:26
magicaltroutsaves me endless amounts of time13:26
jamespagegnuoy, not that I was aware of13:26
aisrael*nod* same here13:26
cory_fumarcoceppi, SaMnCo: Yep.  Obviously bash is a bit more limited in data types that you can pass, so it's good idea to keep the interface signatures down to simple strings.13:26
gnuoyjamespage, ok, strange. There is no 'issue' tab between 'cpde' and 'pull requests' on https://github.com/openstack-charmers/charms.openstack for example13:27
marcoceppicory_fu SaMnCo is trying to do provide from http://bazaar.launchpad.net/~canonical-is-sa/charms/trusty/grafana/interface-grafana-source/view/head:/provides.py my guess is `relation_call --state {rel}.available provide "type" "port" "description"`13:27
cory_fuYep13:28
cory_fuReplacing "{rel}" "type" "port" and "description", of course13:29
jamespagegnuoy, issues is turned off for that repo13:29
SaMnCohmm that's cool I didn't know about that relation_call stuff13:29
SaMnCoI had seen it in the script, but didn't know how to use it13:29
gnuoyjamespage, oh , ok, I failed to find whetever turns issues on and off13:30
jamespagegnuoy, hit "settings"13:30
jamespagefor the repo itself, not the org...13:30
cory_fuSaMnCo: Documentation is here: https://pythonhosted.org/charms.reactive/charms.reactive.relations.html#charms.reactive.relations.relation_call but it ought to also be mentioned in the jujucharms.com/docs if it isn't13:30
cory_fuAlso, that doc there is rather lacking as well13:30
gnuoyjamespage, I did that and somehow failed to see  the "Issues " radio button thats fron and center. sorry for the noise.13:31
gnuoy* front13:31
lazyPowergodleon - it does, if you're using juju 2.0 beta7 or > it ships with the controller. You can verify this by typing in `juju gui` after you've bootstrapped your cloud.13:40
iceycan somebody look at bumping the c-h version in pip? also, is there any chance to get that moving forward more regularly?13:42
marcoceppiicey: we're looking to kill charm-helpers, what from it are you using?13:46
Spadshm, it has some useful functions for idempotent operations on a system13:48
iceymarcoceppi: a lot of the contrib stuff, hookenv stuff13:48
Spadshave those been replaced?13:48
marcoceppiicey Spads: we're working on pulling all the charm specific bits out to a new concise library, everything in contrib we expect to have the people who wish to continue those pull them out to their own projects. The openstack charms do this today with a new library called charms.openstack13:49
godleonlazyPower: so it means I don't have to install juju gui additionally after bootstrapping controller on juju beta 7 or above?13:52
lazyPowercorrect13:52
lazyPowerit ships with the controller13:52
godleonlazyPower: can I install any charm on controller just like I did in juju 1.25?13:53
marcoceppigodleon: if you want to, yes, but we still don't recommend it13:53
lazyPoweri wouldn't recommend it :)13:53
magicaltroutlol `juju gui` opens in lynx13:53
lazyPowermarcoceppi gmta13:53
godleonmarcoceppi: oh? Why not?13:54
marcoceppimagicaltrout: you have to have a web-browser installed on that machine, or use the --no-browser flag ;)13:54
lazyPowerhurray for launchy! its aggressively trying to get you to your gui13:54
magicaltroutclearly I do, its called lynx :P13:54
lazyPowervia any browser necessary13:54
marcoceppigodleon: well, it's the controller node, it's the thing managing all of Juju, and some software may conflcit with that (mongodb charm as an example). If you want to co-locate services on the controller, you should put them in containers13:55
godleonmarcoceppi: hmm, if I didn't remenber wrong, bootstrap node should be machine 0 in Juju 1.25, I just feel weird why machine 0 does not exist after bootatrapping controller in juju 2.013:59
marcoceppigodleon: it does, it's just in a different model13:59
marcoceppigodleon: Juju 2.0 allows for multiple models to be created on a single controller, this cuts down on the number of bootstrap/controller nodes to run13:59
marcoceppigodleon: try `juju switch admin` then juju status to see the lonely machine 0 running14:00
marcoceppi`juju list-models` shows all the current models, and the `juju gui` has a drop down to switch/create more models14:00
godleonmarcoceppi: oh y3s I just saw the term `model` in the juju document today.14:03
godleonmarcoceppi: by the way, if I want to build an openstack with existing remote ceph, how can I do that?14:04
godleonWrite a charm to do that is the only way?14:05
lazyPowergodleon - i would ask that question the juju mailing list.  juju@lists.ubuntu.com - that way the openstackers can formulate a proper response. I dont have the expertise in openstack to answer that as is.14:17
godleonlazyPower: ok, got it. Sorry for that.14:20
lazyPowerno worries! I just want to make sure you're finding answers to your questions :)14:20
godleonlazyPower: thanks! :)14:20
godleonAnother question is.....will lxc/lxd support OCI standard?14:22
lazyPowerwhat is the OCI standard?14:23
gnuoyjamespage, got a sec for https://github.com/openstack-charmers/charms.openstack/pull/4 ?14:23
godleonlazyPower: https://www.opencontainers.org14:24
lazyPowerah that i'm not sure of, probably another good question to post to the list14:24
jrwrenopen container init.  afaik the answer is "nope, we dont need it" as I heard in a number of presentations re:lxd14:24
lazyPoweror jrwren seems to have the science14:25
lazyPower:)14:25
lazyPowerjrwren hey did i see that there was a re-work merge of the plugin work that deprecated the MP for plugin caching?14:25
jrwrenopencontainers and docker/kuber is all about process containers.   lxd is about system containers.14:25
lazyPowerre: caching stuff for charm vs charm-tools14:25
jrwrenlazyPower: yes, basically it is still slow, but ONLY for running help now, but we cleaned up a mess of code and now can move forward with further fixes.14:25
lazyPoweroh nice14:26
jrwrenlazyPower: so... we are still on it and in a better place to better support the other core modules (i'm not calling them plugins because they are not plugins.)14:26
lazyPoweryeah, i think that was nomenclature used in the thread14:27
lazyPowerwell cool. \o/ i wont campaign on your PR anymore then :D14:27
lazyPower"Merge this change! Make charm great again"14:27
jrwrenlazyPower: thanks.  It was a good discussion and we are in a much better place thanks to all the points raised.14:27
godleonjrwren: ok, then speaking of kube, what's the advantages of juju if compares to kube?14:28
jrwrenlazyPower: on a completely diff topic. I started looking at beats + kibana and I'm wondering if you have any wisdom re: moving from old to new and setting up a dashboard.14:28
lazyPowerwell you'r ein luck if you want dashboards for packetbeat(still pending) or topbeat14:29
godleonjrwren: I am in a loss, too many tools now.14:29
jrwrengodleon: I'm not knowledgable re: that, but others here are. My limited understanding is that juju makes a great tool for deploying a kubernetes infrastructure.  Kubes need to run somewhere and juju can help manage that somewhere.14:29
lazyPoweri'm not so savvy at visualizations to build one for filebeat...14:29
lazyPowerwith that said, kibana just got a rev that adds config/actions to deploy the "beats" dashboard14:29
lazyPowerso you get a prefabricated layout, its probably not 100% applicable for your wants, but its easy enough to edit14:29
jrwrenlazyPower: newer than kibana 4.5.1? I just installed kibana yesterday!14:30
lazyPowerewll it just got revved on Monday14:30
lazyPowersoooo, you got it14:30
jrwrenlazyPower: link to post or news that tells me how? It wasn't obvious.14:30
jamespagegnuoy, pass unit tests and work for you in your charm?14:30
lazyPoweruhhh jrwren14:31
lazyPowerdid you not read the readme?14:31
jrwrengodleon: more here: https://insights.ubuntu.com/2015/07/30/juju-kubernetes-the-power-of-components/14:31
lazyPowerhttps://jujucharms.com/kibana/  "Deploy / Add Dashboards"14:31
jrwrenlazyPower: i probably did not read the readme. apt install doesn't display a readme :]14:31
lazyPower:O you didnt use the charm?14:31
gnuoyjamespage, yes and yes. fwiw the unit test reproduces the bug against the current codebase and is fixed by my mp14:31
jrwrenlazyPower: WHOA!!! I wasn't using this charm. juju actions to load dashboards is AWESOME!14:32
jrwrenlazyPower: well done!14:32
lazyPowernow i feel bad for all the mean things i was saying about you over here just now ;)14:32
jamespagegnuoy, going to get travis setup on that repo for the moment14:32
jamespagegnuoy, feel blind with no automated CI14:32
gnuoyjamespage, makes sense14:32
jrwrenlazyPower: lol. stop muttering under your breath ;]14:34
lazyPowerand to be completely fair it was a joint effort between myself and cory_fu to land that14:34
lazyPowerso props cory_fu we <3 you14:34
lazyPowergodleon - i think its easiest to put it this way. Juju at its core is a way to model open source operations. Kubernetes is an application container orchestrator.  They are two wildly and vastly different tools and disciplines14:35
lazyPowergodleon - for example, you can use juju to model a kubernetes deployment (the full infrastructure, including workloads you wish to deploy into k8s (needs citation)) however the same is not exactly true in reverse.14:36
kjackalHey lazyPower, do you have a minute? Its regarding the the ELK stack bunlde that is in the review Q.14:38
lazyPowersurely14:38
lazyPowerwhats up kjackal?14:38
kjackalThe ELK bundle.yaml seems to be pointing to the containers namespace for logstash14:39
lazyPowerchicken/egg problem of which lands first14:39
kjackalDid we promulgate logstsh?14:39
lazyPoweri dont think we did, let me check14:39
lazyPowernope14:39
lazyPowerhttps://jujucharms.com/u/containers/logstash/trusty/5  <- is the most recent revision, and it has not been promulgated yet.14:40
kjackalIt is waiting for a review?14:40
kjackalit=logstash/trusty/14:41
lazyPowerit should be....14:41
lazyPowerit might have been reviewed and nack'd14:41
lazyPoweri submit the entire belk stack at once14:42
* lazyPower goes fishing for a bug14:42
jamespagegnuoy, https://github.com/openstack-charmers/charms.openstack/pull/514:43
gnuoyjamespage, merged and thanks for #414:44
lazyPowerkjackal - hah! you reviewed it! https://bugs.launchpad.net/charms/+bug/156016714:44
mupBug #1560167: New Charm Proposal: Logstash <Juju Charms Collection:In Progress> <https://launchpad.net/bugs/1560167>14:44
kjackallazyPower, awesome! So any comments I had seem to addressed14:46
lazyPowernope14:46
lazyPoweri'm updating the layer real fast while you're "not looking"14:46
lazyPower:)14:46
kjackal:)14:47
lazyPoweri take that back, i do see a merge here from you14:48
lazyPowerso i think it just needs rebuilt and a re-push14:48
kjackalcool14:50
cory_fulazyPower: What happened to bundletester in jujusolutions/charmbox:devel14:51
lazyPowercory_fu - i dont think it was reintroduced after a long hiatus - it jsut recently got a bump to add tims ppa and get the prereqs14:51
lazyPowerso it should be ready to be re-added assuming i've got all the right things in place14:52
cory_fuI'm confused as to why it was removed.  I was working previously14:53
lazyPowerit stopped working, and it was removed months ago14:53
cory_fuOk, I see the bug now where it stopped working due to an upstream dep issue in charm-tools14:54
lazyPowercory_fu https://github.com/juju-solutions/charmbox/commit/79a5733a6a248c0e8f91bb3fdf8e616f4a4f612d14:55
lazyPowerlooks like that commit is the culprit14:55
cory_fulazyPower: Yeah, I saw that.  I was just confused because I had been using it daily for a while (but clearly hadn't in some time), and kwmonroe kept trying to tell me that it had never worked.  :P14:56
lazyPowerLOL14:56
jcastrolazyPower: do you intent to promulgate ~containers/beats-core at some point?14:56
lazyPower"this doesnt work"14:56
lazyPower"i use it all teh time"14:56
lazyPowerjcastro - err, we dont promulgate bundles? is this new?!14:56
lazyPowercan we do that now?!14:56
lazyPowerkjackal - pushed at cs:~containers/trusty/logstash-6  - do you mind reviewing from that instead of me hacking in a bzr repo for the purpose of that bug?14:57
jcastrohttps://jujucharms.com/apache-processing-spark/14:57
cory_futvansteenburgh: Is the old RQ ingestion / update stopped?  The top item in Charm Reviews is a 40414:57
jcastrowhy wouldn't we promulgate bundles?14:58
lazyPowerjcastro #TIL14:58
lazyPowerso yeah, we can totally do that. the current beats-core bundle has been updated to deploy the latest on all teh charms and all the charms are pointed at promulgated revisions, so we should be g2g on that front, just need someone to flip the switch14:58
ryebotWhat is RQ?14:59
lazyPowerryebot Review Queue14:59
cory_furyebot: Review Queue.  http://review.juju.solutions/14:59
ryebotthanks14:59
magicaltroutthe place you send stuff to sit for years ;)15:00
lazyPowersadtrombone.wav15:00
Odd_Blokes/sit/mature like a fine wine/15:00
lazyPowerrimshot.wav15:00
magicaltroutlol15:00
tvansteenburghcory_fu: you'll need to ask marcoceppi, i can't ssh to it15:01
magicaltroutI've got to 44 days, what upsets me the most is we're going to release 3.9 shortly, so I'll have to yank it and submit a new one ;)15:01
cory_fumarcoceppi: Is the old RQ ingestion / update stopped?  The top item in Charm Reviews is a 40415:01
cory_fu:)15:01
cory_fuaisrael: You have two Cassandra RQ items locked; are you currently reviewing those?15:03
aisraelcory_fu: No, I'm not. I'll go unlock those15:04
cory_fuOk15:04
cory_futhanks15:04
kjackalhey lazyPower, the logstash charm says it is in  https://github.com/juju-solutions/layer-logstash is this accurate?15:07
lazyPoweryessir15:08
kjackalI do not see any changes there after the 4th of April15:08
kjackalAwesome!15:08
lazyPoweryep :) that was the last time it was touched. i can confirm15:08
=== scuttle|afk is now known as scuttlemonkey
ryebotWhat's the best way to dynamically add a file or files to a service unit? Or even better, if possible, add it/them to all the units of a service?15:43
kjackalHey lazyPower, I am afraid we are going to need a new clean build of logstash before promulgating it15:44
kjackalkwmonroe spotted the bug that we fixed some days ago in the elasticsearch interface https://api.jujucharms.com/charmstore/v5/~containers/trusty/logstash-6/archive/hooks/relations/elasticsearch/requires.py15:44
kjackalWe removed the broken hook bu the cs:~containers/trusty/logstash-6 still has it there15:45
kjackalthere is no point in promulgating this version of logstash as it will break when it gets tested in te context of the bundle15:46
jamespagegnuoy, https://github.com/openstack-charmers/charms.openstack/pull/615:50
lazyPowerkjackal ah, thats good feedback15:55
lazyPoweri think i have a stale interface in my path15:55
kwmonroelazyPower: friendly reminder to charm build --no-local-layers15:55
cory_fulazyPower: charm build --no-local-layers15:55
lazyPowerkjackal kwmonroe - ok rev -7 was just published. can you give that a whirl and let me know?16:01
kwmonroeroger that16:01
lazyPowerryebot your PR reverting pinning pip landed yesterday right?16:08
ryebotlazyPower still under discussion: https://github.com/juju-solutions/layer-basic/pull/7016:08
lazyPowerryebot ta, i've poked it with a stick16:11
* lazyPower now campaigns for ryebot - he has all the pips, all the best pips. 16:11
ryebot:D16:11
ryebot\o/16:11
rick_h_huge pips?16:12
ryebotYou've never seen pips like this.16:12
lazyPowerand small pips, dont be a discriminator16:12
lazyPowerryebot - is there a work around to this other than building from that mp? i'm failing left and right on a client deliverable due to this bug16:13
lazyPowerand whats funny is it happened today, not yesterday *magic shrug*16:13
ryebotlazyPower: I haven't tried; the only thing I can think of is to make sure pip7.1.2 is installed on the host before installing the charm16:13
lazyPowernope, unpinning and progressing forward to the future you promised me16:14
lazyPowerdeliver me to the promised land16:14
ryebothahaha16:14
ryebotI mean, I can just click the green button. :P16:14
ryebotYou're the guy with the rubber stamp though16:15
* marcoceppi narrows eyes at the mention of rubber and stamp16:19
jamespagegnuoy, cargonza: https://github.com/openstack-charmers/charm-specs/pull/116:19
lazyPowerryebot DUDE how you gonna throw me under the bus like that?16:19
nottrobinis there any way to search for available layers?16:19
ryebothahaha :D16:20
marcoceppinottrobin: http://interface.juju.solutions16:20
nottrobinmarcoceppi: nothing there for me16:20
marcoceppinottrobin: http://interfaces.juju.solutions16:20
jcastrokwmonroe: I found a nitpick in the bundle16:21
nottrobinah great thanks16:21
jcastrothe charm for spark is named `apache-spark`16:21
jcastroin the bundle you named it just `spark`16:21
jcastroso in my mind I just went to jujucharms.com/spark16:21
jcastrowhich doesn't exist16:22
nottrobinmarcoceppi: I see you wrote a django/gunicorn layer16:22
jcastroso I decided to search for "spark"16:22
marcoceppiI have16:22
nottrobinmarcoceppi: I don't suppose there's a layer for simply gunicorn?16:22
marcoceppinottrobin: probably not, well not yet at least ;)16:23
=== frankban is now known as frankban|afk
nottrobinmarcoceppi: cool. I may have a crack at it16:23
nottrobinmarcoceppi: the other layer I'd be interested in is a content-fetcher later, to grab and expand a tarball from a given URL16:24
nottrobindo you know if anything like that exists?16:24
lazyPowernottrobin oh! oh! oh! you may want to look into resources then!16:24
lazyPowerno need for a layer, juju exposes this to you natively in juju 2.0+16:24
nottrobinyeah we were having a resources conversation a while ago16:24
nottrobinI don't think it'll help, as it currently exists16:25
nottrobin'cos isn't it about pulling a specifically uploaded resource from the charm store?16:25
nottrobinI'm talking about a user-specified payload16:25
nottrobinlazyPower: ^16:25
lazyPowerah yeah, the store hates charms that define resources and doesn't provide them..16:25
lazyPowerso when you go to publish it'll complain :(16:25
nottrobinyeah. what I'm trying to write is a charm which runs a specific *type* of app16:26
nottrobinbut you provide the app16:26
nottrobin(wsgi)16:27
gnuoyjamespage, https://github.com/openstack-charmers/openstack-community/pull/816:28
marcoceppinottrobin lazyPower you can upload a dummy resources to the store16:29
marcoceppithen the user provide their resource either at deploy time, or later one16:30
marcoceppion*16:30
nottrobinmarcoceppi: I don't think what I want to do should be store-based16:30
marcoceppinottrobin: you don't have to have resources in the store at all16:30
marcoceppinottrobin: yhou can deploy resources for a charm from your local machine16:30
nottrobinmarcoceppi: okay maybe that could work then. do you have an example of what the commands for that look like?16:31
marcoceppinottrobin: mbruzek was documenting this, not sure where that is16:32
mbruzeknottrobin: marcoceppi: it is currently a PR waiting to be reviewed. If you are OK with the non-reviewed copy: https://github.com/mbruzek/docs/blob/abd31c0962d73efea76a1381a857a279e27d384d/src/en/developer-resources.md16:33
nottrobinmbruzek: assuming the commands more-or-less work, absolutely16:34
jamespagegnuoy, merged16:34
gnuoyjamespage, thanks16:34
jamespageI'd still love to see some cookie cutter or charm create templates for these things...16:34
mbruzeknottrobin: The commands to the Juju Charm Store are not working until juju-2.0 beta 8.16:34
mbruzeknottrobin: but you can upload a resource to your controller using juju 2.0 beta 7 which is what I used16:35
nottrobinsounds good16:35
nottrobinI'll have a play16:35
nottrobinmbruzek: thanks16:35
gnuoyjamespage, yes, that'd be better, but in the meantime...16:35
jamespageyah gotcha16:35
nottrobinis there an expected timeline for juju 2.0 to be stable?16:35
nottrobin /released16:35
mbruzeknottrobin: very soon16:36
bryan_atthi, I'm looking for help on a Charm for the OpenStack Congress service. Working w/Narinder on #opnfv-joid,  going here also for support. Current error I have in deploying this charm is "hook failed: "install". Not sure how to debug that - no clear signs in the bootstrap log, pastebin'ed on #opnfv-joid.16:37
gnuoybryan_att, hi o/16:38
bryan_attgnuoy: hi!16:38
gnuoybryan_att, what does the /var/log/juju/unit-congress*log say (on congress/0) ?16:40
bryan_attgnuoy: is that log on the bootstrap node or on the target node?16:41
gnuoybryan_att, I've updated the guidelines at https://github.com/openstack-charmers/openstack-community/blob/master/openstack-api-charm-creation-guide.md fwiw16:41
gnuoybryan_att, the target node16:41
bryan_attgnuoy: ok, that part was not clear. Let me look.16:41
bryan_attgnuoy: I tried "juju ssh ubuntu@congress/0" - not found16:43
gnuoybryan_att, drop the ubuntu@ bit16:43
bryan_attgnuoy: not found16:43
gnuoybryan_att, what does "juju status congress" give?16:44
bryan_atthttps://www.irccloud.com/pastebin/J8qyCWkd/gnuoy%3A%20here%20you%20go16:44
gnuoybryan_att, ok, my bad, I assumed you were on unit 0 but you're on 3, so should be "juju ssh ocngress/3"16:45
bryan_attgnuoy: ok, let me look16:46
bryan_attgnuoy: here's part of the log https://www.irccloud.com/pastebin/MRzFi9i8/16:47
bryan_attgnuoy: seems the same as what is logged on the bootstrap node16:48
gnuoybryan_att, look like the charm has a mix of tabs and spaces in it16:48
bryan_attgnuoy: I saw that but it was not an error level issue16:48
bryan_attgnuoy: picky parsers... if that's an error driver I can go fix it. but is that really a potential failure cause?16:49
gnuoybryan_att, I think it is16:49
bryan_attgnuoy: ok let me check it and fix16:49
gnuoybryan_att, we did rejig the layers yesterday so if you haven't already it'd be worth going over that guide I mentioned again.16:50
bryan_attgnuoy: ok, let me do that also. There were a number of things I had to change in the instructions btw16:51
bryan_attgnuoy: I can pass them on here when I go thru it again if that's the best way16:51
bryan_attgnuoy: or as issues in github - your choice16:52
gnuoybryan_att, git hub issues would be great16:54
gnuoybryan_att, I have a branch to go with the docs https://github.com/gnuoy/charm-congress16:54
gnuoybryan_att, thats the src of the congress charm so it should just be a case of building and deploying that16:55
bryan_attgnuoy: ok, I thought I had to build it from scratch again based upon your guide16:55
bryan_attgnuoy: the folder structure looks to have changed significantly so I was going to start over16:56
gnuoybryan_att, you can just clone that git hub branch, not sure if you've added anythin thats not in the guide yet?16:56
gnuoybryan_att, only difference is the source charm directory was renamed from "charm" to "src"16:57
gnuoythats the only directory structure difference I mean16:57
bryan_attgnuoy: yes, I saw that. one point to clarify before I fork and update the charm - I have to do this for OPNFV under the Apache 2.0 license and that needs to be explicit in the charm files, (c) AT&T etc... is that OK for you? I assume all the charm files can carry comments for licensing etc.16:59
bryan_attgnuoy: if not I will continue by developing the one I have started with based upon your guide17:00
gnuoybryan_att, yes, that's fine17:01
bryan_attgnuoy: ok, let me work on it17:02
bryan_attgnuoy: I can't seem to get the command "juju deploy <full path>/build/congress" from the guide to work. What's in the "build" folder is "deps" and "trusty".17:24
gnuoybryan_att, are you using juju 2.0 ?17:24
bryan_attgnuoy: not sure how do I tell17:24
gnuoyjuju --version17:25
bryan_attgnuoy: 1.25.5-trusty-amd6417:25
gnuoyok, so...17:25
gnuoycd build17:25
gnuoyjuju deploy local:trusty/congress17:25
gnuoyshould work, although you'll need to specify a cloud archive if its trusty17:26
bryan_attgnuoy: ok, that looks more like the command I used in the last attempt17:26
gnuoybryan_att, http://paste.ubuntu.com/16712437/17:27
gnuoybryan_att, I'm not sure that the congress packages are actually availabe on trusty tbh17:27
bryan_attgnuoy: ok, I'm not sure because I'm just trying to get a charm developed. So far I have been building it from github directly.17:28
bryan_attgnuoy: I'm trying to remove the existing congress service from the last attempt. But "juju remove-service congress" is taking a while...17:30
bryan_attgnuoy: I can't try the new charm until the old congress service is removed, but the command doesn't seem to be removing it (no error response or log entries related to the action). What should I do?17:36
gnuoybryan_att, does "juju status congress" show its in an error state?17:39
bryan_attgnuoy: yes17:39
gnuoybryan_att, "juju resolved congress/N" where N is the unit number17:39
gnuoybryan_att, you might have to issue that a few time till its gone17:40
gnuoybryan_att, can you hangon before doing the redeploy ? I'm adding deploy from src atm17:40
bryan_attgnuoy: ok, let me try that17:40
bryan_attgnuoy: ok, let me know17:42
=== scuttlemonkey is now known as scuttle|afk
ryebotcynerva and I are wondering - how do subordinate charms work with multiple series?17:54
ryebotor do we just enforce a single series?17:55
bbaqarmarcoceppi: can you look at this cloud-init log http://paste.ubuntu.com/16713677/ and see if there is anything wrong .. node is still in pending state18:06
bbaqaranyone else18:10
gnuoybryan_att, sorry, I've run out of day. I'll try and push an update up in  the morning18:17
bryan_attgnuoy: np, I'll look for it18:17
bryan_attgnuoy: thanks for your help!18:17
mpjettaI changed some config and got 2x units stuck in “(config-changed) SSH key exchange” for some reason. any way to retry or debug what it is doing ?18:21
lazyPowerryebot - you cannot mix/match subs across series18:30
lazyPowerjuju wont let you, it will tell you the principal service and the subordinate must match series18:30
ryebot+1 thanks lazyPower18:30
bbaqar_Hey guys .. any idea why cloud-init would stay stuck for a long time on this /usr/bin/python2 /tmp/add-juju-bridge.py --bridge-name=juju-br0 --interface-to-bridge=eth2 --one-time-backup --activate /etc/network/interfaces18:36
bbaqar_and after a while i loose connectivity to the node18:39
aisraelIn a reactive charm, how do you access code from the included layers? i.e., I include the storage layer, and want to call a method within it from my charm, but just `import storage` fails18:45
lazyPoweraisrael - unless its shipping alib, thats difficult. i dont think you can import reactive modules in/from one another.18:47
lazyPowerthis was a problem statement raised by stub with the apt layer a while back18:47
aisraellazyPower: Hm. It'd be a really useful feature to have, though. I'll open a bug for it, unless there's already one18:48
aisraellazyPower: layer namespaces might be what I'm looking for18:49
lazyPowerMakes sense18:50
lazyPowerthe ability to call the module by name, ergo: from storage import format_and_set_fire as cheers18:50
aisraellazyPower: exactly18:50
lazyPowerstorage being reactive/storage.py18:50
aisraelAdding it to storage now18:51
kwmonroecory_fu: i'm thinking we should make zeppelin standalone (vs spark subordinate).  you ok if i poke around for a rabbit down there?19:23
cory_fuYeah, as long as it's feasible (i.e., Zeppelin doesn't have some hard lib dependencies on Spark or otherwise have to be co-located) it seems like the better topology19:24
kwmonroeyeah cory_fu, it's easier if it's on spark (because it can look at SPARK_HOME), but i think it would be better to discover the relevant info from the spark relation.  it's not clear to me if the zepp binaries include enough spark jars though.  i'll have to see what those debs look like.19:25
cory_fuPresumably Zeppelin would then be able to work without Spark entirely?19:25
cory_fu(Using some other backend)19:26
kwmonroeyup cory_fu.. it's good as a general notebook (%md + %sh), but also has %hive and plenty of other interpreters that i think could be useful without spark... of course spark is super useful too (which is why we made it a sub in the first place)19:27
cory_fuYeah, +1, let's break it out19:27
magicaltroutthere's a bunch more always in motion on the mailing list as well19:28
magicaltroutespecially as its just become a TLP19:28
kwmonroewhat's this magicaltrout?  zepp is out of the incubator?19:41
kwmonroecory_fu: this is redundant, right?  basic: packages: would do the same thing? https://github.com/juju-solutions/layer-apache-bigtop-base/blob/master/layer.yaml#L5819:42
cory_fuYess19:43
cory_fuThat was a copypasta from the dist.yaml19:43
magicaltroutyeah kwmonroe it graduated a couple of weeks ago19:45
kwmonroeneat19:46
kwmonroedupey dupey here too cory_fu: https://github.com/juju-solutions/layer-hadoop-client/blob/master/layer.yaml#L419:48
cory_fukwmonroe: Yep.  Well, hadoop-client and bigtop-base both originally copypasta'd it from hadoop_base, which copypasta'd it from dist.yaml.19:49
cory_fuSo it's in layer-apache-hadoop-base as well19:49
kwmonroemmmmm.  pasta.19:49
cory_fukwmonroe: Does the order that we apply the patches in bigtop-base matter?19:51
cory_fuI guess it might19:52
kwmonroedepends on how tolerant patch is to fuzz.  i can't remember if those built on top of each other (meaning patch-1 adds 10 lines, patch-2 starts 10 lines down), or if they were independent.19:52
kwmonroeear regardless, i'm like 99% sure the default patch invocation will find the blocks and do the right thing.  for sure we dont fuzz=019:53
cory_fukwmonroe: https://github.com/juju-solutions/layer-apache-bigtop-base/pull/1220:05
bbaqar_hey guys can i edit the juju cloud-init script ?20:24
magicaltroutclient asks for bespoke work to be done, and gives us a windows box to test on. We validate bespoke work on windows and hand it over. Client then tries to install bespoke work on Linux. We rework bespoke work to work on Linux. Client then says stuff isn't working, and I find out they're back to using windows20:30
magicaltroutif lazyPower wasn't around, I'd be swearing, a lot20:31
* lazyPower eyes narrow as he reads backscroll20:31
lazyPowerin this instance, i'll allow it magicaltrout - so long as it follows the ubuntu CoC20:31
magicaltrouthehe20:31
lazyPowerbecause yah, thats poopy20:31
magicaltrouti dunno, clients suck20:32
* lazyPower sings the hot garbage song20:32
magicaltrouttechnically its java, so you know, it shouldn't matter, but you tend to test on the target OS and then figure out the nuances later20:32
lazyPoweryeah, mbruzek i mean java is supposed to run everywhere20:33
mbruzekIt does20:33
lazyPowerbut thats the rub, it was all marketing \o/ if your devs dont code it to be platform independent20:33
lazyPoweri used to be over this cloud based call center platform i inhereted by the name of five9, they would get really irate when i called in for support and was on linux.20:34
magicaltroutthe only java issues we face cross platform are like this one, filesystem access based stuff20:35
jrwrenbbaqar_: I think I have an open feature request for that, but no, currently you cannot.20:35
magicaltroutwith paths, separators, browsers putting in different separators etc20:35
magicaltroutabsolute killer20:35
lazyPowercritical path stuff20:35
lazyPoweryeah20:35
lazyPoweryou'd htink there would be an abstraction for that by now, i mean its only been what? 3 decades?20:35
lazyPowereven *python* has that20:36
* lazyPower hides20:36
magicaltrouthehe20:36
jrwrenwrite once. debug everywhere.20:37
magicaltrouttechnically c:/ on windows is fine20:38
magicaltrout / on linux is fine20:38
cory_fukwmonroe: Not saying we shouldn't test that PR, but the patch order should be the same due to sorting by ticket number (in the filename)20:38
magicaltroutbut.. browsers still try and do the right thing and do c:\ ....20:38
magicaltroutfail20:38
magicaltroutusers are worse though20:38
magicaltroutthey fill in all their variables incorrectly, every time ;)20:38
magicaltroutnever trust a user to fill a variable20:39
cory_fumagicaltrout: Just use os.pathsep and os.path.join and you should be fine.  ;)20:39
jrwrenbbaqar_: i'm wrong. I never created a bug. if you want to, I will +1 it ;]20:39
magicaltroutnow funny you say that, we had more issues with paths by using the java filesep variable, than just hardcoding everything to /20:40
magicaltroutbecause then you'd end up with weird stuff like c:\myfolder/path/to/my file20:40
magicaltroutat which point I wanted to cry20:40
magicaltroutanyhow, I digress. The real point is that clients suck.20:41
bbaqar_jrwren: i ll definitely open one but is there anywhere i can get the script from?20:46
jrwrenbbaqar_: once a machien is deployed you can always get it from /var/lib/cloud/instance/cloud-config.txt  you'll notice its very small and basic for juju managed machines.20:51
bbaqar_jrwren: cool .. let me check20:52
x58lazyPower: Hey, this is Bert. I'm working mattrae21:42
x58with *21:42
x58lazyPower: One of the things I've noticed with etcd and static clustering is that you have to bring up the followers one at a time. I have noticed with the old etcd charm, and the new one, that the followers will both attempt to cluster at the same time, which goes horribly wrong because both do member add, and things go boom.21:44
marcoceppix58: I think lazyPower has left for the day21:46
x58marcoceppi: He'll get it when he gets back then :-)21:52
marcoceppix58: absolutely21:52

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