/srv/irclogs.ubuntu.com/2016/06/07/#juju.txt

lazyPowergugpe - how long has the unit sat in pending?00:09
lazyPowergugpe - what series charm are you deploying?00:09
gugpeinfinite00:10
gugpexenial00:10
gugpeive noticed progress00:12
gugpeI disabled ufw00:12
gugpethings seem to be rolling now00:13
mattraethanks arosales and bdx for the suggestions :) i'll see if that page has what i need or i'll try the juju mailing list00:13
arosalesmattrae: that was all bdx, but if you are still stuck be sure to mail the list cc maas list as well00:13
arosalesgugpe: sorry missed you reply, reading back scroll now00:14
gugpeconfirmed00:14
gugpeufw was blocking juju agent00:14
arosalesgugpe: ok if the machine is pending that the issue is with the provider not your machine00:14
gugpethe provider is localhost lxd00:14
lazyPowergugpe - ah yeah thats in the docs :)00:14
lazyPowertricky one to debug at first too00:15
arosalesgugpe: if this was your first time using local provider the initial deploy can take some time as it needs to download the cloud image00:15
arosaleshmm seems ufw got you resolved00:15
arosaleslazyPower: is that in the docs?00:15
gugpeIt wasn't a bootstrap. I actually ran into this earlier.00:16
arosalesok00:16
gugpeThat's kind of how I came to this conclusion. I didn't see it in the docs though.00:16
lazyPoweri'm full of lies, i swore i saw that in the getting started guide though00:16
arosalesI don't see it here, and that is most likely where it should live00:16
arosalesbut I haven't had to do this on stock Xenial cloud image00:17
arosalesperhaps desktop and cloud are different though . . .00:17
arosaleshmmm, there was an askubuntu question on this sometime ago00:17
arosalesfolks weren't really happy about disabling ufw, which is understandable00:17
gugperight, read that so post. I suspect the better way is to add rules to ufw.00:18
gugpeufw rules to enable juju agent locally operate over lxdbr000:18
arosalesor juju should does this on the user behalf on install, but be very transparent about it00:19
lazyPowerarosales i filed a bug about it https://github.com/juju/docs/issues/114200:19
gugpeI'd be fine either way. Better docs, or do this as default.00:19
arosaleslazyPower: well I am not sure we should just tell folks to disable their firewall00:20
lazyPoweri think the package should be adjusted to apply those ufw rules on install00:20
arosaleslazyPower: I think we can do this a little more tastefully with juju core00:20
arosaleslazyPower: ya seems juju core should be more knowledgable here, and also observable00:20
lazyPowerbut until that happens, a doc callout to investigate UFW rules/disable is better than the nothing we have right now.00:20
arosalessignal to the user that this firewall rule is getting updated00:21
lazyPowermy humble opinion :)00:21
arosaleslazyPower: gugpe: I am activing ufw on my system for a test and see if I can reproduce. If so I'll file a bug00:21
arosaleslazyPower: thats reasonable. I'll comment in the issue with the lp bug00:22
arosaleslazyPower: I thought there was a command to get leader on a service00:22
arosaleslazyPower: did I imagine that command?00:22
lazyPowerarosales is-leader00:22
lazyPowerjuju run --service foobar 'is-leader" --format=yaml00:22
lazyPoweri've been hacking around this with my more recent work00:22
arosalesah00:23
arosalesjuju help commands | grep leader00:23
arosalesdidn't return anything for me00:23
lazyPowerso, what i propose is this00:23
lazyPowerhttps://www.evernote.com/l/AX6rlgwUROtLw7DCTvObHDxZ3s3gRfL4MjwB/image.png00:24
arosalesgugpe: btw have you seen https://jujucharms.com/gitlab/precise/500:24
gugpearosales: thanks. I have seen the existing gitlab charms.00:25
gugpeas with most things my requirements are more specialized.00:25
gugpeI'm actually deploying the gitlab omnibus package with mattermost chat server and what not.00:25
lazyPowergugpe - highly recommended you look into layers then00:26
lazyPowera lot of that work has been done for you, such as deploying mattermost00:26
gugpeI'll publish when I can. I'll look at layers.00:26
lazyPowercmars wrote an excellent mattermost layer00:26
arosalesgugpe: ah good to hear00:26
cmarslazyPower, thanks. gugpe, one word of caution, the charm only works with juju 2.000:26
bdxgugpe: the gitlab solution is legit00:26
arosaleslazyPower:  I like it. The swarm bits currently say something like, "Swarm leader running "00:26
cmarsbecause it uses resources00:26
cmarsmattermost, that is00:26
bdxgugpe: you can mod it post deploy to your specialized config00:27
lazyPowerarosales - yeah thats an older pattern. it was a full takeover of potentially useful health information.00:27
lazyPoweri want leader status regardless of actual message coming along on the pipeline. its a transparent way to know it as an admin this unit is special00:27
cmarsgugpe, it could be adapted to install from mattermost releases on github, just something to watch for if you try installing the latest cs:~cmars/mattermost00:27
arosaleslazyPower: would this only be for leaders or would non-leaders also have this message00:28
arosalesI would prefer to only see this on applications which have leaders00:28
lazyPowerarosales non-leaders get no special messaging additions. they get plain status output of whatever you sent through.00:28
lazyPoweroh sure, if you mean something like say.. wordpress that has no real leader doing coordination00:28
arosalesyup00:29
* lazyPower nods00:29
lazyPoweri intend this to be useful for charms making use of the feature00:29
arosalesyou putting that into core?00:29
lazyPowerI have a little patch method at the bottom of my layer00:30
lazyPowerthis could be adjusted in charm-helpers, or in charms.* namespace. I dont think it needs ot go in core00:30
lazyPowerconsidering its more up to the author to determine if the leader is special00:30
arosaleslazyPower: gotcha00:36
arosaleslazyPower: if your still around I am looking at https://github.com/juju-solutions/bundle-observable-swarm/blob/master/README.md00:47
arosalesthe scp of creds needst to come from the  leader00:48
lazyPowerarosales - there should be swarm credentials on any swarm node00:48
arosalesso we could do something like juju run --service swarm "is-leader" --format=yaml | grep -A 1 True | awk '{ print $2 }'00:48
arosalesbut not sure how elegant that is00:48
arosaleslazyPower: not in my testing00:48
lazyPowerif its not currently it willi be soon00:48
arosalesoh00:48
lazyPoweri have a branch that has that enabled. i'm sorry i'm so far behind00:49
arosalesok than. I'll just file a bug as a reminder then :-)00:49
arosaleslazyPower: thanks00:49
lazyPowerdelivering on beats + etcd has been a very labor intensive spike. I'm about to the point wher ei can switch feet and finish that last little bit, and get my bundles ready for hte store.00:49
arosales*fixing* beats + ects has been labor intensive :-)00:50
arosalesetcd, that is00:50
lazyPowerpacketbeat code is ready (i think) - it needs all the project meta and it'll be ready for the bundle as well00:51
lazyPowerdockerbeat is lagging, i need to ping the maintainer about -stable release and it will need the same as pb, then its g2g00:52
arosalesthanks for working on that00:53
=== menn0 is now known as menn0-afk
=== redir is now known as redir_afk
=== julenlar is now known as julenl
kjackaladmcleod: have you ever used Mahout?10:06
admcleodkjackal: no10:08
admcleodkjackal: why do you ask?10:08
kjackalI am trying to figureout what are valid use-cases so that I make sure the Mahout library is installed in the right places10:09
admcleodkjackal: are you doing it as a subordinate?10:12
kjackaladmcleod: yes10:12
admcleodkjackal: well you can use it with mapreduce, spark, flink.. i think you only need it on the unit you're executing the job from10:16
kjackalI think so too, but then again there is this mahoot shell10:18
admcleodkjackal: i have a cluster running, ill install it on one slave and see what happens10:18
kjackalthanks10:18
admcleodkjackal: for MR it only needs to be on the unit which is submitting the job, as the libs are bundled as part of the MR job and distributed to the slaves. for spark/flink im not sure but would assume the same10:40
kjackalso, yes. Since it is essentially a library you can deliver it in a "fat" jar everywhere10:41
kjackalBut you can always add it to your classpath, right?10:41
admcleodkjackal: yes. i think we only need it on the client10:42
admcleodkjackal: the only difference adding it to any other units will make is that if it is a slave/worker the job may potentially begin to execute slightly (a few seconds) faster, if its a non-slave/worker you will be able to submit jobs from that unit10:46
admcleodkjackal: .. or its own unit, i.e. pig10:49
kjackalI will try to follow https://github.com/hixiaoxi/hixiaoxi.github.io/wiki/Installing-and-Testing-Mahout and see what happens10:49
admcleodkjackal: yeah thats more or less what i just did10:50
kjackalnice thanks!10:50
gnuoytinwood, https://github.com/openstack-charmers/charms.openstack/pull/8 is up for review if you have some time.11:15
tinwoodgnuoy, yep, I'll take a look.11:15
gnuoytinwood, thanks11:15
gnuoytinwood, thanks for the review12:48
gnuoyjamespage, I have a pull request to add ha support to the charms_openstack module. Do you want to give it the once over? Otherwise I'll ask tinwood to hit the button.12:53
gnuoyhttps://github.com/openstack-charmers/charms.openstack/pull/812:53
=== julenlar is now known as julenl
jcastrombruzek: lazyPower: wrt. the view code discussion on the list, I am having a hard time finding the source to the elasticsearch charm13:16
mbruzekjcasto: if it is recommend you can get the source using "charm pull"13:18
mbruzekjcastro:  I am in meeting right now, but I can help later13:18
jcastroack13:19
lazyPowerjcastro - it still lives in onlineservices-charmers namespace14:02
lazyPowerhttps://launchpad.net/~onlineservices-charmers/charms/trusty/elasticsearch/trunk14:03
=== skay_ is now known as skay[cloud]
jcastrohey lazyPower, nice work fixing that one.14:18
lazyPowero/ i do what i can14:19
bryan_attgnuoy: ping14:21
gnuoybryan_att, hi14:25
bryan_attgnuoy: I tried your script, and ran into an error - the error is "ERROR cannot add service "mysql": service already exists" (since I just deployed OPNFV via the JOID installer)14:26
=== redir_afk is now known as redir_voting
gnuoybryan_att, that should be ignorable14:28
bryan_attgnuoy: ok, then the next error is "WARNING failed to load charm at "/home/ubuntu/save/joid/trusty/congress": open /home/ubuntu/save/joid/trusty/congress/metadata.yaml: no such file or directory"14:29
bryan_attgnuoy: maybe related to the earlier error "build: Unable to locate layer:openstack-api. Do you need to set LAYER_PATH?" ?14:31
bryan_attgnuoy: also not sure what the function of the http_proxy setting is (using the script from http://paste.ubuntu.com/16952298/)14:33
gnuoybryan_att, yeah, it'll be the http_proxy causing the problem, that's specififc to my env. Try removing the "export http_proxy=..." line and rerunning14:36
bryan_attgnuoy: I removed the http_proxy setting and it got farther; note also the keystone charm did not work as there is also a keystone service defined. I'm watching now to see how far it gets14:38
gnuoybryan_att, keystone will br a problem because the version already deployed does not have the congress fix.14:38
bryan_attgnuoy: how do I get the JOID installer to include your keystone patch? (ping: narindergupta)14:39
narinderguptabryan_att: you can destroy service and redeploy14:43
gnuoynarindergupta, JOID will redeploy the same version (wrong) version of keystone won't it? (I haven't used joid)14:46
tinwoodgnuoy, is charmhelpers source only on bzr or it it on git now too?14:49
gnuoynarindergupta, where does JOID pick up the keystone from ? the charm store? If so we could run JOID and then do and a juju upgrade-charm --switch to upgrade to an updated local version14:50
gnuoytinwood, just bzr I believe14:50
tinwoodgnuoy, I though so.  Now I just have to find that page I found for you re: bzr specs for pip?14:51
jamespagebeisner, btw I added some newton and 'branch' targets to oct14:51
jamespagefor newton at least14:51
narinderguptagnuoy: i am using git location from openstack14:52
gnuoynarindergupta, is it straight forward for bryan_att to update joid to pick up the charm from an alternative repo?14:53
narinderguptagnuoy: i am git clone first then use charm: local:trusty/keystone14:53
narinderguptahe has to chenge fetch.sh file14:54
gnuoynarindergupta, fantastic, that should be simple14:54
narinderguptahe has to change fetch_charm.sh and give the git clone for bzr command14:54
narinderguptato download then rest will fall through14:54
gnuoynarindergupta, I'd like him to try using 'git@github.com:gnuoy/charm-keystone.git' . Is there more to is than just changing git@github.com:openstack/charm-keystone.git to git@github.com:gnuoy/charm-keystone.git in fetch.sh ?14:57
beisnerjamespage, ack thx14:57
narinderguptagnuoy: this is file for opendaylight https://gerrit.opnfv.org/gerrit/gitweb?p=joid.git;a=blob;f=ci/odl/fetch-charms.sh14:58
narinderguptagnuoy: bryan_att: please change ./joid/ci/odl/fetch-charm.sh14:59
narinderguptaand search for keystone and change the location of keystone as suggested by the gnuoy14:59
gnuoywhich is: git@github.com:gnuoy/charm-keystone.git14:59
narinderguptagnuoy: currently i am usign   19 git clone https://github.com/openstack/charm-keystone.git $distro/keystone15:00
bryan_attgnuoy: the repo reference doesn't work for me. I had to change it to "https://github.com/gnuoy/charm-keystone.git"15:00
narinderguptabryan_att: thats correct bryan_att15:00
gnuoybryan_att, yep, sounds good.15:00
bryan_attnarindergupta: if I'm deploying for "nosdn", do I need to modify the file in the ODL folder or somewhere else?15:04
narinderguptait should be ./nosdn/ folder15:04
bryan_attok, trying now15:05
=== redir_voting is now known as redir
jamespagegnuoy, can I get your opinion on a keystone charm thing15:37
jamespagegnuoy, ?15:37
gnuoyjamespage, sure15:41
jamespagegnuoy, okies15:41
jamespagegnuoy, so the newton keystone package ships a site config called 'keystone'15:41
jamespagegnuoy, and the charm enables one called wsgi-keystone15:41
jamespagegnuoy, should I rework the charm to overwrite the package provided one, or just disable the package provided one and keep with the wsgi-keystone named version?15:41
jamespagemy tendency is to the former and make that the standard going forward15:42
gnuoyjamespage, agreed15:42
jamespagegnuoy, https://review.openstack.org/#/c/326597/15:53
jamespagegnuoy, nope that does not work...15:59
* jamespage tries again16:00
cholcombejamespage, my first stab at that this rgw race: https://gist.github.com/cholcombe973/2a6601456cd0ae1e6612695776b7e5a9  what do you think?16:32
bdxcory_fu: is there any functional difference between https://github.com/jamesbeedy/layer-puppet-agent/blob/7f84fcdcb8c615c5de91f0f94163cde64c4f550d/reactive/puppet_agent.py#L95-L104 and https://github.com/jamesbeedy/layer-puppet-agent/blob/master/reactive/puppet_agent.py#L110-12016:56
bdxcory_fu: I guess I'm unfamiliar with what that is doing .... is PuppetConfigs.puppet_active(p) over p.puppet_active() just a style thing?16:58
bdxI feel like it has deeper implication though17:00
bdxadmcleod, cory_fu: I want to revert to the p.puppet_active() syntax for consistency if it makes no difference to you17:27
rick_h_cargonza: do you have the release schedule for OS handy?17:33
bacjujucharms.com is down and the issue is being investigated.  This will affect new deploys for charms from the charmstore.17:34
=== bac changed the topic of #juju to: jujucharms.com currently is off-line || Welcome to Juju! || Docs: http://jujucharms.com/docs || FAQ: http://goo.gl/MsNu4I || Review Queue: http://review.juju.solutions || Unanswered Questions: http://goo.gl/dNj8CP || Youtube: https://www.youtube.com/c/jujucharms || Juju 2.0 beta8 release notes: https://jujucharms.com/docs/devel/temp-release-notes
=== frankban is now known as frankban|afk
cargonzarick_h_ Ubuntu OS release?17:38
rick_h_cargonza: charm release schedule17:38
rick_h_cargonza: e.g. what's the target for the 16.07 release?17:39
cargonza16.07 charms is end of July - 7/22 from our last discussions17:40
rick_h_k17:40
=== alexisb is now known as alexisb-afk
=== cory_fu_ is now known as cory_fu
petevgI've got a testing question: in juju 2.0 beta8, I'm still getting an error about environments.yaml being missing when I run "juju test". Is there a different method that I can use to run amulet tests right now? (I can unpack everything in the wheelhouse into a virtualenv, and just run the tests manually, or with nose, but that gets annoyingly clunky fairly18:06
petevgquickly ...)18:06
bacjujucharms.com is back18:12
magicaltrout\o/18:12
lazyPowerpetevg - we in ~containers tend to use tip of the testing tooling. We're using python-jujuclient and juju-deployer from tvansteenburgh's ppa, and we're using bundletester to execute the tests18:15
lazyPowerpetevg - fyi, this is also included in charmbox:devel if you're into that sort of thing. You should be able to pick up charmbox, point it at a cloud, cd into the charms dir and then kick off bundletester18:16
petevglazyPower: got it. Thank you.18:18
skaysqueeee I got an easter egg from a typo. :D18:21
skayit's gone in the new version though18:21
skayI'm gonna typo everything now18:21
mrammskay:  :)18:25
=== redir is now known as redir_lunch
ejathi19:20
ejatERROR autorest:WithErrorUnlessStatusCode POST <-- im getting this while trying to connect to azure19:20
stokachucherylj: ^ seen this before?19:20
ejat/oauth2/token?api-version=1.0 failed with 400 Bad Request19:21
ejatERROR autorest:WithErrorUnlessStatusCode POST https://login.microsoftonline.com/fb30bf07-xxxx-xxxx-xxxx-02ef08680fb9/oauth2/token?api-version=1.0 failed with 400 Bad Request19:22
cheryljno, I've never seen that before.  Is that juju 2.0?19:23
stokachuyea beta819:23
ejatPS C:\Users\Lenovo> juju --version19:23
ejat2.0-beta8-win10-i38619:23
cheryljejat: are you getting this during bootstrap?19:26
ejatcherylj: yups19:26
cheryljejat: can you run bootstrap with --debug and pastebin the output?19:27
ejatcherylj: http://paste.ubuntu.com/17098969/19:29
cheryljejat: okay, let me poke around a bit, see what I can figure out19:36
ejatim checking my subscription id .. and authentication with azure cli19:37
* ejat done .. double check my subscription id n tenant id 19:42
=== redir_lunch is now known as redir
ejatits working fine if i tried to bootstrap in aws19:53
ejatcherylj: managed to pokes someone?21:17
cheryljejat: I haven't gotten much time with it yet, but one of the more knowledgeable folks wrt azure is going to be coming online soon21:19
cheryljthat would be axw21:19
ejatokie cherylj thanks so much21:19
=== menn0-afk is now known as menn0
cheryljejat: are you using a user/pass authentication for azure?21:50
ejatauth-type : userpass21:50
cheryljok21:51
cheryljejat: can I ask you to open a bug for your issue?  It'll help me pass it on to someone22:17
ejatunder juju @ juju-core22:17
cheryljyeah, here:  https://bugs.launchpad.net/juju-core22:18
ejathttps://bugs.launchpad.net/juju-core/+bug/159017222:24
mupBug #1590172: ERROR cmd supercommand.go:448 autorest:WithErrorUnlessStatusCode POST https://login.microsoftonline.com/fb30bf07-xxxx-xxxx-xxxx-02ef08680fb9/oauth2/token?api-version=1.0 fa iled with 400 Bad Request <juju-core:New> <https://launchpad.net/bugs/1590172>22:24
bryan_attgnuoy: ping22:52

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