/srv/irclogs.ubuntu.com/2017/03/10/#juju.txt

marcoceppistub: you about?01:01
blahdeblahmarcoceppi: Bit early in the day for him01:01
marcoceppiblahdeblah: he seems to always be around when I need him :)01:01
blahdeblahWell, don't let me stand in the way, then. :-)01:01
marcoceppiblahdeblah: haha, I'll just leave a question for him ;)01:02
marcoceppistub: I want to store about 8,000 lines of text in a single column in psql. What's the best data type for that?01:03
cholcombeis juju going to support instance-type i3.large?  it says it's not valid as of juju: 2.1.003:09
stubmarcoceppi: 'text'04:05
stubmarcoceppi: That will keep you happy until you approach 1GB. The json type may also be interesting if you have json or something that serializes well to json.04:08
kjackalGood morning Juju world!07:53
anrah_Newbie question about actions.. I have difficulties implementing action in a way that I have one actions.py and then just "dummy" action executables under actions-folder08:35
anrah_which just say "actions.py"08:35
anrah_output of the action says: message: 'fork/exec /var/lib/juju/agents/unit-my-charm-0/charm/actions/do-stuff: exec format error'08:36
kjackalanrah_: I am going to need moreinfo on this. Do you have your code somewhere public so I can take a look?08:45
anrah_Just a sec08:47
kklimondashould juju create bridge interfaces for all physical ones on the host?09:15
kklimondaor is there some logic behind it?09:16
kklimondamy controller is 2.0.209:17
=== tinwood is now known as tinwood_swap
kklimonda(I'll try with 2.1.1 in the meantime)09:19
anrah_kjackal: got it solved, thanks anyway :) I was missing the obvious symlinks between <action> and actions.py :/09:23
kjackalcool anrah_09:24
cnfmorning09:29
* cnf sighs09:33
cnferror: failed install09:33
cnfany more info, juju?09:33
kjackalcnf: have you tried asking in the juju list?09:35
cnfjuju list?09:36
kjackalthere might have been some one with similar setup as yours09:36
cnfoh, mailing list?09:36
kjackalyes, wait09:36
cnfthose tend to be my very last resort09:36
kjackalcnf: juju@lists.ubuntu.com09:36
cnfhmm...09:37
kjackalcnf: agreed but i see you stuck for too long, and i cannot help09:37
cnfwell, i appreciate that you care :P09:37
cnfkjackal: problem with mailing lists is that the feedback is so slow09:40
cnfand i am going forward, just step by step09:41
cnfby the time someone responds on a list, i'm generally on the next problem09:41
kjackalcnf: I see. In any case if you you find yourself stuck for too long, remember there is always the list09:42
cnfyeah, thanks09:42
cnfmaybe i am trying to use broken bundles...09:43
cnfkjackal: one of my big problems is that the debug info isn't very informative, and the documentation is hard to use09:45
cnfdoesn't make things easier :P09:45
cnfso i got that little part solved, i think09:46
cnfi'm watching juju debug-log09:47
cnfany way to kick a node to retry installing stuff?09:47
cnfdo juju charms often use ansible? or is that just randomly this one?09:51
kklimonda2.1 created two bridges for defined networks, but not bridge for the "management" network, and container can't reach controller09:52
kklimondaI wonder if that's what "empty" binding is for09:58
kjackalcnf: juju charms can be written in whatever language you want. You can use ansible, puppet, whatever you know best10:05
kjackalcnf: I usually login to the unit I want to check and look at the logs under /var/logs/juju/10:06
cnfkjackal: uhu, that looks to be about the same as juju debug-log10:10
cnfatm it's the only thing on my juju, so that makes it easy :P10:10
cnfI _think_ it's the ansible playbook not having the proxy set10:11
cnfi think...10:11
cnfkjackal: yep, https://bugs.launchpad.net/charms/+source/elasticsearch/+bug/1665623 already has a bug for it10:13
mupBug #1665623: Does not install behind a proxy <landscape> <elasticsearch (Juju Charms Collection):New> <https://launchpad.net/bugs/1665623>10:13
cnfballs, ok i'll try a different bundle10:14
kjackalcnf: if I may ask, what are you interested in?10:15
cnfi am evaluating juju/maas as a means to install / manage openstack10:16
cnfbut the openstack bundle is a bit complex to learn how juju works, so i picked something simple with 2 nodes10:16
cnfthe openstack bundle needs 4 machines, i only have 3 for my test10:17
kjackalah openstack is in a pretty good shape, we have a number of customers using them those bundles. You are aware of the #openstack-charms channel, right?10:18
cnfi am now :P10:18
cnf(openstack has too many channels :P )10:19
cnfjoined10:19
cnfi do want to get a hang of juju a bit more, though10:19
cnfdo you know of a bundle that runs on 2 or 3 machines that i can poke around in?10:19
cnfi just want to get something that i know works, and then poke around in it10:20
kjackalkubernetes-core should be small enough10:22
kjackalor spark processing10:22
cnfhmm, can't remove units / applications in error?10:25
kjackaljuju remove-machne --force and then remove-appliaction10:27
kjackalcnf: or remove the model and add a new one?10:27
cnfyeah, i was considering removing the model10:27
cnfremove machine --force also worked, it seems10:28
cnfcool10:28
cnfk, lets try kubernetes core10:29
cnfand i should go for drinks10:29
cnfthose HP machines take a while to boot :P10:29
cnfkjackal: great, that charm seems to have the exact same problem10:31
cnf>,<10:31
kjackalcan you please file a bug?10:32
cnf https://bugs.launchpad.net/charms/+source/elasticsearch/+bug/1665623 already exists10:32
mupBug #1665623: Does not install behind a proxy <landscape> <elasticsearch (Juju Charms Collection):New> <https://launchpad.net/bugs/1665623>10:32
cnfi'll see what it is for this one10:32
cnfah, nm10:32
cnfi was too quick10:32
cnfkjackal: i was looking at the old logs, the HP machines really ARE slow10:33
cnfkjackal: ok, looking good so far10:49
cnfok, all green \o/10:51
kjackal:)10:53
cnfnow lets see how to use that10:54
psarwaHi folks. Have a question regarding relation hooks.11:43
psarwaI have two db relations with mysql and I need db-admin to execute only after shared-db has executed. Any way to do this?11:43
cnfhmm11:58
cnfthe k8s core is up11:58
cnfthe dashboards are not working,  it seems11:58
cnfkjackal: everything seems to work, except the dashboards :P12:03
kjackalcnf: is it because of proxy issues or because something is wrong in the bundle?12:04
cnfkjackal: the API responds, but /ui/ gives me an error12:04
kjackalwhich bundle did you endup deplying?12:04
cnfhttps://jujucharms.com/kubernetes-core/12:05
cnfso i can connect to https://ip:6443/ui/ which forwards me to /api/v1/proxy/namespaces/kube-system/services/kubernetes-dashboard12:06
cnfwhich tells me service unavailable12:06
cnfand i did do `juju config kubernetes-master enable-dashboard-addons=true`12:06
cnfand my kubectl command works, as well12:07
cnfhmm, and a  juju add-unit kubernetes-worker isn't working...12:14
cnfbut maybe that's a maas issue >,<12:14
cnfhmm12:21
cnfno error, just not not making the maas node12:21
cnfo,O12:21
cnfhmz12:28
cnftireing :P12:28
cnfcan juju configure network settings on different interfaces separate from maas? or does maas need to be aware of it?13:57
cnfso all my machines have a 2 x 10G LAG14:00
ahasenacklazyPower: do you have something new in the elasticsearch/kibana front?14:27
cnfahasenack: did that break for you as well? :P14:28
cnf(it doesn't respect http_proxy settings)14:28
ahasenackcnf: I filed a bug about e/s not respecting http_proxy iirc14:29
cnfah, was that your bug14:29
cnfi clicked the "affects me too" button14:29
ahasenackwhat broke for me here is kibana actually, both firefox and chrome/chromium can't type in search queries anymore14:29
ahasenackbackspace doesn't work, delete doesn't work, it keeps trying to find a previous search in the history14:29
cnfweird14:29
ahasenackI think it was a browser upgrade, because it started happening with a long-lived elk deployment I have which was not updated14:29
jamespagecory_fu, tinwood_swap: what did we decide the best way todo a 'run-at-end-of-execution' type thing was in reactive?14:46
jamespageI'm experimenting with a partial step towards reactive for our legacy charm codebase and need to ensure that 'assess_status' is executed at the end of each hook exec14:47
tinwood_swapjamespage, I wrote an at_exit type thing during my testing of reactive for a blog post: http://blog.ajkavanagh.me/2016/12/30/better-charm-interfaces/14:48
tinwood_swapBasically, I used hookenv.atexit(function) to run at the end after reactive had finished calling handlers.14:49
tinwood_swapBut the set_state, etc. still works without invoking new handler runs.14:49
jamespagetinwood_swap: right14:50
jamespagetinwood_swap: if you're interested - https://review.openstack.org/#/c/44431814:50
jamespageit's not passing unit or lint atm - but the charm is functional14:50
jamespagetinwood_swap: one of the challenges i had was that reactive always tries to load the interface provides.py - I mocked those out for now14:51
jamespagebut I feel a base-reactive-stepping-stone layer coming on14:51
jamespagethat does that as part of a tactic14:51
jamespagetinwood_swap: I quite like the idea of taking 29k lines of code out of ceph-mon :-)14:51
jamespagecory_fu - or maybe that might be better in the base layer as a layer option14:53
tinwood_swapjamespage, interesting :)  I'll take a quick look as all I'm doing is scanning old invoices so I can shred them (going back 10 years)14:54
tinwood_swapjamespage, so many files deleted! :)14:55
jamespagetinwood_swap: charmhelpers gets consumed via wheelhouse.txt so no need to hold the synced copy...14:55
tinwood_swapyeah, and the review looks *huge* :)14:56
magicaltroutyour life is so rock and roll tinwood_swap14:59
magicaltrout\o/14:59
skayskaystub: hi, I notice the snap-layer checks the version during install14:59
* tinwood_swap smiles14:59
skayskaystub: I think juju 2.1 should also be okay with resources, but it's checking for 2.015:00
cnfwhat does a blue ball mean next to an application in the GUI ?15:07
magicaltroutit means your $hit is building okay15:08
magicaltrouthttps://jenkins.io/blog/2012/03/13/why-does-jenkins-have-blue-balls/15:08
magicaltroutjapanese traffic lights! :)15:08
skayskaystub: oh! I just checked the hookenv call. it's checking >= and I didn't realize that at first. all good15:09
cnfhmm15:09
cnf either the GUI broke again15:09
cnfor my deploy is completely broken15:09
cnfi have no idea which one it is15:09
cnfno, it's not the gui15:11
cnfthe openstack deploy is completely fucked15:12
magicaltroutthey're the best types of deployment15:12
cnfno machines come up etc15:13
cnfbut no units15:13
cnfnone15:13
cory_fujamespage: Instead of saying that you need assess_status to run "at the end of each hook context" it would be better to think of it as needing to run after any handler that might mutate the state. In that case, it would be better to be explicit and have those handlers end with a set_state('assess_status') and the assess_status handler remove that state when it has run.15:13
=== hml_ is now known as hml
cnfhmm, what would cause me to end up with http://termbin.com/fyzz ?15:29
magicaltroutmarcoceppi: i'm in DC the last week in March if you're around15:33
=== hml_ is now known as hml
marcoceppimagicaltrout: isn't that the week of kubecon berlin?15:55
magicaltroutduno i'm not hip enough for such events15:55
magicaltroutyeah seems so15:55
magicaltroutoh well15:55
magicaltroutI'll just swing by The Donald instead then15:56
magicaltroutsee if he wants a round of golf15:56
jamespagecory_fu: yeah thats an approach15:57
cmaginahuh, so with juju 2.1.0 for xenial on arm64, action-get of an integer of size 1000000, results in a scientific notation return: 1e+06 while 1000 returns 1000. is that expected behavior?16:12
marcoceppicmagina: this has been a problem for quite a while16:12
marcoceppicmagina: use --string-args when running an action to make sure it doesn't reduce down16:13
cmaginamarcoceppi: ok, thanks. not sure why i hadn't seen it before16:13
marcoceppicmagina: let me see if I can find you the bug16:14
marcoceppistub: thanks16:48
stormmoreo/ Juju world18:29
=== scuttlemonkey is now known as scuttle|afk
=== scuttle|afk is now known as scuttlemonkey
=== hml_ is now known as hml
=== zul is now known as zulVacation
=== cnewcomer_ is now known as cnewcomer

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