=== chuck__ is now known as zul | ||
marcoceppi | magicaltrout: heh, YOU POLLUTING THE CHARM DEVELOPER PROGRAM WITH ABANDONDED INSTANCES?! | 01:41 |
---|---|---|
magicaltrout | sorry marcoceppi ! I don't know what is left in the disconnected world, if I have stuff running, feel free to shut it down | 07:58 |
Garyx | Anyone have any idea of when juju 2.0 RC1 or next Beta will rear it's head? | 11:47 |
bdx | openstack-charmers: the issues I was experiencing with inability to modify the 30G default account quotas, and swift<->rgw api incompatibilities for rgw buckets has been remedied in Jewel :-) | 17:28 |
bdx | I'm so distraught that I've a hammer deploy :-( .... I've successfully preformed an upgrade from hammer to jewel on test stacks ..... I'm trying to get a stable upgrade/migration procedure that I could apply to my production hammer deploy, I think I'm pretty close..... I'm wondering if there are any gotcha's the storage team might be able to unveil concerning upgradin hammer to jewel ? | 17:35 |
marcoceppi | bdx: what's Jewel? | 17:39 |
gnuoy | marcoceppi, maybe refering to the Ceph LTS which is code named Jewel. not sure of the context | 17:42 |
bdx | the latest stable release of ceph packaged in xenial | 17:42 |
bdx | oooh nm. Its not in the xenial archives :-( | 17:43 |
bdx | only ceph==10.1.2 .... grrr | 17:44 |
bdx | openstack-charmers: is there a way we can bump ceph to jewel for xenial? | 17:44 |
bdx | openstack-charmers: ceph v10.2.0 | 17:45 |
bdx | storage-peeps: http://docs.ceph.com/docs/master/release-notes/#v10.2.0-jewel | 17:45 |
=== natefinch__ is now known as natefinch | ||
ReSam | bdx: I think xenial includes a release candidate of jewel - and it will be upgraded later to the final release | 18:04 |
bdx | ReSam: thanks, I see that now. Final release of 16.04 charms? | 18:06 |
marcoceppi | bdx: almost all the openstack-charmers are in Austin at ODS, so responses might be delayed | 18:24 |
bdx | marcoceppi: totally, thx | 18:26 |
lazyPower | mbruzek - i know you're occupied atm, but here's where we left off at standup https://github.com/juju-solutions/layer-tls/pull/21 | 18:52 |
lazyPower | lets see if we can poke a hole in this, but this looks like its doing what i want it to do | 18:52 |
magicaltrout | urgh bloody interfaces | 19:13 |
magicaltrout | can I prod something to find out what states my charm has set? | 19:13 |
lazyPower | magicaltrout charms.reactive get_states | 19:14 |
magicaltrout | ta | 19:15 |
magicaltrout | lazyPower: either I'm having a major brain fade or something is wonky | 19:26 |
magicaltrout | if I'm in juju debug-hooks how do I get access to charms.reactive? | 19:26 |
lazyPower | its included in layer-basic, so its on $PATH if you're in a hook context | 19:26 |
magicaltrout | thats what I thought | 19:26 |
magicaltrout | root@ip-172-31-22-199:~# charms.reactive get_states | 19:27 |
magicaltrout | bash: /usr/local/bin/charms.reactive: Permission denied | 19:27 |
magicaltrout | marcoceppi you like this random stuff | 19:30 |
magicaltrout | what am I doing wrong/broke | 19:30 |
lazyPower | wat | 19:30 |
marcoceppi | magicaltrout: obviously you have not acended past root to reach god level status which is the permission required | 19:31 |
magicaltrout | hehe | 19:31 |
marcoceppi | cory_fu: ^^ | 19:31 |
marcoceppi | magicaltrout: can you strace the command and paste the output? | 19:31 |
magicaltrout | that one is easy | 19:32 |
magicaltrout | root@ip-172-31-22-199:~# strace charms.reactive get_states | 19:32 |
magicaltrout | strace: Can't stat 'charms.reactive': No such file or director | 19:32 |
magicaltrout | +y | 19:32 |
marcoceppi | magicaltrout: strace /usr/local/bin/charms.reactive for thrills | 19:33 |
magicaltrout | ah that ones a treat | 19:33 |
magicaltrout | http://pastebin.com/EzRkWye5 | 19:33 |
magicaltrout | same old stuff | 19:33 |
marcoceppi | magicaltrout: can you ls -lah that file? | 19:34 |
magicaltrout | -rw-r--r-- 1 root root 360 Apr 25 19:00 /usr/local/bin/charms.reactive | 19:35 |
marcoceppi | magicaltrout: well there's ya problem | 19:35 |
marcoceppi | chmod +x that file | 19:35 |
magicaltrout | yeah that works | 19:36 |
magicaltrout | weird | 19:36 |
marcoceppi | magicaltrout: super weird | 19:36 |
magicaltrout | yeah its like that on my other unit as well | 19:38 |
magicaltrout | Wily & Juju 2.0-beta4 according to my status | 19:40 |
magicaltrout | problem is no one cares about Wily... its like the forgotten love child.... ;'( | 19:42 |
=== matthelmke is now known as matthelmke-afk | ||
magicaltrout | okay | 19:43 |
magicaltrout | i have an interface question cause I can't get this to work | 19:43 |
magicaltrout | and you lot seem to think this stuff is easy ;0 | 19:44 |
magicaltrout | http://pastebin.com/HTfgbSbZ | 19:44 |
magicaltrout | dcosmaster.available is set by the master charm when its installed and running | 19:44 |
magicaltrout | if I debug the master charm i can see it set | 19:45 |
magicaltrout | but I don't seem to be picking it up on the requires end | 19:45 |
magicaltrout | any tips? | 19:45 |
magicaltrout | I can see the various hooks being triggered in the debug log | 19:45 |
cory_fu | magicaltrout: That file should be +x when it's installed from the wheelhouse by pip. If it's not, then I can only guess that it's a problem with pip on wiley? | 20:06 |
=== redir_ is now known as redir | ||
magicaltrout | i like the way you answer that with a question mark cory_fu as if I have a any idea how pip works! ;) | 20:13 |
magicaltrout | I do have a question though | 20:13 |
magicaltrout | @hook('{requires:dcos}-relation-{joined,changed}') | 20:13 |
magicaltrout | i have that in my interface | 20:13 |
magicaltrout | how can i find out what it things requires:dcos is | 20:14 |
magicaltrout | because when i hard code it to dcosmaster my hook runs | 20:14 |
magicaltrout | and when its templated | 20:14 |
magicaltrout | it doesn't | 20:14 |
magicaltrout | i assumed it picked it up from metadata.yaml | 20:15 |
marcoceppi | magicaltrout: it gets that from the metdata.yaml | 20:15 |
marcoceppi | magicaltrout: what's the name of the interface? | 20:16 |
cory_fu | It does pick it up from metadata.yaml. It should match any relation in metadata.yaml in the "requires:" section that has "interface: dcos" | 20:16 |
marcoceppi | dcos or dcosmaster? | 20:16 |
magicaltrout | "requires": | 20:16 |
magicaltrout | "dcosmaster": | 20:16 |
magicaltrout | "interface": "dcos" | 20:16 |
marcoceppi | magicaltrout: that will be triggered anytime dcosmater-relation-joined/changed is called | 20:16 |
magicaltrout | yeah well thats what i thought | 20:16 |
magicaltrout | but that only happens when i remove the templating | 20:17 |
magicaltrout | i realise you'll think i'm the crazy mad man at this point | 20:17 |
magicaltrout | but its actually true :P | 20:17 |
marcoceppi | magicaltrout: I believe you and defer to my associate, cory_fu ;) | 20:18 |
marcoceppi | magicaltrout: linky to the full requires.py file? | 20:18 |
magicaltrout | http://pastebin.com/nZWQ1brm its just a hacked up one from the docs | 20:19 |
magicaltrout | doesn't do much at the mo | 20:19 |
magicaltrout | ignore line 11 I deliberately broke it to check its execution :) | 20:19 |
marcoceppi | magicaltrout: is it because of the class name? | 20:20 |
magicaltrout | doubt it | 20:21 |
magicaltrout | i shall check | 20:21 |
magicaltrout | oh wtf | 20:22 |
magicaltrout | looks like you're correct marcoceppi | 20:23 |
magicaltrout | spent bloody ages looking at that wondering why filling in the templates worked fine | 20:23 |
magicaltrout | teaches me to copy and paste | 20:23 |
marcoceppi | magicaltrout: copy and paste - it's the reason we built layers ;) | 20:24 |
marcoceppi | magicaltrout: lesson learned, we need to have a charm create -t interface | 20:24 |
* marcoceppi opens bug | 20:25 | |
magicaltrout | yeah that would be really good | 20:25 |
magicaltrout | oh well i can return to actually implmenting the busines end now :P | 20:25 |
marcoceppi | \o/ another blocker unblocked | 20:25 |
magicaltrout | yeah i'm well in a hole in terms of time and apachecon, the less blockers the better please :P | 20:26 |
marcoceppi | magicaltrout: well please feel free to aggressively ping me | 20:27 |
marcoceppi | magicaltrout: happy to make sure thta's a success for you | 20:27 |
marcoceppi | magicaltrout: and to basically defer all the hard stuff to cory_fu | 20:27 |
magicaltrout | hehe | 20:28 |
magicaltrout | I think the juju stuff is mostly in place. For the demo I plan to spin up Apache OODT for Data Management in DC/OS and use the Big Data bundles to spin up a hadoop platform and have some interaction between them all, probably similar to cory_fu's ssh failed attempts | 20:29 |
magicaltrout | suck them into the platform via Apache OODT for catalog and search stuff and Zeppelin for the analysis | 20:29 |
magicaltrout | which is a pseudo real world scenario we have, although we don't currently use DC/OS clearly as its rather new | 20:30 |
magicaltrout | and honestly, OODT, Mesos, Zookeeper, Hadoop, Zeppelin, how much more Apache tech could you have in a talk thats powered by Juju? | 20:30 |
magicaltrout | i don't think its possible | 20:31 |
magicaltrout | oh and Tomcat and Solr and Tika | 20:34 |
magicaltrout | blimey | 20:34 |
marcoceppi | magicaltrout: it's like the entire apache catalog ;) | 20:35 |
magicaltrout | yeah its not far off, but also is real life, so its not like i'm trying to cram it all into just to make a point | 20:36 |
magicaltrout | but it certainly helps ;) | 20:36 |
marcoceppi | :D | 20:39 |
magicaltrout | marcoceppi: whats the name of the stuff that houses downloads in 2.0 and is there any documentation for the feature I've forgotten? :) | 20:51 |
magicaltrout | hmm looks like classname might not be the problem | 20:59 |
magicaltrout | fresh install back to broken | 20:59 |
magicaltrout | fscking templates | 21:02 |
magicaltrout | cory_fu: http://pastebin.com/4LWd3s8q that runs and logs fine | 21:04 |
magicaltrout | http://pastebin.com/6WVCExFc | 21:04 |
magicaltrout | that sinks without trace | 21:04 |
magicaltrout | http://pastebin.com/x1yUwwCz | 21:05 |
magicaltrout | thats my metadata | 21:05 |
magicaltrout | suggestions please! :) | 21:05 |
magicaltrout | ack ack | 21:09 |
magicaltrout | bloody typo | 21:09 |
magicaltrout | always the users fault | 21:09 |
cory_fu | magicaltrout: Don't use -broken in reactive | 21:13 |
cory_fu | Also, your hook line should be @hook('{requires:dcos}-relation-{joined,changed}') | 21:13 |
cory_fu | Other than that, what's the problem? | 21:14 |
magicaltrout | yeah i saw it ;( | 21:14 |
cory_fu | I was in a meeting, and not really able to pay attention before. :( | 21:14 |
magicaltrout | if you shouldn't use broken you should probably get evilnick to touch up the docs: https://jujucharms.com/docs/devel/developer-layers-interfaces | 21:14 |
cory_fu | Yeah, we should update that. It will only actually cause problems if you use set_state in there, but it doesn't work like you'd expect so it's better to avoid it entirely | 21:16 |
magicaltrout | cool | 21:16 |
magicaltrout | as you're here and marco isn't whats the name for that charm storage stuff? | 21:17 |
magicaltrout | not "storage" but where you store artifacts | 21:17 |
cory_fu | Are you asking about resources? | 21:17 |
magicaltrout | my google-fu is failing me | 21:17 |
magicaltrout | that be the one | 21:17 |
magicaltrout | i knew it began with r | 21:17 |
cory_fu | :) | 21:17 |
cory_fu | magicaltrout: So I'm still confused what your issue is with the interface layer | 21:17 |
kjackal | cory_fu kwmonroe admcleod1: this PR on hue does a lot of cleaning and adds integration to ZK and Hive, integration with YARN & HDFS was already there (as far as I remember) https://github.com/juju-solutions/layer-hue/pull/6 | 21:18 |
cory_fu | You definitely should not hard-code the name of the relation in the @hook line | 21:18 |
magicaltrout | i don't it was a typo and lack of understanding :) | 21:18 |
cory_fu | Ah, ok | 21:18 |
magicaltrout | not the hard coding was just because i couldn't see why it wasn't running | 21:18 |
magicaltrout | and to prove to myself i wasn't completely mad | 21:18 |
cory_fu | arosales: As kjackal pointed out above, we think that Hue is basically ready (pending the PR) and we can hopefully have it cleaned up and done by EOW | 21:19 |
kjackal | arosales: Just tested upgrade from spark 1.6.0 to 1.6.1 and it works | 21:23 |
magicaltrout | marcoceppi: with juju resources, on the first execution of a charm download an archive | 21:28 |
magicaltrout | then in the charm dump it into resources so in future it doesn't have to fetch it again | 21:28 |
arosales | cory_fu: kjackal interesting and good to hear. | 21:29 |
arosales | kjackal: is that with spark only or with hadoop too? | 21:29 |
kjackal | this is for spark 1.6.1 to 1.6.0 and a fixed version of Hadoop 2.6.0 | 21:30 |
arosales | kjackal: gotcha, and I think the hadoop admcleod1 is working on is 2.7.x so perhaps a little work there, but good to hear that is close. | 21:31 |
arosales | kjackal: burning the mid night oil too I see ;-) | 21:32 |
kjackal | arosales: The binary was for Hadoop 2.6.0+ . I do not think there is a Spark binary for Hadoop 2.7.0 only | 21:33 |
kjackal | arosales: regarding Hue the misunderstanding (at least from my part) was that we do not need the entire functionality of Hue, we need integration with YARN. We can gradually integrate Hue with the rest of the Hadoop ecosystem | 21:34 |
marcoceppi | magicaltrout: that's not how resources work | 21:35 |
arosales | kjackal: for sure we can always build from there | 21:35 |
magicaltrout | marcoceppi: maybe, but it should be how resources work! :P | 21:45 |
magicaltrout | for example, DC/OS it has to download a 500mb file to bootstrap | 21:47 |
=== matthelmke-afk is now known as matthelmke | ||
magicaltrout | if it was a resource, that would be pretty instant, not that its that slow over the net, but you get my drift | 21:47 |
magicaltrout | so I could define it as a resource and have people upload a bootstrap tarball to the Juju server resource pool | 21:48 |
magicaltrout | or, I could have some cool hook that grabs it on the first run, and dumps it into the resource pool so future runs could grab it from there instead of the web | 21:48 |
marcoceppi | magicaltrout: well... | 22:13 |
magicaltrout | well indeed! | 22:22 |
magicaltrout | boom | 22:53 |
magicaltrout | semi working DC/OS | 22:53 |
magicaltrout | what a hack! | 22:53 |
magicaltrout | ;) | 22:53 |
marcoceppi | magicaltrout: all great production deployments start as hacks :) | 23:32 |
magicaltrout | https://ibin.co/2f1dfqzROiqs.png | 23:33 |
magicaltrout | thanks marcoceppi nice charm developer program 12 node cluster ;) | 23:33 |
magicaltrout | (don't worry marco, I switched it off :P ) | 23:42 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!