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

akshay__Hi, Is there a juju command to get only version of the application installed?09:48
kwmonroeakshay__: assuming the charm author has set an application version, you can use the json status with the jq utility to get at it.  eg, for the ubuntu charm:  juju status ubuntu --format=json | jq '.applications.ubuntu.version'16:47
kwmonroeakshay__: you could also use juju run if you are more interested in the pkg version, for example, with the apache2 charm: juju run --unit apache2/0 'dpkg -l | grep apache2'16:48
kwmonroebdx: with the help of axino, i was able to succesfully revproxy graylog with apache2.  here are the steps that worked for me (proposed for merging into the GL readme):  http://paste.ubuntu.com/25880563/16:51
bdxkwmonroe: great, thanks for sharing that16:52
kwmonroesharing is caring16:52
bdxI couldn't figure it out for the life of me16:52
bdxI totally git it now16:53
bdxlol16:53
kwmonroeme neither -- it was only after axino showed me wtf a revproxy vhost is supposed to look like that it started to fall into place16:53
bdxright16:53
akshay__kwmonroe: thanks a lot17:12
bdxanyone here ever define static network interfaces using cloud-init nocloud datasource?17:18
bdxchatting them up over on #cloud-init, but thought I would ask here too17:19
bdxhttps://bugs.launchpad.net/cloud-init/+bug/1729715 - in case you want to follow along17:20
mupBug #1729715: nocloud datasource network-config not working <cloud-init:Incomplete> <https://launchpad.net/bugs/1729715>17:20
bdxjaas is going crazy21:03
kwmonroebdx: how so?21:05
kwmonroeor do you mean like "crazy awesome!"?21:06
bdxha - I wish21:06
rick_hheh, i suspect he's meaning something different :P21:06
bdxpossibly it wasnt jaas specifically21:06
bdxI just lost model context for a minute21:06
rick_hbdx: yea, checking our dashboards and I was just in my models but testing around21:06
kwmonroeyeah, possibly those pesky letters between your fingers and ground.21:06
rick_hbdx: not seeing any alarms going off in eother atm21:06
bdxyeah, ok21:06
bdxhttp://paste.ubuntu.com/25882081/21:07
bdxI had to switch back to my model21:07
bdxbut even juju models wasn't returning initially21:08
rick_hbdx: what's wsjt?21:08
kwmonroebdx: are you rocking juju from a snap?21:08
rick_herr wjst21:08
kwmonroeperhaps the snap refreshed on you?21:08
bdxI thought there may have been some squirrels in the pipes or something21:08
bdxahh21:08
bdxyes21:08
bdxit did!21:09
bdxlol21:09
bdxkwmonroe: for the win21:09
rick_hoh...huh? what did the snap updating cause you to do?21:09
* rick_h had never noticed that before21:09
bdx^ paste above21:09
bdxrick_h:^21:09
rick_hyea, color me confused on wtf is going on in the paste21:09
bdxright21:09
rick_hI assume wjst is "watch juju status" but nothing happened?21:09
bdxwjst="watch -n 1 -c juju status --color"21:10
bdxyea, it lost model context21:10
bdxno biggie21:10
rick_hoic, so if the snap updates it loses context because of the new directory for temp files in the new snap?21:10
bdxprobably21:10
kwmonroerick_h: i don't know of a known issue, but if you happen to be juju foo'ing something when the snap upgrades, i'm guessing it could insert squirrels into pipes.21:11
bdxright21:11
rick_hkwmonroe: yea, I'm guessing the temp files used to track that state locally is swapped to a new version directory (e.g. /current moves)21:11
rick_hI guess I've not been *using* juju during a snap update21:11
kwmonroelet's go with that, and never speak of this again.21:11
kwmonroe /channel clear21:12
rick_hkwmonroe: lol ok, but I feel better and less confused now so that's good21:12
bdx:) srry21:12
bdxfake friday afternoon alert21:13
rick_hbdx: yea don't do that to me 5pm on a friday and everyone's gone "oh f$@#"21:13
bdx:)21:14

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