/srv/irclogs.ubuntu.com/2015/03/24/#juju.txt

=== kadams54 is now known as kadams54-away
lp|sprintjose: there's a lot of variables there - i would take notes for our wednesday call00:59
joseack01:00
lp|sprintjose: thing is, we may or may not have a good answer there. we run into the same papercuts01:00
josethat's fine01:00
=== axw_ is now known as axw
=== kadams54 is now known as kadams54-away
=== thumper is now known as thumper-dinner
apuimedognuoy: ping09:35
gnuoyapuimedo, hi09:35
apuimedoHi09:35
apuimedognuoy: I'm getting some errors running tests on charm-helpers09:36
apuimedoFile "/home/celebdor/code/midonet-charms/mem-manager/.venv2/lib/python2.7/site-packages/charmhelpers/core/services/helpers.py", line 157, in __init__09:36
apuimedo    super(HttpRelation).__init__(self, *args, **kwargs)09:36
apuimedoTypeError: must be type, not HttpRelation09:36
apuimedothat super statement does not look py2 nor py3 compliant to me09:37
gnuoyapuimedo, it looks ok to me, I haven't been having problems running the unit tests. let me retry09:38
apuimedothe old one used to be:09:39
apuimedosuper(Child, self).__init__(*args, **kwargs)09:39
apuimedothe new one is supposed to be09:39
apuimedosuper().__init__(*args, **kwargs)09:40
gnuoyapuimedo, lp:charm-helper tests are passing cleanly for me09:41
apuimedommm09:41
apuimedopython2, 3 or both?09:41
gnuoyapuimedo, running the test makefile target which runs both09:42
apuimedoin any case, shouldn't it be: super(MysqlRelation).__init__(self, *args, **kwargs)09:42
apuimedoif it's the MysqlRelation class?09:42
gnuoyapuimedo, I have no idea what is in you charmhelpers/core/services/helpers.py given it seems to be different from trunk so it's hard to say09:44
gnuoy* your09:44
apuimedognuoy: it's retrieved with pip09:45
apuimedoautomatically with my Makefile09:45
gnuoyapuimedo, it seems not to be trunk as trunk tests are passing09:46
apuimedognuoy: check out the version of pypi09:47
gnuoyapuimedo, are you on revno 341 /09:47
gnuoy?09:47
apuimedo(after all, it's what's being pulled with the default charm setup.py09:47
apuimedoit was 32209:48
gnuoyso that seems old09:48
gnuoyapuimedo, I think we may be on cross-purposes somehow09:48
apuimedoyes, probably a new pypi release should be done09:48
apuimedognuoy: or it should be based on charm-helpers/stable09:49
apuimedonote it was updated on 17th of this month09:50
gnuoyapuimedo, for the openstack charms the charmhelpers dir is populated by branching directly from  lp:charm-helpers into the hooks directly09:51
gnuoys/ hooks directly/hooks directory/09:52
apuimedoI know. My concern is that when you do `charm create` and it pregenerates some setup.py that goes to pip for getting the helpers09:52
apuimedoit will get 0.2.3 currently09:52
apuimedowhich has this issue09:52
apuimedoso. Should I expect a fix on the pypi version or should I branch stable in my repo?09:53
gnuoyapuimedo, ok, that makes sense, I thought your were trying to land a change to charm helpers09:53
apuimedognuoy: no. Just alerting of a problem in the distributed version09:54
apuimedosorry if I was not clear enough09:54
gnuoyapuimedo, no problem at all, thank you for reporting the issue.09:55
apuimedognuoy: you're welcome09:55
apuimedognuoy: so I guess it's better that I pin the stable version on my tree09:56
apuimedofor now09:56
gnuoyapuimedo, I would follow the same path as the other openstack charms. create a charm-helpers-hooks.yaml pointing at lp:charm-helpers , list the modules you need and create a sync make file target09:57
apuimedook ;-)09:57
apuimedogood. It worked fine with the pinning10:08
schkovichrick_h_: done. https://github.com/juju/docs/pull/31111:16
=== Spads_ is now known as Spads
=== Spads_ is now known as Spads
=== kadams54 is now known as kadams54-away
=== Spads_ is now known as Spads
Muntanerhello guys14:25
Muntanercan I run juju over a net that does not have internet connection?14:26
Muntanercos I need juju to deploy some basic services without internet access14:26
Muntanerin some subnets14:26
jrwrenMuntaner: yes and to do so  you will need your own simplestreams services.14:31
Muntanerjrwren, I already have them14:31
Muntanerjrwren, the problem is that I can't give the floating IPs to those machines14:32
Muntanersince they don't have a direct internet access14:32
Muntaner(it is a private openstack cloud)14:32
Muntanerjrwren, so, I can't connect to the machines, and can't even bootstrap14:33
jrwrenMuntaner: I don't know.14:35
jrwrenMuntaner: ignoring juju, if you start a nova instance do you have connectivity to it? You'll need that.14:36
Muntanerjrwren, yes, but the VM does not have access to the intetnet14:36
=== kadams54-away is now known as kadams54
gnuoyjamespage, If you have a sec could you take a look at the two tiny mps associated with Bug 1435902 pls?14:53
jrwrenMuntaner: internet is irrelevant. connectivity from where you are running juju to the openstack environment is important.14:53
mupBug #1435902: services error deploying to next due to bad mtu setting <quantum-gateway (Juju Charms Collection):New for gnuoy> <https://launchpad.net/bugs/1435902>14:53
Muntanerjrwren, since I'm launching the bootstrap on a subnet that has no internet access, if I don't use floating IPs I can't "talk" to the machines. So, the bootstrap hangs at "attempting to connect at ... "14:55
jamespagegnuoy, +1's14:57
jrwrenMuntaner: I won't pretend to understand. Sorry :(14:57
gnuoyMuntaner, that machine that you're doing the juju deployment from is outside of the openstack cloud ?14:57
gnuoyjamespage, thanks14:57
Muntanerjrwren, don't worry, I know it's a "strange" configuration :)14:57
Muntanergnuoy, maybe I can explain it better with an image14:57
Muntanergnuoy, http://i59.tinypic.com/2jevkwp.png14:58
MuntanerI'm trying to bootstrap juju on the purple subnet14:59
Muntanernow I'm giving to that subnet internet access via the router... but in a normal use, I don't want to do that14:59
mrhatch_can anyone answer a few questions about juju and maas?15:08
mrhatch_We are looking at juju and maas to solve cm problems in a physical environment.  My big question is do I have to dedicate a machine to manage juju for every environment I want to deploy15:14
mrhatch_for instance we have a project that uses tomcat and mysql on a single machine and another that uses apache, django and mysql on two machines15:15
mrhatch_I realize that I may have to write the charms to deploy those services in that configuration, but do I need a server dedicated to managing each of those?15:16
mrhatch_and would I need yet another set of servers to manage the test and development servers?15:16
schkovichif i am getting you correctly you would need to have a several environments and switch between those15:17
schkovichif you are by dedicated machine to manage juju referring to the machine on which juju client will reside15:18
schkovichim not sure about state servers15:18
mrhatch_yeah that is what I was wondering if I needed a dedicated machine for managing juju15:19
mrhatch_for each environment15:19
schkovichwe have a several environments and each environment has it's own juju state server15:20
schkovichbut again in our case it makes sense15:21
schkovichperhaps you could have several containers and in each container state server running and place all containers on a single physical server15:21
schkovichor several vms running on a single physical server15:22
schkovichbut again someone more knowledgeable might have better answer :)15:23
=== natefinch_ is now known as natefinch
gnuoyjamespage, thanks15:27
mrhatch_I am just getting started with all of this so I am not sure what the best way to go about it is.  The idea of having state servers running on vm's is an good suggestion, of course that means I would need a more robust maas environment to manage the different networks15:28
mrhatch_or possibly just use the second NIC in each server to manage them all from a single internal network15:29
schkovichtrue that15:29
mrhatch_at this point I am still playing with both maas and juju on some old laptops and virtual box vm's at home with a linksys router running the subnet15:30
mrhatch_still having DNS issues too15:30
mrhatch_maas team thinks they will be fixed if I upgrade to 1.7 which is my next task when I get back to the house15:31
schkovichim using both maas and juju in virtual environments15:31
schkovichcan't help much with physical environments setup15:31
mrhatch_have you ever had problems with logging in to a server provisioned by maas?  Sometimes it seems like my keys aren't going across with the build even though they are in the maas gui15:32
schkovichnope15:32
mrhatch_I think I am going to write a blog post about the next trip through the setup...15:32
schkovichbut i had similar problems when juju agent is not running or in odd state15:33
mrhatch_what version of maas are you running now?15:33
mrhatch_I haven't even installed juju on this go around yet15:34
=== kadams54 is now known as kadams54-away
aisraelCharmers, here's a list of reviews currently in the queue that need a charmer's attention: http://pastebin.ubuntu.com/10671316/17:37
dpb1Hi all -- how can I find out the JUJU_UNIT_NAME while doing 'juju run'?17:43
jogsinzui, No space left on device17:49
sinzui:(17:50
marcoceppi_dpb1: you should be able to `echo $JUJU_UNIT_NAME` when doing juju-run17:53
dpb1marcoceppi_: no dice. :(  nothing JUJU in the environment (I really thought I've used that before, but can't find anything documented).17:56
marcoceppi_dpb1: depending on what you're doing and how patcient you can be, juju actions are in 1.23-beta1 which gives you more structure around juju-run17:57
rick_h_dpb1: nothing $JUJU_ in there? That sounds broken. I could have sworn juju run ran in full hook context?17:58
dpb1rick_h_: same. :(   echo $JUJU_UNIT_NAME gives nothing, trying 'set, env, compgen -v', all show nothing 'JUJU_'17:59
marcoceppi_dpb1: are you doing juju run against the unit or the machine number?18:02
dpb1marcoceppi_: --all, let me try some variation18:02
marcoceppi_dpb1: ah, that might be it18:02
marcoceppi_dpb1: I know that juju run --machine will just use SSH, while --unit will do it as a hook context18:02
marcoceppi_all may be the same way as --machine18:02
dpb1w.t.h.18:02
dpb1:)18:03
* dpb1 checks18:03
dpb1--service has the JUJU_ ones18:03
dpb1nice job marco18:04
dpb1marcoceppi_: now, I can confirm that ssh is not involved, but it certainly is different18:04
dpb1I can kinda see why juju run --machine does not run in a hook context18:05
dpb1I guess --all is shorthand for all machines, not all units18:05
dpb1--all  (= false)18:05
dpb1    run the commands on all the machines18:05
dpb1very interesting18:05
dpb1thx, that helps18:06
marcoceppi_dpb1: yeah, I'm going to raise a bug with core, it shouldn't be too hard to have --machine use the machine-agent like it does the unit-agent18:07
marcoceppi_but you still wouldn't get things like JUJU_UNIT_NAME since if you --to you'd have conflicting values18:07
dpb1marcoceppi_: yes, I can understand.  would be nice to have --service 'all' or something18:07
marcoceppi_yeah18:07
dpb1--unit all too18:08
dpb1I guess --all-units or similar18:08
marcoceppi_dpb1: yeah18:08
dpb1marcoceppi_: if you have that bug, let me know, I'll subscribe the appropriate people18:09
=== kadams54-away is now known as kadams54
dpb1(when you have...)18:09
marcoceppi_dpb1: https://bugs.launchpad.net/juju-core/+bug/143599918:11
mupBug #1435999: juju run should have an --all-units option, --all is ambiguous and confusing <juju-core:New> <https://launchpad.net/bugs/1435999>18:11
dpb1marcoceppi_: danke18:12
AskUbuntuUpdate someone else's chrams in the juju charm store | http://askubuntu.com/q/60080218:39
=== brandon is now known as Guest51625
Guest51625Juan Negron or Tom Haddon | May I ask one of you a quick question regarding Haproxy and SSL19:13
=== Guest51625 is now known as web
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== weblife is now known as web
aisraelmarcoceppi_: https://code.launchpad.net/~paulgear/charms/precise/nrpe-external-master/fix-duplicate-rsync-entries/+merge/25024820:07
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
* web would greatly appreciate some insight about what I may be missing when trying to use SSL based node.js application with Haproxy. I am using the following hooks ( http://paste.ubuntu.com/10672089/ ) and cant understand the error coming from the reverse server ( http://paste.ubuntu.com/10672447/ ). GUI shot: http://ibin.co/1vxjz6hLgSMJ20:27
lp|sprintjose: did you see? :)20:29
josewat? wat?!20:29
weboops20:30
websorry20:30
joselp|sprint: what's going on?!20:30
lp|sprintjose: http://review.juju.solutions/ - look at those numbers20:30
joselp|sprint: you. all. are. awesome.20:31
lp|sprintit was all aisrael, cory_fu, and marcoceppi_20:32
josekudos to them, great job guys!20:32
webwow the review dash is nice and organized now and days20:32
aisrael^5 guys20:32
lp|sprintweb: yeah, we've been working on upping the ante on UX20:33
joselp|sprint: you know that if you guys need me, I'm here to give you a hand20:34
joseso, any merges that have approve community and need charmer merging, please pass them on to me and I can take care of them20:34
aisraeljcastro: https://code.launchpad.net/~jorge/charms/trusty/kibana/update-defaults-to-4/+merge/25037920:35
lp|sprintweb: i'm trying ot pull up your pastebins but it looks like our network is tanking here at the sprint :(20:37
weblp|sprint:  Thank you I appreciate it.  No rush I have a feeling I am off on my configuration parameters.  I also just notices a note about Haproxy on Tusky.  Gonna try a precise based charm for now.  I have set haproxy up plenty but never with SSL.20:41
webtrusky20:42
lp|sprintIIRC ssl with haproxy was touchy with the charm atm. aisrael has some experience there i think.20:42
webIt seems to be stuck in an infinite loop of some sort because the connection doen't timeout20:42
aisraellp|sprint: that was rabbitmq. I haven't touched haproxy today20:43
lp|sprintaisrael: i was thinking back w/ the reddit bundle. weren't you working with haproxy as the reverse proxy server?20:43
webI sent Juan and Tom a message also since their the maintainers20:44
aisraellp|sprint: yeah, that's been an issue wrt complex configurations, but I think a merge just landed that may help with that.20:45
webaisrael: Thanks for the heads up, there are a couple relating to ssl for merging.  https://code.launchpad.net/charms/trusty/+source/haproxy21:14
mwenningstokachu, openstack-install is basically a wrapper around juju-deployer, correct?21:21
stokachumwenning: uh no21:21
mwenningok.21:21
mwenningstokachu, elucidate please21:21
stokachujuju-deployer is only used with landscape autopilot as thats what they use to deploy21:22
stokachuotherwise is our own stuff21:22
webseems all the newest ssl merges were made.  Not sure if I caught the merge or not.  Cross fingers and tries again.21:23
web6 hours is what I mean by just merged21:24
mwenningstokachu, thx.21:24
AskUbuntuSSL Node.js Charms with Haproxy | http://askubuntu.com/q/60088022:25
=== brandon is now known as web
* web having trouble. Feels he is overlooking something. http://askubuntu.com/q/600880/8854623:06
webIsn't the room bot supposed to announce new questions???23:07
aisraelweb: it did, about a half hour ago :)23:08
webokay must have timed out for a min23:08

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