/srv/irclogs.ubuntu.com/2015/01/23/#juju.txt

=== arosales_ is now known as arosales
=== fuzzy_ is now known as Fuzai
=== CyberJacob is now known as zz_CyberJacob
jamespagegnuoy`, could you give me a review of https://code.launchpad.net/~james-page/charms/trusty/rabbitmq-server/network-splits/+merge/24738409:01
jamespageI've manually run lint, amulet and unit tests09:02
gnuoy`jamespage, I don't see the link between network splits and the new ceph.create_pool line09:15
jamespagegnuoy`, there is none other than I noticed it was broken09:15
jamespagegnuoy`, I can do that as a separate MP if you like09:15
gnuoy`jamespage, no, that's fine.09:15
gnuoy`jamespage, approved09:17
jamespagegnuoy`, I've also switched osci to use next for rabbitmq-server09:21
gnuoy`thanks09:22
jamespagemarcoceppi_, gnuoy`, btw I backported the latest juju-deployer release into the stable PPA10:00
mwak_hi10:28
jamespagegnuoy`, https://launchpad.net/charms/+milestone/15.0110:34
occchi all11:08
occci would like to run my django tests over several (say 100) servers11:08
occci was considering deploying ec2 instances and make each of them run a part of the tests11:09
occca friend of mine told me about juju11:09
occcso my need is basically to create 100 clones of the same instance, run a slightly different command-line on each of them and aggregate results11:11
gnuoy`jamespage, could I get a review of the mps associated with Bug #1403132 when you have a moment please?11:47
mupBug #1403132: hacluster default ports conflict between openstack charms <landscape> <openstack> <smoosh> <cinder (Juju Charms Collection):New> <glance (Juju Charms Collection):New> <keystone (Juju Charms Collection):New> <neutron-api (Juju Charms Collection):Invalid> <nova-cloud-controller (Juju11:47
mupCharms Collection):New> <percona-cluster (Juju Charms Collection):Invalid> <swift-proxy (Juju Charms Collection):Invalid> <https://launchpad.net/bugs/1403132>11:47
jamespagegnuoy`, +1 that looks fine11:52
=== sfeole` is now known as sfeole
jamespagegnuoy`, all of the nrpe stuff has landed right?13:39
gnuoy`jamespage, almost, I think there was a mongodb mp that someone else was reviewing and I ceilometer-agent slipped through the net but I'm hoping to have that done rsn13:40
bloodearnestarg, juju test doesn't respect $JUJU_HOME15:14
bloodearnestmust have a hardcoded ~/.juju ?15:15
lazyPowerbloodearnest: we've been superceeding juju test with bundletester15:50
=== roadmr is now known as roadmr_afk
bloodearnestlazyPower, I assumed that was for testing bundles?15:51
lazyPowerThat was the original target, it executes everything that is in /tests that's chmod +x however15:51
lazyPowerand sniffs makefile targets to run linting + an implicit charm proof15:52
lazyPowerits a parity tool for use with CI, as thats our exclusive tool for CI test running15:52
bloodearnestlazyPower, where can I get it?15:57
lazyPowerbloodearnest: pip install bundletester - its not a package in the repos yet15:57
lazyPowerwe have that as a target for this/next cycle.15:57
bloodearnestack15:58
marcoceppi_bloodearnest fwiw in the next few weeks when charm-tools is released, bundletester will replace juju-test, so running juju test will execute bundletester under the hood16:00
bloodearnestlazyPower, marcoceppi_ : and does bundletester respect $JUJU_HOME16:03
bloodearnest?16:03
marcoceppi_bloodearnest: it should16:03
bloodearnestpipsi install bundletester works nicely, much better output16:05
bloodearnestdoes it leave the env intact on failure?16:06
lazyPowerit can be configured to do either/or16:07
=== roadmr_afk is now known as roadmr
skayis block-storage-broker okay to use in trusty?17:09
skayI've been using trusty and now want to add storage for my postgresql relation17:10
skaybut I see block-storage-broker is in precise. but maybe my searchfu is weeak?17:10
skays/relation/service17:12
skayare there docs I can look at on how to upgrade a charm? how much work would it be for a naive user?17:14
skaycan I do it in a day?17:14
* skay talks to someone about it17:20
skayfor a workaround I'll collect the precise repo and tell mojo to think it is trusty17:20
skayso cowboy. much irresponsible17:20
lazyPowerskay: the upgrade work is kind of dependent on how its installing the package. ergo: if the package exists in both trusty/precise repo's it should be a fairly short winded porting process, ensuring there are tests in the charm.17:35
lazyPowerif the repo doesn't exist that metric can go up by an order of magnitude.17:36
lazyPowerIIRC we only have storage-broker in precise due to the libs it's consuming - it's not using the AWS SDK last time i checked, it was using the Euca2oolset17:36
skaylazyPower: I don't have time to look in to it today or over the weekend. maybe I can look in to it next week. it might be a good exercise in going through the process so that I can participate more in reviews and so on17:36
cory_fuwhit: cf-weekly?17:36
lazyPowercertainly - we're here to help :)17:36
=== kadams54 is now known as kadams54-away
adalbasmbruzek1, arosales , in one charm hook, is there a way to get specific information from the deployer (such as hostname, ip)?  something like what charmhelpers.core.host does, but for the deployer19:01
mbruzek1adalbas: Hello.  Let me see if I understand your question.  Is there a way to get the hostname/ip from a hook?19:02
=== roadmr is now known as roadmr_afk
arosalesadalbas: hello19:03
adalbasmbruzek1, for instance, i want to add the hostname or ip to /etc/hosts of the machine where i'm deploying a charm in the service19:04
mbruzek1adalbas: that can be done.  What is the use case here?  The host computer (that is deploying the services) can already access the VMs in the cloud?19:06
adalbasmbruzek1, yes, but i want the vm in the cloud to have the host hostname, for i'm not using an external dns resolution19:08
mbruzek1adalbas: I am not sure I follow why you would want to do this but here is how I would get that information.19:10
mbruzek1juju status etcd/0 | grep public-address | cut -d: -f 219:10
mbruzek1Where "etcd/0" is the deployed charm that you want to find the address for.19:11
adalbasmbruzek1, it is actually the other way around. I'm deploying etcd/0 from my server (juju) and in the install hook, i want to be able to get the information from juju, so etcd/0 would have the ip information of it's deployer.19:12
adalbasso in the hooks/install, i could add something like "echo $deployer_ip $deployer_hostname >> /etc/hosts"19:14
mbruzek1adalbas: I am not sure how to get that information from the install hook.19:15
adalbasmbruzek1, i see. i think i might need to change my approach here or have something in config.yaml.19:16
adalbastks19:17
mbruzek1adalbas:  From the deployer you could embed the IP address into the VM like this.19:17
mbruzek1juju ssh etcd/0 "echo $deployer_ip $deployer_hostname >> /etc/hosts"19:17
mbruzek1adalbas: I am not sure the deployed vm knows where it came from. Lets say you are deploying from your laptop.19:17
mbruzek1when you bootstrap you create a Juju server on the cloud that you are using.  The juju client just talks to the bootstrap node which does all the provisioning of the other vms19:18
adalbasyes, exactly, i wasn't sure juju had a way to identify who is the deployer.19:18
mbruzek1So the VMs don't know about your laptop, and I am not sure how they would get that information because the adalbas bootstrap node is doing all the work.19:19
adalbasright. that makes sense.19:20
mbruzek1Since your laptop can modify the units that sounds like something that you could do from the laptop, I will check to see if the nodes can get that information, but I kind of doubt it.19:21
* marcoceppi_ reads back19:29
marcoceppi_adalbas: that's not possible withinjuju19:30
marcoceppi_adalbas: if you needed the hostname/ip of the machine that's executing the deploymeht19:30
marcoceppi_you'd have to set it as a configuration value in the charm19:31
marcoceppi_and the person would have to `juju set mycharm my-hostname=$(hostname)`19:31
adalbasmarcoceppi_, tks!19:31
adalbasyes, i ll set it on the config19:32
=== roadmr_afk is now known as roadmr
=== zz_CyberJacob is now known as CyberJacob
hazmatadalbas, latest jujus tie identity to the services/units in play20:11
hazmatalong with apis for share/unshare env which create additional pricnipals20:12
hazmatalthough perhaps i mistake intent20:12
=== roadmr is now known as roadmr_afk
skayI've got juju bootstrapped to an openstack environment rather than a local one, but when I run protect-new and then workspace-new it attempts to make lxc containers20:55
skayI'm trying to figure out what step I missed20:55
=== roadmr_afk is now known as roadmr
=== scuttlemonkey is now known as scuttle|afk
=== scuttle|afk is now known as scuttlemonkey
skayoh, I see that mojo creates a local container, but when it gets to running hte manifest juju behaves as I'd expect it to21:14
=== CyberJacob is now known as zz_CyberJacob
=== zz_CyberJacob is now known as CyberJacob
whitso bundletester doesn't support --upload-tools currently eh?22:24

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