/srv/irclogs.ubuntu.com/2014/06/10/#juju.txt

negronjljose: I'm in the middle of something ... give me a few minutes ( about 30 I'm afraid )00:06
joseI have time :)00:06
joseping me when you're available :)00:07
negronjljose: I'm back ... what's up ?00:23
josenegronjl: I'm having some troubles with the charm00:39
josebecause of the err_and_quit you defined instead of the set -x00:39
josenow I'm getting some weird django errors, too00:39
negronjljose: let me deploy it so I can see as well00:40
josesecond00:40
joseoh, go ahead00:40
negronjljose: What are you deploying on ?  precise? trusty?00:41
joseprecise00:41
negronjljose: ok ... hold on ... bootstrapping00:41
josenp :)00:41
negronjljsoe: Where are you deploying this ?  ec2? something else ?00:43
negronjljose: ^^00:43
joseec200:43
negronjlcan you ssh into the instance ?00:44
josebut the error I get is an unbound variable one00:44
joseI'm in right now00:44
joseoh, no00:44
joselemme redeploy00:44
negronjljose: changes pushed03:26
josenegronjl: ack, thank you!03:27
=== menn0 is now known as menn0-afk
=== vladk|offline is now known as vladk
=== thumper is now known as thumper-afk
=== CyberJacob|Away is now known as CyberJacob
=== thumper-afk is now known as thumper
=== CyberJacob is now known as CyberJacob|Away
=== menn0-afk is now known as menn0
mhshamsERROR bootstrap failed: waited for 10m0s without being able to connect: Permission denied (publickey,password).08:17
mhshamshi, I'm trying to bootstarp a private cloud (openstack) with juju, but getting above error.  where should i set the user/pass for the image that I'm using for bootstrap?08:18
mhshamsHi, I'm trying to bootstarp a private cloud (openstack) with juju, but getting above following error.  where should i set the user/pass for the image that I'm using for bootstrap?    ERROR bootstrap failed: waited for 10m0s without being able to connect: Permission denied (publickey,password).08:29
=== isviridov_ is now known as isviridov
mhshamsls09:54
mhshamshi, after successfully bootstraping juju with my private openstack, when I try to deploy a charm (wordpress for example), it's complaining that network is unreachable. because it's trying to use private netowrk IP, not the public (floating) one.09:57
marcoceppimhshams: did you set "use-floating-ip" to true in the environments.yaml?10:05
mhshamsyes, i did. in fact bootstrapping is done with public ip, but only deploy is trying to use private one.10:06
mhshamsmarcoceppi: even when i try to run "juju status", the result is the same:   ERROR state/api: websocket.Dial wss://192.168.0.2:17070/: dial tcp 192.168.0.2:17070: network is unreachable10:38
marcoceppimhshams: bootstrap wasn't done with the public IP address if deploy is trying to use the private one10:39
mhshamsmarcoceppi: but the private network is not visible from my machine (juju installed). how can juju bootstrap with ip that is not visible in the network?10:45
marcoceppimhshams: when juju bootstrap runs, it connects to the OpenStack install and uses the API to spin up an instance. If use-floating-ip isn't set to true before you bootstrap for the first time, then when it requests metadata about the instance to cache where the bootstrap node is, it'll just get the first address it responds with which will likely not be the floating-ip10:47
mhshamsmarcoceppi: in my configuration, use-floating-ip is set to true, and I can see the juju-openstack-machine has the public ip assigned. i can connect to the machine with it's public ip.10:50
=== natefinch is now known as natefinch-afk
BradCrittendenhi rbasak12:09
=== BradCrittenden is now known as bac
josemhshams: if it's not production, try destroying the environment and re-bootstrapping. easiest way.12:18
rbasakbac: hi!12:21
rbasakbac: let me just read your email again12:21
bacrbasak: cool.  hey could you join us in #juju-gui in case someone else there is interested?12:21
mhshams@jose: i did tried that, and the result was the same. one thing to clarify is that, i'm creating the image metadata locallay and using this bootstrap with --metadata-source.  ( juju bootstrap --metadata-source=/home/<user>/.juju/metadata)13:10
joseI'm no openstack expert13:11
josesomeone else should be able to help13:11
jcastroHey guys, I''m going to move the LXC/juju session from thursday to wednesday so didrocks and I can be there13:13
=== natefinch-afk is now known as natefinch
=== rharper_ is now known as rharper
lazyPowerjamespage: ping14:19
jamespagelazyPower, OMG it must be ping jamespage hour14:19
jamespagelazyPower, hey!14:19
lazyPoweroh, i'm sorry :(14:19
lazyPowerI was curious if you had a chance to review teh vxlan-gateway that we sync'd on a while back, and what your notes were if any. Its come back up in the rev queue14:20
jamespagelazyPower, I've not looked yet14:22
jamespagelazyPower, (and no problem about the ping :-))14:22
* lazyPower takes notes to not ping jamespage before 10:45 EDT14:23
lazyPowercan i interest you in a coffee, or a crepe while I have your attention?14:23
=== isviridov is now known as isviridov|away
=== isviridov|away is now known as isviridov
tech2if you have a charm that has peers, how would you instantiate an additional instance of the peer on a particular host/vm/container? Is it just juju add-unit --to <name>  ?15:07
marcoceppitech2: yes15:09
tech2More to the point I suppose. If I had a setup akin to US East, Europe (in terms of data-centres), how would I add units to one of those collections of VMs rather than to a particular machine?15:10
marcoceppithough, you will probably want to use add-unit --to (kvm:lxc):Machine#15:10
tech2thanks Marco.15:10
marcoceppitech2: that's something you would do with constraints, there is a "zone" constraint landing in juju which will allow you to dictate which zone to create a new machine15:10
tech2marcoceppi: zones aren't here yet (assuming that's what you mean with the future-tense word "landing")?15:11
marcoceppitech2: correct, code just landed in trunk for zones15:11
marcoceppiso it'll likely be in the next release of juju15:11
tech2marcoceppi: thanks15:12
tech2marcoceppi: is there a writeup about this anywhere (something I can show to others). I'm trying to upsell the virtues of juju at the moment and these are the kinds of issues being raised.15:13
marcoceppitech2: there's no real document on zones, it just follows the normal constraint pattern, https://juju.ubuntu.com/docs/charms-constraints.html15:14
tech2thanks15:14
marcoceppiOnce it lands in a release the docs will be updated15:14
marcoceppitech2: for the exact format, here's the bug against the doc: https://github.com/juju/docs/issues/86#issuecomment-45469055 let us know if you and your team have any other questions about juju! Happy to help15:17
tech2marcoceppi: no doubt I'll be in and out over the coming months, thanks again for the help.15:18
tech2Is there a tool for web-managing multiple environments (much like juju-gui is for a single env), or is that Landscape?15:37
marcoceppitech2: Landscape does a bunch of stuff, but I don't think it does management for multiple juju environments, it can and does know about multiple but won't give you the same experience as the GUI15:43
tech2marcoceppi: so the only way of really using a web-ui for multiple environments at the moment would be to have multiple instances of juju-gui (one per environment)?15:43
marcoceppitech2: correct, that's the way at the moment15:45
tech2marcoceppi: My issue is that we have an obligation to keep different clients' data on different instances such that we could do things like provide them with ssh access for an audit etc. I figured environments might be the cleanest way to do that but that sadly increases the devops overhead a bit.15:45
marcoceppitech2: I can see your point in increasing the overhead a bit. However, juju is fully drivable via a websocket per environment15:46
marcoceppiso you could append functionality to easy the devops world by building tools to help drive deployments15:46
tech2Right, there's always a cost, it just depends who has to pay it :)15:47
avladuhello there :). can someone help me on how to connect to the mongodb server, on the juju bootstrap node?15:47
marcoceppicore is also pretty responsive to users needs, so if there are shortcomings for your team feature requests can be opened,e tc15:47
marcoceppiavladu: any reason why in particular? it's strongly discouraged given the schema changes and it's not guarenteed to work between releases15:47
avladuI just want to see if some relation ids are correct15:48
avladujudebug reasons only15:48
avladudebug reasons only15:48
marcoceppiavladu: there's a python tools called juju-dbinspect which will allow you to connect to the mongodb and pull data out with Python15:49
marcoceppiavladu: https://github.com/kapilt/juju-dbinspect15:49
avladumarcoceppi: thanks15:49
marcoceppialternatively, you can just `juju ssh 0` then connect to the mongo instance running there15:49
avladumarcoceppi: yes, I have done: juju ssh 015:51
avladumarcoceppi: I do not know the credentials to connect to the jujudb15:51
marcoceppiavladu: that information is stored somewhere... not entirely sure, but the juju-dbinspect gets you around that15:55
lazyPowernice session jcastro15:56
jcastrough local provider15:56
lazyPoweryeah, minor snafu15:57
joseand when lazyPower wanted it to fail, it didn't15:59
* lazyPower flips tables15:59
avladumarcoceppi: thanks, with a few hacks, the juju-dbinspect worked16:17
jcastro_lazyPower, remind me, did you solve your logstash problem or just figure out what was wrong?16:27
jcastro_iirc a version mismatch?16:27
alexisbjcastro_, rick_h_, do you guys have some slides for the roadmap discussion?16:29
alexisbfor UDS16:29
alexisbI am trying to figure out how I should prep16:29
jcastro_some people do slides, other just do a status report16:29
jcastro_up to you16:30
rick_h_alexisb: I was just going to walk through and try to demo a little bit.16:30
=== isviridov is now known as isviridov|away
bloodearnestI assume you guys know that upstream lxc has go bindings to the lxc api?16:44
lazyPowerjacekn: i figuredo ut what was wrong, i have WIP on fixing it16:57
lazyPowers/jacekn/jcastro/16:57
jcastromarcoceppi, I'll need you at the top of the hour for "State of the Charm Store"17:14
=== natefinch is now known as natefinch-afk
=== roadmr is now known as roadmr_afk
sparkiegeeklazyPower: cory_fu: hi there, do you think you'll get a chance to look over https://bugs.launchpad.net/charms/+bug/942032 this week?17:30
_mup_Bug #942032: Charm Needed: Review Board <Juju Charms Collection:Fix Committed by adam-collard> <https://launchpad.net/bugs/942032>17:30
lazyPowersparkiegeek: you bet!17:30
lazyPowerI'll promote it to first thing when i switch off from what i'm working on and move back into the rev queue17:31
sparkiegeeklazyPower: excellent :) looking forward to seeing the feedback17:31
josesparkiegeek: I'll go ahead and do a community review at the moment (I'm not a charmer), taking a look at it17:37
sparkiegeekjose: ah great, any and all reviews gratefully received17:37
jose:)17:38
alexisbjcastro, rick_h_, I know have a conflict for the 15:00 UTC time17:38
alexisbwould it be possible to move the UDS gui/core roadmap session to 16:00 UTC?17:38
jcastrootp, one sec17:39
alexisbor up to 13:00 UTC17:39
jcastroarosales, can you move it?17:39
alexisbnws17:39
arosalesI can take a look17:40
sparkiegeekI had some trouble using Amulet with the PostgreSQL charm. The latter has a concept of "allowed_units" which charms that relate to it should poll to see if $UNIT_NAME is in.17:40
sparkiegeekthe way Amulet inserts sentries between the two relating services means it'll never see it's own UNIT_NAME in allowed_units17:41
lazyPowersparkiegeek: its not a perfect solution, and thats oen we are aware of17:42
lazyPowertheres a project called juju-db-inspect that we are looking at dropping in to aid in relationship inspection vs using sentries17:42
arosalesalexisb: are you free at 16:00 UTC on Wed?17:43
sparkiegeeklazyPower: ok, sounds interesting17:43
lazyPowersparkiegeek: because it is a bit troublesome that the sentry can interfear with the relationships being defined.17:43
sparkiegeeklazyPower: indeed17:43
arosalesalexisb: looking at switching "Juju with LXC containers for local dev" with "Juju Core and GUI Roadmap"17:43
alexisbarosales, thanks17:44
arosalesalexisb: so to confirm that time slot works for you, correct?17:44
alexisbyes it does17:44
arosalesok17:45
josewhat's the next charm store session going to cover?17:47
marcoceppijose: ack17:52
marcoceppijcastro: ack17:52
jcastrohttps://plus.google.com/hangouts/_/hoaevent/AP36tYdk_oApTaoYDWAv5eeR9zK3n8oUHTI8sE1WL4RptTN0lOaLpQ?authuser=0&hl=en17:57
jcastromarcoceppi, ^^^17:57
marcoceppijcastro: ack17:57
jcastroand whoever wants to join17:57
josejcastro: what's the topic on this one?18:02
alexisbarosales, let me know if you were able to make the switch, otherwise I will have to try and delegate the core roadmap discussion18:03
josesparkiegeek: mind a PM?18:05
arosalesalexisb: the schedule is locked so I am pinging mhall11918:05
sparkiegeekjose: WFM18:05
mhall119arosales: it's not locked, track leads can edit it18:05
arosalesmhall119: ah looks like jcastro or marcoceppi will have to make the edit18:06
arosalesmhall119: thanks. I forgot I wasn't a lead this go around18:06
mhall119arosales: yeah, you're only a lead on Ubuntu Development, if it's a devops session they can do it18:06
mhall119arosales: also,sorry for the delay in replying, was hosting Mark's keynote18:06
arosalesmhall119: no worries18:07
arosalesmhall119: could i bug you to switch or add me as a lead to the Cloud DevOps?18:08
mhall119arosales: sure18:09
arosalesmhall119: thanks18:09
mhall119give me one minute to do that18:09
arosalesmhall119: ok thanks18:10
mhall119arosales: done18:12
arosalesmhall119: thanks18:13
arosales:-)18:13
=== BradCrittenden is now known as bac
arosalesalexisb: all set for wed18:21
arosalesthanks again mhall119 :-)18:22
alexisbarosales, your the man, thank you!18:22
arosalesalexisb: no worries, easy fix18:23
=== roadmr_afk is now known as roadmr
=== roadmr is now known as roadmr_afk
josembruzek: you know how to run a test in an already bootstrapped env, with constraints?19:01
mbruzekjose you might be able to put the constraints in the Deployer class19:16
mbruzekmethod19:16
joseoh, thanks19:16
mbruzekI don't think I have done constraints within Amulet yet.19:17
mbruzekif you can't find it please let me know.19:17
mbruzekjose It might be possible to set constraints in bootstrap and then all future deploys will have same constraints19:19
mbruzekhttps://juju.ubuntu.com/docs/charms-constraints.html#working-with-constraints19:19
joseI'll check then :)19:21
jcastromarcoceppi, let's talk local template lock LXC-hates me19:30
marcoceppiokay19:30
marcoceppihangout or in here?19:30
jcastroeither19:31
jcastroactually, hangout19:31
jcastrogo to the daily standup hangout19:31
josejcastro: session set up, youtube set up, will set up the page tomorrow morning19:33
=== natefinch-afk is now known as natefinch
=== CyberJacob|Away is now known as CyberJacob
=== roadmr_afk is now known as roadmr
=== hatch__ is now known as hatch
sebas5384lazyPower: ping20:31
lazyPowersebas5384: pong20:39
sebas5384lazyPower: hey!20:39
lazyPowerWhats up?20:39
sebas5384we sell the first juju project! :)20:40
sebas5384to a client hehe20:40
lazyPowerThats awesome news!20:40
lazyPowercongrats20:40
sebas5384so now i can be actually working in something thats goes to production20:40
sebas5384yeah! thanks! :)20:40
sebas5384so thats why i was lost these days20:40
lazyPowernp :)20:41
lazyPowerI've been occupied i assure you20:41
sebas5384yeah i imagine!20:41
sebas5384but hey! we must have our meeting to talk about vagrant and juju20:42
sebas5384and other devops stuff hehe20:42
lazyPowercan we schedule it for end of week again? UDS has set me back in terms of time20:42
sebas5384yeah absolutely :)20:43
sebas5384let's talk trough the week then20:43
lazyPowersebas5384: surely20:48
=== vladk is now known as vladk|offline
=== vladk|offline is now known as vladk
=== vladk is now known as vladk|offline
=== vladk|offline is now known as vladk
=== vladk is now known as vladk|offline
sebas5384cmars: ping21:55
cmarssebas5384, pong21:55
sebas5384hey! cmars o/21:55
cmarshi21:55
sebas5384i'm doing a drupal charm in ansible21:55
cmarsoh, neat21:55
cmarsi really like the ansible helpers21:56
sebas5384and i wonder if you can help me with a doubt21:56
sebas5384yeah!! thank you for your work on ansible+charms21:56
sebas5384:)21:56
sebas5384well21:56
sebas5384the thing is i was reading the helper code21:57
cmarsoh, that's not mine..21:57
sebas5384to whats all about the tags21:57
cmarsi'm just a fan21:57
sebas5384ooh hehe21:57
sebas5384yeah thats right duh!!21:57
sebas5384hehe21:57
sebas5384sorry about that21:58
cmarsno, i just don't want to take the credit. you should thank noodles77521:59
cmars:)21:59
sebas5384well the doubt i have is, there's some way i can declare some default tags for the playbook21:59
sebas5384thanks noodles775 !! :)21:59
sebas5384hehe21:59
sebas5384btw here is the repo https://github.com/sebas5384/charm-drupal22:00
sebas5384:)22:00
sebas5384maybe noodles775 can help me with these then :P22:00
cmarsyou might be able to find help in #ansible as well. could be a way to set tags in the ansible env22:01
sebas5384yeah i was looking some info about that22:01
sebas5384thanks cmars :)22:02
sebas5384oh! and i didn't forgot to do the changes in the pull request for the juju-nat22:02
=== hmatlock is now known as heath
sebas5384i'm still going to do that, just need time hehe22:02
=== james_w` is now known as james_w
=== CyberJacob is now known as CyberJacob|Away

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