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

=== Guest83203 is now known as Tm_T
=== zz_CyberJacob is now known as CyberJacob
=== jam1 is now known as jam
=== mhilton is now known as mhilton-away
=== CyberJacob is now known as zz_CyberJacob
=== alexlist` is now known as alexlist
gnuoy`jamespage, I'd like to sneak this small one into 15.01 if you have a sec for a review https://code.launchpad.net/~gnuoy/charms/trusty/ceilometer-agent/add-nrpe-checks/+merge/247562 (tested with mojo spec dev/full_nrpe)09:03
=== urulama_ is now known as urulama
=== mhilton-away is now known as mhilton
jamespagegnuoy`, +110:52
gnuoy`jamespage, thanks10:52
=== kadams54 is now known as kadams54-away
dcwilliams_VAgood morning!  Does anyone have any knowledge of a bio-informatics organization or genetics research facility using Juju to deploy sequencing analytics and alignment tools and workflows?14:06
=== scuttle|afk is now known as scuttlemonkey
=== Guest99704 is now known as balloons
=== balloons is now known as Guest37568
=== Guest37568 is now known as balloons_
jacekn_Hello. I have 2 subordinate charms, one of the provides non-container relation. When I relate 2 subordinates nothing happens. What could be the problem or how to troubleshoot it?14:58
=== jacekn_ is now known as jacekn
RedoubtI'm trying to run some experiments with Juju, so right now I have two VMs made in VirtualBox: 1 to serve as the Juju boostrap/orchestrator node, and 1 to be some other node. Both VMs have two NICs, one connected to the vbox NAT (which means they cannot communication with each other) and one connected to a host-only network, where they _can_ communicate. The problem is that I can't convince Juju to only use that host-only network interf15:15
RedoubtMy environments/manual.jenv shows both IP addresses on the bootstrap node as state servers. If I remove one it just pops back after a minute15:16
RedoubtBoth the bootstrap and node's agent.conf show the incorrect bootstrap's IP as the apiserver, but if I change it anywhere and restart jujud it just comes back15:17
RedoubtI can't seem to find documentation of the apiaddresses param anywhere15:18
RedoubtWhat is persisting this? How do I change it?15:18
RedoubtI assume it must be in a database somewhere and the daemons themselves are overwriting my changes, but then is there no way to change this? I can't imagine this is a unique setup15:21
RedoubtIt's worth noting that, when initially bootstrapped and added, they communicate fine. The problems are introduced when the machines reboot15:22
=== roadmr is now known as roadmr_afk
lazyPowerwwitzel3: ^ how does juju determine which interface(s) to use when doing a manual provider environment? is it the first interface in the list? or is there something specific we can do to override that behavior.15:32
lazyPowerRedoubt: i dont know the answer here, but I'll ping some of the core devs to see if we cant find an answer for you.15:32
lazyPowerdimitern: see question targeted at wwitzel3 please ^15:33
dimiternlazyPower, looking15:33
lazyPowerTa15:35
RedoubtlazyPower: Thank you!15:37
dimiternlazyPower, Redoubt, AFAIKS manual provider uses the "bootstrap-host" setting to determine which IP to use to connect to the host15:46
dimiternso this means whichever NIC has that IP will be used15:46
Redoubtdimitern: That's what I was led to believe from the docs as well: "All machines added with juju add-machine ssh:... must be able to address and communicate directly with the bootstrap-host, and vice-versa." However, that seems to not be the case, at least after the machines were rebooted15:48
RedoubtNow I can't seem to get them to talk15:48
Redoubtdimitern: I did set the bootstrap-host to the bootstrap's eth1 static IP before bootstrapping15:49
dimiternRedoubt, wait a sec - it seems you're talking about manual provisioning, not manual bootstrap15:49
RedoubtOh, yes indeed I am15:49
dimiternRedoubt, ok, so this is different :) you're specifying the IP in the add-machine command - ssh:<user>@<IP/host>15:49
RedoubtFor the non-bootstrap node, yes that's correct15:50
dimiternRedoubt, you can use this in any environment (type: manual is just one of the possible cases)15:50
dimiternRedoubt, in a non-manual environment any machine needs to be able to talk to the API server for that environment15:51
Redoubtdimitern: Alright-- the "apiaddresses" line seems to be what's off in all the config files. How do I set the API server address?15:52
dimiternRedoubt, so if you're doing add-machine ssh:user@IP you need to make sure that machine can access the same IP for the api server as the other machines in the environment15:52
dimiternRedoubt, can I have some more details about your deployment please?15:52
dimiternRedoubt, what's the output of juju api-endpoints --all --refresh  for example? use paste.ubuntu.com15:53
wwitzel3lazyPower: sorry, in my standup, thanks dimitern15:54
Redoubtdimitern: http://paste.ubuntu.com/9883603/15:55
whitlast week for monitorama submissions: http://monitorama.com/#cfp15:55
Redoubtdimitern: That address is the one that I'd _like_ to be used15:56
dimiternRedoubt, and what happens instead?15:56
dimiternRedoubt, there's a way to hack it manually - just edit /var/lib/juju/agents/<your manually provisioned machine subdir>/agent.conf15:58
RedoubtWhen initially bootstrapped for first VM and add-machine'd for second VM, it worked fine. When the machines rebooted, they started using the other interface instead (IP 10.0.2.15), which is a network they cannot communicate on15:58
RedoubtI tried that, but then when I restarted jujud, it overwrote the agent.conf15:58
dimiternRedoubt, hmm..15:59
Redoubtdimitern: Indeed!15:59
dimiternRedoubt, well for a really ugly hack you need to change the list of addresses of the api server directly in mongo16:00
RedoubtHaha, I was afraid of that16:00
RedoubtThat would be on the bootstrap node, I assume?16:00
dimiternRedoubt, yeah, I'm afraid your case is not very well supported, but please file a bug about it so we can keep track of it16:01
Redoubtdimitern: Alright, good to know16:01
dimiternRedoubt, in most of the cases like that we had so far the manually provisioned machines and the others were on the same network (or can see each other at least)16:02
Redoubtdimitern: Yeah, I've run into similar problems with this network topology with MAAS and juju both. Virtualbox just isn't the best testing ground for those, eh?16:07
dimiternRedoubt, have you tried kvm? :)16:08
Redoubtdimitern: No. Perhaps it's time to start!16:09
dimiternRedoubt, sorry I couldn't help you more with your issue :/ I'd appreciate it a lot if you find a time to file a bug against juju-core though16:10
Redoubtdimitern: No problem! I appreciate your time! I'll do that now. I'm not really sure how I would sum up my problem though, other than "There's something wrong with the API server and multiple NICs" :P . Any suggestions?16:12
dimiternRedoubt, how about "manually provisioned machines with multiple networks cannot connect to the API server after reboot" ?16:14
=== roadmr_afk is now known as roadmr
Redoubtdimitern: Good deal, thanks :)16:14
dimiternRedoubt, :) np16:14
arosalesnicopace: marcoceppi, whit, lazyPower, and mbruzek are also good folks to ping on charm testing questions :-)16:33
lazyPowero/16:34
arosalesnicopace: thanks for your work on those16:34
marcoceppi\o16:34
whitheyo16:35
whithey marcoceppi moving the convo here16:37
whitmarcoceppi,  I have no idea what a basket is.  was that some other charm aggregation scheme?16:37
marcoceppiwhit: good, you shouldn't know what a basket is16:38
marcoceppiwhit: it was just an internal name, which referred to the bundles.yaml file, since bundles was an overloaded term16:38
marcoceppiwhere you had a bundle (file) which could intern have multiple bundles16:38
marcoceppianyways, tldr, bundles are just a single deployment going forward16:39
marcoceppifwereade should have more information on the bundle format going forward16:39
whitmarcoceppi,  currently we are using inheritance in the kubes bundle to support dev vs. released deploys16:40
whitmarcoceppi, or multiple bundle file which make bundletester vomit16:40
=== sarnold_ is now known as sarnold
whit*files16:40
marcoceppiwhit: openstack-charmers has the same issue16:40
marcoceppiwrt to inheritance16:40
whitwell... if we keep using deployer it's not an issue16:40
marcoceppiright, but I imagine after core gets support for this deployer won't be used. We'd at least make the switch to use core instead of deployer in amulet16:41
marcoceppito avoid too much skew16:41
marcoceppis/won't be used/won't be maintained/16:41
marcoceppiYou can model inheritence still, it'd just have to be done externally in another tool16:41
whitlike deployer16:42
lazyPowermarcoceppi: is that more along the lines of bundle generation vs implied inheritance?16:42
whitdeployer is what works now16:42
lazyPowerergo: you define some core-suite, and then add on services.16:42
marcoceppilazyPower: sure, that's one way16:42
whitso the  testing tools should support the old and new no?16:42
marcoceppiwhit: well, we'll support what core recommends. Right now it's deployer as the underpinnings. If deployer were to change so it maintained inheritance and used core underneath it, sure16:43
marcoceppibut I'm not sure the current plans for deployer16:44
marcoceppior when this feature will land in core16:44
marcoceppiI merely have approximate knowledge of everything ;)16:44
nicopacearosales: great! if something comes up, i'll be talking to you guys marcoceppi whit lazyPower mbruzek16:44
whitwell... current plans for deployer are we are using it to get work done16:44
whitwill hack around current issues16:44
marcoceppiwell, amulet doesn't have a concept of multiple deployments per bundle.yaml in the load command since load was meant for more simplistic deployments16:45
marcoceppiI'd be open to merge req to fix it, I don't have the time currently but it shouldn't be too hard16:45
arosalesnicopace: sounds good16:46
marcoceppiwhit: I'm hessitant to add a feature as it means I have to maintain it or break compat in a new major release. Trying to avoid compat breaks when possible in amulet16:46
whitmarcoceppi, cool16:46
Redoubtdimitern: https://bugs.launchpad.net/juju-core/+bug/1414710 . Thanks again for your help :)16:47
mupBug #1414710: Manually provisioned machines with multiple networks cannot connect to API server after reboot <juju-core:New> <https://launchpad.net/bugs/1414710>16:47
marcoceppibut if it was a real blocker for you guys, sure, I'd add it whit16:47
whitmarcoceppi, not a blocker, just a workflow annoyance16:48
dimiternRedoubt, thank you for the bug report! :)16:48
hazmatwhit, marcoceppi which issues? i've got some coding left.17:26
hazmater. time17:26
marcoceppihazmat: the whole core not doing inheritence for bundles going forward when bundles get native support17:27
hazmatmarcoceppi, ah.. a core issue17:27
hazmatmarcoceppi, core/cstore could just actualize inheritance trees when storing and serving17:28
hazmatalbeit thats  not a live ref to the parent17:28
whithazmat, yeah, we were trying to make a nice switch from local dev to personal namespace charms for development purposes and discovered that the future is unfriendly to such thing17:29
whits17:29
=== kadams54 is now known as kadams54-away
=== nottrobin_ is now known as nottrobin
=== balloons_ is now known as balloons
=== kadams54-away is now known as kadams54
=== zz_CyberJacob is now known as CyberJacob
=== CyberJacob is now known as zz_CyberJacob
=== roadmr is now known as roadmr_afk
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== roadmr_afk is now known as roadmr
=== kadams54 is now known as kadams54-away
blris there a tool for templating mojo specs?22:23
=== kadams54-away is now known as kadams54
marcoceppiblr: no, not that I'm aware of22:46
=== jcw4 is now known as jw4
=== kadams54 is now known as kadams54-away
blrmarcoceppi: thanks22:56
beunosinzui, utlemming, ping23:49
beunowe're trying to deploy to AWS Beijing region23:49
beunobut juju seems to not know about that region, we think23:50
beunoany tips?23:50
beuno*cough* thumper *cough*23:50
sinzuibeuno, I cannot speak about os images. If that region cannot see streams.canonical.com, then you will need to publish your own streams to that region, or just use --upload-tools23:51
beunonoodles775, ^23:51
beunosinzui, but I thought you guys ran tests against that region?23:51
sinzuibeuno, no, I have said this repeatedly. Juju QA does not have access to that region23:52
beunosinzui, oh, you said that, but then utlemming tells me he does, and does QA against it23:52
beunoso I guess I'm confused23:52
beunomaybe you guys are doing separate things23:52
beunosorry to be dense here23:53
sinzuibeuno, I think that means os-images can be found, but not agent streams (which --upload-tools will solve)23:53
* beuno defers to noodles775 23:54
beunothanks sinzui!23:54
thumperbeuno: o/23:55
beunohey thumper!23:56
beunoI was betting on sinzui not being awake23:56
noodles775I'll try with --upload-tools. Here's the --debug bootstrap output: https://pastebin.canonical.com/124267/23:56
thumperwas making lunch23:56
beunothe famous Penhey's lunches, I remember23:56
thumperif it is tools related, try wallyworld_23:57
thumperhe knows more23:57
thumperbeuno: :-)23:57
sinzuibeuno, noodles775 that is an os-image error23:57
* sinzui thinks23:57
wallyworld_do w ehave image data for cn-north-1?23:58
noodles775sinzui: OK - which explains why it still fails with --upload-tools? https://pastebin.canonical.com/124268/23:59
sinzuibeuno, noodles775 I think you need to set an alternate url in environments.yaml "image-metadata-url" to point to a stream in that region. You may need to use juju metadata generate-image from images you have downloaded from cloud-images.ubuntu.com23:59

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