/srv/irclogs.ubuntu.com/2014/03/11/#juju.txt

=== Lord_Set2 is now known as Lord_Set
=== CyberJacob is now known as CyberJacob|Away
themonkwhat is the default password fir juju-gui?01:58
marcoceppithemonk: it's your admin-secret01:59
themonkmarcoceppi: hi :) thanks02:02
marcoceppithemonk: if you didn't explicitly set it in your environments.yaml file, you can find it in ~/.juju/environments/$(cat ~/.juju/current-environment).jenv02:02
themonkmarcoceppi: hmm02:02
themonkmarcoceppi: i want to share a charm scenario with you.02:02
marcoceppithemonk: I'm all "ears"02:02
themonkmarcoceppi: in my charm i have a custom java server which i have written and it runs on localhost and it listens to 9099 port, now if i make a new charm only for my java server then how i tell other charm to comunicate with my java server02:13
marcoceppithemonk: as in install applications in the java server, or actually communicate with that service like mysql does to mediawiki?02:14
=== Kyle is now known as Eliz
themonkmarcoceppi: i need only to comunicate with java server no install02:16
marcoceppithemonk: you can create a new interface if one doesn't already exist02:17
marcoceppiwhich it probably doesn't, unless your java server does something that exists already, just implemented in a different way02:17
themonkmarcoceppi: hmm my java server is a http server which communicates with json data02:20
marcoceppithemonk: so, you /could/ use the json-rpc interface, but really it's best to just create a new interface. Interfaces describe how compatible charms are02:21
marcoceppiso, if your java server is an rss parser and provides a json stream of data, you could just say the interface is rss-data or something02:22
marcoceppiit's hard to think of a name when I don't know what the service does02:22
marcoceppibut basically it would provide that interface as a relation, and your other charms would require it02:22
marcoceppiand if all that's needed is the address and port to connect, the java server charm hooks would basically do a `relation-set hostname=$(unit-get private-address) port=9099`02:23
marcoceppiand your other charms would injest that with relation-get, configure themselves appropriate, etc02:23
marcoceppiInterfaces are "arbitrary" as in you can create one at anytime by simply naming it02:23
themonkmarcoceppi: hmm thanks :) it was helpful one more thing i need to understand hole add-relation thing is there any doc or youtube video other than juju doc which can help me to understand more clearly :)02:30
marcoceppithemonk: well, we ahve some vids talking about relations, but they either skim over it like "Hey, look relations" or they dive really deep into the underlying logic. Having a video focusing on the 90% of relations stuff would probably be a good idea02:30
themonkmarcoceppi: or a good sample charm written in python02:31
marcoceppithemonk: I'll see if I can correl a few people to shoot one in the next few days, otherwise let me see if I can find a charm for you02:31
themonkmarcoceppi: thanks man that will be great :)02:33
themonkmarcoceppi: until then just point me a charm :)02:34
marcoceppithemonk: so, most charms that are written in Python are using charm-helpers, not sure if you are already or not02:34
themonkmarcoceppi: hmm i know very small about charm-helpers but i was planning to use it. its looks like flask.02:39
marcoceppithemonk: yeah, it has a flask like element, in that there are method decorators, It also wraps a lot of the command line tools (like relation_get, etc) in to python methods02:39
themonkmarcoceppi: is charm-helpers stable?02:39
marcoceppithemonk: it's used in almost all the openstack charms, as well as a lot of other python charms, has a >90% testing coverage02:40
marcoceppiso, for the most part yes. There's some work planned this cycle to package charm-helpers as right now you have to embed them directly in the charm using a sync tool02:40
themonkmarcoceppi: and is there any doc about charm-helpers?02:42
marcoceppithemonk: heh, that's part of the work scheduled for charm-helpers02:42
themonkmarcoceppi: hmm, ok then charm-helpers will not be a problem for me.02:45
themonkmarcoceppi: point me a python charm to understand add-relation02:46
marcoceppithemonk: so, most of these use a "hooks.py" where all the hooks are symlinked to one file and that holds all the methods. Not required, but that's just a pattern that some who wrote python charms choose02:47
themonkmarcoceppi: thanks for your support man :)02:47
marcoceppithemonk: but the apache2 charm is one to check out02:47
marcoceppilet me find another one, that's slightly less complicated02:47
themonkmarcoceppi: my charm is like django charm02:48
marcoceppiopenstack-dashboard is another python charm that's a bit simpler02:48
marcoceppithemonk: then check that one out, openstack-dashboard is bascially a django application02:48
marcoceppiwith some extra, openstack dependant relations02:49
themonkmarcoceppi: ok then :)02:49
marcoceppithemonk: lmk if you want some more examples. In the mean time I'll think of a way to record this video for relation stuff02:49
themonkmarcoceppi: yes that will be great :)02:50
marcoceppithemonk: and since none of the charm-helpers are documented, just ping us in here if you have questions02:50
themonkmarcoceppi: ok :)02:51
=== CyberJacob|Away is now known as CyberJacob
=== erkules_ is now known as erkules
=== axw_ is now known as axw
zchanderping lazyPower09:29
psivaahello, curious if there is a way to reboot the a juju machine without destroying it when we are not able to ssh to it?09:53
davecheneypsivaa: which provider ?10:06
psivaadavecheney: canonistack lcy0110:06
davecheneypsivaa: maybe use the nova command to restart the instance10:10
psivaadavecheney: ack, thanks10:13
viladavecheney: and juju will be able to reconnect it properly ?10:14
=== Ursinha is now known as Ursinha-afk
zchanderlazyPower: ping12:38
=== Tribaal_ is now known as Tribaal
marcoceppizchander: anything I or others could help with while lazyPower gets online?12:51
zchandermarcoceppi: I got the reverse proxy working, it seems. (only HTTP, HTTPS still gives me some troubles)12:55
rick_h_marcoceppi: do you or jcastro help me get into the hangout for the vuds session?12:55
marcoceppizchander: so, the reverse proxy as in trying to access your private MAAS which has no public addresses? are you using sshuttle? (I think I vaguely remember you from a few days ago)12:56
marcoceppirick_h_: sure, what do you need?12:56
rick_h_marcoceppi: just looking for the hangout url or something so I know how to get into the session12:56
marcoceppirick_h_: has it started?12:57
zchanderI am trying to deploy juju-gui, through the reverse proxy and HTTPS through the reverse proxy gives me some 'End of file found: SSL handshake interrupted by system' errors. And the juju-gui is trying to call back to my MAAS controller for /ws which also gives me some 'little' challenges12:57
rick_h_marcoceppi: no, does the url show once it's started?12:57
rick_h_marcoceppi: I'm trying to be a good boy and plan ahead :)12:57
marcoceppirick_h_: someone is the track lead, and will be updating the page with hangout URLs about 10-15 mins before session start12:57
zchandermarcoceppi, no I am using the reverse proxy through apache12:57
rick_h_marcoceppi: I can pre-fill some notes, join irc, but the hangout info is no where to be found.12:57
rick_h_marcoceppi: ah, that's what I needed to know. Thanks12:57
zchander(body had mentioned shuttle before.... ;))12:58
marcoceppirick_h_: it seems like jcastro will probably be doing the track lead for servercloud112:58
rick_h_marcoceppi: yep cool thanks12:58
marcoceppizchander: so, it's probably because apache terminates the SSL connection and assumes http for proxing.12:59
marcoceppirick_h_: can juju-gui be configured to not SSL?12:59
zchanderIt seems so, but I have set juju-gui to use non-ssl right now12:59
rick_h_marcoceppi: not right now.12:59
rick_h_marcoceppi: actually the plan is to remove the port 80 options13:00
rick_h_but that redirects to 44313:00
rick_h_so the bug we've got on file is to allow not watching port 80 but only 44313:00
marcoceppirick_h_: but still have like a simple meta-redirect to 443 from 80?13:01
zchander?? This is a setting? juju set juju-gui secure=true|false ?13:01
rick_h_marcoceppi: no, we'd just only listen on 443 and leave 80 alone so you can colo a web site on that machine13:01
rick_h_zchander: ooh, yea try that :)13:01
* rick_h_ is looking13:01
frankbanzchander: yes, that's used to make the GUI use http13:02
rick_h_zchander: just beware then that your admin secret can be traveling over the clear13:02
zchander(It is what I tried and the warning about my browser (Safari) is showing, but it won't get any further13:02
rick_h_zchander: so it's not recommended, but there13:02
rick_h_zchander: ah, safari support is coming this week13:02
zchanderrick_h: I know, but it is for my prove of concept at the moment13:02
rick_h_zchander: it'll warn you about it for now13:02
rick_h_zchander: chrome, firefox, or IE 10 will get you in ok13:03
* rick_h_ reads backlog to get an idea of what's going on 13:03
rick_h_oh looks like this is a running conversation13:03
zchanderWhen I do a tail for the guiserver.log I get the following messages:13:03
zchander[I 140311 13:03:39 handlers:87] GET /ws (192.168.3.1) client connected13:03
zchander[I 140311 13:03:40 handlers:115] GET /ws (192.168.3.1) Juju API connected13:04
zchander(192.168.3.1 is the IP of my MAAS controller(s) )13:04
rick_h_is that the same as your state server?13:04
rick_h_zchander: it should be connecting to the juju state server to talk over the api, nothing to do with maas13:05
zchanderWith my state server, you mean my region/cluster controller? -> yes13:05
rick_h_huh? do you have a juju environment bootstrapped?13:05
* rick_h_ isn't up on what you've got setup here13:05
zchanderMy juju bootstrapped node is 192.168.3.1313:05
rick_h_ok, that's what the guiserver should be talking to. Something is confused?13:06
zchanderrick_h: is that mentioned in some config file?13:06
frankbanrick_h_: I think 192.168.3.1 is the connection client13:06
rick_h_frankban: would be his maas controller?13:07
zchanderI am starting Chrome right now...13:07
rick_h_zchander: so you've got maas, installed open stack, and created an environment?13:07
zchanderI set up MAAS (using an online tutorial), created an environment, bootstrapped juju, deployed juju-gui13:08
frankbanrick_h_, zchander: not sure, what's the output of http://GUISERVER/gui-server-info?13:08
zchander{"uptime": 2184, "deployer": [], "apiversion": "go", "sandbox": false, "version": "0.3.0", "debug": true, "apiurl": "wss://tntn7.cluster001.nimeto.edu:17070"}13:09
zchandertntn7.cluster001.nimeot.edu if the juju bootstrapped node13:09
frankbanzchander: ok, so that's configured correctly13:10
jcastrorick_h_, I'll ping you about ~10 min before13:10
rick_h_jcastro: coolio thanks13:10
zchanderFor your info: We have our school LAN, connected to eth1 on my MAAS controller. My MAAS controller is connected to my 'cluster' over eth0 (192.168.3.0/24). IP forwarding from the 'cluster' is working13:10
jcastro2 hours if I'm reading the schedule correctly13:10
rick_h_jcastro: yep13:10
rick_h_jcastro: just getting my plan together13:11
zchanderI would like to be able to connect to charms (juju-gui, wordpress(??) and/or owncloud) from my school LAN (Our intent is to set up some 'private cloud' for our students13:11
jcastrorick_h_, basically think of this one as a normal status report13:11
jcastroexcept with more people13:11
jcastromarcoceppi, if you could check out the syncope bundle today that would be swell13:12
rick_h_jcastro: ok cool, wasn't sure how much was more mug-like "look awesome" talk vs "what we're doing, what's coming up"13:12
jcastrono, it's a working summit, so no slides or anything13:12
rick_h_j13:12
rick_h_k13:12
jcastromaybe we could do a little screencast showing the stuff you like, etc. I'll walk you through it13:12
rick_h_zchander: ok, so curious what you get when you have chrome running and load up the gui13:12
marcoceppijcastro: has it passed a +1?13:12
rick_h_jcastro: yea, will be ready to screenshare13:13
jcastromarcoceppi, not sure, let me check13:13
marcoceppijcastro: because lazyPower is on review this week ;)13:13
jcastrolazyPower, can I get a -1/+1 on the syncope bundle? It's in the queue. The charm is already in13:14
frankbanzchander: could you please repeat what's the problem?13:15
zchanderfrankban: brb, helping a student at the moment13:16
zchanderfrankban: I am trying to deploy one or more charms in my MAAS/juju environment. Also I would like to be able to connect to these charms, e.g. through a (reverse) proxy13:25
zchanderfrankban:  this is the config the virtual host (reverse proxy) right now: http://paste.ubuntu.com/7073510/13:26
frankbanzchander: what problems are you encountering while deploying charms from the GUI?13:27
zchanderAs I have mentioned before, it is a proof of concept/test environment, so security isn't that important at the moment13:27
zchanderfrankban: I can't get to the point I can deploy charms from juju-gui13:27
zchanderI also have/had problems connecting them through my browser13:27
frankbanzchander: so does the GUI open and connect to Juju?13:28
zchanderNope....13:29
frankbanzchander: so you see the "connecting to Juju" splash screen?13:29
lazyPowerjcastro: ack13:29
=== Ursinha-afk is now known as Ursinha
zchanderAll I see (in Chrome and Safari) is the 'Connecting to the Juju environment' page, with a progress inficator13:30
zchander*indicator13:30
=== lazyPower changed the topic of #juju to: Reviewer on Duty: lazyPower || Welcome!! Docs: http://juju.ubuntu.com/docs || FAQ: http://goo.gl/MsNu4I || Review Queue: http://goo.gl/9yBZuv || Unanswered Questions: http://goo.gl/dNj8CP
frankbanzchander: any errors in the chrome js console?13:30
zchanderlazyPower: Thanks for your help, yesterday. Sorry I had to go so unexpectedly....13:31
zchanderfrankban: WebSocket connection to 'ws://node001.nimeto.edu/ws' failed: Error during WebSocket handshake: Unexpected response code: 40013:31
lazyPowerzchander: np13:31
frankbanzchander: so a bad request sent from the browser to the GUI node13:33
zchanderfrankban: Could this be due to my apache reverse proxy?13:34
lazyPowermarcoceppi: http://paste.ubuntu.com/7073559/13:35
lazyPowerwhat'd i do wrong?13:35
marcoceppilazyPower: you need 1.2.10 which isn't released which fixes that error13:36
lazyPowerack13:36
marcoceppibut you're basically getting a fatal error, and an exception is being thrown before the fatal error can be revealed13:36
marcoceppibecause unittests13:36
* marcoceppi drops the patch13:37
lazyPowerjcastro: minor error in the bundle, they've targeted a release that doesn't exist yet13:38
jcastroheh13:39
frankbanzchander: that's wat I was thinking13:39
lazyPowereasy fix though13:39
jcastro"Does not pass review, makes assumptions in the space time continuum."13:39
lazyPowerwell in the grand scheme of things, its opening a black hole13:39
lazyPowerbut far be it for me to stifle their creativity13:39
frankbanzchander: I am not an apache reverse proxy expert, and I am not sure about how mod_proxy heaves when handling websocket connections13:39
frankbanzchander: perhaps you need http://httpd.apache.org/docs/2.4/mod/mod_proxy_wstunnel.html ?13:40
zchanderfrankban: Thanks, I am firing up google at the moment you mentioned it ;)13:40
zchanderSeems I have to build the module, as there is no mod_proxy_wstunnel for apache 2.2 (I am running Ubuntu 12.04.4)13:44
lazyPowermarcoceppi: https://bugs.launchpad.net/charms/+bug/128926313:45
_mup_Bug #1289263: Syncope bundle <Juju Charms Collection:New for francesco-chicchiricco> <https://launchpad.net/bugs/1289263>13:45
lazyPower+1'd with a single character edit13:45
lazyPoweri tested it with the drag and drop test on the gui13:45
marcoceppilazyPower: did you actually get proof to run?13:45
lazyPowerno13:45
lazyPowerproof hates life13:46
lazyPoweri made it walk the plank13:46
marcoceppi:\13:46
lazyPowerjcastro: should we maybe update the docs on https://juju.ubuntu.com/docs/charms-bundles.html - so it doesn't contain the envExport?13:46
marcoceppiit needs to pass proof before you can really sign off on it, I'm rolling a new release for it atm13:47
lazyPowercharles@Bushido:~/tmp/revq/bundle$ juju charm proof13:47
lazyPowercharles@Bushido:~/tmp/revq/bundle$13:47
lazyPowermarcoceppi: it passes proof13:47
marcoceppiyou just said it didn't?13:47
lazyPowerit didnt hte last time i ran it (Before the one line edit)13:47
marcoceppilazyPower: ah, that was probably why it vomitted13:48
frankbanzchander: :-/ let me know if it works, and please double check removing chrome caches: sometimes browsers get confused when handling websockets/caches13:48
lazyPowertargeting a revision of the charm that didnt exist :)13:48
lazyPowercharmworld api said "nope"13:48
marcoceppilazyPower: right, I just uploaded tothe ppa, could you re-run it with the wrong version when it builds to verify you no longer get Mr Angry Eyes?13:49
lazyPowersure13:49
lazyPowermarcoceppi: no charm tools update exists for me13:50
lazyPowerdid you release a saucy package?13:50
marcoceppilazyPower: I just uploaded it ot ppa, it needs to build first13:50
lazyPoweroooooo13:50
marcoceppiqueue is about 20 mins13:50
* lazyPower pins this13:50
lazyPowerhey our drupal friends pushed a new drupal charm13:51
lazyPowerhttps://bugs.launchpad.net/charms/+bug/129063613:51
_mup_Bug #1290636: New drupal charm submission. <Juju Charms Collection:New> <https://launchpad.net/bugs/1290636>13:51
marcoceppilazyPower: um, not the same drupal guys13:53
lazyPowerah, well, here's a new contender all the same13:53
marcoceppilazyPower: this one doesn't even tell what version of Drupal it deploys, considering not all Drupal's are made equal13:54
marcoceppiohhh, it's using what's in the archive13:54
lazyPoweri havent started reviewing it. I'm at VEM atm13:54
jcastrolazyPower, I can fix that up in the docs now13:54
zchander'make' is running. Following the tut from http://serverfault.com/questions/290121/configuring-apache2-to-proxy-websocket to create the module13:55
natefinchjcastro: do you have the link to the hangout for the juju UDS?14:00
jcastrohttp://summit.ubuntu.com/uds-1403/meeting/22202/intro-by-jono-bacon/14:01
jcastroeach session on the schedule has a page with the hangout14:01
natefinchjcastro: I need to be *in* the hangout, though... and I don't see a link to join the hangout there.14:02
jcastrooh, for the plenary I don't think he gives out the URL14:02
lazyPowerWell, its on ubuntuonair.com14:03
lazyPowerif that helps14:03
jcastroI think you can just ping him if you want to join the hangout14:03
natefinchjcastro: hmm... maybe I have my days mixed up,  I thought there was a juju-specific thing at 1400, but the schedule says no14:03
jcastronow is the kickoff plenary14:03
jcastroand then the GUI update14:04
lazyPowerwait, no. its not. this is his QA from the 7'th14:04
jcastroUDS  is at summit.ubuntu.com, not ubuntuonair14:04
natefinchjcastro: oh, it's tomorrow.  Huh, ok14:04
jcastrolazyPower, incoming PR14:04
=== hatch_ is now known as hatch
=== niemeyer_ is now known as niemeyer
zchanderfrankban: I built the module, enabled it, but I still get the error(s)15:03
zchanderIn addition I get a Exception I/O handler for fd 1415:04
zchanderfrankban: //paste.ubuntu.com/7073964/15:04
nessitahello! I'm having an issue trying to bootstrap a local provider in a precise instance. I have added the ppa:juju/devel repo and updated the sources and installed all updates. I also installed the 8.0-37-generic kernel as per the https://juju.ubuntu.com/docs/config-LXC.html doc.15:12
nessitaWhen trying to bootstrap the local env I get:15:12
nessita$ juju bootstrap15:12
nessitaERROR failed verification of local provider prerequisites: installed version of mongod (2.0.4) is not supported by Juju. Juju requires version 2.2.4 or greater.15:12
nessitaany ideas how to solve?15:12
lazyPowernessita: do you have the juju-mongodb package installed?15:13
nessitalazyPower, nopes, and does not seem available in the repo, $ sudo apt-cache policy juju-mongodb15:14
nessitaN: Unable to locate package juju-mongodb15:14
nessitaI do have mongodb-server Installed: 1:2.0.4-1ubuntu2.115:14
lazyPowermarcoceppi: whats the juju mongodb package? i seem to have forgotten15:14
lazyPowerapt-cache isn't being very helpful15:15
marcoceppijuju-db15:15
marcoceppior juju-mongodb15:15
marcoceppican't remember15:15
nessitachecking15:15
marcoceppinessita: did you install juju-local15:15
nessitamarcoceppi, yeah, I did15:15
marcoceppithat's all you really need, it'll set up the dependency chain15:16
marcoceppioh, okay15:16
nessitamarcoceppi, I m following https://juju.ubuntu.com/docs/config-LXC.html on a precise canonistack instance15:16
nessitabut I just realized I added the devel ppa but not stable, so I will do that15:16
marcoceppinessita: well, that should work15:16
nessitamarcoceppi, without having the stable ppa, mongod is 2.0.4-1ubuntu2.1 which apparently is too old15:17
nessitaadded stable ppa and udpating15:17
marcoceppinessita: right, you need either the cloud-tools pocket orthe stable ppa15:17
nessitamongodb-server update coming!15:17
nessita*great*, I knew this was PICNIC15:17
marcoceppinessita: how did you even install juju-core?15:18
marcoceppiit's not in precise15:18
nessitamarcoceppi, I installed juju-local15:18
nessitais on the juju/devel ppa15:18
marcoceppiOH15:18
frankbanzchander: uhm, Too many open files... weird. you could try  investigating the juju-gui machine. ssh into it. also restarting the GUI server might help (i.e. "service guiserver restart" on the GUI node)15:19
marcoceppiyeah, it's recommended to add stable if you have devel nessita15:19
marcoceppiwe should make that more clear in the docs15:19
nessitamarcoceppi, yeah, you mentioned this already, sorry, is me that I forgot15:19
zchanderfrankban: I'll try to restart the juju-gui machine first.15:19
marcoceppinessita: well it should be in the docs15:19
nessitamarcoceppi, I need to fix our HACKING docs, which I will do right now15:19
zchanderI'll be the last thing I'll try for now, as I am going home in a few minutes. Might be back again tonight, after dinner15:19
nessitalazyPower, marcoceppi: thanks for your help, and sorry for the unnecesasry ping15:22
marcoceppinessita: psh, np! anytime15:22
lazyPower:)15:23
lazyPowerhappy to help15:23
lazyPowerjcastro: https://bugs.launchpad.net/charms/+bug/128929115:28
_mup_Bug #1289291: New Charm proposal: GNU Cobol sample <new-charm> <Juju Charms Collection:New> <https://launchpad.net/bugs/1289291>15:28
lazyPowerDoes this warrant a review or should I skip it for now and mark it as incomplete?15:28
jcastrocome to it later15:32
jcastrothe guy says it's not ready yet15:32
jcastroand tbh we need to get the bundles in15:32
jcastrothough a review wouldn't hurt, it's just not a "omg today" review15:32
lazyPowerack15:32
lazyPowerjcastro: most of the bundles have been +1'd already15:33
* jcastro nods15:33
jcastromarcoceppi, syncope bundle has been +1'ed15:35
jcastrohttps://bugs.launchpad.net/charms/+bug/128787115:35
_mup_Bug #1287871: Bundle submission: Hadoop <Juju Charms Collection:New> <https://launchpad.net/bugs/1287871>15:35
marcoceppijcastro: ack, I'll set some time aside today to review the +1'd stuff15:35
jcastrohttps://bugs.launchpad.net/charms/+bug/128732815:35
_mup_Bug #1287328: Bundle submission: Simple mediawiki <Juju Charms Collection:New for jorge> <https://launchpad.net/bugs/1287328>15:35
jcastrohttps://bugs.launchpad.net/charms/+bug/128731715:35
_mup_Bug #1287317: Bundle Submission: Simple MongoDB bundle <Juju Charms Collection:New for jorge> <https://launchpad.net/bugs/1287317>15:35
jcastrothat's all of them15:35
jcastro<315:35
marcoceppita15:36
lazyPoweromg15:39
lazyPowermarcoceppi: my first +1 review that has amulet tests embedded in teh charm15:39
* lazyPower is jazzed15:39
lazyPowerhttps://code.launchpad.net/~michael.nelson/charms/precise/elasticsearch/trunk15:40
marcoceppihttp://i.imgur.com/fL4ACUT.gif15:40
lazyPowerexactly15:43
=== zchander is now known as zchander_
lazyPowermarcoceppi: https://bugs.launchpad.net/charms/+bug/128787116:05
_mup_Bug #1287871: Bundle submission: Hadoop <Juju Charms Collection:New> <https://launchpad.net/bugs/1287871>16:05
lazyPoweranother +1'd bundle16:05
marcoceppiwe should tag these with something so I can easily filter them16:11
marcoceppilike a `ready-promulgate` tag16:11
lazyPoweri can go back and do that if you'd like on the reviews i've done today16:17
lazyPoweri was tagging the cards as +116:17
marcoceppilazyPower: oh, that's fine too16:20
marcoceppiif the cards are assigned to me16:20
hazmatgeekmush, if you have a chance to try i uploaded a new version of the digitalocean plugin to pypi, and dropped the dep on dop16:20
geekmushI just ran the pip update … let's see if it bootstraps!16:21
lazyPowermarcoceppi: negative. I havent been building promulgation cards16:21
marcoceppilazyPower: they it's up to you16:21
marcoceppieither cards or tag the bugs16:21
lazyPowereasier to tag the issues since i'm already in there. I'll take that route16:21
geekmushhazmat:  same error … how can I check to see if my update did anything?16:22
hazmatgeekmush, $ pip list | grep docean16:23
hazmatshould show  juju-docean (0.2.016:23
geekmushno "list" command to pip?16:23
geekmushpip 1.0 from /usr/lib/python2.7/dist-packages (python 2.7)16:24
geekmushif that helps16:24
hazmatgeekmush, what linux/mac version are you on?16:24
geekmushhazmat:  mac os mountain lion16:25
geekmusherr, duh16:25
geekmushlinux ubuntu 12.04 lts16:25
geekmush(forgot my window was on DO … ha)16:25
lazyPowermarcoceppi: reviews have been tagged: ready-promulgate16:26
lazyPowerfilter and promulgate away sir16:27
hazmatgeekmush, can you pastebin the output of $ pip install -v -U juju-docean16:27
geekmushthat did a lot more stuff than the other update ...16:28
geekmushand it looks like it's doing something now in bootstrap!16:28
hazmatgeekmush, cool!16:29
geekmushthe "pip install -U python-digitalocean" wasn't enough to trip it, I guess16:29
hazmatgeekmush, yeah.. cause i foobar'd the package name.. its actually juju-dcoean16:29
hazmater.. juju-docean16:29
geekmushhazmat:  I kinda wondered …  :)16:29
geekmushit's chugging along, looks like … woot!16:30
hazmatgeekmush, also most of the plugin commands do pretty verbose output with -v16:30
marcoceppilazyPower: ack, thanks16:30
hazmatlike progress indicators on boot and add-machine16:30
geekmushhazmat:  I like verbose output!16:30
geekmushhazmat:  makes me feel like I'm getting my money's worth .. haha16:30
hazmatinfinite value * 0 ;-)16:31
geekmushwell, crap, the bootstrap completed … now I find myself in the awkward position of coming up with a bright idea to *do* something with juju!16:31
geekmushI guess, the good old wordpress + mysql sample?16:31
hazmatgeekmush, yeah.. why not.16:32
* hazmat yearns for a better does it float example16:32
geekmushmy real goal is to see if I can use this thing to bank out ceph environments easier ...16:33
hazmatgeekmush, owncloud is also nice16:33
hazmatgeekmush, oh.. nice16:33
hazmatgeekmush, the lack of volume storage in DO might make that a little akward16:33
geekmushoh sure, this is just to see if juju will do what I want16:34
geekmushDO is fast and cheap!16:34
* hazmat nods16:34
geekmushI've got a BUNCH of to-be-retired backup servers with (what used to be) big disk on them looking to get repurposed16:34
geekmushif it works on DO, tho, I got lots of other projects that need rapid deployment, too16:35
hazmatgeekmush, for ceph.. your probably going to need to create loopback devices16:35
hazmatto pass in when deploying ceph... the new juju run facility (juju 1.17+) might help.. its like parallel remote exec16:36
geekmushfun … I guess I'll putz with it a bit today, as I have time16:37
hazmatgeekmush, cool, i'll close out the issue then.. feedback/issues filed appreciated. thanks16:37
geekmushhazmat:  thanks for writing the software!!16:38
melmothi used to be able to get charm behind a proxy with charm and some http_proxy command.16:41
melmothnot anymore16:41
melmoth:-(16:41
melmothwhy is it keep changing the way it behave ?16:41
hazmatmelmoth, in juju 1.17+ if you set proxy on the env (it has config options for them) it will propgate the env vars through to the charm hooks (and also setup apt proxies on the machine)16:43
melmothwell, i have been told 1.17 is devel , and not supported16:44
melmothas i m trying to have the same kind of env as the customer i m suppose to support....16:45
melmothand it used to work before.. that s the main painfull point16:45
geekmushummm…I'm confused … what exactly does "expose" do?  I thought that you had to "expose" a service in order to get to it or some such, but my wordpress demo … I hit the IP before I exposed it (by accident) and it comes up anyway16:49
geekmushI see the bit flipped in the output of "juju status", but otherwise, no visible effect16:49
hazmatgeekmush, exposed will have no effect in docean16:51
hazmatgeekmush, its based on manipulating the provider's network security rules to the instance, digitalocean has no notion of such16:51
hazmatand manual provider based plugins can't intercept them.. juju needs to grow iptables management for this to be meaningful in docean16:52
geekmushhazmat:  ok, cool … any idea what I should expect in a MaaS situation?  will we need to teach it to tweak our FW stuffs?16:52
hazmatgeekmush, yes you would16:52
geekmushhazmat:  good data points, thanks!16:52
hazmatgeekmush, effectively expose is meaningful in cloud envs only (azure, ec2, openstack).16:52
hazmatatm16:53
geekmushi c16:53
geekmushwell, it workie … woot!  http://162.243.91.205/16:54
geekmushI hope I have time later to come back around and futz more, but food, work, work, work ..16:55
=== sputnik1_ is now known as sputnik13net
bodie_trying to run through this http://marcoceppi.com/2013/07/compiling-juju-and-the-local-provider/ -- is this outdated?18:01
bodie_I'm getting 'cannot find network interface "lxcbr0": net: no such interface' when I run juju bootstrap -e18:02
bodie_which I guess means I need to configure lxc18:02
marcoceppibodie_: https://juju.ubuntu.com/docs/config-LXC.html is the best version18:03
bodie_er, bootstrap -e local*18:03
bodie_thanks18:03
bodie_oh, I'm trying to do it myself since I'm on Debian18:03
bodie_If I *really* need to I'll just make a ubuntu VM I guess, but I don't see why it wouldn't just work18:04
jcastrowe have a vagrant box that will probably be less work than making a VM from scratch btw18:04
bodie_mkay, cool18:05
jcastroI would very much like Juju to just work ootb on Debian but we're short on people and testers to make that happen18:05
marcoceppibodie_: yeah, then the compile instructions should work18:06
bodie_It kinda looks like just a minor configuration detail of LXC18:06
marcoceppibodie_: you might just be able to grab the deb packages from ubuntu18:06
bodie_but I'll just do what works :)18:06
bodie_jcastro, you mentioned a vagrant box?  Is there a link to the config?  I've never used vagrant so pardon me if I'm missing something obvious here18:08
marcoceppibodie_: https://juju.ubuntu.com/docs/config-vagrant.html18:08
jcastroyeah one sec18:08
bodie_neato, thanks18:09
bodie_I see, this is cool18:12
lazyPowerbodie_: one of the quickest ways to get started. You can even use sshuttle to "vpn" your traffic through the vagrant host to test deployments.18:13
bodie_The reason I'm getting set up with this is to get rolling on core dev18:16
bodie_is there a diagram anywhere?  I have the godoc obviously but ...18:16
zchanderGood evening to all19:11
zchanderlazyPower: Seems that my reverse proxy breaks PXE boot19:32
lazyPowerinteresting, how so?19:34
lazyPoweris it proxying all requests to the reversed proxy?19:34
zchanderSeems so, but it shouldn't...19:36
zchanderThe default virtual host doesn't have any proxy info19:36
zchanderI did have to mention my maas controller explicit in a virtual host in order to be able to contact it19:37
zchander(for the web interface)19:37
lazyPowerzchander_: i'm not positive but it sounds like there's a problem with the apache config in general. It shouldn't be proxying your pxe boots back to that host if the server matching is happening correctly.19:38
zchanderIs there any difference between the 12.04.4 release of Ubuntu and later versions (say 13.10)?19:40
zchanderI am still able to test other version19:40
zchander*versions19:41
lazyPowerzchander_: quite a bit of differences under the hood with service versions, packages, etc.19:44
lazyPowerplus 12.04.4 is LTS, while 13.10 is not19:44
* lazyPower afk's briefly19:44
zchanderThat's the reason I wanted to use 12.4 ;)19:44
zchanderBut is the configuration I am wanting to use, so unusual?19:45
rick_h_marcoceppi: jcastro either of you give me a hand? I've got a azure env where a service lost his agent?19:46
rick_h_https://pastebin.canonical.com/106279/19:46
marcoceppioh no, where did he put it!19:47
marcoceppirick_h_: can you ssh in to that unit?19:48
rick_h_marcoceppi: trying, getting denied atm19:48
marcoceppirick_h_: can you ping the machine? does it appear online int he console? is azure doing maintenance right now?19:49
rick_h_it did maint yesterday on it. The IP address reported via the GUI in the env isn't in the list of azure machines in the azure controls19:49
rick_h_but it was fine at EOD yesterday and seems to have gone awol today19:49
rick_h_marcoceppi: now getting rity19:50
rick_h_ERROR state/api: websocket.Dial wss://10.0.3.1:17070/: x509: certificate signed by unknown authority19:50
marcoceppirick_h_: is the machine there? I think azure might give it a new ipaddress19:50
rick_h_so it's confusing. There three machines in the azure control panel. I've ssh'd to each of them and none of them have jenkins on it.19:50
rick_h_marcoceppi: but juju status was showing the gui server, and I can try to ssh to it, but it's denying me access19:51
rick_h_marcoceppi: and now when I juju status againto get the address, I'm getting the cert error19:51
marcoceppirick_h_: it sounds like azure is in serious flux right now19:51
rick_h_marcoceppi: heh, yea19:52
rick_h_marcoceppi: sounds like I'll be rebuilding my env soon :/19:52
marcoceppithat's bazaar19:52
marcoceppirick_h_: I'd wait 20-30 mins if you can then try a juju status again19:52
marcoceppisee if it settles down19:52
rick_h_marcoceppi: k19:52
marcoceppihttp://i.imgur.com/6SlZMhC.gif19:54
rick_h_marcoceppi: wtf, now I've got 4 machines in my env19:58
marcoceppirick_h_: http://i.imgur.com/E1zLDEV.jpg19:59
rick_h_but azure panel shows 3 still...but should only have two :/19:59
rick_h_ok, env is toast, will blow up and start over tomorrow. Yay for backup procedure testing19:59
marcoceppi\o/19:59
rick_h_thanks marcoceppi, at least it's nothing normal I can just "xxxxxx" from19:59
=== zchander is now known as zchander__
lazyPowerzchander_: I wouldn't think so20:20
davecheneypsivaa: yes, assuming the ip has not changed22:56

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