=== lazypower_ is now known as lazyPower | ||
=== urulama|__ is now known as urulama | ||
kjackal | micvog: is that you Michael? | 08:49 |
---|---|---|
kjackal | Good morning juju world! | 08:49 |
admcleod | jhobbs: hi - i ... can have a look at that but not really sure if you've got the right person | 09:12 |
magicaltrout | fix it admcleod ! | 09:13 |
admcleod | magicaltrout: *sends box of white chocolate blue cheese and anchovy balls* | 09:14 |
* magicaltrout hurls them over the fence | 09:14 | |
admcleod | haha.. chocolate anchovies are a thing. thanks google. | 09:18 |
magicaltrout | bad times | 09:18 |
kjackal | hey admcleod, we setup a VM for micvog and we are ready to move on with juju | 09:28 |
micvog | indeed thanks kjackal! | 09:29 |
kjackal | micvog: I would also like you to meet magicaltrout. magicaltrout is an awesome community member and he basicaly gives us a reason to work on Juju | 09:30 |
kjackal | micvog: magicaltrout is also London based (at least for now) | 09:31 |
micvog | hey all ! | 09:31 |
kjackal | ok, enough with the introductions | 09:31 |
kjackal | the first thing to do is setup a monitoring | 09:32 |
kjackal | so micvog, to get the status of services/applications/machines you just do a "juju status" | 09:32 |
micvog | so, should we bootstrap first ? | 09:33 |
kjackal | ahh yes you are absolutely right | 09:33 |
kjackal | "juju bootstrap" it is then! | 09:34 |
admcleod | kjackal: how bout you set up a shared tmux/screen session so we can watch? :} | 09:34 |
micvog | bootstraping.. | 09:34 |
kjackal | admcleod: that sounds good, never done this but should be easy, right? | 09:35 |
admcleod | kjackal: sure! computers! | 09:35 |
micvog | so, bootstrap has installed some packages on remote host (which host?) and started the agent | 09:37 |
micvog | I assume everything is local since environments.yaml is not configured | 09:37 |
kjackal | yes, everything is local | 09:37 |
kjackal | admcleod: what is your public ssh key? | 09:37 |
admcleod | kjackal is a fan of lxd, so its probably an lxd instance known as 'machine-0' which is the juju controller | 09:38 |
admcleod | kjackal: https://launchpad.net/~admcleod/+sshkeys (top one) | 09:38 |
micvog | so the .juju/environments/local.jenv was created with bootstrap and contains all info about the current state ? | 09:40 |
kjackal | micvog: yes you are correct | 09:41 |
kjackal | but the file with the credentials you should be conserned with is this .juju/environments.yaml | 09:41 |
micvog | yup | 09:41 |
kjackal | micvog: .juju/environments.yaml has placeholders for configuring all supported providers | 09:41 |
kjackal | micvog: can you do a "tmux attach-session -t shared" | 09:43 |
micvog | ~$ Michael? Can you read this? | 09:44 |
micvog | I think we're good | 09:44 |
micvog | brb | 09:47 |
kjackal | micvog: when you do a "juju deploy apache-spark " juju will forst provision a vm | 09:54 |
kjackal | in this case juju will provision an lxc container | 09:54 |
micvog | ah ok | 09:54 |
kjackal | first time takes a long time because an ubuntu image has to be downloaded | 09:55 |
kjackal | after that lxc container provisioning is very fast | 09:55 |
kjackal | micvog: after getting the container juju will "bootstrap" the vm/unit and will deploy apache spark on it | 09:56 |
kjackal | micvog: we are not installing the containers software "apt-get update & upgrade etc" | 09:56 |
micvog | ok | 09:57 |
kjackal | "Fetching resources" means we are downloading apache-spark | 09:58 |
admcleod | kjackal: micvog sorry guys afk for 10 min | 09:58 |
kjackal | ah we can see what is happening by looking at the logs | 09:59 |
kjackal | console 3 shows the logs "juju debug-log" | 09:59 |
micvog | aha | 10:00 |
kjackal | btw micvog we are deploying https://jujucharms.com/apache-spark/10 | 10:01 |
micvog | is this the remote machine logs or the juju "controller" logs | 10:01 |
kjackal | micvog: spark deployment finished | 10:02 |
kjackal | we have spark on our machine 1 | 10:02 |
kjackal | it is in cluster mode but has only one worker | 10:02 |
kjackal | should we login to that cluster or should we add some extra nodes? | 10:03 |
kjackal | micvog: ^ | 10:03 |
admcleod | kjackal: do both :} | 10:03 |
kjackal | ack lets add some units | 10:03 |
micvog | have you started it in HA mode ? | 10:03 |
micvog | using quickstart ? | 10:04 |
kjackal | for HA we need zookeeper | 10:04 |
kjackal | so here is what we will do | 10:04 |
kjackal | lets add 3 more units: juju add-unit -n 3 apache-spark | 10:04 |
micvog | let me try | 10:05 |
micvog | ah | 10:05 |
micvog | done | 10:05 |
kjackal | in the mean time lets also deploy and apache-zookeeper: "juju deploy apache-zookeeper" | 10:05 |
kjackal | micvog: go ahead and try the above | 10:06 |
micvog | how do you know the zookeeper and spark are compatible? or how do you enforce versions? | 10:06 |
kjackal | micvog: spark and zookeeper share an interface | 10:07 |
kjackal | if we are to create versions that do not relate we will have to change the interface | 10:07 |
kjackal | you can see which interface is used in the web pages and readme files of each charm | 10:08 |
kjackal | lets look at the states | 10:08 |
Guest_94447 | Allah is doing | 10:08 |
Guest_94447 | sun is not doing allah is doing | 10:09 |
micvog | fetching resources | 10:09 |
micvog | thats to download spark on the 3 new nodes | 10:09 |
Guest_94447 | moon is not doing allah is doing | 10:10 |
Guest_94447 | stars are not doing allah is doing | 10:10 |
Odd_Bloke | !op | 10:10 |
Odd_Bloke | What's that command? | 10:10 |
kjackal | micvog: isn't it nice? 4 node spark cluster on your machine EXACTLY how it would look on AWS | 10:11 |
micvog | awesome | 10:11 |
Guest_94447 | planets are not doing allah is doing | 10:11 |
Guest_94447 | galaxies are not doing Allah is doing | 10:12 |
magicaltrout | lol | 10:12 |
kjackal | micvog: and you basicaly you didn;t do much "juju deploy, juju add-unit" | 10:12 |
Guest_94447 | oceans are not doing Allah is doing | 10:12 |
magicaltrout | its like slow polite trolling | 10:12 |
admcleod | magicaltrout: i think i see where this is going | 10:12 |
magicaltrout | i like a bit of morning poetry..... | 10:13 |
Guest_94447 | mountains are not doing Allah is doing | 10:13 |
admcleod | magicaltrout: at some point we're going to encounter the eclesiastical rift concerning whether god is doing white chocolate and blue cheese. | 10:13 |
magicaltrout | hehe | 10:13 |
magicaltrout | Guest_94447: I don't believe in God, last time I checked a good muslim friend of mine told me I was going to burn in hell | 10:13 |
magicaltrout | so we had a good chat about that | 10:13 |
magicaltrout | but I'm okay with it | 10:13 |
Guest_94447 | trees are not doing Allah is doing | 10:14 |
magicaltrout | hmm | 10:14 |
magicaltrout | bloody trees | 10:14 |
kjackal | micvog: you see now we have a spark cluster with 4 nodes and 1 master | 10:14 |
micvog | all ready | 10:14 |
kjackal | micvog: we also have a zookeeper | 10:14 |
kjackal | lets relate zookeepr and spark | 10:15 |
kjackal | juju add-relation apache-spark apache-zookeeper | 10:15 |
kjackal | try this ^ micvog | 10:15 |
kjackal | and look at the state | 10:15 |
Guest_94447 | mom is not doing Allah is doing | 10:15 |
Guest_94447 | dad is not doing Allah is doing | 10:15 |
Guest_94447 | boss is not doing Allah is doing | 10:16 |
micvog | where can I see they're now related apart from debug logs? | 10:16 |
Guest_94447 | job is not doing Allah is doing | 10:16 |
Guest_94447 | dollar is not doing Allah is doing | 10:16 |
Guest_94447 | degree is not doing Allah is doing | 10:16 |
micvog | damn he's posting more frequently now | 10:16 |
Guest_94447 | medicine is not doing Allah is doing | 10:17 |
magicaltrout | hehe | 10:17 |
magicaltrout | it is making me chuckle | 10:17 |
Guest_94447 | customers are not doing Allah is doing | 10:17 |
Guest_94447 | you can not get a job without the permission of allah | 10:17 |
kjackal | who is the moderator here? | 10:17 |
* magicaltrout asks the permission of no one...... | 10:17 | |
micvog | ah by looking at juju status you can see the relation ? | 10:18 |
kjackal | yes, the full status | 10:18 |
Guest_94447 | you can not get married without the permission of allah | 10:18 |
kjackal | but you see micvog that spark is now in HA mode | 10:18 |
kjackal | cool eh? | 10:19 |
micvog | yup | 10:19 |
kjackal | automagicaly :) | 10:19 |
Guest_94447 | nobody can get angry at you without the permission of allah | 10:19 |
kjackal | lets ssh to one of these machines | 10:19 |
kjackal | console 4 | 10:19 |
kjackal | micvog: you do not need to remember the ips or the strange strings each cloud provider will give you | 10:21 |
Guest_94447 | light is not doing Allah is doing | 10:21 |
Guest_94447 | fan is not doing Allah is doing | 10:21 |
micvog | yes that's really handy | 10:21 |
Guest_94447 | businessess are not doing Allah is doing | 10:21 |
kjackal | micvog: you just do "juju ssh <unit>" | 10:21 |
magicaltrout | micvog fyi: /ignore Guest_94447 | 10:21 |
Guest_94447 | america is not doing Allah is doing | 10:21 |
magicaltrout | should sort you out | 10:21 |
Guest_94447 | fire can not burn without the permission of allah | 10:22 |
kjackal | micvog: admcleod: I am being called for lunch | 10:22 |
kjackal | lets see bundles and micvog work when I get back ok? | 10:22 |
micvog | catch up later | 10:23 |
micvog | I'll try to run smth | 10:23 |
Guest_94447 | knife can not cut without the permission of allah | 10:23 |
Guest_94447 | rulers are not doing Allah is doing | 10:23 |
Guest_94447 | governments are not doing Allah is doing | 10:23 |
Guest_94447 | sleep is not doing Allah is doing | 10:24 |
Guest_94447 | hunger is not doing Allah is doing | 10:24 |
Guest_94447 | food does not take away the hunger Allah takes away the hunger | 10:25 |
admcleod | if someone is in the blufin building, or logged in over the vpn: /oper ${your_ud-ldap_uid} ${irc password without the leading NICK} | 10:26 |
Guest_94447 | water does not take away the thirst Allah takes away the thirst | 10:26 |
Guest_94447 | seeing is not doing Allah is doing | 10:26 |
Guest_94447 | hearing is not doing Allah is doing | 10:26 |
magicaltrout | aww admcleod | 10:26 |
magicaltrout | you're so mean | 10:26 |
Guest_94447 | seasons are not doing Allah is doing | 10:27 |
Guest_94447 | weather is not doing Allah is doing | 10:27 |
Guest_94447 | humans are not doing Allah is doing | 10:27 |
Guest_94447 | animals are not doing Allah is doing | 10:27 |
Guest_94447 | the best amongst you are those who learn and teach quran | 10:28 |
Guest_94447 | one letter read from book of Allah amounts to one good deed and Allah multiplies one good deed ten times | 10:29 |
Guest_94447 | hearts get rusted as does iron with water to remove rust from heart recitation of Quran and rememberance of death | 10:30 |
Guest_94447 | heart is likened to a mirror | 10:30 |
Guest_94447 | when a person commits one sin a black dot sustains the heart | 10:31 |
Spads | sounds healthy | 10:31 |
* Spads sustains his heart | 10:33 | |
magicaltrout | lol | 10:33 |
magicaltrout | bloody black dots | 10:33 |
Guest_94447 | to accept Islam say that i bear witness that there is no deity worthy of worship except Allah and Muhammad peace be upon him is his slave and messenger | 10:33 |
admcleod | lunch is not doing, All.. oh wait yes, im going to lunch | 10:34 |
magicaltrout | allah made your lunch? | 10:34 |
magicaltrout | I need to have a word | 10:34 |
magicaltrout | mines still in the cupboard | 10:34 |
admcleod | i dunno, i suspect i may have some pork based product, since spain. anyway, bbl | 10:35 |
magicaltrout | allah will cast you down with increased risk of bowel cancer then admcleod | 10:36 |
magicaltrout | so says...... | 10:36 |
magicaltrout | the doctors | 10:36 |
kjackal | /ignore Guest_94447 | 10:40 |
Guest_94447 | read book http://www.fazaileamaal.com | 10:40 |
Guest_94447 | read book http://www.muntakhabahadith.com | 10:40 |
Guest_94447 | need spiritual teacher visit http://www.alhaadi.org.za | 10:41 |
Guest_94447 | allah created the sky without any pillars | 10:41 |
magicaltrout | aww kjackal | 10:41 |
magicaltrout | a) remove the space | 10:41 |
magicaltrout | b) where's your sense of adventure, you should join up | 10:41 |
Guest_94447 | allah makes the sun rise from the east and Allah makes the sun set in the west | 10:41 |
magicaltrout | hmm | 10:41 |
Guest_94447 | allah gives life and Allah gives death | 10:42 |
kjackal | magicaltrout: my irc skills are non existent! | 10:42 |
Guest_94447 | all creation are useless,worthless,hopeless | 10:42 |
Guest_94447 | can not do | 10:42 |
magicaltrout | so it seems kjackal | 10:42 |
Guest_94447 | can not benefit | 10:42 |
Guest_94447 | can not harm | 10:42 |
Guest_94447 | allah is the doer of each and everything | 10:42 |
magicaltrout | that said its better than some of the ibm'ers who like to address kwmonroe as kevin... or <kwmonre> with some weird copy paste thing | 10:43 |
magicaltrout | tab completion IBMers! tab completetion! | 10:43 |
kjackal | magicaltrout: lol | 10:43 |
Guest_94447 | when Allah wants us to stand we stand | 10:43 |
Guest_94447 | when Allah wants us to sit we sit | 10:43 |
Guest_94447 | i am not doing Allah is doing | 10:43 |
Guest_94447 | you are not doing Allah is doing | 10:44 |
Guest_94447 | atom bomb is not doing Allah is doing | 10:44 |
Guest_94447 | rice is not doing Allah is doing | 10:44 |
Guest_94447 | all creation get together can not create one grain of rice | 10:44 |
Guest_94447 | all humans get together can not stop rain | 10:45 |
Guest_94447 | all humans get together can not make anybody hungry | 10:45 |
magicaltrout | Guest_94447: can you impart your wisdom on those in ##saiku they all need your help | 10:46 |
Guest_94447 | all humans get together can not move sun one second up or down | 10:46 |
magicaltrout | or ##pentaho | 10:46 |
magicaltrout | they also need som guidance | 10:46 |
Guest_94447 | we can not count the hair on our head | 10:46 |
Guest_94447 | we can not count the rain drops | 10:46 |
Guest_94447 | we can not count the particles of sand | 10:46 |
Guest_94447 | medicine has no power to cure | 10:47 |
Guest_94447 | two people take same medicine one passes away and one does not | 10:47 |
Guest_94447 | degree has no power to give job | 10:47 |
kjackal | micvog: admcleod: I am back | 10:47 |
Guest_94447 | many people have degrees but do not have jobs | 10:47 |
micvog | wb | 10:47 |
Guest_94447 | sustenance does not depend on effort | 10:48 |
Guest_94447 | one person is working very much but is earning very less | 10:48 |
micvog | I uploaded the jar to one of the spark nodes, seems that the input files are missing - working on it | 10:48 |
Guest_94447 | other person is working very less but is earning very much | 10:48 |
magicaltrout | awww | 10:50 |
magicaltrout | balls | 10:50 |
magicaltrout | where's he gone | 10:50 |
micvog | "Found 57 outliers" - looks like we're onto something | 10:52 |
micvog | :) | 10:52 |
kjackal | micvog: nice! | 11:00 |
kjackal | micvog: give me some time to go over the blog and the program | 11:01 |
micvog | sure | 11:03 |
micvog | fyi channel, we're trying to deploy this using juju - https://micvog.com/2016/05/21/using-spark-for-anomaly-fraud-detection/ | 11:04 |
=== micvog is now known as micvog__ | ||
=== micvog_ is now known as micvog | ||
kjackal | micvog: ok I think I got the big picture | 11:16 |
kjackal | I am thinking... | 11:17 |
kjackal | we have a good start | 11:17 |
kjackal | and a relatively good idea what we want to get out of this... | 11:18 |
kjackal | So... we will need to complete the stack of charms | 11:18 |
kjackal | We will need a way to feed realtime data to a kafka queue as shown in the chart | 11:19 |
kjackal | then have spark consume the queue and persist everything (eg to HDFS) | 11:20 |
kjackal | and then visualise the results. it would be great to do that through zeppelin | 11:21 |
micvog | sorry dc | 11:22 |
micvog | last message was that the list of charms need to be completed | 11:22 |
magicaltrout | 12:12 kjackal| We will need a way to feed realtime data to a kafka queue as shown in the chart │ blr | 11:25 |
magicaltrout | 12:13 kjackal| then have spark consume the queue and persist everything (eg to HDFS) │ blr | 11:25 |
magicaltrout | 12:14 kjackal| and then visualise the results. it would be great to do that through zeppelin | 11:26 |
kjackal | Any ideas magicaltrout? | 11:26 |
magicaltrout | I wasn't paying a great deal of attention whilst mulling over life with the quran | 11:29 |
magicaltrout | what part are you mulling over kjackal ? | 11:29 |
magicaltrout | try that again | 11:30 |
magicaltrout | I wasn't paying a great deal of attention whilst mulling over life with the quran | 11:30 |
magicaltrout | what part are you mulling over kjackal ? | 11:30 |
kjackal_ | magicaltrout: do you recommend any tool for awesome visualisations on (streaming) data that can interface with spark? | 11:32 |
magicaltrout | zeppelin seems like a sound choice on the Juju platform | 11:36 |
magicaltrout | one consideration I would ponder is how do you present it to the user. | 11:36 |
magicaltrout | If you're streaming data, it would be good to hook up websockets or long polling and have it update the zeppelin charts on the fly without a user refreshing the page etc | 11:36 |
magicaltrout | https://gist.github.com/granturing/a09aed4a302a7367be92 this chap did some streaming spark map example | 11:38 |
magicaltrout | or just write some websocketed thin client with your own choice of vis toolkit | 11:38 |
magicaltrout | and use streaming spark or write it back to kafka and have kafka write it to the sockets | 11:39 |
kjackal_ | sounds cool! Thanks magicaltrout | 11:40 |
micvog | this looks interesting reg visualization - https://www.youtube.com/watch?v=BhCXL8AHiB0&index=9&list=PL-x35fyliRwiy50Ud2ltPx8_yA4H34ppJ | 11:40 |
micvog | if you can send data through websockets then D3.js is a very good option (and realtie) | 11:41 |
magicaltrout | yeah its very lightweight as well | 11:41 |
magicaltrout | so your browser shouldn't drown | 11:41 |
magicaltrout | which used to be an issue with streaming data.. when to flush it | 11:41 |
=== dpm is now known as dpm-bbiab | ||
rcj | coming late to the 'multiseries' charm game. Had a question on updating an existing charm... Was told to push to somewhere new and launchpad.net/ubuntu-repository-cache was suggested. Is it really necessary to create an entire LP project for the charm? What are the requirements? | 13:32 |
rcj | ^ re: https://code.launchpad.net/~rcj/charms/trusty/ubuntu-repository-cache/multiseries/+merge/299472 | 13:33 |
rick_h_ | rcj: so you can push using the charm push command from anywhere. I think the key thing is that you're pushing a charm that works on multiple series to a series-i-fied url which seems a bit untrue | 13:34 |
rcj | rick_h_, yeah I wanted a diff that showed the 4 line change against the current code so no one is looking at this as entirely new. | 13:35 |
rick_h_ | rcj: understand. The new review queue will show the diff of actual files which will help | 13:35 |
rick_h_ | rcj: not sure where that's at atm, but will check on it | 13:35 |
rick_h_ | rcj: but appreciate where you're coming from there | 13:35 |
rick_h_ | rcj: maybe recommend making the change to the new path first, getting that "just migrate existing code" and then do the patch for the 4 lines on top of that? | 13:36 |
rcj | rick_h_, otherwise, it has already been pushed to https://jujucharms.com/u/rcj/ubuntu-repository-cache and I need to know how to get it queued for review. | 13:36 |
rcj | https://jujucharms.com/u/rcj/ubuntu-repository-cache/122 | 13:37 |
rcj | rick_h_, either way, how do I get this on the review queue (or view the queue)? http://manage.jujucharms.com/tools/review-queue linked from https://jujucharms.com/community/charmers just gives me 'Internal Server Error' | 13:42 |
rick_h_ | rcj: ah, bad link: http://review.juju.solutions/ is the current queue. | 13:44 |
rick_h_ | rcj: from the docs "If something needs review, subscribe ~charmers." | 13:44 |
rick_h_ | rcj: looking at https://jujucharms.com/docs/master/reference-reviewers | 13:44 |
rcj | thx. Also for bad links from http://review.juju.solutions/ it's suggests reading "Charm Review Process" @ https://juju.ubuntu.com/docs/charm-review-process.html -> DNS_PROBE_FINISHED_NXDOMAIN | 13:46 |
rick_h_ | rcj: yes, filing a bug on that bad link now | 13:46 |
rick_h_ | heh well filing on jujucharms.com/community, guess there's another one from the actual review site | 13:47 |
rick_h_ | tvansteenburgh: what's the latest on new queue timing? | 13:47 |
tvansteenburgh | rick_h_: marcoceppi ^ | 13:49 |
jhobbs | admcleod: yeah ok probably wrong person haha thanks | 14:07 |
=== dpm-bbiab is now known as dpm | ||
admcleod | jhobbs: no worries :) | 14:33 |
lutostag | stub: hoping you could push the built/latest published charm to the branch "built" like you had been previously for git.launchpad.net/postgresql-charm if possible | 14:53 |
xilet | using 2.0-beta7-xenial-amd64, any idea where to start looking for why after a full system reboot 'juju status' just hangs? | 15:05 |
cory_fu | marcoceppi, petevg, and I are doing a live session discussing testing in charms and layers: https://plus.google.com/u/1/events/col2a1aertqj329rjb8tgg314u0 | 15:06 |
cory_fu | We're currently discussing this PR: https://github.com/juju-solutions/layer-apache-bigtop-base/pull/28 | 15:06 |
cory_fu | And this PR: https://github.com/juju-solutions/jujubigdata/pull/59 | 15:06 |
cory_fu | xilet: We're currently up to beta11, so one option might be to upgrade to that. What provider are you using, though? lxd, aws, etc? | 15:08 |
icey | jrwren: unfortunately, ceph_ips = [x['public-address'] for x in self.d.sentry['ceph-mon']] doesn't work: http://pastebin.ubuntu.com/18792425/ | 15:09 |
xilet | lxd | 15:09 |
xilet | It had deployed an openstack fine, but after the reboot it has been several hours and still nothing, strace shows something is timing out but isn't giving me any really good indicators. I see quite a few of the services have launched according to ps. | 15:10 |
xilet | let me try upgrading juju | 15:13 |
magicaltrout | ... said no one on a Friday | 15:13 |
cory_fu | xilet: I think that after a reboot the lxc containers might not be set to start back up automatically. I'm not familiar enough with lxd to know the command to check for the running state of the containers | 15:19 |
xilet | cory_fu: it has in the past, I ran into a bug with adding a second nova-compute unit, so Iw as bouncing the whole system to see what might changed, I had rebooted several times prior, curious if there is some kind of central juju log that I could check | 15:24 |
cory_fu | xilet: There is a log on the bootstrap container, but I'm not sure if it would have the info you're looking for or not | 15:25 |
xilet | so other question, I had (I think, I am new to this) upgraded to juju-2 using the xenial-proposed branch, what is the official method these days for updating it? | 15:27 |
stub | lutostag: It is already pushed | 15:27 |
lutostag | stub: perfect, thanks | 15:28 |
mbruzek | marcoceppi: Do you know where the tab completion code is for juju? Re: https://bugs.launchpad.net/juju-core/+bug/1600257 | 16:05 |
mup | Bug #1600257: The tab completion on juju yeilds KeyError: 'services' <juju-core:New> <https://launchpad.net/bugs/1600257> | 16:05 |
marcoceppi | mup: it's probably in the packaging branch | 16:06 |
mup | marcoceppi: I apologize, but I'm pretty strict about only responding to known commands. | 16:06 |
mbruzek | marcoceppi: I searched for python in juju/juju could not find it | 16:06 |
marcoceppi | mbruzek: it's probably in the packaging branch | 16:06 |
marcoceppi | mup: when did you get so saucy | 16:06 |
mup | marcoceppi: In-com-pre-hen-si-ble-ness. | 16:06 |
marcoceppi | omg. who taught you to talk back. | 16:06 |
mbruzek | mup you steal all my best lines | 16:06 |
mbruzek | *the best lines | 16:07 |
marcoceppi | wow, now mup is all quiet | 16:07 |
* marcoceppi feels accomplished. | 16:07 | |
mbruzek | Yeah mup must know who is in charge | 16:07 |
lazyPower | marcoceppi - its been doing that for quite some time now | 16:11 |
lazyPower | mup what is the air speed velocity of an unladen swallow? | 16:11 |
lazyPower | welp, ya broke it | 16:11 |
babbageclunk | mbruzek: it's in juju/juju/etc/bash_completion.d (in case you haven't found it) | 16:33 |
mbruzek | Yes I just found it. | 16:33 |
babbageclunk | mup: anything exciting planned for the weekend | 16:33 |
mup | babbageclunk: Roses are red, violets are blue, and I don't understand what you just said. | 16:33 |
babbageclunk | that's fun | 16:33 |
mbruzek | The error looked like a python traceback, I didn't expect the file to be bash, with embedded python. | 16:33 |
mbruzek | thanks babbageclunk | 16:33 |
babbageclunk | mbruzek: yeah, it's a bit of an obscure location | 16:34 |
babbageclunk | mbruzek: Are you seeing that error, or do you just need it for something else? | 16:36 |
mbruzek | babbageclunk: I am seeing the error, and looking to try to fix it | 16:36 |
babbageclunk | mbruzek: It's already been fixed, I think - you can reinstall the completions by running `make install-etc`. | 16:37 |
babbageclunk | mbruzek: (I went through this same series of steps a while back.) | 16:37 |
mbruzek | babbageclunk: OK I see that the bash completion file does not contain "services" in juju (master) but I see "services" on the completion file on my system in /etc/bash_completion.d/juju2 on my system | 16:39 |
babbageclunk | mbruzek: Right - that is what I found when I had this error. | 16:40 |
mbruzek | babbageclunk: OK thanks, just trying to help | 16:41 |
petevg | marcoceppi: not production ready, but here's an invocation that fixes the import in the docker-layer unit tests we discussed in the hangout: http://paste.ubuntu.com/18798385/ | 16:44 |
petevg | (Basically, you make sure that the "charms" module exists, and then you patch a mock object into it.) | 16:45 |
neiljerram | lazyPower, mbruzek - Hi there; just wondering what the plan/schedule is for publishing a new etcd charm with all recent fixes. Currently I'm using cs:~lazypower/etcd-19 - which is fine - but I guess there should be a new publication to cs:~containers ? | 16:48 |
lazyPower | neiljerram - cs:~containers/etcd-4 exists | 16:48 |
lazyPower | its currently development channel, i want to have an ironclad migration from etcd-2 to etcd-4+ before it goes stable | 16:48 |
neiljerram | lazyPower, Oh, that's easy then! :-) | 16:49 |
lazyPower | so its fine to do new deploymets, but not recommended for upgrades yet | 16:49 |
neiljerram | lazyPower, perfect. Thanks! | 16:49 |
petevg | marcoceppi: or you can do this, which is much simpler :-) http://paste.ubuntu.com/18798975/ | 16:51 |
petevg | (I always forget about the create=True flag) | 16:52 |
lazyPower | #TIL with mock.patch('charms.layer', create=True): | 16:58 |
lazyPower | petevg - i'm going to have to try and osmose some of that testing knowledge you have been dropping the last couple weeks | 16:58 |
petevg | lazyPower: feel free to ping me with questions, or pull me into a hangout. I'm always happy to spread the testing love :-) | 17:00 |
lazyPower | do we have an idea on what the upper boundary limits are for filesizes and resources? | 17:26 |
rick_h_ | lazyPower: I think it's in the couple hunderd of MB atm. I was just talking with the team on upping that while we work on some quota-like safety measures | 17:28 |
rick_h_ | lazyPower: but I think it's a timing things vs a size thing so it's how many bytes you can push in the timeout window | 17:28 |
lazyPower | Thats what i was looking for, ta rick_h_ | 17:29 |
* lazyPower decides its a bad idea ot publish over a mifi with 1 bar of service, and a 2gb payload. | 17:29 | |
jrwren | lazyPower: yup, we can't currently process 2GB :[ sorry. | 17:30 |
jrwren | lazyPower: Incidently, what is the 2GB payload? | 17:30 |
lazyPower | jrwren - i was actually being silly, i believe the payload is quite large though. This was in response to a versioning issue/question from Nexenta. | 17:30 |
lazyPower | jrwren - its packing in chef and some other build time deps like ruby libs | 17:30 |
jrwren | lazyPower: ah. cool. | 17:31 |
lazyPower | what theyd o today is they host a bintray style repo and fetch over the wire. They haven't versioned the bins, just kept a running-tip publication. | 17:31 |
lazyPower | sooo, either they need to version, split up payloads and do multiple payloads, or should be actively participating in planning sessions for the feature as they would be a big consumer of it. | 17:31 |
lazyPower | at least thats my take on it | 17:32 |
jrwren | lazyPower: to expand further, my current working theory is that the timeout happens because of server side processing time. The upload completes. The charmstore processes the charm and this can take some time. Currently we have a 50s timeout(I'm about to up it) so if the server takes longer than 50s to process a large charm it doesn't send a response in that 50s and it times out. | 17:32 |
lazyPower | ah yeah, i can see that being problematic | 17:32 |
jrwren | lazyPower: We've also, AFAIK, not observed the limit on resources. Its likely we don't process resources as heavily and so they would be done more quickly. | 17:33 |
jrwren | lazyPower: As a general rule, I'd say many resources for each item is better than bundling things into a single resource. | 17:33 |
lazyPower | jrwren - i've only used 2 myself, and they were small golang bin attachments. I as well would +1 multiple smaller deliveries rather than one large payload. | 17:35 |
marcoceppi | petevg: nice, thanks! | 17:35 |
lazyPower | it seems like the bigger they get, the more trouble they cause | 17:35 |
jrwren | lazyPower: i wonder if we can document this guidance? | 17:36 |
lazyPower | sure can | 17:38 |
lazyPower | https://jujucharms.com/docs/devel/developer-resources | 17:38 |
jrwren | lazyPower: thanks. | 17:41 |
lazyPower | jrwren - ping me if you submit and i'll be happy to review | 17:41 |
cory_fu | geetha: You were asking about http://pastebin.ubuntu.com/18774917/ and saying that you were not seeing that handler being called even after you changed one of the config values. That snippet looks fine to me. Is there any chance you can provide me with some of the juju logs from that unit? | 17:47 |
cory_fu | Or perhaps someone else here can spot something in that code that I'm missing. | 17:48 |
lazyPower | cory_fu is @when_not_all an alias for when_not? | 17:48 |
lazyPower | or is when_not more like when_not_any | 17:49 |
geetha | Same handler function being called in juju 1.25 when I change config value | 17:49 |
geetha | using 'juju set' command | 17:50 |
cory_fu | lazyPower: It is not the same as when_none (there is no when_not_any). when_not == when_none, when_not_all is its own thing (i.e., trigger if one of the given states is not set, vs when_none only triggers if not a single one state is set) | 17:52 |
cory_fu | geetha: Hrm. So it's specific to Juju 2.0? That's very strange | 17:52 |
rcj | stub, Why do I need to create a new home for ubuntu-repository-cache prior to promulgation? I don't want to create a new top-level project in LP and my understanding would be that once promulgated it will end up in charms/ubuntu-repository-cache, right? If it ends up there I don't want a second place to confuse people. | 17:54 |
rcj | ^ re: https://bugs.launchpad.net/charms/+bug/1600243 | 17:55 |
mup | Bug #1600243: review ubuntu-repository-cache charm now with multiseries support <Juju Charms Collection:New> <https://launchpad.net/bugs/1600243> | 17:55 |
stub | rcj: When it is promulgated it ends up in cs:ubuntu-repository-cache (jujucharms.com/ubuntu-repository-cache). | 17:58 |
=== scuttle|afk is now known as scuttlemonkey | ||
stub | rcj: Where do you want the main branch to live? Currently it is in bzr at lp:~charmers/charms/trusty/ubuntu-repository-cache/trunk, with the alias lp:charms/trusty/ubuntu-repository-cache. | 18:01 |
stub | rcj: I can merge it in there, but it seems silly having a multi-series charm in a trusty specific namespace. And it still needs to be promulgated by the ecosystem team. | 18:02 |
stub | rcj: It also means you still need ~charmers to land stuff in the future, since it is owned by that team. | 18:03 |
geetha | cory_fu: you can see the log when I change the config option http://pastebin.ubuntu.com/18805681/ | 18:12 |
cory_fu | geetha: Is that all of the log? I don't see the bit where it actually calls reactive_main to see how it's evaluating the tests. Also, it might be helpful to add the line `charms.reactive -y get_states` to the top of your handler file to see what the states are when it gets called | 18:18 |
rcj | stub, I would like charmers to assist with landing changes in the future. I would hope that it could end up @ lp:charms/ubuntu-repository-cache | 18:33 |
rcj | And my understanding is that this would replace cs:trusty/ubuntu-repository-cache cleanly. My goal here is a blessed charm with a single entry in the charm store that makes it 100% clear that it is supported with no confusion as to which charm to pick. | 18:35 |
stub | rcj: Ok. I think you need ecosystem for that branch URL or alias - I'm not sure how to do it. And they can help with the 'charm push', 'charm publish' and promulgation to get that branch promulgated into the charm store. | 18:44 |
geetha | cory_fu: I could not able to paste full log, It has more lines. I have added `charms.reactive -y get_states` and again ran the command to change the config option . It's failing with non zero exit code.http://pastebin.ubuntu.com/18808692/ | 18:45 |
rcj | stub, who to ask? | 18:51 |
stub | marcoceppi: Are you or your team available to get rcj promulgated? lp:~rcj/charms/trusty/ubuntu-repository-cache/multiseries / https://bugs.launchpad.net/charms/+bug/1600243 | 18:52 |
mup | Bug #1600243: review ubuntu-repository-cache charm now with multiseries support <Juju Charms Collection:New> <https://launchpad.net/bugs/1600243> | 18:52 |
cory_fu | geetha: From that `eval '{config.changed:'` line, it looks like you might have an errant { in your code. I didn't see it in the pastebin from earlier, so I'd need to see more of the reactive handler file to pinpoint it | 19:01 |
geetha | http://paste.ubuntu.com/18811635/ | 19:13 |
marcoceppi | stub rcj I think we can help | 19:16 |
marcoceppi | rcj: will you be the sole person maintaining this charm? | 19:16 |
cory_fu | geetha: Very strange. That all looks fine to me | 19:19 |
geetha | cory_fu: Even I have tested in juju 1.25 same code and without resources and terms. It worked fine | 19:22 |
cory_fu | geetha: I can't imagine what 2.0 would be doing differently that would cause that. | 19:23 |
cory_fu | geetha: Which beta version of 2.0 are you using? beta11? | 19:27 |
geetha | cory_fu: No, it's beta7 | 19:28 |
lazyPower | magicaltrout - https://kognitif.bandcamp.com/track/walking-on-sunshine may the jazz flute compel you. | 19:29 |
rcj | marcoceppi, it will be the cpc team <cpc@canonical.com> | 19:30 |
rcj | which includes me | 19:31 |
cory_fu | geetha: Unfortunately, my best recommendation at this point is to try upgrading to a newer beta. I can't find anything that points to what's causing it | 19:38 |
cory_fu | geetha: Is this charm available in Launchpad, GitHub, or jujucharms.com? I can try to replicate on my side and do some more digging | 19:39 |
magicaltrout | thanks lazyPower I'll check it out! | 19:40 |
geetha | Thanks cory_fu, I will try to upgrade to newer beta version. This charm is available in jujucharms.com: https://jujucharms.com/u/ibmcharmers/ibm-was-base/trusty/15. But still I'm working on this charm to fix other issues also. | 19:46 |
cory_fu | ok | 19:46 |
=== scuttlemonkey is now known as scuttle|afk | ||
magicaltrout | thats some pretty far out jazz flute lazyPower | 20:31 |
lazyPower | i'm sayin | 20:32 |
magicaltrout | reminds me of woodstock type stuff in some ways | 20:32 |
lazyPower | this entire album was made from samples | 20:32 |
lazyPower | i am impress | 20:32 |
magicaltrout | also very jazz fusion weather report esque https://www.youtube.com/watch?v=pqashW66D7o | 20:33 |
xilet | I just upgraded to 2.0-beta11-xenial-amd64, now when I bootstrap it hangs at Running apt-get update, the instance is up and the apt-get process finishes inside, but nothing returns back | 20:38 |
magicaltrout | told you not to upgrade on a friday ;) its against the rules | 20:39 |
xilet | Hah indeed you did, well the entire system was hosed due to an lxc issue, I couldn't even get lxc to return commands, so I figured I would restart from scratch. | 20:40 |
lazyPower | groovy, dig this too magicaltrout | 20:47 |
magicaltrout | yeah we used to play a bunch of weather report and similar tracks in my old jazz band lazyPower | 20:49 |
magicaltrout | always preferred them over the traditional stuff | 20:49 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!