/srv/irclogs.ubuntu.com/2015/05/20/#juju.txt

=== natefinch-afk is now known as natefinch
natefinchrick_h_: I don't suppose you're actually online?01:57
=== kadams54 is now known as kadams54-away
=== axw_ is now known as axw
=== urulama__ is now known as urulama
=== l6unchpad is now known as sky-shiny
schkovichhi guys! where could i find more information on state-port and syslog-port? im setting firewall on juju state-server. a bit more understanding on services exposed on those two ports would be helpful.10:41
schkovichx248aGentĀ£11:04
stubDesign question. A client charm is related to the PostgreSQL charm, and needs to use a PostgreSQL extension. eg. it needs to tell the unit to install a package from a PPA.12:51
stubShould the client charm be allowed to instruct the PostgreSQL charm to add the PPA and install the package? Or do I need to also have a subordinate charm that does the package installation?12:52
stubsubordinate seems messy (although trivial, as it would be a 3 line install hook and a pile of boilerplate to keep charm-proof happy)12:53
stubBut allowing a client service to instruct the db to install arbitrary packages from arbitrary locations? That seems a security problem.12:54
stubWell, the third option is to have the operator specify the ppa and package to install in the PostgreSQL service's config. I'm guessing that is the best option.12:55
stub(and I can now block the client until the operator has actually done it)12:56
lazyPowercory_fu: ping13:33
cory_fuHey13:33
lazyPowergreetings, can you join me in#juju-gui for a minute? Frankban is asking about some specifics w/ SF that i'm not familiar with13:33
marcoceppilazyPower: tell him to join us over here ;)13:40
=== redelmann is now known as rudi|ding|dnd
=== rudi|ding|dnd is now known as rudi|deploying|d
=== rudi|deploying|d is now known as rudi|deploying
schkovichis there a way to setup to which interface on machine n juju ssh n will be connect eg configure ssh proxy on the state server?15:57
lamontI have a subordinate-charm question, which I suppose I could just code up and see, but it's not clear from the docs..16:12
lamontif I have subordinate charms A and B, and A needs some info from B, is there a relation there?16:13
marcoceppilamont: both are subordinates?16:17
marcoceppipresumably attached to the same primary?16:18
lazyPowerlamont: you can write a relationship that will allow them to exchange data, but you cannot deploy a subordinate to a subordinate.16:18
lamontyes, same primary, both subord16:18
lamontlazyPower: so I need to create a relationship for them to share info, just like they're real charms and everything. (DOH)16:19
lamontthat would go a long way to explaining WHY THE CHARM ISN'T DOING WHAT THE AUTHOR THOUGHT16:19
lazyPowerlamont: correct - adding a relationship/interface to do that data-exchange should be teh asme process as any other charm :)16:19
lazyPowerlamont: can i ask what you're trying to do so i have more context?16:20
lamonthp-health thinks it's getting data from nrpe-external-master16:20
lamontand it's all lies16:20
lamont(it shows up as blank hostnames in the nagios files that are exported)16:20
lazyPowerthats fun16:21
lamontI can see we're going to need to work on your understanding of the definition of "fun" :p16:21
lazyPoweryeah if you need to proxy information through - i ran into this w/ the docker/flannel-docker stuff16:21
lazyPoweri'm using flannel-docker to proxy info directly to docker (docker manages the docker config - no exceptions) - so teh subordinate is acting as an informatoin proxy and a payload delivery mechanism16:21
lazyPowerthe mechanics are a bit alien at first glance16:22
lazyPowerit sounds like you have some of the same requirements for behavior in this particular setup16:23
lamonthrm... and which is the primary charm there?16:28
lamontproperly, the main charm could proxy the nagios hostname from n-e-m and just populate it into all the other subordinate relations16:29
lamontor n-e-m could write it to a file :D16:29
lamonteven though that feels wrong16:29
lamontn-e-m needs a good rewrite from scratch16:30
lazyPowerlamont: thats highly dependent on context, and which is the manager of the concerns16:30
lazyPowerhttp://blog.dasroot.net/2015-charm-encapsulation.html16:30
* lamont will do some reading16:35
lamontand, of course, lp:charms/trusty/nrpe is the perfect place to begin this quest16:43
tvansteenburghjw4: you around?16:55
jw4tvansteenburgh: yes, but OTP for a bit16:56
jw4tvansteenburgh: feel free to ask and I'll try to multitask :)16:56
tvansteenburghjw4: afaict, the Action.ListAll api does not return info about actions run on subordinates16:58
tvansteenburghjw4: wanted to check with you before filing a bug16:59
tvansteenburghjw4: subordinate actions also don't seem to send any updates to the AllWatcher17:02
jw4tvansteenburgh: hmm - I don't know of a specific concept of subordinate actions, but I assume you mean actions on subordinate units?17:07
tvansteenburghjw4: yes17:08
rick_h_natefinch: heads up I'm around now if you still need anything17:08
jw4tvansteenburgh: actions and the actions watcher don't know about subordinates, so if you query actions on a unit it doesn't know to look for subordinates17:08
jw4tvansteenburgh: seems like a viable candidate for a bug report17:09
natefinchrick_h_: was wondering why there's no link to the juju blog on the top of jujucharms.com17:09
natefinchrick_h_: most of core didn't even know there was a blog17:09
tvansteenburghjw4: thanks for confirmation, will file bug17:09
rick_h_natefinch: because the blog isn't updated/big enuogh to warrant a link at the top :) and the homepage/community shows recent posts17:09
jw4tvansteenburgh: cool17:09
rick_h_"Latest from the blog"17:10
natefinchrick_h_: fair enough. It looks like it's all external posts... do we have the ability to have our own posts hosted on jujucharms.com?17:10
rick_h_natefinch: so this is from the aggregator with things tagged juju I thought? /me dbl check. https://jujucharms.com/community/blog17:11
rick_h_natefinch: you'd have to check with the web team where/how the aggregation is pulled in.17:11
natefinchrick_h_: ok, thanks17:11
natefinchgah, I hate exceptions17:16
=== rudi|deploying is now known as redelmann
=== kadams54 is now known as kadams54-away
lazyPowerwwitzel3: hey have you ever seen this happen before?18:03
lazyPowerhttp://i.imgur.com/7CGtl8k.png18:03
lazyPowerwwitzel3: it appears I managed to trap 2 executing hooks at the same time18:03
=== kadams54 is now known as kadams54-away
bactvansteenburgh: ping18:39
tvansteenburghbac: pong18:41
lamontwhat does relation-ids want for an argument?  interface name?20:17
lamontyeah.  relation-name20:18
* lamont goes back to headscratching20:18
=== natefinch is now known as natefinch-afk
tvansteenburghjw4: fyi https://bugs.launchpad.net/juju-core/+bug/145720520:31
mupBug #1457205: Subordinate charm Action data not reported by API <juju-core:New> <https://launchpad.net/bugs/1457205>20:31
jw4thanks tvansteenburgh20:31
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away

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