/srv/irclogs.ubuntu.com/2015/02/08/#juju.txt

bodie_`juju unexpose` doesn't seem to be doing anything; digitalocean via JuDO, I'm tailing the unit log and I just see "got service change" "no new charm event"00:29
bodie_it changes the value of "exposed" for the service in `juju status`00:32
bodie_I have multiple services running on a single machine, but the other services are also not exposed00:32
bodie_it's trusty/wordpress00:33
bodie_open-ports shows 80/tcp00:33
bodie_juju 1.23-alpha1-utopic-amd64 cilent00:34
bodie_client*00:34
bodie_http://paste.ubuntu.com/10118085/00:37
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
bodie_that might be due to having "firewall-mode: instance" in my environments/digitalocean.jenv00:54
bodie_no, instance is what I want01:02
bodie_ah, looks like expose triggers a hook which is expected to implement the desired effect, and it's not implemented in trusty/wordpress01:15
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== dcwilliams_VA is now known as whovian
hazmatbodie_: there's no net sec on digital ocean02:51
hazmatbodie_: effectively digital ocean has no multi-tenant private networking, and manual provider (which do plugin uses) is a no-op with net sec02:51
hazmatbodie_: there isn't a hook for exposed afaik, there was discussion of one many moons ago, but afaicr nothing extant02:52
bodie_hazmat, I see.  there's some doc on it on a site which *I think* is caching something old? https://juju-docs.readthedocs.org/en/latest/internals/expose-services.html02:54
bodie_hazmat, but it could definitely be done on DO using iptables in the hooks, it's simply not an API level hosting option on their service.  that makes sense now though.02:54
hazmatbodie_: those docs are ancient, they applied to the python juju impl against zookeeper02:54
hazmatand even then "These hooks will be implemented at a future time."02:55
hazmatis in those docs02:55
bodie_thanks for clarifying02:55
bodie_could be a good use-case for actions :P02:56
hazmatbodie_: i've advocated for juju to use a iptable based expose/unexpose (ie universality first).. only issue is relations don't nesc. model tcp conn. there's some work ongoing with the network model which seeks to address that.02:56
hazmatas is expose/unexpose work against providers that implement network security.. (azure, ec2, google, openstack).02:57
hazmatand for the others they are no-ops02:57
hazmatbodie_: not sure how that relates to actions, but hammers and nails i guess02:58
bodie_something like that02:59
bodie_more like, if I need the ability to control iptables, I can add that to a charm I'm using as a stopgap03:02
=== 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
=== dcwilliams_VA is now known as whovian
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
SimplySethwhat's a good charm to copy to begin deciphering how to build a mesos-master charm ?22:42
=== kadams54 is now known as kadams54-away
lazyPowerSimplySeth: Whats your choice in config management toolkits?22:47
SimplySethlazyPower: Charm-Helpers and Ansible22:47
lazyPowerSimplySeth: charm create -t ansible22:47
lazyPowerif you have charm-tools installed (apt-get install charmtools)22:48
SimplySethlazyPower:  yeah I already brew installed charm-tools22:48
SimplySethlazyPower: thanks22:48
lazyPowernp22:48
lazyPowerthere are some patterns we employed for the docker charm (hyper simple, only delivering the docker plumbing) that are written in ansible22:48
lazyPowerthere's also the elasticsearch charm which is seemingly more complex, and uses ansible as well22:48
lazyPowerhttps://github.com/chuckbutler/docker-charm22:49
lazyPowerhere's the outline of ansible logic we used: http://chuckbutler.github.io/docker-charm/dev/ansible-patterns.html22:49
SimplySethcoool22:51
SimplySethlazyPower: thanks for the help22:54
lazyPowernp22:54
=== kadams54-away is now known as kadams54

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