/srv/irclogs.ubuntu.com/2016/04/04/#juju.txt

=== menn0 is now known as menno-afk
=== menno-afk is now known as menn0
bdxlazy|sprint: i hooked it up the rest of the way, check it -> https://github.com/jamesbeedy/layer-kibana02:49
=== thumper is now known as thumper-afk
Prabakaranjuju bootstrap failed stating "Error: Flag provided but not defined --config"in juju 2.0 installation. Could someone help me to resolve this issue?06:00
josePrabakaran: still around?07:14
Prabakaranhi jose07:15
Prabakarancan you help me on this07:15
josePrabakaran: hello! were you able to fix your issue?07:15
joseif not, I'd like to know what command are you executing07:15
joseover here, please07:16
josePrabakaran: ^07:16
Prabakarani was giving this command to bootstrap "juju bootstrap --config default-series=xenial lxd-test lxd"07:17
josePrabakaran: oh! I believe I know what's going on.07:19
josePrabakaran: so, can you try editing your environments.yaml file and add a line to your environment? this should have "default-series" as a key, and "xenial" as a value07:19
Prabakarank let me try07:20
josePrabakaran: sure! once you have changed that, let me know :)07:22
Prabakarani have made the changes07:25
Prabakarancan i bootstrap the env?07:26
josePrabakaran: not actually, I have just two questions07:26
josePrabakaran: is this the only environment? or do you have multiple environments?07:26
Prabakaranthis is the only environment i am using.. not any other07:27
josePrabakaran: ok! then I personally suggest executing "juju switch [environment name goes here]". that way, it will be more simple to execute your commands07:27
joseotherwise, you will have to append the -e flag for every single command you execute in juju07:28
Prabakarank07:28
Prabakarani swiched the local environment07:29
josePrabakaran: and finally, can you provide me with the output of "juju version"?07:29
Prabakaran1.25.3-willy-amd6407:30
josePrabakaran: aha! there we go. you're getting the error because you are still using 1.25 instead of 2.007:30
Prabakaranoh is it?07:30
joseyep!07:30
Prabakarani followed this commands07:31
Prabakaran  sudo add-apt-repository ppa:juju/devel   sudo apt-get update   sudo apt install juju207:31
Prabakaran  sudo mkdir /var/lib/zfs   sudo truncate -s 50G /var/lib/zfs/lxd.img07:31
Prabakaran  sudo zpool create lxd /var/lib/zfs/lxd.img   sudo zpool status07:31
josePrabakaran: ok, one sec07:31
Prabakaran  sudo lxd init --auto --storage-backend zfs --storage-pool lxd   newgrp -  # I think this is needed to get into the LXD group07:31
josePrabakaran: before moving, on, I need you to do me a favor07:31
Prabakaranhmm sure07:32
josePrabakaran: please go to paste.ubuntu.com, and paste in that box the output of "apt-cache policy juju2"07:32
josethen, give me the link over here07:32
Prabakaranhi jose.. http://pastebin.ubuntu.com/15608142/07:39
josePrabakaran: thanks!07:40
josePrabakaran: hmm. weird. what's the output of "juju2 version"?07:40
Prabakaranjuju2 version is 2.0-beta3-wily-amd6407:43
josePrabakaran: try executing your same command, but instead of "juju" at the beginning, use "juju2"07:46
Prabakaranversion command?07:49
Prabakaranoutput of juju2 version is 2.0-beta3-wily-amd6407:50
josePrabakaran: no, no. "juju2 bootstrap --config default-series=xenial lxd-test lxd"07:50
Prabakaranoh k07:50
Prabakaranlet me try07:50
josesure thing! let me know how it goes07:50
Prabakaranya it is downloading lxd xenial image now07:53
Prabakaranis it mandatory to use ubuntu 15 and above version for juju 2.0 installation?07:54
josePrabakaran: woohoo! great news! yes, we need 16.04 or above because LXD is only available on 16.04+08:02
josePrabakaran: from now on, execute "juju2" instead of "juju" in all commands on the guide :)08:02
josethat should make it work!08:03
Prabakaranif i use juju2 instead of juju .. is it possible for me to use juju2.0 and lxd in ubuntu 14.0?08:04
josePrabakaran: no, it is not. LXD and dependencies are not available for 14.04. Only available for 16.04 at the moment, from what I understand.08:04
Prabakarank08:05
Prabakaranhi jose, bootstrap got failled stating "ERROR failed to bootstrap model: waited for 10m0s without being able to connect: /var/lib/juju/nonce.txt does not exist"08:19
josePrabakaran: it looks like but 1314682. I'm about to head out for the night, but someone should be back in a couple hours.08:21
josealso, please do not PM contributors. we may take a while to respond, and it's better to post here in case I don't know the answer but someone else does :)08:22
PrabakaranThanks jose.. i will wait for the reply on this08:22
josenp. if you don't get a response, you can always email juju@lists.ubuntu.com08:23
Prabakaranya sure08:23
A-Kaserhi10:14
=== menn0 is now known as menn0-afk
BlackDexHello there10:31
BlackDexi'm unable to create a backup of juju10:31
BlackDexi get the following response10:32
BlackDex2016-04-04 10:31:24 ERROR juju.cmd supercommand.go:429 while creating backup archive: while bundling state-critical files: write to tar file failed: failed to write "/var/log/juju/all-machines.log": archive/tar: write too long10:32
lazy|sprinto/ greetings from the sprint in DC everyone13:29
magicaltroutwwoooooo13:29
rick_h_lazy|sprint: woot!13:29
aisraelo/ lazy|sprint13:30
lazy|sprintfriendly reminder, that we have an open channel via appear.in, and our planning is happening publically on a taiga board.13:30
lazy|sprintmore info here: https://lists.ubuntu.com/archives/juju/2016-April/006966.html13:30
magicaltroutwho knew mums could be so annoying13:42
magicaltroutI've actually had to enable parental controls on my home router13:42
magicaltroutto stop my mum showing my mrs endless instagram and facebook posts13:43
magicaltrouti guess its called parental control for a reason13:43
lazy|sprinthaha13:45
magicaltroutoh you have no idea what its like lazy|sprint, when my dad died, my mum went out and bought an ipad mini, which was acceptable, but then signed up to every social media network going13:47
magicaltrouton facebook technically we're "friends" but I completely unfollowed her because its so.... so... so... annoying13:47
lazy|sprintmagicaltrout - no i have a similar story. when my mom got divorced i gave her an ipad and its been a never ending repost fest13:47
magicaltroutthen she visits and doesn't ever put down the tabel13:47
magicaltroutaye13:47
magicaltroutmums should live on pintrest13:47
magicaltroutand nowhere else13:47
* lazy|sprint grins13:49
lazy|sprinti cant comment that forcefully about it. Its keeping my mum out of trouble13:49
magicaltroutwell at first i blocked her mac address on the router13:51
=== fginther` is now known as fginther
magicaltroutbut figured that was a bit mean13:51
magicaltroutso I let her back in and just blocked facebook and instagram13:51
magicaltrouthandily you don't get some "parental lock" warning, it just never connects so it doesn't look like I'm being mean13:52
lazy|sprintcory_fu - +10000 to that bug. you'll wind up catching all my schenanigans early if we enable that.14:05
lazy|sprintfor reference: https://github.com/juju/charm-tools/issues/17114:06
cory_fu:)14:16
=== cos1 is now known as c0s
=== jorge is now known as Guest34993
=== Guest34993 is now known as jcastro_
=== ericsnow is now known as ericsnow-afk
marcoceppilazy|sprint: here's the actual jsonschema: http://spacetelescope.github.io/understanding-json-schema/reference/generic.html15:30
lazy|sprintgracias15:33
=== ericsnow-afk is now known as ericsnow
lazy|sprintmarcoceppi https://github.com/juju/charm-tools/issues/17315:47
marcoceppicory_fu: ^^ halp plz15:47
cory_fuHrm.  That's odd.15:49
cory_fuOh, lazy|sprint, you have to nest the options by layer name15:51
marcoceppicory_fu: thanks, we should warn or err if there's a layer key defined that's not found in the layer list15:52
marcoceppicory_fu: that was the real issue, but the validation worked!15:52
cory_fuYeah, +1 on erroring if defining options for a non-existant layer15:52
marcoceppicory_fu: cool, not as critical of a bug15:52
marcoceppicory_fu: thanks for the halp15:53
iceyI have a bundle that I'm updating, I've updated the readme but it hasn't updated on the store? I can see the updated readme if I click on it but the main page shows the old version15:56
beisnerjamespage, can you have a run through ppc64el smt nova-compute mods?  https://review.openstack.org/#/c/301183/16:06
c0scory_fu: kwmonroe the road-bumps I was going trough on Friday got me thinking: does it even make sens to try to mix the installation of Hadoop tarbalss with something more structured as Bigtop packages?16:09
cory_fuc0s: By mix, you're talking about installing Big Top's Ignite package on top of the Hadoop libs currently supplied by the Plugin charm?16:15
c0syeah16:17
cory_fuYou know, we talked at one point of having the Plugin charm support a second interface, hadoop-plugin-rest or such, that would provide the server info but not install the client libs or set up the config env.  Maybe that would be a better fit for this?16:17
c0sor rather let's resort to a clean-cut installation with packages only? If the latter, then I won't even waste anymore time on trying to resolve the configuration conflicts I got last time16:18
c0sI am not sure cory_fu - perhaps need a bit more info than just that ;)16:18
cory_fuThat way, a Big Top component, like Ignite, could just use that connection info and let the Hadoop libs and config be managed by the Big Top package, but smaller third parties that aren't yet part of Big Top can let the Plugin manage the lib and configs so they don't have to16:19
cory_fuAnd they would both work with the Plugin charm, just by using different interfaces on it16:19
c0shmm, that sounds good cory_fu. Details are where all the troubles are hiding usually..16:20
c0sok, let me timebox this conflicts resolution and we'll see how it goes then16:20
jcastro_icey, did you republish after pushing?16:26
cory_fulazy|sprint, marcoceppi: https://github.com/juju/charm-tools/pull/17516:34
lazy|sprintcory_fu man you're on fire16:36
cory_fulazy|sprint: http://cdn.meme.am/instances/57809981.jpg16:38
cory_fuTests failed.  Help me Tom Cruise16:40
=== natefinch is now known as natefinch-lunch
lazy|sprintcory_fu http://i.imgur.com/wIievS7.jpg16:50
cory_fu:D16:50
jcastro_marcoceppi, http://paste.ubuntu.com/15616534/16:52
iceyjcastro_: yes, the new version is the current version, it's updated now so I think it just takes a bit16:56
jcastro_urulama, 3 perm --channel unpublished16:57
jcastro_perm:16:57
jcastro_  Read:16:57
jcastro_  - jorge16:57
jcastro_  Write:16:57
jcastro_  - jorge16:57
jcastro_is the output of the last command16:57
urulamahm, that is weird, so, ACLs are ok, you just can't publish16:57
urulamasorry, push16:58
marcoceppiurulama: yeah17:00
urulamajcastro: ok, so, revision 1 seems to be published and promulgated, but revision 3 is not published and set to jorge only17:01
marcoceppiurulama: why do we get an error?17:01
marcoceppiurulama: so it uploaded but just gave a weird error?17:01
urulamamarcoceppi: it's gated to jorge only17:01
urulamamarcoceppi: but the error is weird, yes17:02
cory_fulazy|sprint, marcoceppi: Tests fixed17:02
marcoceppiurulama: cool, he just pushed to development channel17:02
marcoceppiurulama: that error seem superfluous17:02
urulamaok, will talk to jrwren later on 1-1, he'll look into this17:02
jrwrenoh no!17:03
marcoceppiurulama: thanks, I think this error even happened on the frist upload, not that I think about it17:03
marcoceppiurulama: we will test more with another bundle17:03
urulamamarcoceppi: ok, thanks17:03
LiftedKiltout of curiosity, has anyone ever tried adding 2k machines to a model?17:06
LiftedKiltI imagine it will make the state database cry and qq17:07
cory_fukjackal: Thanks for putting together https://github.com/ktsakalozos/jujubigdata-assemblage  We should create a README for it based on http://bigdata.juju.solutions/getstarted or such and add links to our blog, presentations, etc.17:14
cory_fuBut I think it will definitely lower the barrier to entry for the big data charms17:14
iceythe Juju base layer (https://github.com/juju-solutions/layer-basic/blob/master/tox.ini) sets up tox for python3.4, which Xenial seems to not have, should that version be bumped or should somebody work on adding python3.4 into Xenial?17:36
cory_fuicey: We should probably bump it up, though we should ensure that we can also run tests on trusty17:46
iceyreading the docs, it looks like you can do 3.5 and 3.5, and that tox should skip missing17:47
iceyrather, 3.4 and 3.517:47
iceycory_fu:17:47
=== natefinch-lunch is now known as natefinch
cory_fuicey: https://github.com/juju-solutions/layer-basic/pull/5217:53
iceycory_fu: there's one more issue :) the makefile breaks with 3.5 right now17:54
iceyit expects flake8 in the py34 path17:54
cory_fubah.  And here I though it would be easy17:54
iceyyeah, I'm pokling around right now17:54
iceyI'll make a PR if I can get it figured out :)17:55
cory_fuicey: Can the Makefile do: @.tox/py*/bin/flake8 $(wildcard hooks reactive lib unit_tests tests)17:55
jamespagethedac, apparmor looks good to me but needs a rebase....17:55
thedacjamespage: the charmhelpers mp needs a rebase?17:56
jamespagethedac, yeah - its trivial - happy to +1 landing and let you deal with that...17:56
thedacjamespage: great, will do17:56
iceynope cory_fu17:58
icey/bin/sh: 1: tox/py*/bin/flake8: not found17:58
cory_fuicey: Irksome17:58
iceyyeah cory_fu17:58
cory_fuicey: I'm going to close my PR, then, and await yours17:58
iceyack17:58
lazy|sprintcory_fu intereting, i see the 'trusty/foo' in there, is that how we reference layers now using series/layer?17:59
cory_fulazy|sprint: I think that's just a hacky work-around for the test18:02
cory_fuI think that mysql thing was from another test and co-opted to be used as a "layer"18:03
PrabakaranHello Team, After bootstraping the juju environment in the juju 2.0 installation i was trying to create a test model using the command juju create-model test.  But this command takes so much of time and it doesnt show any progress. Please advise on this.18:05
mbruzekPrabakaran: what kind of controller are you using?18:07
iceyhaha cory_fu .tox/py3*/bin doesn't work, but PATH=$$PATH:`pwd`/.tox/py34/bin:`pwd`/.tox/py35/bin flake8 $(wildcard hooks reactive lib unit_tests tests) does18:07
iceyworking on the PR now18:07
Prabakarani'm using local.lxd-test18:08
mbruzekPrabakaran: I wrestled with lxd today. Can you give me a juju version?18:08
Prabakaranjuju version : 2.0-beta3-wily-amd6418:10
mbruzekOK that is the latest one.18:10
jamespagegnuoy, did you see https://review.openstack.org/#/c/299205/ ?18:11
Prabakarani just observed one thing.. if i run juju list-controllers command it doesnt show any server ip in the table of data..18:12
Prabakaranis this anyway related to juju bootstrap?18:13
mbruzekhrmm yes.18:13
mbruzekPrabakaran: can you run `juju kill-controller lxd-test` ?18:14
mbruzekPrabakaran: lets start over18:14
Prabakarank18:14
mbruzekPrabakaran: I have an ip address in my list-controllers output18:14
Prabakarani just destroyed lxd-test18:15
mbruzekPrabakaran: OK now what is the contents of ~/.local/share/juju/  use pastebin if it is huge18:16
Prabakarank18:16
mbruzekls -al ~/.local/share/juju18:16
iceycory_fu: https://github.com/juju-solutions/layer-basic/pull/5318:17
iceyI'm about to test it on a trusty container18:17
Prabakaranaccounts.yaml, bootstrap-config.yaml, controllers.yaml, current-controller, models.yaml and ssh18:18
mbruzekPrabakaran: ok many of the yaml files should be empty or with controllers: {} please remove the .yaml files in that directory18:18
Prabakaransorry, should i remove all *.yaml file in this dir?18:20
mbruzekPrabakaran: Yes and also current-controller18:20
mbruzekPrabakaran: save them off if they are not empty, just don't have them in this directory, trying to reset18:21
Prabakarank18:21
mbruzekPrabakaran: After that is done run the bootstrap command out of https://jujucharms.com/docs/devel/config-LXD18:22
Prabakaranin this same dir i am able to see ssh dir also. should i remove this also ?18:24
mbruzekno ssh is fine18:24
Prabakarank18:25
jamespagebeisner, some feedback on https://review.openstack.org/#/c/30118318:28
mbruzekPrabakaran: let me know if that bootstrap works OK, then you should be able to create a model18:30
Prabakaranya k .. bootstrap is now attempting to connectiing to some ip18:31
mbruzekOK18:31
Prabakarani will let you know on this chat18:31
iceycory_fu: the version of tox in trusty (python-tox) is too old to recognize py35, we can install from pip and it works though: https://github.com/juju-solutions/layer-basic/pull/5318:39
beisnerjamespage, how would you feel about having no smt knob, and jdtrt when arch matches?18:44
Prabakaranhi mbruzek, bootstrap failed staing below error " ERROR failed to bootstrap model: waited for 10m0s without being able to connect: ssh: connect to host 10.0.4.1 port 22: connection refused" please advise18:44
jamespagebeisner, what does an integer do?18:44
beisnerjamespage, nothing in our use case afaik.18:44
jamespagebeisner, do we always want smt on?18:45
beisnerjamespage, off18:45
jamespagebeisner, if the only real value is on for ppc64el then yes, drop the config option and turn it off automatically...18:45
jamespageon/off in that sentence18:46
beisnerjamespage, so if arch is ppc64el, smt off.  otherwise ignore.18:46
beisnerthat's really all we've done manually18:46
jamespagebeisner, go for it18:47
beisnerjamespage, right on, thx18:48
mbruzekPrabakaran: can you give me the `lxc version`18:49
jamespagecoreycb, oh dear - https://code.launchpad.net/~corey.bryant/charm-helpers/liberty810/+merge/29090818:49
jamespagesorry18:50
jamespagemissed that...18:50
coreycbjamespage, oh np, that's what testing is for18:50
jamespagecoreycb, indeed18:50
Prabakaranlxc version is : 2.0.0.rc818:51
mbruzekPrabakaran: OK lets see if LXD/LXC is working for you18:54
Prabakarank18:54
mbruzekPrabakaran: please run this command `lxc launch ubuntu:16.04`18:54
Prabakarani ran this command - it success18:55
Prabakarangenerated client certificate and started its service18:57
c0scory_fu: I have a working single node Ignite cluster on top of Juju hadoop installation ;)18:58
magicaltrouta cluster of 1! \o/18:59
c0sthere is a couple of silly things to do with one of the scripts in the ignite, but it could be there bug (I am mostly sure). And I have figured out what was wrong with the hadoop client, so cli works fine as well18:59
mbruzekPrabakaran: but yet your bootstrap command fails?18:59
c0syeah magicaltrout - it's called pseudo-distributed ;)18:59
cory_fuc0s: Awesome.  It seems like it was a fair bit of work to get that working, though?19:00
mbruzekPrabakaran: Can you also try 14.04  to see if that works?19:00
PrabakaranK19:01
c0scory_fu: not so much - more like a silly debugging in one place ;(19:01
c0sso at this point, we can make a decision if we want to add a simple charm to install ignite hadoop accelerator from Bigtop packages and do some trivial configuration (so it is available in the current bundles); or to develop a new set of charms for bigtop19:02
c0sup to you guys.19:02
c0sarosales: cory_fu kwmonroe I will go ahead and write some recommendations for your team to decide19:02
c0sbeautiful (running yarn pi 50 50)19:12
c0son ignite                  on yarn19:12
c0sreal    0m10.967s     real    1m6.222s19:12
c0suser    0m4.787s      user    0m6.247s19:12
c0ssys     0m0.229s      sys     0m0.288s19:12
D4RKS1D3Hi Everyone, someone  can help me?, I have some issues when I change my enviorment to openstack19:12
coreycbbeisner, think you could land this massive change? https://code.launchpad.net/~corey.bryant/charm-helpers/liberty810/+merge/29090819:16
Prabakarani tried 14.04 also.. it is working fine19:20
* arosales reads backscroll19:20
beisnercoreycb, i can this eve.  got a kiddo dr appt shortly.19:21
arosalesc0s: first gret to hear :-)19:21
arosalesc0s: looking forward to hearing what your recommendations may be19:21
coreycbbeisner, np, maybe thedac can land it19:22
c0sarosales: sure, working on a doc now19:25
arosalesc0s: thanks19:25
c0sno worries ;)19:26
terjehi, I'm trying to bootstrap juju on my private openstack cloud, and I'm getting the following: http://pastebin.com/vaa5MPU119:51
terjehoping someone can tell me what I'm doing wrong.19:51
jcastro_arosales, https://jujucharms.com/wiki-simple/bundle/019:59
thedaccoreycb: what do you need me to look at?20:02
coreycbthedac, hey, just looking for this to get landed: https://code.launchpad.net/~corey.bryant/charm-helpers/liberty810/+merge/29090820:02
thedaccoreycb: ok, is the 8.1 version live now?20:03
coreycbthedac, yes, it's in trusty-liberty-proposed20:04
coreycbthedac, I have a keystone review on gerritt20:04
thedaccoreycb: ok, I'll land this CH MP20:05
coreycbthedac, thanks20:05
thedaccoreycb: done20:06
jcastro_urulama__, any idea on this one?20:08
jcastro_charm set bundle/wiki-simple bugs-url=https://github.com/juju-solutions/wiki-simple/issues20:08
jcastro_ERROR cannot update the set arguments provided: unauthorized: access denied for user "jorge"20:08
jcastro_that should work right?20:09
marcoceppijcastro_: https://bugs.launchpad.net/juju-core/+bug/156306720:45
mupBug #1563067: deploying from charmstore fails on lxd provider in a restricted network <juju-core:New> <https://launchpad.net/bugs/1563067>20:45
jcastro_heya cherylj20:45
jcastro_can we get this bug on your list? ^^^20:46
cheryljjcastro_: it's already there!20:46
cheryljjcastro_:  did you see the comments from today?20:46
cheryljjcastro_:  the bug that it's dup'ed to (bug 1556207) should also address the issue where updating proxy information isn't picked up by running jujuds20:47
mupBug #1556207: 1.25.4: Units attempt to go through the proxy to download charm from state server <landscape> <juju-core:In Progress by dooferlad> <juju-core 1.25:Fix Committed by dooferlad> <https://launchpad.net/bugs/1556207>20:47
jcastro_ok, so "juju needs to work behind proxy" is basically on the radar already20:47
cheryljyeah20:48
terjein the environments.yaml file, I'd like to specify a different s3 user than what's being used for 'username'21:01
=== cos1 is now known as C0s
=== C0s is now known as c0s
marcoceppiarosales: ^^ fyi21:08
* arosales reads back scroll22:17
=== menn0-afk is now known as menn0
arosalesmarcoceppi: thanks for fyi,22:24
arosalescherylj: thanks for the info on bug 156306722:25
mupBug #1563067: deploying from charmstore fails on lxd provider in a restricted network <juju-core:New> <https://launchpad.net/bugs/1563067>22:25
Saviqhey all, in new juju gui (2.1.1) on firefox all the input fields seem to get input back-to-front... i.e. if I type "foo", I get "oof", is that a known issue?22:35
Saviqthe caret seems to be stuck to the beginning of the field22:36
magicaltroutis it april 1st?22:37
=== redir is now known as redir_afk
LiftedKiltSaviq: haha I've gotten really good at typing in reverse23:03
SaviqLiftedKilt, yeah learning fast here, too ;P23:03
Saviq"P; oot , ereh tsaf gninrael haey ,tliKdetfiL" ,yas I dluohs ro23:04
LiftedKiltSaviq: I'm officially impressed23:05
=== redir_afk is now known as redir

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