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

=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== kadams54 is now known as kadams54-away
seal1How do I approach sending over a masker ssh key to a related slave for the jenkins and jenkins-slave charm? I have taken the follwoing approach and cannot find the documentation of how to access a related unit - https://gist.github.com/slatunje/c357791dcc1b42d4df1202:33
=== freeflyi_ is now known as freeflying_
jamespagegnuoy, could you review - https://code.launchpad.net/~james-page/charm-helpers/lp.1391784/+merge/24242211:30
jamespageit adds a default backend to all haproxy configurations that will loadbalance over private-address11:30
gnuoyyep (otp at the mo)11:30
jamespagegnuoy, ta11:30
gnuoyjamespage, unit_test fail11:54
jamespagegnuoy, oh joy11:54
jamespagegnuoy, let me see11:55
jamespagegnuoy, fixed and pushed11:57
gnuoyjamespage, merged11:58
jamespagegnuoy, thanks!11:59
jamespagegnuoy, are you ok for me to sync that out to the next charms?11:59
gnuoyjamespage, absolutely11:59
jamespagegnuoy, done12:18
mwakhi13:16
marcoceppiIs there any charmhelper to run a command as a user?14:05
lazyPowermarcoceppi: not at present, no.14:07
marcoceppilazyPower: ta14:07
mwako/ marcoceppi lazyPower14:07
lazyPowero/ mwak14:07
marcoceppi\o mwak14:09
mwakstill fighting with the hadoop charm14:13
mwakI ve rebuilt hadoop on armhf but still the same issue with hdfs14:13
lazyPowermwak: it sounds more like there's an issue with the setup than with the binaries. but I cant really confirm that at present.14:21
lazyPowermwak: have you tried a single node setup vs the cluster so there's fewer moving parts to debug?14:21
mwaklazyPower: you mean juju deploy hadoop and then run the test on the machine?14:26
mwakright14:26
mwak?14:26
lazyPoweryeah14:28
lazyPowermwak: just teh master/slave nodes actually - you'll still need a yarn controller and some computes - so single node is a mosnomer on my part.14:28
mwakI did, but I just respawn to re-try14:29
mwakWhat I did atm is re-built hadoop from the source on an armhf server, edit the charm to use the oracle jdk14:30
lazyPoweryeah that shouldn't have much effect - it should still work without any issue being java is mostly portable among jre's14:31
mwakyep but there are .so libraries which were not built for arm.14:33
lazyPowervery true, the bins they bundle with it14:34
mwaklazyPower: I have to start it manually when I deploy on a single node?14:35
lazyPowermwak: start manually + i think you'll have ot edit the configs to point to the local microservices - as those are not set until relationship exchange14:36
mwakalright14:36
mwakit is started!14:37
mwakinteresting14:38
mwakhttp://pastebin.com/7DEb6bMG14:38
lazyPowermwak: smells like progress to me14:41
mwakright, but cpu usage is 0%14:41
mwak:/14:41
lazyPowerso the job itself is probably failing to start14:41
lazyPowerbut the microservices are connecting14:41
mwakyep14:42
mwaklooks like the problem occurs when relation change14:42
mwakhttp://212.47.235.30:8088/cluster/app/application_1421159802799_000114:45
jamespagegnuoy, know you are probably a busy man, but could you review the MP's on https://bugs.launchpad.net/charms/+source/nova-cloud-controller/+bug/139178414:47
mupBug #1391784: HA failure when no IP address is bound to the VIP interface <openstack> <cinder (Juju Charms Collection):In Progress> <glance (Juju Charms Collection):In Progress> <keystone (Juju Charms Collection):In Progress> <neutron-api (Juju Charms Collection):In Progress> <nova-cloud-controller14:48
mup(Juju Charms Collection):In Progress> <openstack-dashboard (Juju Charms Collection):In Progress> <percona-cluster (Juju Charms Collection):Invalid> <https://launchpad.net/bugs/1391784>14:48
jamespagethey re-introduce the cidr and iface configurations options as fallbacks for when people want to bind VIP's to subnets which are not also configured as subnets for primary addresses14:48
jamespagedimitern, see the crazy networking stuff that people get up to ^^14:54
jamespagedimitern, its an edge case but one for which I've had two separate bug reports for14:54
dimiternjamespage, wow :)14:58
dimiternjamespage, is there something juju can do for these short-term?14:58
jamespagedimitern, not really - its an accidental feature that we took away last cycle ...14:59
jamespagedimitern, but it does highlight what things people do14:59
jamespagedimitern, I've categorically never ever deployed an HA solution in that way14:59
jamespagebut apparently some people do14:59
rick_h_deryck: ! dude15:01
deryckHi rick_h_!15:01
dimiternjamespage, I'll have a closer look for educational purposes then :)15:01
jamespagedimitern, sounds like a good idea15:02
gnuoyjamespage, approved15:04
jamespagegnuoy, thanks!15:08
lazyPowermbruzek: whit:  https://pythonhosted.org/charmhelpers/api/charmhelpers.payload.html  -- docs on teh execd pattern in charmhelpers15:43
lazyPowerdannf: landed your arm64 update to mongodb. Thanks for the patience on this one - looks really good, i like the pattern you used to do this too15:53
dannflazyPower: ack, thx!15:53
lazyPowerstub: ping16:00
lazyPowerLooking over your merge against precise postgres charm - does this warrant additional action against the trusty charm as well when accepted for precise? https://code.launchpad.net/~stub/charms/precise/postgresql/manual-replication/+merge/24055616:01
lazyPoweror is this scoped strictly to precise16:02
alexis_hello everyone16:15
lazyPowerbtw mbruzek i landed those arm64 changes. Make sure you sync with master if/when the review you're working on is ready.16:15
lazyPowero/ alexis_16:15
alexis_hello how are you16:16
mbruzeklazyPower: the mongodb tests fail for me.16:16
jcastrolazyPower, can you check this  pls? https://github.com/juju-solutions/juju-solutions.github.io/pull/2116:16
lazyPowerjcastro: need it merged or just asking if it looks right? cuz +116:16
jcastroI didn't want to merge it because I wrote it16:17
jcastroThat's just nice manners right? But yeah, merge pls.16:17
lazyPowerdone16:17
lazyPower:)16:17
lazyPowermwak: I'm still a bit confused on the diagnosis of whats wrong. but based on the last pm - you need to restart all the hadoop services and ar easking how to do so?16:28
lazyPowercory_fu: ^16:29
lazyPowercan you help mwak triage some port binding and service management in the apache hadoop charm16:29
mwaklazyPower: at the moment I have16:29
mwak: running the terasort.sh give me the following output16:29
mwakubuntu@onlinelabs-d2d614b9ffa944a5bfd0731c3e3bf18d:~$ /usr/local/hadoop/terasort.sh16:29
mwakrm: `in_dir': No such file or directory16:30
mwak15/01/13 16:18:36 INFO client.RMProxy: Connecting to ResourceManager at /10.1.8.72:803216:30
mwak15/01/13 16:18:38 INFO ipc.Client: Retrying connect to server: onlinelabs-d2d614b9ffa944a5bfd0731c3e3bf18d/10.1.8.72:8032. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)16:30
mwakubuntu@onlinelabs-d2d614b9ffa944a5bfd0731c3e3bf18d:~$ lsof -i  | grep 803216:30
mwakjava    8997 ubuntu  183u  IPv6  13866      0t0  TCP localhost:8032 (LISTEN)16:30
mwakIt looks like there is a bind problem16:30
mwakcurl localhost:8032 -> ok | curl 10.1.8.72:8032 -> refused16:31
lazyPowermwak: yeah, seems like its bound to local and not the interface16:34
lazyPowermwak: that should be defined in site.xml16:34
lazyPoweror core-site.xml16:34
mwakin core-site i have16:34
mwak    <value>hdfs://10.1.8.72:9000</value>16:34
=== roadmr is now known as roadmr_afk
mwakWhat should I do to bind on the 10.1.8.72 instead 127.0.0.116:35
mwak?16:35
mwakwhich file to edit16:35
cory_fuyarn-site.xml16:35
jcastrolazyPower, I get this http://pastebin.ubuntu.com/9731838/16:35
cory_fuLooking for yarn.resourcemanager.address16:36
cory_fumwak: ^16:36
lazyPowerjcastro: do you have bundler installed?16:36
lazyPowerif so, create a Gemfile in your repository and place the following in it:16:36
cory_fuThat gets populated from either `unit-get private-address` or `relation-get private-address` in the charm, neither of which should return localhost16:36
jcastrolazyPower, yeah16:37
lazyPowerhttps://gist.github.com/4ca44ea8c7251d01dadd16:37
lazyPowerthat should get jekyll and all teh required gems16:37
mwakcory_fu: the address is correct in yarn-site.xml16:37
mwak<value>10.1.8.72:8032</value>16:37
lazyPowerthen bundle exec jekyll serve16:37
mwakOo16:37
cory_fuHrm.  Actually, now that I think about it, that's probably the wrong end of the config, there16:38
jcastrolazyPower, I get "could not locate Gemfile", but also github isn't generating the page either16:38
lazyPowerjcastro: let me pull the repo and see whats up, 1 sec.16:38
lazyPowerthis may be environment vs configuration16:38
mwakcory_fu: hum ok..16:39
cory_fumwak: Still looking...16:39
jcastrolazyPower, afaict I've followed every instruction exactly.16:39
mwakcory_fu: FYI all value in yarn-site.xml are binded16:40
mwakto localhost and not private ip16:40
lazyPowerjcastro: i've got all kinds of jekyll errors spewing at me atm when i pull wahts in master16:40
cory_fumwak: Wait, what?  I thought you said it had the non-localhost IP address?16:40
mwaksec16:41
mwakwill paste the file16:41
cory_fuOk16:41
mwakhttp://pastebin.com/6yB2MnWt16:41
lazyPowerjcastro: i know why its not generating16:41
lazyPowerthe post layout expects there to be a date16:41
lazyPoweryou need to frontload this with all the data points you would have in a normal blog post16:42
jcastrofor post, not pages though right?16:42
lazyPowerthe layout:post is whats telling jekyll waht to load and parse this page content file as16:42
mwakcory_fu: http://pastebin.com/tnK9rsRw16:42
lazyPower2 options - add the data points to make this like a blog post so it satisfies the liquid variables, or add a layout that strips those variables it wants.16:42
stublazyPower: The PostgreSQL precise and trusty branches are identical, so I'll get them in sync later.16:42
lazyPowerstub: 10-4, thanks for confirmation16:43
cory_fumwak: That seems correct.  Not sure why it would have bound to localhost, then16:43
stublazyPower: Thanks for the review :)16:43
jcastrolazyPower, could I use "default" for the post layout instead of post?16:43
lazyPowerjcastro: i added a date and it worked as expected16:44
mwakcory_fu: to restart the master what should I do? run the stop-all.sh / start-all.sh scripts?16:44
jcastrolazyPower, I changed it to "default" and it works now as expected16:44
jcastrolazyPower, thanks for the help16:44
lazyPowernp16:44
jcastrohttp://blog.juju.solutions/containers.html16:45
jcastroblam, instant generation16:45
jcastronow to fix the content ...16:46
TheFezzerhey there lazypower, if you’re into reviewing charms, can I show you one?16:46
cory_fumwak: I imagine that would work, though the charm uses, e.g., su yarn -c '/usr/lib/hadoop/hadoop-2.4.1/sbin/yarn-daemon.sh --config /etc/hadoop/conf.juju stop resourcemanager'16:46
lazyPowerTheFezzer: is it in the queue? :) we have several in here that have waited their turn to get reviewed.16:47
adalbashi! i'm trying to write charms using the python charmhelpers. When I ran "charm create -t python mycharm", i got a different structure than expected (no hooks.py, no cham-helpers.yaml). Does anyone have the same problem?16:47
jcastrowhit, do you have any kubernetes information I could add to this page?16:47
lazyPoweradalbas: proibably looking for python-basic16:47
TheFezzeruhh, i’m not sure I can really do that sort of stuff without a sign-off from Legal. Oracle has /claws/.16:47
lazyPoweradalbas: the charm create -t python generates a services framework charm.16:47
whitjcastro, looking16:47
lazyPowerTheFezzer: lets take this out of band, if you're working on ISV work we can work something out for you to get regular charm reviews as a partner until its in the queue.16:48
adalbaslazyPower, so i should use charm create -t python-basic instead, is that it?16:48
lazyPowers/queue/store/16:48
lazyPoweradalbas: give that a go and see if thats what you're looking for.16:48
adalbaslazyPower, thanks!16:48
jcastrolazyPower, unless anyone objects I'm not going to PR work on the team blog, too heavyweight for now, leave that for the posts themselves I figure.16:49
lazyPowerjcastro: i'm not sure what you're telling me - pr work? OH you mean github pull request? i think we're ok with that for now as you work on those topic pages.16:50
lazyPowerbut i defer to the team, as there's several of us involved in that.16:50
TheFezzerYa, I just really want a once-over aka sanity check16:50
TheFezzernot any sort of serious review16:51
whitjcastro, we could add some links I guess, let me get those16:51
whitjcastro, https://github.com/kapilt/bundle-kubernetes16:55
whitjcastro, that will be the main entry point16:55
whitjcastro, should be good to start with16:57
jcastrota16:57
jcastrohttp://blog.juju.solutions/containers.html17:00
jcastrook, now we're cooking!17:00
lazyPoweraww yeee17:00
lazyPowerjcastro: might want to link to the docker charm docs as well...17:00
lazyPowerhttp://chuckbutler.github.io/docker-charm/17:00
jcastroyeah, after lunch17:00
jcastrota17:00
jcastro<--- lunch17:00
=== roadmr_afk is now known as roadmr
* marcoceppi lunchy lunch lunch17:04
mwakcory_fu: don't understand why, but after restart it is the same17:05
mwakthe wrong interface is bind17:05
cory_fumwak: Strange.  I'm deploying it now to see if I get the same results, though on aws instead of onlinelabs17:33
mwakalright17:34
mwakfyi if i bind on 0.0.0.0 it works17:34
mwakoO17:34
mwakall interfaces are listening17:34
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
captineevening all.  just started playing with juju on my local machine (desktop) and wanting to know if there is a way to allow other machines on my network to connect to the juju services? I see the juju containers get their own IP address which is different to that of my lan.18:00
captinesome pointers would be much appreciated.18:00
TheFezzerI found that the sshuttle instructions for OSX.9 were good18:06
TheFezzerbut the ones for X.10 were better18:06
TheFezzeralso welcome to the club :)18:06
lazyPowercaptine: i have a write up for that 1 moment18:07
captinelazyPower, that would be awesome. Thnx18:07
lazyPowercaptine: http://blog.dasroot.net/making-juju-visible-on-your-lan.html18:07
TheFezzercaptine if you do either of those, you can just use the address from juju status or from the unit panel in the gui18:07
captinethanks.  I will check it now.  I want to be able to access some of the services from outside my lan, so as long as I can do some forwarding from the router, it will be perfect.18:08
TheFezzernice doc18:08
TheFezzer:D18:09
lazyPowerTa :)18:09
cory_fumwak: Sorry it took so long, but it finally finished deploying.  On AWS, everything seems to have bound correctly: http://pastebin.ubuntu.com/9733248/18:21
cory_fumwak: Also confirmed that the terasort.sh worked.  Let me pastebin the exact deploy steps I used18:27
mgarzaRegarding MariaDB or MySQL charms is it possible for another charm to create multiple databases without using the db-admin relation?18:27
cory_fumwak: http://pastebin.ubuntu.com/9733381/18:29
lazyPowermgarza: you'd need to use the db-admin relationship18:29
lazyPowermgarza: the defaults for the db relationship assume a single db per service that is related18:30
whithey marcoceppi for backporting commits from the trusty version of a prescise charm (w/no tests), what's the procedure wrt review?18:30
lazyPowermgarza: it sounds like a possible reason to add another relationship if you want to do an exchange cycle of what the app needs. i'd like to see that chatter back and forth before anything was merged - but i'm def. interested in your take on how it should work.18:30
marcoceppiwhit: open a merge from trusty version to precise18:30
whitmarcoceppi, thinking of https://code.launchpad.net/~niedbalski/charms/precise/mysql/precise-syncup/+merge/24443618:30
whitmarcoceppi, that's been done, I'm asking what I should do re reviewing18:31
whitautomated test failure is a AWS hiccup18:31
marcoceppiwhit: I'll kick off another test, but that's about it, it's just a normal review. Really just make sure it deploys and works on precise18:32
whitmarcoceppi, thanks18:33
whitwill do18:34
mgarzalazyPower: Thanks I just wanted to make sure18:35
lazyPowernp18:35
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
cory_fumwak: I can't get onlinelabs to bootstrap, though, so I can't test it there.  :/  (Getting prompted for root password, despite having added my juju ssh key via the website.  Tips appreciated.)18:43
lazyPowercory_fu: you should add your personal id_rsa - as thats what its using to connect for the intial bootstrap18:48
lazyPower*id_rsa.pub18:48
captinehi lazyPower.  I already had some juju instances and have tried following some articles on cleaning my local juju and redoing it, but keep getting the following "ERROR there was an issue examining the environment: cannot use 37017 as state port, already in use"18:49
captinewhen trying to bootstrap again18:49
mwakcory_fu: gimme a sec18:49
lazyPowercaptine: interesting - are you running something on port 37017?18:50
lazyPowercaptine: if not, it sounds like there may be a stale api-server around, and can you show me a pastebin of the output from initctl --list | grep juju18:51
lazyPowersorry, no double tack on the list command:  initctl list | grep juju18:51
captineno idea.18:52
captinei also see my eth0 dissappeared... only have wireless now..  lol.  fun learning18:52
joserick_h_: ping18:52
captinenothing shows18:53
captinejust blank18:53
marcoceppicaptine: it sounds like you deleted the upstart job before stoping it18:55
captinemmm.  not sure i follow (am just a simple accountant playing around :))18:56
marcoceppicaptine: if you do a `ps -aef | grep juju`18:56
marcoceppiyou should see 0 results18:56
marcoceppibut you'll probably see a jujud and a mongod running18:56
captinei see it is running18:56
captinedo i do a killall -9 or something?18:56
marcoceppicaptine: kill those processes18:56
marcoceppijust a kill on each process id (the second colum) is sufficient18:57
captinei type "sudo kill xxxx" where xxx is the id.  after doing it for each, the ps - aef shows more processes with different id's.  Like it is respawning or something18:59
lazyPowerwell thats fun... we're playing chase the pid huh?19:00
sarnoldpkill can help obliterate lots of pids :)19:00
lazyPowersarnold: why do i never think of this in the hot seat? good insight.19:01
captineyip19:01
captinecannot type fase enough19:01
captinelol.  pkill didnt help, unless there is an option i should use19:02
captinewould they start up after rebooting?19:03
captineI can try that19:03
lazyPowercaptine: that might resolve it but i know that hjistorically we placed upstart jobs for the containers19:04
lazyPowerit also appears some of the upstart dependency concerns have moved as well19:04
lazyPowerwe should see jujud in the listing from initctl19:04
lazyPoweror we used to19:04
captine:)19:04
captinechange and progress... keeps it interesting19:04
lazyPowerahhh ok19:04
lazyPowerif you sudo, those tasks should show up19:05
lazyPowersudo initctl list19:05
lazyPoweralso - i re-read the scrollback and know whats going on19:05
lazyPoweryou did those bridge instructions on a running environment didnt you?19:05
* lazyPower makes a note to circle back and add that in huge warning text19:05
captinesudo works19:06
lazyPowerok, can you sudo service juju-db-<name>-local stop and run the same on the agent?19:06
captinelazyPower, about the running environment... yip, think i did19:06
lazyPowerthat should stop the pids from spawning like crazy19:07
lazyPowerand then we can go back and triage the environment19:07
lazyPoweras right now, its in a very inconsistent state19:07
lazyPowerits using lxcbr0 to communicate according to the jenv, but if you wiped that .jenv file - those lxc containers are still running and panicking that they cannot communicate with the state server19:07
lazyPowerso we'll need to start from scratch19:08
lazyPowerif there's any data you have in those containers - we can attach and preserve that info before wiping them - if its all inconsequential stuff all the better that we can have zero concern about whats in those lxc containers19:08
captinena19:09
captinei was just playing with them19:09
lazyPowerok19:09
captineno data to save19:09
lazyPowerso lets confirm we have the processes stopped of jujud19:09
captinei couldnt stop the one service "juju-agent-$USER-local start/running, process 7472"19:11
captineusing the sudo service ... stop, it says it is unrecognized... and I copy pasted it from the service listing19:11
lazyPowerok19:11
lazyPowerso we have a runaway process... can you pkill the zygote in psaux to ensure its been nuked with fire?19:12
lazyPowersarnold: does that sound legit? ^19:12
captinejuju bootstrap is running now though19:12
captineso lets see19:12
captine:)19:12
lazyPowercaptine: can you pastebin me the output of sudo lxc ls --fancy?19:12
lazyPowercaptine: i want to see what lxc containers are left around from that old deployment so we can clean those up as well19:13
captinelxc: command not found19:13
sarnoldlazyPower: the best part about pkill is that you can use e.g. pkill -u sarnold to kill all the processes from one uid.. I suspect it's still racy, but running it a few times might do the job19:14
lazyPowersarnold: you probably dont want to pkill everything as the user you're logged in as19:15
lazyPoweri can see that being the cause of nuking your current session19:15
lazyPowercaptine: sudo lxc-ls - my brain is failing me hard core today on commands19:16
lazyPowercaptine: so to confirm, its sudo lxc-ls --fancy19:16
sarnoldlazyPower: oh, sure, but it works also for e.g. juju :)19:16
jrwrenagent-state-info: 'cannot run instances: gomaasapi: got error back from server: 409 CONFLICT (No node available.)'    how do I trigger a retry?19:18
captinehttp://slexy.org/view/s202HrnQ3K19:18
lazyPowerjrwren: re-run the bundle deployment19:18
lazyPowerjuju-deployer should pick up where it left off19:18
jrwrenlazyPower: *sigh* *grumble*  *ugh*   :p19:19
lazyPowercaptine: ok, see all those -local-machine-# containers that are stopped?19:19
captinelazyPower, do you work for Canonical?  how you guys all remember this stuff is beyond me19:19
captinei think so19:19
captineit says stopped19:19
jrwrenjuju-deployer does some magic more than just issuing another deploy command?19:19
lazyPowercaptine: you'll want to sudo lxc-destroy --name $name, the juju-$series-lxc-template containers can be left as is - they are used as clones to build the service containers.19:19
lazyPowerjrwren: i dont know ;)19:20
lazyPowerjrwren: use deployer though19:20
captinethanks a mil.19:20
captinewill do so19:20
jrwrenlazyPower: *grumble*19:20
lazyPowerjrwren: <319:23
lazyPowercaptine: no problem, let me know if you run into any further blockers, and thanks a bunch for circling back that there was an issue - and i need to up date that guide :)19:24
captinethanks for the guide.19:27
dalek57do the juju charmhelpers provide a way to execute bash? I'm just doing subprocess.Popen right now. I'm not finding it in the docs19:32
dalek57I'm trying to install rvm19:32
jrwrendalek57: charmhelpers.core has liberal use of subprocess.check_call and subprocess.check_output, which are a bit easier than Popen, if you can get away with using them instead.19:35
dalek57jrwren: well, I have a shell script for installing rvm saved in the charm directory, and I'd like to run it. If I were just doing this as a bash script, I could just do $CHARM_DIR/helpers/install_rvm.sh. Is there a best practice for doing this in python?19:39
jrwrendalek57: I'm guessing call_check is what you want. the differences are what is captures as return values in python.19:40
jrwrenor maybe just subprocess.call()19:40
lazyPoweryeah subprocess is the successor to Popen and family19:46
lazyPowerdalek57: what jrwren outlined is what i would do. subprocess.call(['scripts','rvm_install.sh'])19:46
marcoceppior translate the rvm_install.sh script to python19:52
jrwrenor don't use rvm and package the ruby version you want for ubuntu.19:56
marcoceppiexcept the ruby version in ubuntu is not the best19:57
jrwrenall the more reason to make it better.19:59
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
rick_h_jose: pong, what's up?20:10
joserick_h_: hey! would it be a problem if I push a new docs folder for ES translated ones?20:10
joseor would it be preferred to not do it yet?20:10
rick_h_jose: hmm, so we're working on a deployment today/tomorrow that will udpate our docs loading20:11
rick_h_If you had a change what would be great would be if you had that change in a fork20:11
rick_h_jose: and then email us, we'd setup a QA to make sure that your fork worked and upgraded fine from where we're awt now20:11
rick_h_jose: and fix any bugs on our end20:12
rick_h_jose: and then once we're ready/sure it'll be fine merge your forked branch of the docs into trunk20:12
marcoceppijose rick_h_ is there any build process for other languages?20:12
rick_h_marcoceppi: no, right now we just follow what you all were doing to build20:12
rick_h_marcoceppi: so that's what I want to see, what's in the changes jose is speaking of20:12
joserick_h_: sure - I don't have direct push access. I guess I'll start translating today and will let you know once the branchis ready20:12
marcoceppirick_h_: so you're pulling from github or from the bzr branch?20:12
rick_h_marcoceppi: from github20:12
joseso, in the docs there is an en folder, I'd like to create an es one so I can translate the docs into Spanish20:13
rick_h_marcoceppi: so if the org/structure of that process changes we need a heads up to make sure we're ready to follow the change20:13
joseif that's not supported I'll hold my horses20:13
marcoceppijose: it'll be ignored by the build process20:13
rick_h_jose: well fork the docs and do what you will and we'll work on a path to make sure things work and get pulled together20:13
rick_h_jose: there's no reason not to start the work and we appreciate the heads up.20:13
joseok, cool20:13
marcoceppijose rick_h_ we want to do two additional things and this just reminded me that there's two build processes now20:13
josethanks20:14
rick_h_marcoceppi: ok, we talked witht he web team to get docs redirected by the end of the week to jujucharms.com/docs20:14
rick_h_marcoceppi: so yea, if we've got changes we need to know and sync up.20:14
marcoceppirick_h_: we want to create branches for releases of juju so we can tie docs to versions20:14
=== roadmr is now known as roadmr_afk
marcoceppirick_h_: let me knwo when is a good time to talk about that, it's a git change which won't effect master20:15
marcoceppibut something we'd like to do20:15
marcoceppirick_h_: I'd like to talk to you about possibilties before chit chatting on the list20:15
marcoceppior we can do vice versa20:15
rick_h_marcoceppi: sure thing, can we setup a call tomorrow?20:16
marcoceppirick_h_: yeah, sounds good20:16
* rick_h_ is out of the office working from the car dealer atm20:16
rick_h_marcoceppi: either over lunch or after your standup work best?20:17
marcoceppirick_h_: either works20:17
rick_h_marcoceppi: ok, sent. let me know if there's anyone else we should invite (nick?)20:18
marcoceppirick_h_: probably, we've chatted about this multiple times, but it wouldn't hurt20:26
rick_h_marcoceppi: ok added20:26
marcoceppirick_h_: this would just be a "is this possible, how would this look" once that's figured out I'll mail the list with the intentions for feedback and go from there20:27
rick_h_marcoceppi: sure thing20:27
rick_h_we've thought about and made sure it's possible20:27
rick_h_marcoceppi: so just have to get down to it20:27
=== kadams54 is now known as kadams54-away
=== roadmr_afk is now known as roadmr
=== kadams54-away is now known as kadams54
=== whit_ is now known as Guest64142
=== Guest64142 is now known as whit
dalek57Why might subprocess.check_call(("./helpers/rvm.sh && source /etc/profile.d/rvm.sh && rvm install ruby-"+ruby_version).split(), shell=True) create a zombie process, and never complete the installation?21:38
dalek57rvm is installed, but it doesn't get ruby-2.1.3, and when I juju ssh, I'm told that there is 1 zombie process21:40
lazyPowerdalek57: are you su'ing or re-initializing the shell?21:41
lazyPowerdalek57: sounds to me like you restarted teh shell and that caused it to tank leaving a zombie process21:41
dalek57lazyPower: does `source` do that?21:42
lazyPowerdepends on what you're sourcing21:42
lazyPowercehck the file you're sourcing and make sure it isn't reinitializing the shell. i do beleive that rvm does that21:42
lazyPowerits fairly heinous like that.21:42
dalek57yeah, ok. Well, when I run the command when I'm sshed in, it completes fine21:43
dalek57would I see side effects of it reinitializing the shell?21:43
lazyPowerthing is, when you're ssh'd in youre in a shell21:44
lazyPowerwhen you reinitialize the shell in subprocess - you're not in a login shell you're in a thread nested inside the python process thats running21:44
lazyPowerso when you reinitialize teh shell, that thread goes away21:44
lazyPowerargh, netsplits :(21:45
sebas5384hey!! somebody had this error before? https://gist.github.com/anonymous/0a88537322e6b4daa51621:57
lazyPowero/ seal22:06
lazyPowerer22:06
sealhi all22:06
lazyPowersorry seal, netsplits are driving me batty with mistargeting people when trying to reply22:07
lazyPowersebas5384: o/22:07
lazyPowersebas5384: where did that error origniate? is that coming from your debug-log?22:07
lazyPowerdalek57: wb - did you get any of my response?22:07
sealIs there a way to test the current hook being executed? I have tried if [[ $JUJU_HOOK_NAME == 'config-joined' ]]; then ... fi but this works within debug but fails when running22:08
lazyPowerI may be wrong, but i think that only gets exported during debug sessions - but marcoceppi may say i'm incorrect. A way to find out seal would be to dump your env at the beginning of the hook for inspection.22:09
sealmmm22:10
sealI ask since I am extending the jenkins / jenkins-slave within the hook/install.d/* and I need to execute base on the current hook22:11
sealI will try the env dump22:11
=== kadams54 is now known as kadams54-away
marcoceppiseal: it's possible22:12
marcoceppiseal: but it's done by getting the basename of argv22:14
sealah I see22:14
marcoceppiseal: so, basename $0 should give you hook name22:14
sealthanks22:14
sealwill try that22:14
marcoceppinp, that's how it's done in the Python Charm Helpers22:15
marcoceppiseal lazyPower: for references: http://bazaar.launchpad.net/~charm-helpers/charm-helpers/devel/view/head:/charmhelpers/core/hookenv.py#L16022:15
lazyPowermarcoceppi: Gracias. i forgot all about that.22:16
* marcoceppi intensifies hat tipping22:16
sealmarcoceppi: great tip22:17
sebas5384lazyPower: hey! :)22:18
sebas5384lazyPower: in the Drupal charm22:18
sebas5384from nothing ¬¬22:18
lazyPowersebas5384: that tls error has to be coming from something... its either failing to handshake with the state server or something weird is going on in the env.22:18
sebas5384yeah maybe is something like a timeout22:19
sebas5384i'm in an instable internet right now22:19
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
dalek57lazyPower: I'm getting strange behavior out of subprocess, and thought you might have more insight. subprocess.check_call('ls') returns a folder called ruby-install-0.5.0, but when I execute subprocess.check_call('cd ruby-install-0.5.0 && make install'), I get "no such file or directory"23:13
dalek57I ran the command on the machine manually, and the make install doesn't error out23:13
sarnoldtry make -C ruby-install-0.5.0 install instead23:13
lazyPower^23:13
sarnoldthat avoids the use of the shell built-in 'cd', feels more likely to succeed to me23:14
=== kadams54 is now known as kadams54-away
lifelessor23:14
lifelesssubprocess.check_call('make install', cwd='ruby-install-0.5.0')23:15
lifelessIIRC23:15
sarnoldooo23:15
sarnoldyeah that feels even more likely to work :)23:16
lifelessyou could set shell=True, but honestly, eewwwww.23:16
dalek57sarnold: Thanks!23:24
sarnolddalek57: check out lifeless's suggestion for cwd= -- it more closely replicates what you were doing with cd ... && make ...23:24

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