/srv/irclogs.ubuntu.com/2017/01/19/#juju.txt

=== bogdanteleaga_ is now known as bogdanteleaga
=== TheRealMue is now known as TheMue
=== StoneTable is now known as aisrael
=== ryotagami_ is now known as ryotagami
=== mup_ is now known as mup
=== Lukewh_ is now known as Lukewh
=== tris- is now known as tris
=== skr is now known as Guest61781
surfHi all, I added my openstack cloud to juju clouds and credentials also. while doing juju bootstrap to that cloud i am getting following error.07:03
surfError log pasted here http://paste.openstack.org/show/595548/07:04
surfplease someone help07:04
axwsurf: what's the version of openstack?07:27
surfaxw: liberty07:27
axwsurf: can you share your clouds.yaml?07:32
surfaxw: yeah 1 sec07:33
surfhere is my clouds.yaml file http://paste.openstack.org/show/595553/07:33
axwthanks07:33
axwsurf: I'm a little suspicious that we're not doing v3 properly. can you try changing the endpoint from v3 to v2, see if that makes a difference?07:34
surfaxw: ok07:35
surfawx: still no difference07:36
axwsurf: did you set anything for "domain-name" in the credentials?07:38
surfyeah it is "default"07:38
axwsurf: I have to admit to being completely ignorant of v3 auth, I've never used it. can you please try commenting that out of your credentials.yaml to force v2 auth?07:39
axwif that doesn't work, might need to wait for someone with better openstack debugging skills07:40
=== frankban|afk is now known as frankban
surfaxw: still i am getting autentication problem08:23
kjackalGood morning Juju world08:31
axwsurf: is the debug output any different at all when using the v2 endpoint?08:33
surfaxw: here is the debug log with v2 http://paste.openstack.org/show/595565/08:41
axwsurf: sorry, I am out of ideas08:47
surfaxw: ok thanks for your i nfo08:48
surfHi all, I am doing bootstrap juju to the openstack cloud09:47
surfis it necessary the both juju and openstack cloud on same node09:48
surfor can i bootstrap juju on to the openstack cloud from different machine, where juju is installed09:49
=== axino` is now known as axino
surfhi all, I followed this doc https://jujucharms.com/docs/devel/howto-privatecloud11:53
surfto bootstrap juju on openstack cloud11:53
surfi am getting the error authentication failed.11:54
surfhere is the debug log http://paste.openstack.org/show/595606/11:54
anrahsurf: are you deploying whole openstack or just creating controller to existing openstack tenant?12:11
kjackalHey cory_fu do you happen to be around?13:00
BlackDexhello there, is it possible to have some charms wait during a bundle deployment for after a specific other charm is finished?13:05
tvansteenburghBlackDex: "waiting" logic like that would need to be in the charm itself13:16
tvansteenburghfor example, you could wait to start the service that the charm provides until after it had successfully joined a relation with another charm13:17
tvansteenburghe.g. a web app charm that's waiting for a database13:18
BlackDexwell for instance if i deploy a system with a lot of LXD containers, or even deploy mysql and wordpress onto a physical system without containers they both will install packages13:27
BlackDexsince just one instance of apt-get can run, one will wait13:27
BlackDexif the juju deploy (using a bundle) is smart enough to wait to add one untill the first is finsihed, that would be better i think13:28
tvansteenburghBlackDex: is this theoretical or are you hitting a problem in a deployment?13:32
BlackDexhitting a problem13:33
BlackDexi just received an lxd container within a 10.x.x.x network, will the network is 192.168.x.x13:33
BlackDexso i needed to re-deploy13:34
BlackDexalso, i'm currently trying to deploy an HA OpenStack13:34
BlackDexit seems like to much is running at the same time13:34
BlackDexsome hooks fail13:34
BlackDexand if i run those hooks via debug-hooks there seems to be nothing wrong, or causeing errors13:35
tvansteenburghBlackDex: anything useful in `juju debug-log` output?13:36
BlackDexi have to check that a bit better13:37
BlackDexbut not really13:37
BlackDexi this case i see that mysql isn't able to connect13:38
BlackDexbut it is strange if i do it manually it works13:38
tvansteenburghBlackDex: which bundle are you deploying?13:39
BlackDexpercona-cluster13:39
tvansteenburghBlackDex: so not a bundle, just the percona-cluster charm?13:45
BlackDexno a whole bundle13:54
BlackDexthe basic openstack-bundle13:54
BlackDexand i changed it to be HA13:55
BlackDexthe base works fine13:55
BlackDexbut after ha it stops deploying even the basic charms them selfs13:55
BlackDexit looks like some limits or something13:55
BlackDexor race-conditions13:55
BlackDexill go and try the default bundle now again13:56
BlackDexand see what that does13:56
jhobbsit looks like juju 1.25 is at least sometimes setting up /etc/apt/apt.conf.d/99no-recommends to set apt to not install recommended packages14:18
jhobbsis there a setting to enable/disable that? why is that happening?14:18
jcastrothat seems like really wrong behavior to me14:31
jhobbsyeah14:31
jhobbsit seems crazy14:31
jhobbswe're seeing breakage because base layer just installs python3-pip, which ends up bringing python3.5-dev in via recommended packages if apt is allowed to14:32
jhobbsbut with no recommends set it doesn't, and then pip install of pyaml fails because it wants to build a cpython module14:32
jcastroI'm not a policy expert but that seems like a bug to me14:32
jrwrenjhobbs: where are you seeing this no-recommends set? could it be a different colocated charm? Is something integrating with a charm before its deployed? I've never seen this, but I always wanted it :)14:35
jhobbsthe file says it was created by juju14:36
jhobbsbut it may be a lie14:36
jhobbsi just checked the juju source and don't see it listed14:36
jrwrenjhobbs: what charm?14:37
jhobbsah ok14:37
jhobbsit's IS's basenode that is doing this14:37
jrwrenjhobbs: is there an exec.d dir in the charm root dir or in the charm hooks dir?14:37
jhobbssorry for the false juju alarm14:37
jhobbsi will take it up with them14:37
jcastrowhew!14:45
bdxquestion concerning juju beta hosted controller14:59
bdxthe "Access  Last connection" doesn't seem to populate corrrectly see -> Access  Last connection15:00
bdxoops15:00
bdxhttp://paste.ubuntu.com/23828205/15:00
bdxjuju-gui shows https://cloud.githubusercontent.com/assets/5590546/22111375/f9e80a5c-de13-11e6-92d3-1672174dd3b4.png15:01
bdxI'm wondering if this has to do with the permission level I have as a user of the controller ...15:02
BlackDextvansteenburgh: With the old juju i used the juju-deployer and that waited with adding units after the first unit whas running, it also waited with adding the relations untill the end.. Since juju 2.0 it deployes better like juju-deployer, but it laks the waiting part. I think that is a plus15:03
BlackDexthe waiting part i mean, that is better, it doesn't hogg the system all at once15:05
tvansteenburghthat may be true for a local lxd deploy, but it's irrelevant for a typical cloud deploy15:06
BlackDexwhy? because all the HA services are within an LXD15:09
BlackDexall services are within an lxd container on several nodes15:09
BlackDexthats the same from my point of view15:10
tvansteenburghlxd containers are totally isolated from each other, so there shouldn't be any conflict (like using apt at the same time on multiple containers). and if the node hosting the lxds can't handle running them all at once (i.e. the system is overloaded), then the node is under-provisioned to begin with15:12
BlackDexwell, there are a lot of tweaks needed by default to run lxd's like open-files, inotify, max-pids etc...15:15
BlackDexthose arn't set by default high enough sometimes15:16
BlackDexit happens most on bare-metal systems15:16
BlackDexso multiple charms bare-metal on the same system.15:16
BlackDexi think i have found a way15:17
BlackDexi deploy it with hacluster charms, but i don't add all units yet. I created a small script to add those afterwards15:17
kjackalkwmonroe: petevg: this is a fix for the path. Please, review, merge re-push to store. Apologies: https://github.com/juju-solutions/layer-cwr/pull/41/files17:05
kwmonroelol..  i love it.  python nested in bash functions that are called by trapping the exit from our bash defined in a jenkins job xml.  more of this please!17:10
kwmonroemerged17:10
kwmonroekjackal: petevg:  cs:~juju-solutions/cwr-30 is released (includes latest matrix, jenkins, and xml branches)17:20
petevgthank you!17:21
=== frankban is now known as frankban|afk
aisraelAnyone have experience with juju failing to remove a unit (log shows "cleanup failed for removed Unit("unitname"): transaction aborted")20:15
kjackalkwmonroe: agreed lets keep the python scripts under scripts. Thank you for releasing cwr20:17
lazyPoweraisrael - i've only seen that deadlock when a remote relation has failed or a sub relation has failed20:18
lazyPowersounds like perhaps the agent cleanup is what failed?20:18
aisraellazyPower: Yeah, it seems like it. status shows the agent is stuck "executing".20:19
lazyPoweraisrael  if you juju ssh into that unit and recycle the jujud process, does it unstick it?20:19
aisraellazyPower: No, but it does show me a few things possibly broken in its networking, so that could be a clue20:23
lazyPowerweird20:23
lazyPoweri'm at a loss for why its doing this :( sorry20:23
aisraelno worries, man.20:25
* aisrael breaks out strace20:26
kwmonroeaisrael: sounds like you need more mongos20:27
aisraelI think I need eleventy of them, right?20:28
admcleod_i read that as mangos. everyone needs more mangos20:30
aisraelhah. I rebooted the unit and it cleared something up because the destroy finally finished20:33
aisraelHuh. Cleanup failed with an unexpected error:  unknown operation kind run-action20:43
lazyPoweraisrael - did it have actions queue?21:08
lazyPowerit might be that we've hit a not as well tested path with teh agents where an action is scheduled, yet cleanup attempt ran before the action was completed, and now its fighting for what should be happening21:09
lazyPoweri'm guessing here, but it sounds reasonable21:09
rmcadamsin the juju bundle yamls, when you build them, can you use 'tags' as constraints for machines?22:09
admcleod_rmcadams: yes22:09
rmcadamshttps://www.irccloud.com/pastebin/uRqlOAh1/22:10
rmcadamsso under constraints, I can put  tag=compute22:11
rmcadamsas an example?22:11
admcleod_rmcadams: yeah, heres an example: https://github.com/ubuntu-openstack/zopenstack/blob/master/bundles/zkvm/xenial-mitaka-2-machine-control-plane-next.yaml#L2522:11
admcleod_tags=22:11
rmcadamsnice22:11
rmcadamsbuilding my own derivative of the openstack bundle to build a big configuration of six compute, six storage and then some infrastructure nodes22:12
admcleod_cool :)22:14
rmcadamsjust trying to learn the bundles, seems important ;)22:15
admcleod_hah yeah, you dont want to be deploying that stuff manually22:15
lazyPowerits like deploying kubernetes charms manually, only with more relations and components22:15
lazyPowerrip22:16
lazyPoweri concede, openstack is the final boss of charming22:16
lazyPowerbeisner - i pay homage to my fore-fathers publically ^22:17
* beisner ^5s that k8s work, good sir22:21
lazyPower<322:22
kwmonroewon't somebody stand up for the elephants in the room?22:37
kwmonroebig data is where it's at.22:38
admcleod_thats more of a balrog22:39
admcleod_soz22:39
lazyPowerkwmonroe you do make a good point22:40
lazyPowerkwmonroe but i would have expected you to be the champion and remind me of my roots :P22:40
lazyPowerjava is *always* the final boss22:40
kwmonroek8s and the 'stack are great, but when you want to actually do real work (like wordcount), hadoop is where it's at.22:40
mbruzekDid someone say Java?22:40
kwmonroelol22:41
lazyPowerkwmonroe https://cdn.meme.am/cache/instances/folder481/53692481.jpg22:41
kwmonroethat's awesome lazyPower22:42
lazyPoweri cant take credit, its from an old monitorama talk https://jamessdixon.files.wordpress.com/2015/06/image.png22:42
admcleod_course, if you wnna do .. something like wordcount which isnt wordcount, but is very similar, then bigdata on openstack with lxd is where its at. right. right?22:45
admcleod_right22:45
beisnerJava Java jav22:45
beisnera22:45
beisneryeah, because:  bopensdata.22:45
mbruzekbeisner: You know that pings me right?22:45
beisnerJava22:45
admcleod_java22:45
lazyPowerRIP bruzer's notifications and productivity22:45
mbruzekyou guys!22:46
kwmonroejava 2 se for workgroups22:46
lazyPowery u guys make fun of yava?22:46
admcleod_java - only slightly more stupid than rocket league22:48
beisnermy 6 yo is addicted to rocket league22:48
* lazyPower smirks22:48
lazyPowerso is admcleod_, dont let him fool ya22:48
beisnerraising a proper geek here22:48
lazyPowerheck yeah beisner22:49
lazyPoweri approve of this message22:49
admcleod_haha good one22:49
admcleod_yeah like ive even played it once, ever22:49
beisnerthis hour, you mean?22:49
lazyPoweradmcleod_ - my new obsession is ARK22:49
lazyPowercross between dayz, turok, and minecraft22:49
admcleod_guys,. plz. RL sux lol22:49
lazyPoweroh no admcleod_ has reverted to internet gibberish22:50
lazyPowerhe must be having a RL withdrawl22:50
justicefriesARK is so fun22:50
lazyPowerjusticefries ^^^^^^ OMG YOU'RE HERE22:50
justicefrieso/22:50
lazyPowerhow goes it?22:50
admcleod_actually i havent played for a week or so22:50
lazyPoweradmcleod_ back in EU so our ping doesn't suck?22:51
justicefriesquite well! taking a slow WFH day22:51
admcleod_lazyPower: back weds22:51
lazyPowerack, we'll have to link up and pwn scrubs on weds22:51
admcleod_lazyPower: then i will backboard second hit airdribble you into oblivion22:52
admcleod_i mean yeah pwn scrubs22:52
kwmonroethese new juju nouns are great.22:52
kwmonroejuju airdribble-controller --oblivion22:52
admcleod_haha22:53
lazyPoweradmcleod_ we call that the mr miyagi22:53
lazyPowerits an advanced move, but totally cool when its pulled off22:53
admcleod_yeah. i mean. obviously i dont play RL, but if i did, i would also have been watching tactics vids.22:54
justicefriesoh lazy question on the CDK, took a cursory glance and couldn't find it - what's the default cert expiry on what easyrsa is issuing?22:54
lazyPower10 years, mbruzek fact check me?22:55
lazyPoweryeah, he confirmed on the hangout22:55
justicefriescool22:55
kwmonroejava_max_int for sure22:55
mbruzekyes 10 years by default and you can make them longer22:55
lazyPower10 yars22:55
lazyPower*years22:55
beisnerhttp://www.2600online.com/assets/cart_yarsrevenge.jpg23:00
lazyPowerclassic23:00
lazyPower@beisner bring back the door games23:00
lazyPowertime for some L.O.R.D.23:01
lazyPoweror TradeWars 200223:01
lazyPoweralso beisner  did you know you can play atari in your browser? http://www.virtualatari.org/soft.php?soft=Yars_Revenge23:05
* beisner can't click that right now, please leave a message23:05
* lazyPower leaves that right here in channel for safe keeping23:05
admcleod_*visions of all CI breaking for weeks*23:06
mbruzekbeer proof keyboards23:25

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