Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-09-28

| Channels | #salt index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:05 CaptinHokk joined #salt
00:12 jslatts joined #salt
00:13 Katafalkas joined #salt
00:21 bhosmer joined #salt
00:23 mapu joined #salt
00:34 oz_akan joined #salt
00:34 btorch joined #salt
00:35 kingel joined #salt
00:45 oz_akan joined #salt
00:47 xdrone joined #salt
00:47 CaptinHokk joined #salt
00:49 xdrone left #salt
01:06 mechanicalduck_ joined #salt
01:07 midacts joined #salt
01:10 mgw joined #salt
01:10 ramishra joined #salt
01:14 aparsons joined #salt
01:21 midacts left #salt
01:29 tkharju joined #salt
01:30 younqcass_ joined #salt
01:32 aparsons joined #salt
01:36 scuwolf joined #salt
01:39 oz_akan joined #salt
01:50 aparsons joined #salt
01:50 oz_akan joined #salt
01:59 perfectsine joined #salt
02:06 laxity joined #salt
02:09 bhosmer joined #salt
02:10 ramishra joined #salt
02:13 aparsons joined #salt
02:14 otter768 joined #salt
02:18 aparsons joined #salt
02:24 kingel joined #salt
02:25 TyrfingMjolnir joined #salt
02:58 mrlesmithjr joined #salt
03:04 mrlesmithjr joined #salt
03:08 oz_akan joined #salt
03:14 DaveQB joined #salt
03:17 thayne joined #salt
03:18 dccc joined #salt
03:21 baniir joined #salt
03:24 bezeee joined #salt
03:25 DaveQB joined #salt
03:37 elfixit joined #salt
03:41 jasonrm joined #salt
03:46 Sway joined #salt
03:58 bhosmer joined #salt
04:09 oz_akan joined #salt
04:12 kingel joined #salt
04:15 TheThing joined #salt
04:35 mrlesmithjr joined #salt
04:36 jrockjiggz joined #salt
04:39 glyf joined #salt
04:42 jasonrm joined #salt
04:51 vukcrni joined #salt
04:52 jasonrm joined #salt
05:09 ajolo joined #salt
05:10 oz_akan joined #salt
05:11 ajolo_ joined #salt
05:13 kingel joined #salt
05:14 jeremyBass joined #salt
05:21 jasonrm joined #salt
05:24 linjan joined #salt
05:27 askhan joined #salt
05:36 aurynn left #salt
05:43 catpiggest joined #salt
05:47 bhosmer joined #salt
05:55 jeddi joined #salt
06:01 bhosmer joined #salt
06:10 oz_akan joined #salt
06:14 kingel joined #salt
06:14 grove_ joined #salt
06:40 jasonrm joined #salt
06:49 semarie joined #salt
07:01 Sweetshark joined #salt
07:06 blackhelmet joined #salt
07:11 oz_akan joined #salt
07:31 Katafalkas joined #salt
07:36 martoss joined #salt
07:36 bhosmer joined #salt
07:44 kivihtin joined #salt
08:03 kingel joined #salt
08:14 oz_akan_ joined #salt
08:36 kingel joined #salt
08:54 ravenac95 joined #salt
08:58 Katafalkas joined #salt
09:01 ndrei joined #salt
09:14 oz_akan joined #salt
09:23 Katafalkas joined #salt
09:23 SpX joined #salt
09:25 bhosmer joined #salt
09:35 ITChap joined #salt
09:41 viq MTecknology: babilen: yes, I've been a bad boy, and haven't touched that formula in ages... And don't have that much motivation to, as the box at work on which it runs has debian, and thus no easy way to get required version of ruby :(
09:49 tld_wrk joined #salt
10:05 CeBe joined #salt
10:11 Katafalk_ joined #salt
10:12 semarie hi, does it possible to use a pillar in masterless configuration ? (file_client: local)
10:13 semarie I have configured the minion with pillar_roots (and file_roots of course)
10:13 semarie but salt-call pillar.items is empty (modulo pillars_opts)
10:14 semarie with "-l debug", I saw the pillar is processed (without error), the result is empty
10:15 oz_akan joined #salt
10:15 snuffeluffegus joined #salt
10:17 dalexander joined #salt
10:26 babilen semarie: It is possible, yes.
10:28 semarie babilen: so it don't seems to work here (OpenBSD salt version 2014.1.11)
10:29 babilen semarie: Please paste your your minion configuration, the content of /srv/, the pillars top.sls and every referenced pillar (feel free to redact personal information). Also run "salt '*' saltutil.refresh_pillars" and the output of "salt '*' pillar.items". It would certainly help if you could run the master in debug mode (stop the service, run "salt-master -ldebug") if you could include the relevant parts of the output. Use a sane pastebin such as ...
10:29 babilen ... http://refheap.com please.
10:29 babilen (no idea about OpenBSD, but not sure if that should make a difference)
10:30 jalaziz joined #salt
10:30 semarie babilen: ok I prepare all of that. thanks.
10:32 scalability-junk joined #salt
10:34 Katafalkas joined #salt
10:37 semarie babilen: I run salt in masterless: so I use salt-call instead of salt for run commands. does it make a difference ?
10:38 babilen No, that's fine.
10:38 the_drow joined #salt
10:38 babilen Sorry, I should have been aware of that.
10:39 bhosmer joined #salt
10:40 kingel joined #salt
10:42 intellix joined #salt
10:44 glyf joined #salt
10:53 the_drow does anyone know why lincolen loop discontinued salmon?
11:05 babilen .oO( I know some of those words )
11:07 babilen semarie: Any progress?
11:11 ggoZ joined #salt
11:13 glyf joined #salt
11:13 bhosmer_ joined #salt
11:16 Daviey joined #salt
11:16 oz_akan joined #salt
11:18 yomilk joined #salt
11:21 dalexander joined #salt
11:31 martoss joined #salt
11:38 Katafalkas joined #salt
11:40 kingel joined #salt
11:42 semarie babilen: I was at lunch :) I prepare the report, thanks
11:44 mapu joined #salt
11:46 ITChap joined #salt
11:46 Katafalkas joined #salt
11:50 agend joined #salt
11:52 jslatts joined #salt
11:59 seblu joined #salt
11:59 thayne joined #salt
12:01 semarie babilen: ok the report is uploaded here: https://www.refheap.com/8513e85b01149753e1428a201
12:03 manishr joined #salt
12:04 manishr Hello Guys
12:04 Katafalkas joined #salt
12:05 manishr I am facing some difficulty in setting up NTP state.
12:05 manishr I am using two for loop inside the state and that is causing some error.
12:08 manishr What I want to check is first of all if it is redhat/centos or debian/ubuntu then  there is separate config file and if the os is redhat/centos then salt will check the ip all send different config file to server and all the clients
12:08 manishr Can somebody please help?
12:09 manishr_ joined #salt
12:16 masm joined #salt
12:17 oz_akan joined #salt
12:19 the_drow does anyone know how to mock a vpc object using moto? I'm writing the VPC module
12:22 dalexander joined #salt
12:28 devx joined #salt
12:38 devx joined #salt
12:41 kingel joined #salt
13:02 bhosmer_ joined #salt
13:05 the_drow can someone help me with the testsuite? it says moto isn't installed but it is
13:05 the_drow And yes, I installed it on the same virtualenv salt is running the tests on
13:05 mrlesmithjr joined #salt
13:12 tld_wrk joined #salt
13:13 acabrera joined #salt
13:13 the_drow I can't debug the salt testsuite using pycharm :/ has anyone ever tried developing a module for salt ad tried debugging with pycharm?
13:17 ndrei joined #salt
13:18 dalexander joined #salt
13:19 tld_wrk joined #salt
13:21 arnab joined #salt
13:21 the_drow basepi: ping me if u have a sec
13:21 arnab hi, i am looking for docs for installing salt on gce. Also videos for beginners to understand the salt architecture. I am trying to set it up on debian
13:23 the_drow arnab: if you are a beginner try installing it on vagrant first to understand the basics
13:25 babilen arnab: Here's a vagrant/docker setup that you can use for testing: https://gist.github.com/babilen/e9479fdfbcca431db208
13:26 arnab hey thanks, i ll give it a go.
13:27 babilen I'd recommend to read http://docs.saltstack.com/en/latest/topics/tutorials/index.html (that's more or less the entire tutorial block of the documentation)
13:27 babilen Feel free to ask whenever you have questions, but its simply a bit tough to explain everything on IRC :)
13:27 arnab oh sure, yeah thnks babilen
13:28 semarie babilen: I upload the description of my pillar problem. it is here: https://www.refheap.com/8513e85b01149753e1428a201
13:31 babilen semarie: Ah, yeah. I've been out and about and only just came back.
13:31 babilen I'm not sure, but it looks as if the pillar is indeed correctly rendered. Give me one second please.
13:33 semarie there is no error, the files are readed and processed correctly (OrderedDict seems ok), but I haven't pillar['hello'] defined...
13:34 babilen arnab: You'd have to use "vagrant up --provider=docker --no-parallel" to start those vagrant boxes btw.
13:34 babilen semarie: exactly, let me reproduce it here
13:35 mechanicalduck joined #salt
13:36 babilen Your pillar is fine, must be due to your paths, being on .11 or OpenBSD
13:37 arnab alright let me try it... i am kind of new to vagrant as well actually
13:37 arnab just used it a couple of times
13:38 babilen arnab: You can test it in whatever way you want. It's just nice to be able to quickly fire up boxes for testing. In fact let me paste another Vagrantfile that defines only one box with master and minion (which is more than sufficient for testing)
13:39 kaictl joined #salt
13:41 AviMarcus joined #salt
13:41 babilen arnab: https://www.refheap.com/90826
13:42 babilen semarie: I don't see it, sorry.
13:42 arnab babilen: oh sure that will be awesome. And what are the things that I need to learn as a beginner? I want to focus more towards orchestration,provisioning of infrastructure.... and booting servers with specific softwares installed.
13:43 glyf joined #salt
13:43 semarie first test: I reduce the length of path (go to /tmp/salt instead of /home/blabla...): not better. I will try without root_dir. (the next try will be to change the salt version)
13:43 babilen I'd say that reading the tutorials and then http://docs.saltstack.com/en/latest/topics/best_practices.html and http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html will give you a pretty good idea how you write idiomatic salt. For orchestration/provisioning you'd have to look into documentation specific for your hosting platform, but I'd say get a feeling for the "basics" first.
13:45 babilen semarie: Unfortunately you use much newer versions of most libraries than what I have on Debian wheezy here so there are simply too many differences to be able to point out a single one. :-/
13:46 babilen (let alone that I'm not running on OpenBSD)
13:46 arnab babilen: alright. Thanks for the info man, will be back when i face issues.
13:46 arnab or questions regarding something
13:47 semarie babilen: I will do some test. For now, I know my files *should* work. So just search why there don't... thanks for your help.
13:47 TheThing joined #salt
13:58 semarie babilen: under 2014.7.0-710-g7c3a137 the pillar works. I will do some bisect.
13:59 babilen semarie: Mind trying .10 ?
13:59 babilen 2014.1.10 that is
13:59 semarie no, I just git clone :)
14:00 semarie I will test 2014.1.10
14:04 semarie babilen: 2014.1.10 crash with error
14:04 babilen *sigh*
14:04 babilen What's the error?
14:05 semarie error is here: https://www.refheap.com/8fbaf302d4cd8762160e109e7
14:06 oz_akan joined #salt
14:07 babilen semarie: Could you clean /var/cache/salt and try again? (or whatever cache/tmp dir salt is using on your platform)
14:07 babilen Ah, /tmp/salt it would appear
14:09 semarie not better (/tmp/salt/var/cache exactly)
14:09 babilen And that happens if you run "salt --versions-report" after installing/switching to 2014.1.10 ?
14:09 babilen s/salt/salt-call/
14:10 semarie the report was badly constructed: the 10 first line are salt-call --versions-report, and next salt-call pillar.items -c ...
14:10 babilen It looks as if you have a mix of salt versions at the moment
14:11 semarie hum... perhaps. I have uninstalled the salt version that come from the system
14:14 semarie I uninstall salt. And rerun my test script (rm -rf cache+log and PYTHONPATH=/tmp/salt/salt-repo python2.7 /tmp/salt/salt-repo/scripts/salt-call pillar.items -c /tmp/salt/etc/salt)
14:14 semarie not better: same errors.
14:14 semarie in the backtrace, I only found /tmp/salt/salt-repo (my git repo), as before.
14:16 semarie with -l debug, I have "[DEBUG   ] Unloading None.<function run_query at 0x1495af9107d0> because dependency (cx_Oracle) is not imported" just before errors
14:18 dalexander joined #salt
14:23 aquinas joined #salt
14:26 ckao joined #salt
14:27 kingel joined #salt
14:28 aquinas_ joined #salt
14:29 jonatas_oliveira joined #salt
14:35 tld_wrk joined #salt
14:40 jonatas_oliveira joined #salt
14:41 ninkotech joined #salt
14:50 elfixit joined #salt
14:50 thayne joined #salt
14:51 bhosmer_ joined #salt
14:52 jrockjiggz joined #salt
14:55 semarie babilen: ok I found why there is a problem: python files: pyc
14:56 semarie so I rm *.pyc in tree before run test, and now 2014.1.10 work
15:00 babilen semarie: So, does the pillar work too?
15:05 ndrei joined #salt
15:11 tld_wrk joined #salt
15:15 intellix joined #salt
15:20 dccc joined #salt
15:21 ndrei joined #salt
15:21 felskrone joined #salt
15:24 felskrone joined #salt
15:26 oz_akan joined #salt
15:35 Rockj joined #salt
15:39 sashka_ua joined #salt
15:42 laxity joined #salt
15:43 MTecknology viq: It'd be nice if it just didn't use that crappy language.
15:44 semarie babilen: I was away sorry. Yes the pillar works with 2014.1.10
15:44 tld_wrk joined #salt
15:44 semarie I run bisect
15:45 cwyse_ joined #salt
15:46 babilen semarie: But not .11 ? Could you test that again and make sure that you remove all .pyc files?
15:46 otter768 joined #salt
15:46 tld_wrk joined #salt
15:48 babilen Would be a shame if .11 breaks this
15:50 semarie the pilalr under 2014.1.11 don't work
15:50 semarie s/pilalr/pillar/
15:51 semarie with bisect, the regress seems introduced by 280e1fe4500d2145d16b1d92c9f4053b78863235
15:52 semarie but I have to comment line 21: "from salt.utils.serializers.yamlex import merge_recursive" (No module named serializers.yamlex)
15:54 babilen Could you report a bug about this on https://github.com/saltstack/salt/issues please? This should get fixed before .11 packages are being made available to the general public.
15:54 babilen (and thanks for the debugging)
15:56 semarie ok I will bug report it.
15:59 otter768 joined #salt
15:59 fxhp joined #salt
16:00 thedodd joined #salt
16:01 thedodd joined #salt
16:01 bezeee joined #salt
16:01 tld_wrk joined #salt
16:04 otter768 joined #salt
16:07 baniir joined #salt
16:07 thedodd left #salt
16:09 yannj joined #salt
16:14 dude051 joined #salt
16:15 kingel joined #salt
16:23 kingel joined #salt
16:25 thedodd joined #salt
16:26 olasd joined #salt
16:32 snuffeluffegus joined #salt
16:39 ek6 joined #salt
16:40 bhosmer joined #salt
16:42 ndrei joined #salt
16:44 rallytime joined #salt
16:49 felskrone joined #salt
16:49 kasey joined #salt
16:51 yakasey hey all, i noticed the link for pdf documentation is busted: https://media.readthedocs.org/pdf/salt/latest/salt.pdf
16:51 yakasey 404
16:52 manfred we no longer use readthedocs.org
16:52 babilen yakasey: docs.saltstack.com is the place to go
16:53 abele joined #salt
16:54 yakasey ahh, thanks much. does that mean pdfs are no longer generated? the link to the readthedocs pdf download actually came from http://docs.saltstack.com/en/latest/
16:55 kingel joined #salt
16:55 yakasey fwiw the epub link (also from readthedocs) still works
17:01 perfectsine joined #salt
17:07 eliasp joined #salt
17:14 kingel joined #salt
17:16 oz_akan joined #salt
17:25 totte joined #salt
17:27 CeBe joined #salt
17:34 dalexander joined #salt
17:34 aparsons joined #salt
17:35 mordonez joined #salt
17:54 perfectsine joined #salt
17:55 diegows joined #salt
17:55 yannj joined #salt
17:55 thedodd joined #salt
17:58 aparsons joined #salt
17:58 tld_wrk joined #salt
17:58 viq joined #salt
18:08 semarie babilen: for info, the pillar problem was reported https://github.com/saltstack/salt/issues/16210. Thanks a lot for your help.
18:17 oz_akan joined #salt
18:17 whiteinge joined #salt
18:24 kasey joined #salt
18:29 bhosmer joined #salt
18:43 snuffeluffegus joined #salt
18:44 thedodd joined #salt
18:48 kingel joined #salt
18:49 ajolo joined #salt
18:49 tld_wrk joined #salt
19:02 hasues joined #salt
19:02 martoss joined #salt
19:08 martoss1 joined #salt
19:11 jalaziz joined #salt
19:18 oz_akan joined #salt
19:27 perfectsine joined #salt
19:35 scryptic1 joined #salt
19:36 dalexander joined #salt
19:40 martoss joined #salt
19:43 ajolo_ joined #salt
19:48 glyf joined #salt
19:49 kingel joined #salt
19:51 pt|Zool joined #salt
19:51 pt|Zool re
20:02 modafinil__ joined #salt
20:03 CeBe joined #salt
20:06 aparsons_ joined #salt
20:17 Katafalkas joined #salt
20:18 bhosmer joined #salt
20:19 oz_akan joined #salt
20:21 oz_akan_ joined #salt
20:29 jonatas_oliveira joined #salt
20:36 dalexander joined #salt
20:37 yomilk joined #salt
20:38 peters-tx0 joined #salt
20:41 kingel joined #salt
20:44 scarcry joined #salt
20:45 CeBe1 joined #salt
20:47 ajolo_ joined #salt
20:54 Blacklite https://twitter.com/fmedery/status/515517552450347009
20:54 Blacklite ftw
20:57 mrlesmithjr joined #salt
20:58 aurynn joined #salt
20:59 yomilk joined #salt
21:14 aparsons joined #salt
21:17 kingel joined #salt
21:20 dlam joined #salt
21:20 dlam hmm is there "a proper" way to reconenct a minion to master?  i had to reboot a bunch of boxes
21:21 mgw joined #salt
21:22 oz_akan joined #salt
21:22 babilen dlam: And the service did not come up?
21:23 londo joined #salt
21:29 duncanmv_ joined #salt
21:35 dlam hmm think so, i see 'salt-minion' running
21:36 dlam they way i "test" is on master i do...    salt '*' cmd.run hostname
21:36 dlam and it dosnet print everything out on all the minions!
21:37 dalexander joined #salt
21:38 kingel joined #salt
21:39 TyrfingMjolnir joined #salt
21:47 ajolo__ joined #salt
21:50 Katafalkas joined #salt
21:52 thayne joined #salt
21:55 dcmorton joined #salt
21:56 iggy try test.ping a few times
21:56 bezeee joined #salt
22:06 bhosmer joined #salt
22:09 chase_ joined #salt
22:13 thayne joined #salt
22:14 DaveQB joined #salt
22:17 bezeee joined #salt
22:17 TheThing joined #salt
22:19 yomilk joined #salt
22:23 oz_akan joined #salt
22:28 cheus joined #salt
22:30 snuffeluffegus joined #salt
22:40 jslatts joined #salt
22:41 diegows joined #salt
22:47 ajolo joined #salt
22:50 la joined #salt
22:54 bhosmer joined #salt
22:57 Ahrotahntee what's the deal with help
22:57 Ahrotahntee he's been doing that for like 5 days straight; does he always do that?
23:01 mosen joined #salt
23:03 aparsons joined #salt
23:06 pdayton1 joined #salt
23:06 pdayton1 left #salt
23:15 pdayton1 joined #salt
23:23 oz_akan joined #salt
23:25 bezeee joined #salt
23:32 yidhra joined #salt
23:34 jslatts joined #salt
23:38 jslatts joined #salt
23:47 ajolo_ joined #salt
23:49 Outlander joined #salt
23:52 perfectsine joined #salt
23:55 bhosmer joined #salt
23:57 TyrfingMjolnir joined #salt

| Channels | #salt index | Today | | Search | Google Search | Plain-Text | summary