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

arosaleslazyPower: is https://jujucharms.com/observable-kubernetes fixed for the etcd issues00:27
lazyPowernegative00:27
arosalesok00:27
arosalesI won't recommend that as a demo atm, but as soon as it is ready look out :-)00:28
=== menn0 is now known as menno-afk
=== menno-afk is now known as menn0
guluI want to manually expose a port, how do I do that?06:23
guluMy initial guess was to run a `juju run --machine 0 "open-port 3000"`06:24
gulubut that failed "unknown command open-port"06:24
=== sarnold is now known as sarnold_
Andrew_jediGuys, I am deploying rabbitmq-server charm on trusty but instead i am seeing that charm for xenial is getting deployed?07:21
kakakkaHere's a mind bender. Why would the HOME var not be found inside an install hook?07:22
kakakka`expand_path': couldn't find HOME environment07:22
Andrew_jedijamespage: ^^07:22
kakakkaAndrew_jedi: you can check if charm has explicitly set a series in config07:22
Andrew_jedikakakka: Nope, no series07:22
kakakkayou can also manually set when deploying07:23
kakakkayou can also check your model config to see if a 'default' is set07:23
kakakkaare you deploying from xenial?07:23
Andrew_jedikakaka: Nope trusty07:23
Andrew_jedikakakka: Where is the model config?07:23
kakakkawhat juju version are you running?07:24
kakakkajuju get-model-config07:24
kakakkafor 2.0-beta8-xenial-amd6407:24
Andrew_jedikakakka: 1.25.5-trusty-amd6407:26
kakakkasearch docs then, i dunno 1.2507:26
kakakkayou could try juju get-model-config07:26
kakakkathe version jump between 1.x and 2.x is staggering07:27
kakakkalots of rough edges and changes going on here in jujuland07:27
kakakkaTrying to gem install rails in my charm and getting a "couldn't find HOME environment"07:30
=== frankban|afk is now known as frankban
kakakkaThe rails gem seems to want to `File.expand_path('~/.railsrc')` and that's causing problems07:34
jamespageAndrew_jedi, you can force the version by deploying cs:trusty/rabbitmq-server07:40
jamespageAndrew_jedi, when you say 'on trusty' do you mean from a trusty client?07:41
Andrew_jedijamespage: I just did that after reading some docs and it worked.07:41
jamespageAndrew_jedi, the charm store will be making a decision if you just do juju deploy rabbitmq-server as to which series is provided and used - I think that has switched to xenial as default now07:42
Andrew_jedijamespage: ohhh, thanks for this info. Is there a way i can override the default?07:44
jamespageAndrew_jedi, yes you can set the default-series value for the environment07:44
jamespagedefault-series: trusty07:44
jamespagefor example07:44
Andrew_jedijamespage: Perfect, that's what i was looking for07:46
Andrew_jedi:)07:46
jamespageAndrew_jedi, yw07:53
firljamespage: for Bug 1590257, should I have just checked on the mailing list or here before posting it?08:04
mupBug #1590257: ceilometer version has bug, can you increment verison <ceilometer (Juju Charms Collection):Invalid> <https://launchpad.net/bugs/1590257>08:04
jamespagegnuoy, changed my mind on approach for https://review.openstack.org/#/c/326597/09:21
jamespagehaving two files named keystone.conf that the charm manages is not helpful or functional09:22
nagyzhi guys09:35
nagyzaccording to the official documentation, 'juju charm get' should work - however, it tells me 'unrecognized command'. 'charm-get' also doesn't work after installing charm-tools.09:35
nagyzthis is with the latest stable ppa.09:36
nagyzis the documentation wrong or am I doing something wrong? :)09:36
nagyzthere is also a pull-source which is not mentioned in the 'deploying charms offline' document09:36
ejatanyone can help me with bug 159017209:45
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>09:45
gnuoyjamespage, I'm looking into a bug in nova-cc that landscape have found and I seem to be seeing the charm attempt to start a nova service, and it reports a 'start/pre-start' but logs in  /var/log/{upstart,nova/* have earlier timestamp and the service is not running. Have you seen anything like that ? It looks like the upstart pre-start is running but not the main script block. I can't see anything wrong with the pre-start bit fwiw10:14
piaoWhat's the password for the the default 'ubuntu' account, created by Juju10:28
jamespagepiao, it does not have one - the only way to access is via "juju ssh"10:29
jamespageusing the ssh keys generated as part of deployment (or the local ssh keys)10:29
piaoSo I'm using juju ssh to login, but I cant use systemctl to modify systemd?10:29
piaoAh, I get that it's using ssh certs now.10:30
mgzif you can login as ubuntu, it has passwordless sudo10:30
piaook ty10:31
piaoperfect, that worked10:31
yaz1234hi10:42
yaz_10_36_hi im having some issues with trying to run `juju quickstart mediawiki-single`10:46
yaz_10_36_it says The program 'juju' can be found in the following packages:10:47
yaz_10_36_it recommends the juju-2.0 package10:48
gnuoyjamespage, nm, figured it out10:53
mgzyaz_10_36_: quickstart is a 1.X thing only, so you'd want juju-1.25 (or you can just not use quickstart)10:55
yaz_10_36_yeah i was following the guide at https://jujucharms.com/get-started and 1.25 is installed10:59
yaz_10_36_if possible I was hoping to try it out, before having to read a lot of docs11:01
mgzyaz_10_36_: so, you can install juju-1-default which will alias juju-1 back to juju, or you can type juju-1 quickstart ....11:01
yaz_10_36_thanks, ill try that out11:01
yaz_10_36_btw should i use juju-2.0 for production?11:02
mgzyaz_10_36_: not quite yet, in the final betas, but shortly11:02
yaz_10_36_ok I guess i'll keep an eye on it then11:03
upcatchFor my local charm the icon.svg doesn't want to render in the juju gui.11:40
Mmikeubuntu@juju-1-18:~$ juju deploy ubuntu11:47
MmikeERROR cannot download charm "cs:trusty/ubuntu-0": bad SHA256 of "/var/lib/juju/charmcache/cs_3a_trusty_2f_ubuntu-0.charm"11:47
MmikeHi, lads11:47
Mmikedo you know why I'm getting this when trying to deploy ubuntu charm from any juju version less than 1.24?11:47
tasdomascharms.reactive: what could cause a hook handler for a -departed hook in an interface layer to be executed in the context of a -broken hook?12:25
kjackalkwmonroe: got a minute? I need to ask you about bunldes. Is it possible to call an action while after the bundle is setup?13:18
kjackalI am asking this because the apache-spark charm starts in standalone mode and it is not sending jobs to yarn in the spark-zeppelin and spark-notebook bundles we have13:20
kjackalkwmonroe: Also! Good morning :)13:20
jcastrohttp://askubuntu.com/questions/774928/openstack-autopilot-deployed-new-machine-with-juju-not-showing-in-horizon-dashbo13:23
jcastrohttp://askubuntu.com/questions/778234/unable-to-resize-openstack-instance13:24
jcastroany help for these from openstackers?13:24
rick_h_cargonza: ^13:24
jcastrohttp://askubuntu.com/questions/779636/juju-bootstrap-wrong-maas-api13:25
jcastroalso not sure if this one is fixed in beta8?13:25
jcastroI am unsure of maas/juju connectivity lately13:25
kwmonroeyo kjackal - are you asking about calling actions from a bundle test?13:25
kjackalkwmonroe: not from a bundle test but from a bundle.yaml itself13:26
rick_h_jcastro: it's out from the feature flag and tells the API version automatically I thuoght13:26
kwmonroekjackal: for the spark problem, if the charm is in standalone mode, it won't send jobs o yarn.  the yaml needs to deploy spark in yarn mode in those bundles.13:26
jcastrorick_h_: yeah I am unsure enough to not answer, heh13:27
rick_h_jcastro: will prod for more details and we'll look into it13:27
kwmonroeno kjackal, you can't call an action from a bundle yaml.13:27
jcastroactually, cargonza if the fellas have time to go over some of the openstack tagged questions they're starting to pile up13:28
jcastrostokachu: got a few conjure questions in there as well13:28
stokachujcastro: wehre?13:29
jcastrohttp://askubuntu.com/questions/780831/conjure-up-io-openstack-lxd13:29
kjackalkwmonroe: hm.... so we have acouple of options then. a) update the readme to say that spark is in standalone and you need to call an action to go to yarn mode b) fork & fromulgate a spark version that just has the patch to deploy to network restricted environments13:29
stokachujcastro: thanks taking a look13:29
jcastrohttp://askubuntu.com/questions/781009/ubuntu16-04-conjure-up-opentsack-how-long-it-takes-to-conjuring-up-openstack13:30
rick_h_jcastro: please feel free to shoot off emails on things you find to the lead of the team involved. cc me please13:30
kjackalkwmonroe: basicaly b) is not an option, just a mental excersize :)13:30
jcastrostokachu: hover over the juju tag and subscribe, it will send you an occasional summary email13:30
jcastrorick_h_: if we could have people subscribe to the tag that would be lovely13:30
jcastrothough I know lots of core devs do already so it's likely just a time thing13:30
stokachujcastro: thanks Im also subscribed to ones tagged 'conjure-up' as well13:30
jcastroexcellent13:30
rick_h_jcastro: understand, but appreciate you helping to poke people13:31
jcastrostokachu: Lemme fix up the formatting on these13:31
kwmonroekjackal: i don't understand the problem.  spark changes exe mode on config, right?13:31
kjackalkwmonroe: config? I thought it was an action, let me check this (obviously dont remember the code I worte....)13:32
kjackalkwmonroe: you are right! (as always!)13:34
kjackalwe said that yesterday!13:34
kwmonroe:)13:34
jcastrostokachu: the conjure-up tag wasn't existing, it exists now, you might need to resubscribe13:35
kwmonroekjackal: i bet you got it mixed with upgrade.. upgrade is the action, but changing spark config mode is config... so you do have control over spark's execution mode in a bundle.yaml.13:35
stokachujcastro: thanks!13:35
kjackalkwmonroe: now I need to see how we specify config variables in a bandle.yaml13:36
kjackalde we do this anywhere else?13:37
jcastrostokachu: you can fill in stuff here and submit it: http://askubuntu.com/tags/conjure-up/info13:37
jcastrolinks to the site, etc.13:37
stokachujcastro: sweet, ill get this updated13:37
jcastroI just found a truckload more questions for you, I'll start retagging them, prepare thyself13:38
kwmonroesure do kjackal, check mariadb's config in the sql bundle: https://github.com/juju-solutions/bundle-apache-analytics-sql/blob/master/bundle.yaml#L3813:38
kjackalkwmonroe: awesome, thank you13:39
kwmonroenp13:39
jcastrostokachu: http://askubuntu.com/questions/772551/how-do-i-join-a-new-node-to-conjure-open-stack-mitaka13:40
jcastroMark explained the "what you should do" but I think adding an answer with the actual commands, etc would help that out13:40
cargonzajcastro, I'll check it out.13:41
jcastrohttp://askubuntu.com/questions/780072/how-do-i-make-juju-request-machines-and-provision-them-in-parallel13:44
jcastroI could have sworn we did this by default13:44
mgzjcastro: yeah, we make the api calls sequentially, but certainly shouldn't block on commissioning before we make the next call13:47
cargonzajcastro: is it allowed to change some tags that are not openstack related? just a quick glance and there are MAAS items which doesn't relate directly to openstack.13:47
mgzjcastro: I haven't done add-unit -n 36 on maas, but we do lots of bundle deploys where the machines are visibly deployed in parallel13:48
jcastrocargonza: yeah if it's maas you can change the tag from openstack to maas13:49
jcastroor add a maas tag if it applies to both13:49
cargonzaok thx u13:49
jcastrocargonza: for many of them they will have juju, openstack, and maas because usually the asker isn't sure exactly where in the stack their issue is13:52
cargonzayup I saw one that is directly MAAS deployment related. I'll make sure I don't have a fast trigger on the edits.13:53
jcastroall your edits will go into a queue anyway until you have enough reputation to make direct edits13:54
gnuoyjamespage, have got a sec to look over https://github.com/gnuoy/interface-openstack-ha ?14:17
jamespagegnuoy, looks generally OK but I think we've been using the .connected state to signal a joined event, rather than having a .joined state14:19
gnuoyjamespage, ack, will fix14:19
jamespagegnuoy, icey: hey for reference I think we need to start prefixing anything being targetted to openstack namespace with charm14:20
jamespageso charm-interface-xxx14:20
jamespagecharm-layer-xxx14:20
marcoceppistokachu: hey, haproxy is failing on autopilot deploy, is this a known issue?14:21
jamespagehmm we should also think about bug tracking as well...14:21
jamespagegnuoy, beisner, cargonza, coreycb, thedac, tinwood, dosaboy, wolsen: btw its fine for us to start using the openstack-dev ML for charm development discussion now14:22
jamespageI emailed the openstack-charmers ML to that effect14:22
tinwoodjamespage, kk14:22
cargonzaok. cool14:23
beisnerjamespage, i like it.  replied to one earlier.14:23
jamespagebeisner, i saw14:23
jamespagebeisner, any idea how we go about getting an #openstack-charms irc channel?14:23
beisnerjamespage, ha i was just typing a suggestion here to that effect ...14:23
beisneri'd like to have that channel, and can look into what it'd take to add it.  we added one for the now defunct tailgate group last yr.  just some infra coord iirc.14:24
beisneraha, https://git.openstack.org/cgit/openstack-infra/project-config/tree/gerritbot/channels.yaml14:25
stokachumarcoceppi: running openstack-install or conjure-up?14:27
marcoceppistokachu: openstack-install14:31
gnuoyjamespage, I've made the change you suggested. Am I right in thinking: "looks generally OK" <=> "I LOVE it! Get it forked into github.com/openstack-charmers right now!"14:31
jamespage+114:31
gnuoyta14:32
=== scuttle is now known as scuttlemonkey
mgzgnuoy: forked into?14:32
stokachumarcoceppi: this isn't a known issue to me, maybe dpb1_  knows more?14:32
gnuoymgz, Create a for of the repo in the openstack-charmers namespace14:33
gnuoys/for/fork/14:33
gnuoyAnyone mind if I update topic, I think jujucharms.c is fine now14:34
mgzI guess that makes sense, strange turn of phrase as it's generally forked-from14:34
gnuoyforgiveness rather permission blah14:34
=== gnuoy changed the topic of #juju to: 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
gnuoymgz, not in my head14:34
dpb1_marcoceppi: will need more details. :)14:42
dpb1_got a pastebin or something?14:42
beisnerzul, o-c-t change merged.  thx!15:04
marcoceppidpb1_: http://paste.ubuntu.com/1711967215:10
dpb1_marcoceppi: a bit more please?  unit: haproxy/0: machine: 0/lxc/0 agent-state: error details: hook failed: "install"  also, a paste of juju status would be good.15:12
marcoceppidpb1_: this is using openstack-install, I don't know how to even get that15:12
dpb1_export JUJU_HOME=~/.cloud-install/juju15:14
dpb1_juju status15:14
dpb1_my go-to answer: http://askubuntu.com/questions/60642215:14
marcoceppidpb1_: it's an error with dns/apt resolutions15:17
marcoceppistokachu: this is a problem with openstack-install, it's setting apt-http-proxy to http://<MAAS-IP>:5240:800015:23
stokachumarcoceppi: thanks we'll take a look and get it fixed15:24
stokachumarcoceppi: yea we fixed that lemme push a new build out to the stable ppa15:25
marcoceppistokachu: cool, ppa so I can install it onthe orangebox?15:25
stokachumarcoceppi: yea ill kick off a build in just a sec15:25
marcoceppistokachu: link to ppa?15:26
stokachumarcoceppi: ill push it here: ppa:cloud-installer/stable15:26
marcoceppistokachu: thanks15:28
stokachumarcoceppi: waiting for the buidl to complete now, https://code.launchpad.net/~cloud-installer/+archive/ubuntu/stable/+recipebuild/115575315:29
marcoceppistokachu: ack, ta15:34
PrabakaranHello Team,  I have a small doubt in the layered relation part. Usually we will be using interface for holding the exposed value from one charm to other charm with respect to layered charm development (Here both the charms are layered charms).15:58
PrabakaranFor example i have a non-layered charm which is actually exposing some port number.   And in this scenario i have a layered consuming charm which is actually making use of the port number of the non-layer charm. Could you please advise how to use port number of the non-layered charm in layered consuming charm.15:58
beisneros-charmers:  new charm pushes will now result in a repo-info file in the published charm artifact.   https://jujucharms.com/tempest/  --> https://api.jujucharms.com/charmstore/v5/tempest/archive/repo-info16:10
beisnerdpb1_, fyi^ will be helpful in tying cs revno to the repo and commit level of that published charm.16:11
beisneralso, fyi, that applies only to os-charms in the git/gerrit flow.16:12
kwmonroecory_fu: bcsaller:  will you scan this and tell me if my expectations are wrong or if this is a bug in charm build?  tl;dr, i expect "middle" layers to override config values from "bottom" layers: http://paste.ubuntu.com/17121725/16:17
cory_fukwmonroe: You shouldn't repeat layer:basic in every layer16:20
cory_fukwmonroe: Your includes should be more like this: http://pastebin.ubuntu.com/17121896/16:21
cory_fuOtherwise, layer:basic will get re-applied on top of layer:bottom and layer:middle16:21
cory_fuer, on top of layer:bottom, but not layer:middle16:21
kwmonroeok, duly noted.  that doesn't seem to change the fact that the bottom config value is stuck in my top layer.16:22
cory_fuStill looking.  That just jumped out at me16:22
bcsallerthere might be a legit bug in there :)16:22
dpb1_beisner++16:22
kwmonroegood lookin out cory_fu.  i was just saying that didn't affect this particular outcome.16:23
cory_fuHrm.  Actually, it looks like it already de-dupes the basic layer, so my comment is moot16:23
cory_fukwmonroe: Can you run it again with -lDEBUG?16:23
kwmonroecory_fu: http://paste.ubuntu.com/17122059/16:26
cory_fuHrm.  I don't know why I thought that would be helpful.16:26
kwmonroe:)16:27
beisnerdoes anyone know what determines the "trusty" part when charm building?  ie.  i get  ./build/trusty/my-built-charm but there is nothing declared as trusty in the charm that i see.16:31
bcsallerbeisner: bitrot :)16:32
bcsallerdefaults that are no longer needed or apply16:33
beisnerbcsaller, aha.  would ./build/my-built-thing be safe in some future release?16:33
bcsallerwith multi series charms and no JUJU_REPOSITORY needed, yeah, we can change how that works16:34
beisnerbcsaller, i mean i'm fine with just always hitting that trusty dir for now.  i'm about to inject a build step in our commit -> push -> publish flow and didn't want to unexpectedly hit a variable in that dirname.16:35
beisneroh!   -o   i can be explicit, yah?16:36
bcsallerI think that currently would still create a series dir under it16:36
beisnerbcsaller, ack it does16:37
cory_fukwmonroe, bcsaller: I have a fix, but I don't understand how this didn't break long before now16:39
cory_fuOh, I think this was a regression from 87c26dc416:40
=== Guest47242 is now known as med_
marcoceppistokachu: http://paste.ubuntu.com/1712263516:45
marcoceppigetting closer16:45
cory_fukwmonroe: https://github.com/juju/charm-tools/issues/218  I'm creating a patch now16:50
stokachumarcoceppi: yea we broke it trying to fix another exception bubbling up, https://github.com/Ubuntu-Solutions-Engineering/openstack-installer/commit/1419917de3801340712fe52ca817c24c38685e6316:50
stokachumarcoceppi: will get it fixed16:50
kwmonroeaww - thanks cory_fu!16:54
=== frankban is now known as frankban|afk
cory_fukwmonroe, bcsaller (and marcoceppi): https://github.com/juju/charm-tools/pull/21917:04
marcoceppistokachu: any eta on that fix?17:11
marcoceppistokachu: or another way to get autopilot running?17:11
marcoceppilike, if I just deploy the bundle directly?17:11
bcsallercory_fu: thanks17:12
stokachumarcoceppi: you can deploy the bundle directly if you want18:25
stokachumarcoceppi: i was going to take a look at the issue in the next hour18:25
=== alexisb is now known as alexisb-afk
=== redir is now known as redir_lunch
lazyPowercory_fu - is it possible to list and iterate over converations for another relation than the one thats in context of the interface module?19:26
lazyPowereg: in provides.py - iterate over the list of peers19:26
lazyPoweror do i want to pre-fetch this and pass it into the method?19:26
cory_fuYou definitely don't want to be interacting with a different relation than the one for your interface class, because it breaks the encapsulation of the interface protocol19:30
cory_fuThe peer interface layer should provide a method to get the data that you're interested in, and you should then pass that in to the other interface class19:30
lazyPowercory_fu - or i can iterate each member of the provides, and build the connection string on the client. I think was looking at the problem from the inside out.19:39
lazyPoweror do it the way you recommended because i cant break my interface data model19:42
lazyPowerok i think that sorts it then19:42
=== redir_lunch is now known as redir
beisnerwhen building from a top layer, do we expect its README.md to survive the build process and exist in the resultant built artifact?20:40
=== natefinch is now known as natefinch-afk
=== alexisb-afk is now known as alexisb
cholcombebeisner, yes i believe so21:27
cholcombebeisner, i've forgotten to add a README.md before and i get something from the lower layers21:27
=== Spads_ is now known as Spads
=== lifeless_ is now known as lifeless
beisnermarcoceppi, https://github.com/juju/charm-tools/issues/22021:31
marcoceppibeisner: oh wow, it's just straight up getting deleted21:33
marcoceppithat's really freaking odd21:33
beisneryah no can proof ;-)21:33
=== zz_CyberJacob is now known as CyberJacob
beisnermarcoceppi, it's my day :-)   also losing dotfiles in charm push.  that's less critical for us.  but here's that:  https://github.com/juju/charmstore-client/issues/7221:54
beisnermarcoceppi, the build issue is pretty hi prio for us.  lmk if there are any suggestions or questions.  thx!21:55
=== Spads_ is now known as Spads
=== Spads_ is now known as Spads
=== Spads_ is now known as Spads
=== CyberJacob is now known as zz_CyberJacob
=== skay[cloud] is now known as skay_

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