Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2015-02-02

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

All times shown according to UTC.

Time Nick Message
00:02 Hybrid joined #salt
00:12 pcdummy joined #salt
00:12 pcdummy joined #salt
00:12 johtso joined #salt
00:18 nethershaw joined #salt
00:25 TyrfingMjolnir joined #salt
00:32 otter768 joined #salt
00:39 twellspring joined #salt
00:41 TyrfingMjolnir joined #salt
00:44 timoguin joined #salt
00:45 yomilk joined #salt
00:56 echtish joined #salt
00:58 dooshtuRabbit joined #salt
01:01 nethershaw joined #salt
01:09 aqua^mac joined #salt
01:11 bhosmer joined #salt
01:26 z3uS| joined #salt
01:38 StDiluted joined #salt
01:39 mdupont joined #salt
01:59 yomilk joined #salt
02:05 favadi joined #salt
02:07 bfoxwell joined #salt
02:09 saltnewb joined #salt
02:11 saltnewb im having trouble using salt-ssh with the https://github.com/saltstack-formulas/salt-formula formula to install salt-minion on a minion , is that supposed to work?
02:11 saltnewb e.g getting this error: [CRITICAL] Rendering SLS 'base:salt.minion' failed: Jinja error: salt/map.jinja TemplateNotFound: salt/map.jinja
02:12 saltnewb i have added extra_filerefs=salt://salt/formulas.jinja,salt://salt/map.jinja as described in https://github.com/saltstack/salt/pull/16733
02:12 saltnewb but that doesnt seem to work, here is a paste: http://pastie.org/9879348#1-2,11
02:13 saltnewb is anyone using salt-formula to install salt-minion with salt-ssh and has it working? thanks!
02:14 bhosmer joined #salt
02:21 ckao joined #salt
02:27 viq joined #salt
02:32 cberndt joined #salt
02:33 otter768 joined #salt
02:34 tracphil joined #salt
02:36 bhosmer joined #salt
02:38 bhosmer__ joined #salt
02:40 scoates joined #salt
02:41 bhosmer joined #salt
02:56 mosen joined #salt
03:04 bhosmer joined #salt
03:11 bhosmer joined #salt
03:27 Furao joined #salt
03:33 aqua^mac joined #salt
03:39 Furao joined #salt
03:47 twellspring joined #salt
03:48 otter768 joined #salt
03:55 twellspring joined #salt
04:24 Auroch joined #salt
04:28 robawt joined #salt
04:41 ajw0100 joined #salt
04:50 jalaziz joined #salt
04:57 kermit joined #salt
05:02 clintberry joined #salt
05:05 nethershaw joined #salt
05:08 _b0rn2frag_ joined #salt
05:15 scoates_ joined #salt
05:20 GabLeRoux joined #salt
05:34 badon joined #salt
05:50 nethershaw joined #salt
05:56 vexati0n is anyone alive ?
05:56 vexati0n on 2014.7.1, as soon as I start the master the jobs cache fills with approximately 7.8 trillion jobs, slowing everything waaay down. even 'salt \* test.ping' takes like 15 seconds before anything actually returns
05:56 vexati0n what is telling salt to fire all these jobs?
05:57 sifusam joined #salt
05:57 __number5__ nope we are all dead
05:57 vexati0n very sad
06:00 vexati0n seriously though it's like the salt master is sending a test.ping to every single minion, all the time
06:05 Phibs LOL
06:05 __number5__ I haven't seen that in my 2014.7.1 environment. Is all your minions also 2014.7.1?
06:09 bretep joined #salt
06:12 mosen im alive but I dont know salt :)
06:12 mosen I've seen big delays with test.ping, but I wasnt sure if it was normal. Subsequent jobs run fast after they "wake up"
06:17 ramteid joined #salt
06:26 jalaziz joined #salt
06:26 ramteid /join #ofbiz
06:26 ramteid ups
06:28 Furao joined #salt
06:30 calvinh joined #salt
06:32 Furao joined #salt
06:41 catpiggest joined #salt
06:42 saltnewb i still have the problems I described above - ,jinja or for example .conf files not being transferred to the minion when using salt-ssh, done some testing and it works fine in my local salt-master setup which is using file_roots pointing to a local directory, the files are available in /var/cache/salt/master/files/base/ and get transferred to the minion by salt-ssh correctly
06:42 krelo joined #salt
06:42 saltnewb however when i change file_roots to use GIT, it pulls down the sls files, however NOT the .jinja files and conf files, e.g. they are missing from /var/cache/salt/master/files/base/ when I inspect there, only difference is that i use gitfs_remote instead of file_roots
06:43 nnion joined #salt
06:43 TheThing joined #salt
06:43 saltnewb the files are in the git repo, just seems like salt-master/salt-ssh is not putting the .jinja and .conf files into the local /var/cache/salt/master/files/base/
06:43 calvinh joined #salt
06:44 saltnewb what am i doing wrong?? :(
06:45 otter768 joined #salt
06:54 jalaziz joined #salt
06:54 calvinh_ joined #salt
06:55 aqua^mac joined #salt
06:58 toanju joined #salt
07:02 colttt joined #salt
07:04 desposo joined #salt
07:08 karimb joined #salt
07:10 lb1a joined #salt
07:12 mikeywaites joined #salt
07:17 Ixan joined #salt
07:18 AndreasLutro joined #salt
07:34 Ixan joined #salt
07:36 cberndt joined #salt
07:37 Auroch joined #salt
07:41 tomspur joined #salt
07:42 kawa2014 joined #salt
07:43 Furao joined #salt
07:45 KermitTheFragger joined #salt
07:51 harkx joined #salt
07:52 harkx joined #salt
07:57 badon joined #salt
07:58 trikke joined #salt
08:01 JlRd joined #salt
08:02 hebz0rl joined #salt
08:02 slafs joined #salt
08:03 slafs left #salt
08:06 ITChap joined #salt
08:07 ITChap Hi everyone
08:12 ladistwo joined #salt
08:14 eseyman joined #salt
08:18 ladistwo hello, please help me :D. I find in log this error: https://www.refheap.com/96789 My version salt-master 2014.7.0 - Release 3.el6 and salt minion 2014.7.1
08:21 Flusher joined #salt
08:21 zadock joined #salt
08:23 flyboy joined #salt
08:32 Furao joined #salt
08:38 jcsp joined #salt
08:45 Yoda-BZH joined #salt
08:45 otter768 joined #salt
08:47 jcsp joined #salt
08:52 Grokzen joined #salt
08:53 kawa2014 joined #salt
08:54 mikeywaites joined #salt
08:59 I3olle joined #salt
09:02 SheetiS1 joined #salt
09:05 calvinh joined #salt
09:06 yomilk joined #salt
09:08 hebz0rl hi is there something like policy based autosigning under salt?
09:08 calvinh_ joined #salt
09:08 markm_ joined #salt
09:09 zerthimon joined #salt
09:10 dkrae joined #salt
09:14 kawa2014 joined #salt
09:14 ptinkler joined #salt
09:16 calvinh joined #salt
09:17 xtalk joined #salt
09:18 teogop joined #salt
09:21 zerthimon Does anyone know what can be the problem when minions do not respond to a job ? When I run 'salt \* test.ping' for the fisrst time - some minions do not return, next time I ping - more minions return, and third time all of them return. Has anyone had the same situation ?
09:22 zerthimon This happens after a period of inactivity
09:22 zerthimon looks like minions go to sleep, or disconnect or whatever
09:24 ralala joined #salt
09:24 zerthimon i have all minions and the master v 2014.7.1
09:24 zerthimon any ideas anyone ?
09:25 egil zerthimon: I am experiencing the same thing, same with v 2014.7.0. I have no idea whats causing it though
09:26 zerthimon egil: glad to discover that I'm not alone in my suffer :)
09:27 egil zerthimon: yeah, me too sorta.. even though I can't be of more help :)
09:27 zerthimon I have logs at INFO level, don't see anything related
09:27 zerthimon looks like after a period of inactivity, the first command to a minion timeouts
09:28 zerthimon the subsequent command suceeds
09:29 egil I can get a response from maybe 3/6 servers, then none for a couple of runs, then maybe 4/6 for 10 times, before they all finally respond
09:29 egil I haven't found anything useful in the logs :\
09:30 N-Mi joined #salt
09:31 zerthimon I was trying to find optimal configuration with minion and master parameters in config files (reconnects, timouts, etc) same situation every time
09:32 zerthimon added a cron job on master to ping all minions every 5 minutes - it helps
09:32 zerthimon but what kind of a solution is that
09:34 egil not really a nice workaround :)
09:34 glyf joined #salt
09:35 egil I'm really not sure what the issue is, because running salt-call on the minion works fine
09:38 zerthimon yep, salt-call on the minion works fine
09:39 egil zerthimon: is your master and minions located in the same network and/or datacenter?
09:39 egil mine isn't
09:40 zerthimon seems that pinging minions every 5 min, keeps them awake or (connected ?), thats the only thing that helps
09:40 paulm- joined #salt
09:40 zerthimon egil: no, all minions are in the different datacenters
09:41 egil zerthimon: so, this is interesting. it seems we face the same situation :)
09:42 egil well, put debug log on both master and minion, trying to see if I can cath anything useful.. so far, no luck :\
09:42 egil it doesn't help adding a long timeout either, like -t 300
09:43 zerthimon egil: I had the same observation so far
09:44 paulm-- joined #salt
09:45 egil zerthimon: ok. I'm gonna try and analyze some logs. But I think this might need and issue on github
09:46 zerthimon egil: yeah, looks like it
09:47 calvinh_ joined #salt
09:48 zerthimon egil: the minion I have in the same DC as the master has got the same problem
09:48 zerthimon this is random
09:50 zerthimon egil: do you use default kernel, sysctl parameters on your minions and master ?
09:53 ptinkler joined #salt
09:53 Andre-B_ joined #salt
09:55 simpleirc joined #salt
09:55 simpleirc -.-
09:56 simpleirc do people talk here?
09:56 calvinh joined #salt
09:58 egil zerthimon: everything is default on my systems
09:58 egil running ubuntu 14.04.1 on all servers
10:01 urtokk joined #salt
10:01 zerthimon egil: I'm running ubuntu 14.04.1 on all servers too. I do, however, have tuned many kernel params to optimize for high load
10:05 glyf joined #salt
10:05 karimb joined #salt
10:06 karimb joined #salt
10:06 calvinh_ joined #salt
10:07 ganes joined #salt
10:07 jtang joined #salt
10:07 ganes hey all
10:08 Furao joined #salt
10:08 ganes select 'minionname' state.highstate ....instead of this...
10:08 ganes select 'ipaddress' state.highstate
10:08 calvinh__ joined #salt
10:09 ganes it is possible??
10:09 ganes i got error like  ----- No minions matched the target. No command was sent, no jid was assigned
10:10 ganes sorry i wrongly i typed  salt 'minionname' state.highstate ....instead of this...  salt 'ipaddress' state.highstate
10:14 ladistwo hello, please help me :D. I find in log this error: https://www.refheap.com/96789 My version salt-master 2014.7.0 - Release 3.el6 and salt minion 2014.7.1
10:20 wvds-nl joined #salt
10:23 ajw0100 joined #salt
10:24 paulm- joined #salt
10:28 jrluis joined #salt
10:36 lothiraldan joined #salt
10:40 yomilk joined #salt
10:44 monkey66 left #salt
10:44 saltnewb joined #salt
10:45 iwishiwerearobot joined #salt
10:46 kiorky joined #salt
10:46 Alrin joined #salt
10:46 otter768 joined #salt
10:47 Alrin Hi
10:48 crack joined #salt
10:49 Alrin i'm new to salt.
10:49 Alrin I have used chef much, now i want to work with salt
10:50 Alrin can anyone help me please
10:50 nkuttler what's your question?
10:51 Alrin How to boot a vm in ec2 from my local system?
10:52 Alrin and install some stuffs in that vm
10:52 nkuttler Alrin: do you mean to create a new instance?
10:53 Alrin nkuttler: using chef, i can bootstrap a vm with some recipes. Can i do the same here using salt?
10:53 nkuttler Alrin: there is salt-cloud you use for that, which creates the vm and installs salt, and can then run salt's highstate
10:54 nkuttler so, two tools
10:54 nkuttler oh wow, no. salt-cloud has been merged into core
10:54 nkuttler i'm behind the times :D
10:55 nkuttler so, yeah, salt can do that just fine :)
10:55 Alrin using salt-cloud ah?
10:56 Alrin how can i pass run_list details to salt-cloud?
10:58 nkuttler is that a chef thing?
10:58 nkuttler fwiw, here are the cloud docs http://salt.readthedocs.org/en/v2014.7.0/topics/cloud/index.html
10:59 Alrin i can create vms using salt-cloud
11:00 Alrin but i want to install something, when the vm is creating
11:02 Alrin in chef, when i create a vm, i can pass a recipe to be installed on the vm
11:03 nkuttler yeah, you can do that
11:04 Alrin can you send me sample salt-cloud command?
11:04 Alrin and also sample profile
11:05 egil Alrin: it sounds like you need to start at the basics of salt
11:05 egil http://docs.saltstack.com/en/latest/#configuration-management
11:05 calvinh joined #salt
11:06 nkuttler Alrin: you just write states and apply them, basic salt stuff
11:07 Alrin :-(
11:09 zadock joined #salt
11:10 keyser joined #salt
11:14 kbyrne joined #salt
11:15 NV joined #salt
11:17 gwmngilfen joined #salt
11:18 lothiraldan joined #salt
11:22 karimb joined #salt
11:27 Alrin left #salt
11:27 crack joined #salt
11:27 calvinh joined #salt
11:28 NVX joined #salt
11:29 akafred joined #salt
11:30 calvinh_ joined #salt
11:30 bhosmer_ joined #salt
11:31 bash1234123123 joined #salt
11:31 bash1234123123 Hello,
11:32 bash1234123123 How do I loop through:
11:32 bash1234123123 hosts:
11:32 bash1234123123 - host1.com
11:32 bash1234123123 - host2.com
11:33 johtso joined #salt
11:34 bash1234123123 http://pastebin.com/2EpkDajF
11:35 calvinh joined #salt
11:38 karimb joined #salt
11:39 NVX joined #salt
11:41 gwmngilfen joined #salt
11:43 gwmngilfen joined #salt
11:44 VSpike_ bash1234123123: something like https://bpaste.net/show/33cf04483a7b
11:44 gwmngilfen joined #salt
11:44 VSpike_ bash1234123123: http://docs.saltstack.com/en/latest/topics/pillar/#pillar-get-function
11:45 calvinh joined #salt
11:48 paulm-- joined #salt
11:49 Kelsar what could lead to: State 'ssh-auth.present' found in SLS 'basicmachine' is unavailable
11:55 bash1234123123 VSpike_ : thnx, I guess you got a type in your bpaste.net
11:55 bash1234123123 ('hosts) => ('hosts')
11:55 Kelsar got it... - vs _
11:56 h8 joined #salt
11:58 Auroch joined #salt
12:01 heise joined #salt
12:01 TyrfingMjolnir joined #salt
12:03 phx how one would go around generating binary files for the minions?
12:03 phx oh, and they are quite confidential
12:03 diegows joined #salt
12:03 diegows hi
12:04 diegows it's supposed that we can use pillar to set minion configuration options
12:04 diegows but documentation isn't very clear
12:04 diegows doesn anyone tried it?
12:08 bhosmer_ joined #salt
12:10 diegows works...
12:10 diegows not very clear :)
12:15 calvinh_ joined #salt
12:23 bhosmer_ joined #salt
12:27 thomas_ joined #salt
12:27 thomas_ hi
12:28 Guest19840 Any blog link to create ec2 vm and install some packages using state files
12:29 Barbarossa left #salt
12:29 lothiraldan joined #salt
12:29 tux_ joined #salt
12:29 tux_ hello
12:30 tux_ is it just me, or is the bootstrap script not working for centos 6.5?
12:35 Guest19840 no
12:36 Guest19840 i can create a vm using salt-cloud
12:36 tux_ how?
12:36 Guest19840 i'm using ubuntu trusty system
12:37 tux_ read the question...
12:38 Guest19840 Which one?
12:38 tux_ is it just me, or is the bootstrap script not working for centos 6.5?
12:41 JlRd joined #salt
12:41 JDiPierro joined #salt
12:42 teryx510 joined #salt
12:44 CeBe joined #salt
12:44 bhosmer_ joined #salt
12:46 teogop_ joined #salt
12:47 otter768 joined #salt
12:49 tux_ any ideas how to fix bootstrap script for centos6.5?
12:50 TyrfingMjolnir joined #salt
12:51 gwmngilfen joined #salt
12:53 gwmngilfen joined #salt
12:56 gwmngilfen joined #salt
12:59 gwmngilfen joined #salt
12:59 lothiraldan joined #salt
13:00 jhauser joined #salt
13:02 tux_ is it such a silly problem that no one is answering??
13:03 viq tux_: no logs, no answer ;)
13:05 tkharju joined #salt
13:05 tux_ http://pastie.org/9880367 here the last lines from my master output
13:06 egil tux_: is salt already installed?
13:06 tux_ on master yes
13:06 jerematic joined #salt
13:06 tux_ on minion no
13:07 vbabiy joined #salt
13:07 tux_ oh didnt recognized
13:07 tux_ it is
13:08 tux_ so what went wrong?
13:08 egil tux_: I had same problem on ubuntu
13:08 GabLeRoux joined #salt
13:08 egil tried to install stable over dev, didn't work
13:08 Auroch joined #salt
13:08 tux_ me too
13:08 egil tux_: try to remove everything from salt on the machine
13:08 h8 joined #salt
13:08 egil and run it again
13:09 tux_ just checked if minion is running, its not
13:09 tux_ egil: that makes no sense for me
13:10 tux_ i want to deploy the salt-minion with salt-cloud
13:10 tux_ i dont want to touch the minions
13:10 gwmngilfen joined #salt
13:10 tux_ i only want to run state.highstate
13:10 tux_ and everything is fine
13:10 jagardaniel Hi :) Anyone using rest_tornado and knows how you disable auth for /hook?
13:11 tux_ i have to deploy several centos 6.5 machines, since our customers are using them
13:12 egil tux_: you aren't being very clear about your situation.. You say you already installed dev, but want to install stable instead
13:12 tux_ i tried centos7, everything works
13:13 tux_ i downloaded the devel bootstrap skript on a centos6.5 machine and it didnt work too
13:13 egil try to run stable on a clean machine
13:13 tux_ wont work
13:13 tux_ stable and dev bootstrap wont work
13:13 tux_ tested both
13:14 tux_ allways the same failure
13:14 tux_ service centos....
13:14 egil ah
13:14 tux_ did salt-cloud -u wont work
13:14 paulm- joined #salt
13:15 tux_ read several post regarding this problem... they all say do salt-cloud -u or the problem is fixed
13:15 tux_ but for me its not fixed
13:15 tux_ this is driving me crazy
13:15 tux_ i cant use another centos
13:15 NV joined #salt
13:16 tux_ whole infrastructure relies on centos6.5
13:16 tux_ and centos7 made much changes....
13:17 tux_ any new ideas?
13:19 gwmngilfen joined #salt
13:22 mikeywaites joined #salt
13:23 tux_ is it possible to prepare a vm-ware as image with salt-minion installed, and then deploy this via salt-cloud?
13:27 fredvd joined #salt
13:31 TyrfingMjolnir joined #salt
13:31 __ale__ joined #salt
13:35 MeToo joined #salt
13:35 kiorky joined #salt
13:36 Ox joined #salt
13:37 redzaku joined #salt
13:38 tux_ how do i disable the bootstrap script within salt-cloud?
13:42 TyrfingMjolnir joined #salt
13:43 karimb joined #salt
13:43 ralala joined #salt
13:48 TyrfingMjolnir joined #salt
13:50 Andre-B_ joined #salt
13:52 MeToo I want to install a application located located locally on a windowserver. Where can I find all the options and possibilities of the init.sls to install the packages with pkg.install?
13:52 phx with a for loop in a jijna template, how should I build a coma separated list of values?
13:53 murrdoc joined #salt
13:53 PepperIndustries joined #salt
13:55 JDiPierro joined #salt
13:55 che-arne joined #salt
14:07 dooshtuRabbit joined #salt
14:08 TyrfingMjolnir joined #salt
14:08 dooshtuRabbit joined #salt
14:10 bhosmer joined #salt
14:10 tomh- joined #salt
14:19 Ahrotahntee joined #salt
14:19 TyrfingMjolnir joined #salt
14:21 jrluis joined #salt
14:24 keeth joined #salt
14:24 elfixit joined #salt
14:24 mpanetta joined #salt
14:25 ixs joined #salt
14:28 kiorky joined #salt
14:31 timoguin joined #salt
14:32 murrdoc joined #salt
14:34 martineg_ joined #salt
14:36 spo0nman joined #salt
14:39 PepperIndustries joined #salt
14:40 racooper joined #salt
14:40 Brew joined #salt
14:42 MeToo left #salt
14:44 spo0nman Hello! i'm trying to configure salt-api, I'm using cherrypy. when I use disable_ssl: True, i'm able to use the API etc, but when i enable ssl, I am not able to progress, $ curl --insecure -sS https://localhost:8000    curl: (56) SSL read: errno -12263 I do not see any errors on the console for salt-api. I generated the self sign cert using salt-call tls.create_self_signed_cert, can someone tell me how to debug?
14:45 ladistwo left #salt
14:45 toastedpenguin joined #salt
14:47 whiteinge spo0nman: downgrade to 3.2.x
14:48 whiteinge there's an incompatibility somewhere between later CherryPy versions and some openssl certs
14:48 otter768 joined #salt
14:48 spo0nman whiteinge: downgrade cherrypy?
14:48 whiteinge Haven't been able to narrow down where exactly.
14:48 whiteinge Yeah, CherryPy
14:49 spo0nman whiteinge: is this a reported bug?
14:49 spo0nman so i can make a note and follow it.
14:50 whiteinge I can't say with certainty. There is a ssl related bug in their tracker but I'm not positive it's the same bug.
14:53 spo0nman whiteinge: let me try and see if it fixes things.
14:53 spo0nman whiteinge: thanks :)
14:54 FRANK_T joined #salt
14:56 stbenjam joined #salt
14:58 cpowell joined #salt
14:58 toanju joined #salt
14:59 nitti joined #salt
14:59 favadi1 joined #salt
15:06 smithd joined #salt
15:07 twellspring joined #salt
15:09 neogenix joined #salt
15:09 housl joined #salt
15:10 murrdoc morning whiteinge et.al.
15:12 twellspring joined #salt
15:12 whiteinge g'morning
15:12 gngsk joined #salt
15:13 andrew_v joined #salt
15:14 jonathon joined #salt
15:14 hasues joined #salt
15:15 jonathon hi, trying to set up a syndic master and its minions are failing to find sls files that work fine on minions off the mastermaster
15:15 ekle joined #salt
15:16 ekle hi, how can i get a list of all minions which have failed at the last highstate run ?
15:16 jonathon one odd thing, changing my common/base to common.base got that one working, but that doesn't work for server/group/a->server/grup.a
15:16 jonathon " No matching sls found for 'common/base' in env 'base' "
15:16 jonathon base:
15:16 jonathon '*':
15:16 jonathon - common/base
15:17 tux_ can someone plz help me with my config? im trying to use environments but it wont work... in case i uncomment the 4fl environment a state.highstate is working... http://pastie.org/9880736
15:18 tux_ in the pillar and base top.sls
15:18 spo0nman whiteinge: btw, https://bitbucket.org/cherrypy/cherrypy/issue/1293/ssl-broken-under-pypy-221 fixes the issue, just patching that will fix 3.6.X branch as well, i've tested it
15:19 aquinas joined #salt
15:19 subsignal joined #salt
15:19 bfoxwell joined #salt
15:23 hasues left #salt
15:24 clintberry joined #salt
15:26 kaptk2 joined #salt
15:27 VSpike_ left #salt
15:27 VSpike joined #salt
15:29 jonathon ok, so it looks like my issue is due to different master/minion versions... :S
15:29 jonathon typical
15:29 ALLmightySPIFF joined #salt
15:30 spo0nman whiteinge: thankyou for the pointer, you saved me an hour :)
15:33 whiteinge spo0nman: thanks for the link and verifying that fix. You just saved me a bunch of time too.
15:34 spo0nman whiteinge: :)
15:35 signull joined #salt
15:36 Brick_ joined #salt
15:37 lothiraldan joined #salt
15:38 ALLmightySPIFF joined #salt
15:41 ekle is there a way to list the latest errors ?
15:43 timoguin joined #salt
15:45 ptinkler where can I find an example of salt rendering a non-sls file with jinja? so for example I have my nginx.conf file that I want to use jinja/pillar data in before it's copied into place
15:46 aparsons joined #salt
15:47 krelo https://github.com/saltstack-formulas/nginx-formula
15:47 favadi1 joined #salt
15:48 ptinkler ah thanks, what I actually wanted was just the "    - template: jinja" line for my file.managed state :)
15:48 ptinkler just found it after randomly clicking on articles
15:51 favadi1 left #salt
15:53 clintberry1 joined #salt
15:56 conan_the_destro joined #salt
15:57 scoates_ joined #salt
15:59 zadock joined #salt
16:01 teogop joined #salt
16:09 thedodd joined #salt
16:10 signull sooo im probably going to ask a question others have asked and so I apologize. but salt 2015.2 when is that expected to be released now that its February?
16:10 chip_ signull: releases are cut after the RC is tested enough and the team makes the release
16:13 signull chip_: I understand that they will release when they decide to release. but given the next stable release is named "2015.2" and its now 2/2015 I am curious if they have posted their progress anywhere. I doubt I am the only one anticipating this release
16:17 nitti_ joined #salt
16:18 signull looking over the change log in the 2015.2 branch. I see Pedro Algarvio has tons of commits with "Py3 compatibility" looks like we may have saltstack running on python3 soon. I thought mcrypt was holding everything back, guess not
16:18 jalbretsen joined #salt
16:19 nitti_ joined #salt
16:21 PepperIndustries joined #salt
16:23 neogenix joined #salt
16:26 goal joined #salt
16:27 goal if iptables doesn't have --check and instead salt uses iptables-save, is it still expected to detect that a rule exists? I am seeing an insert state repeate itself each time (multiple identical rules)
16:27 neogenix_ joined #salt
16:30 ALLmightySPIFF joined #salt
16:31 chip_ signull: progress is in github, and can be seen by anyone. If you are asking "do the developers think this next release is ready to ship", that is a different question
16:32 Ch3LL__ /join #bash
16:32 Ch3LL__ woops
16:32 socket1 joined #salt
16:34 vexati0n does anyone know how to disable presence events in salt master? I've added presence_events: False to the cfg file, but it still pings the crap out of everything, all the time.
16:36 PepperIndustries joined #salt
16:37 alexbst 2015-02-02 16:00:42,676 [salt.state       ][CRITICAL] Rendering SLS 'base:minions.master' failed: Jinja variable 'dict object' has no attribute 'provider'4
16:37 hebz0rl_ joined #salt
16:37 alexbst derp
16:40 murrdoc herp a derp
16:41 mdasilva joined #salt
16:42 subsignal joined #salt
16:43 SheetiS joined #salt
16:44 cyris212 joined #salt
16:45 ipmb joined #salt
16:45 cyris212 Is someone using Salt on SLES 11/12?
16:45 bhosmer_ joined #salt
16:49 otter768 joined #salt
16:50 Furao joined #salt
16:50 murrdoc anyone have a working sat master/salt minion vagrant setup
16:51 murrdoc or can point me at one
16:53 viq murrdoc: https://github.com/viq/mcollective-salt-vagrant
16:55 tligda1 joined #salt
16:58 Twiglet anyone know why this isn't working? {% if salt['pillar.get']('key:value') == 'present' %}
16:58 ajw0100 joined #salt
17:00 StDiluted joined #salt
17:01 viq Twiglet: what do you get when you run against this minion 'salt minion pillar.get key:value' ?
17:02 Twiglet local:
17:02 Twiglet present
17:02 Twiglet I've just noticed it works if the state is set to absent which is interesting
17:03 viq I don't know what your state looks like, so I can't really comment
17:04 Ozack-work joined #salt
17:04 gattie joined #salt
17:05 zepmaster joined #salt
17:05 Twiglet 2 secs
17:05 dbraysalt joined #salt
17:06 Twiglet https://gist.github.com/ZombieTwiglet/99f2589f829e94ac0697
17:06 Twiglet Yes I know it's very hacky, trying to solve the assigining one user to a workstation thing
17:07 dave_den1 left #salt
17:08 viq Twiglet: you do realise that the whole "do stuff" block is in the else part?
17:08 bash1234123123 Hi, Can somebody point whats wrong with the code : http://pastebin.com/Maxn2XU4
17:09 Twiglet viq: hah, so it is. It has been a long day. cheers!
17:09 viq ;)
17:09 viq bash1234123123: what's the error?
17:11 numkem joined #salt
17:11 bash1234123123 viq : Unable to manage file: Jinja syntax error: unexpected '='; line 13
17:12 cpowell can someone point me in the write direction? I would like to write a state, but I want the execution to happen on the master. Should I use a runner for this? If so, do you call it just like you would any other module?
17:17 zepmaster left #salt
17:19 goal Does anyone know why this commit didn't make it into 2017.7 or 2014.7.1 : https://github.com/saltstack/salt/commit/4f21a280e61106cb83bcf4dffc451de5faea7078
17:21 paha cpowell: if you want to trigger execution from a minion on master runner could be called via publish.runner, peer comunications have to be setup allowing minions to publish commands
17:23 viq bash1234123123: and what do you have on line 13 ?
17:24 bash1234123123 {% do host += values['ec2_local-hostname'] %}
17:24 viq bash1234123123: are you certain that jinja supports += notation?
17:24 bash1234123123 lets see
17:25 hal58th joined #salt
17:25 viq anyway, I'm off, cya
17:25 bash1234123123 bye thx
17:26 aparsons joined #salt
17:29 Saltn00b joined #salt
17:30 signull_ joined #salt
17:31 sudarkoff joined #salt
17:33 gladiatr joined #salt
17:33 gladiatr joined #salt
17:34 dooshtuRabbit joined #salt
17:35 dooshtuRabbit joined #salt
17:37 smithd joined #salt
17:40 MK_FG joined #salt
17:41 mdasilva_ joined #salt
17:42 subsignal joined #salt
17:42 signull joined #salt
17:43 bash1234123123 not an issue of +=
17:43 bash1234123123 anyway ..
17:44 iggy bash1234123123: what is host? string? list?
17:45 KyleG joined #salt
17:45 KyleG joined #salt
17:45 aparsons joined #salt
17:48 dude051 joined #salt
17:49 desposo joined #salt
17:49 Grokzen joined #salt
17:50 TheoSLC joined #salt
17:51 stanchan joined #salt
17:51 shaggy_surfer joined #salt
17:51 aparsons joined #salt
17:54 aw110f joined #salt
17:55 meylor joined #salt
17:57 meylor joined #salt
18:00 Ryan_Lane joined #salt
18:01 jay_d joined #salt
18:01 MortonIII joined #salt
18:02 paha joined #salt
18:03 primechuck joined #salt
18:05 renoirb_ joined #salt
18:05 ipmb joined #salt
18:06 subsigna_ joined #salt
18:06 smcquay joined #salt
18:07 renoirb_ joined #salt
18:11 TheoSLC joined #salt
18:18 pavanw3b joined #salt
18:20 pavanw3b Hi team, I newbie to salt. I'm on Vagrant. If I edit my state file, it doesn't reflect without vagrant destroy and vagrant up. How to make it affect immediately?
18:20 iggy that sounds like more of a vagrant question
18:22 pavanw3b iggy, if I change my .sls file, will it reflect immediately with state.highstate command?
18:22 iggy I doubt it
18:22 ajw0100 joined #salt
18:22 pavanw3b What should be done?
18:22 iggy the way I understand vagrant is that it just copies in everything when the VM starts
18:22 iggy and only then
18:24 pavanw3b Hmm Okay. Thanks iggy.
18:28 pavanw3b left #salt
18:28 forrest joined #salt
18:28 forrest joined #salt
18:30 subsignal joined #salt
18:31 timoguin iggy: it will manage shared folders between host and guest, actually. ;-)
18:31 timoguin but now he may never know!
18:31 iggy good to know... I'll just keep my mouth shut about vagrant in the future (as I know very little about it)
18:33 iggy someone should probably write a blog post or something about it, so the few people that actually try to find answers on their own can find that
18:35 timoguin There are so many blog posts on it.
18:35 timoguin I do need to write some though.
18:35 ALLmightySPIFF joined #salt
18:37 ajw0100 joined #salt
18:38 aw110f joined #salt
18:40 kermit joined #salt
18:41 a_ghost_irl joined #salt
18:42 dude051 joined #salt
18:43 keeth joined #salt
18:44 murrdoc kitchen-salt does some fun vagrant stuff
18:45 murrdoc need to dumb that down int a salt vagrant starter kit
18:46 mdasilva joined #salt
18:46 druonysus joined #salt
18:46 druonysus joined #salt
18:50 otter768 joined #salt
18:57 crack joined #salt
18:57 Grokzen joined #salt
18:57 PepperIndustries joined #salt
19:05 smithd joined #salt
19:10 cberndt joined #salt
19:11 iggy let's just hope vbox doesn't die like every other open source software Oracle buys
19:12 Ryan_Lane joined #salt
19:14 ALLmightySPIFF joined #salt
19:15 yetAnotherZero joined #salt
19:16 Ryan_Lane joined #salt
19:18 ALLmight_ joined #salt
19:18 monkey661 joined #salt
19:20 keeth joined #salt
19:23 Ch3LL_ joined #salt
19:24 bfoxwell joined #salt
19:27 Andre-B joined #salt
19:28 smithd joined #salt
19:28 druonysuse joined #salt
19:28 druonysuse joined #salt
19:30 smithd joined #salt
19:31 dude051 joined #salt
19:36 SheetiS1 joined #salt
19:38 dude051 joined #salt
19:41 thedodd joined #salt
19:43 TheThing joined #salt
19:43 _JZ_ joined #salt
19:45 Grokzen joined #salt
19:50 hosom joined #salt
19:51 hosom hiya all. getting started with salt and had a quick question: is it possible to configure a specific state to process once per day, hour, week, etc?
19:51 murrdoc .google salt scheduler
19:51 murrdoc damnit we need a bot
19:52 yetAnotherZero joined #salt
19:52 harkx joined #salt
19:53 hosom I felt like my google was failing :(
19:54 robawt i thought we had a bot
19:54 hosom murrdoc: thanks
19:54 murrdoc http://docs.saltstack.com/en/latest/topics/jobs/schedule.html
19:54 murrdoc ?
19:55 hosom yeah, I found it
19:56 ajw0100 joined #salt
19:57 vexati0n why is my master (2014.7.1) still running presence events when i turned them off in the config file ?
19:57 darkstarone joined #salt
19:58 alexthegraham joined #salt
19:58 ALLmightySPIFF joined #salt
19:58 signull_ joined #salt
19:58 vexati0n also i can't run jobs.list_jobs because there are a kazillion jobs that the master never manages to tabulate
19:59 _prime_ joined #salt
20:05 twellspring joined #salt
20:06 neogenix joined #salt
20:07 jcsp joined #salt
20:08 dude051 joined #salt
20:09 smithd joined #salt
20:11 twellspring joined #salt
20:13 bash1234123123 joined #salt
20:13 smithd joined #salt
20:15 bhosmer joined #salt
20:16 nitti joined #salt
20:18 smithd joined #salt
20:20 twellspring joined #salt
20:21 badon joined #salt
20:24 markmarine joined #salt
20:24 apscomp joined #salt
20:26 bash1234123123 http://pastebin.com/1rtZ2vpY
20:26 bash1234123123 Hello,
20:26 bash1234123123 can you please give me a hand with the above vode
20:26 bash1234123123 code*
20:27 esharpmajor joined #salt
20:30 cpowell joined #salt
20:30 twellspring joined #salt
20:31 PepperIndustries joined #salt
20:33 ALLmightySPIFF joined #salt
20:33 mdasilva joined #salt
20:34 nitti joined #salt
20:35 ALLmight_ joined #salt
20:36 iwishiwerearobot joined #salt
20:38 ajw0100 joined #salt
20:44 hal58th joined #salt
20:44 jhauser joined #salt
20:49 markmari_ joined #salt
20:51 otter768 joined #salt
20:52 iggy bash1234123123: so you are trying to put every minions grains in the host list?
20:52 bash1234123123 basically I want to get a specific one but thats the only way I found
20:53 bash1234123123 I want to export all minions hostname to WEBSERVER_HOSTS
20:53 iggy that's not what you have written there
20:54 markmarine joined #salt
20:54 iggy the first arg to mine.get is the minion(s) you want to get info from... the second is the mine function you want to get the results from
20:55 bash1234123123 youp
20:56 bash1234123123 is there any other way to get grains from minions and parse them as a string ?
20:56 iggy export WEBSERVER_HOSTS={{ salt['mine.get']('tags:repo', 'network.get_hostname', 'grain').values()|join(' ') }}
20:56 iggy something along those lines
20:56 murrdoc das crazy
20:57 iggy why are you trying to get the minions grains? I thought you wanted the hostname?
20:57 iggy ahhh, I see
20:57 iggy you have some custom grain (ec2_hostname)
20:57 iggy does that not match the normal hostname?
20:57 conan_the_destro joined #salt
20:58 bash1234123123 ofc it does
20:58 bash1234123123 its from the minion
20:58 bash1234123123 :)
21:00 iggy so then what I put should work too
21:00 iggy but mine does it a little different by only getting the hostname of the servers with the repo tags
21:02 bash1234123123 running : salt '*' mine.get '*' grains.items
21:02 bash1234123123 I get something like this :
21:02 bash1234123123 ec2_hostname:
21:02 bash1234123123 ip-172-31-53-211.ec2.internal
21:02 bash1234123123 ec2_image-id:
21:02 bash1234123123 ami-646ee40c
21:02 bash1234123123 ec2_instance-action:
21:02 bash1234123123 none
21:02 bash1234123123 ec2_instance-id:
21:02 bash1234123123 i-a3660052
21:02 Corey Pastebin.
21:02 bash1234123123 ye sorry
21:03 bash1234123123 basically all instances values
21:03 bash1234123123 I want to iterate through all my instances and get their hostname
21:03 iggy so what isn't working?
21:04 bash1234123123 I get an error at :  {% do host.append(values['ec2_hostname']) %}
21:04 ALLmightySPIFF joined #salt
21:04 bash1234123123 Unable to manage file: Jinja variable 'tuple object' has no attribute 'ec2_hostname'
21:05 bash1234123123 the syntax of  {% do host.append(values['ec2_hostname']) %} seems correct so it must be the loops fault
21:05 bash1234123123 but that seems correct too
21:05 iggy I like my way better
21:06 bash1234123123 I dont understand your though ><
21:08 bash1234123123 k let me see if it runs and then try to understand it :)
21:08 twellspring joined #salt
21:10 nitti joined #salt
21:12 mosen joined #salt
21:15 Diaoul joined #salt
21:15 iggy well, you'd have to add network.get_hostname to mine_functions
21:18 diegows joined #salt
21:21 bash1234123123 eh I think I found my mistake
21:22 bash1234123123 its a dictionary and I have only values
21:22 bash1234123123 I need one more
21:25 scarcry joined #salt
21:25 bash1234123123 iggy 100x thanks
21:25 timoguin_ joined #salt
21:27 timoguin joined #salt
21:27 bash1234123123 works as a charm
21:28 hal58th1 joined #salt
21:28 murrdoc its what iggy does
21:30 primechuck joined #salt
21:35 timoguin joined #salt
21:35 scarcry joined #salt
21:37 signull joined #salt
21:38 Georgyo joined #salt
21:38 signull joined #salt
21:40 loggyer joined #salt
21:46 elfixit1 joined #salt
21:49 I3olle joined #salt
21:50 Zachary_DuBois Is there a way to get pillar data from other servers for a different server? Like a for each?
21:51 Zachary_DuBois I am trying to open the MySQL port to servers with a pillar of `mysql: true`.
21:51 mosen I might be wrong but i think thats what salt-mine does
21:51 mosen I mean collecting pillars from other minions
21:51 Zachary_DuBois I currently use salt mine to get IPs :)
21:52 Zachary_DuBois I suppose there is an easy way around this by making a list of IPs it should open in the pillar
21:52 mosen my bad
21:52 Zachary_DuBois It would probably be simpler for now
21:52 Zachary_DuBois Nvm, answered my own question XD
21:53 mosen oh wel
21:55 thedodd joined #salt
21:55 markmarine joined #salt
21:57 druonysus joined #salt
21:57 mdasilva joined #salt
22:01 SpeeR_ joined #salt
22:02 druonysus joined #salt
22:02 druonysus joined #salt
22:03 ALLmightySPIFF joined #salt
22:03 yomilk joined #salt
22:03 twellspring joined #salt
22:03 ALLmightySPIFF joined #salt
22:09 loggyer_ joined #salt
22:09 forrest Hmm, is anyone familiar with how 'python=None' works for virtualenv.managed? I have it set to /usr/bin/python2.7, and it's still creating a 2.6 venv.
22:10 dusel joined #salt
22:12 twellspring joined #salt
22:14 __number5__ forrest: it should work as you intended. any error in the debug log? are you sure /usr/bin/python2.7 exists on the minion?
22:14 murrdoc nope
22:14 forrest __number5__: Yeah it exists, no errors.
22:16 mdasilva joined #salt
22:16 __number5__ so your salt is running in python2.6 and you want to create a python2.7 virtualenv with it?
22:16 twellspring joined #salt
22:17 forrest __number5__: Yeah I installed 2.7 and all that jazz, it's re-running now. I modified the user so it runs as the one on the box, debug output is saying it used python2.7
22:17 forrest So who knows
22:21 ajw0100 joined #salt
22:25 iwishiwerearobot joined #salt
22:27 meylor joined #salt
22:27 Solid-State joined #salt
22:28 meylor has anyone had issues with the boto.route53 module? specifically creating a CNAME record and the module saying it already exists when it in fact doesn't?
22:29 __number5__ meylor: I have no issue with that module, do you have latest boto installed?
22:30 markmarine Does anyone have a recommnedation for how to use the salt reactor to automatically provision using state.highstate when it comes online?
22:30 meylor __number5__ I'm not certain how do you check module versions? I upgraded to salt 2015.2 this morning
22:30 markmarine I have it firing a custom event in the AWS user data, but the reactor isn't handling it the way I expect
22:30 markmarine and it never calls the highstate
22:30 __number5__ meylor: on minion, pip search boto
22:31 meylor INSTALLED: 2.35.1
22:31 meylor LATEST:    2.36.0
22:31 hal58th1 markmarine give me one second and i'll give you the info
22:31 meylor do I need 2.36.0?
22:31 markmarine hal58th1: thank you
22:31 __number5__ won't hurt to try, meylor
22:32 druonysus joined #salt
22:33 mdasilva joined #salt
22:34 hal58th1 markmarine http://docs.saltstack.com/en/latest/ref/states/startup.html#startup-states
22:36 markmarine so that means I don't need the reactor, I can just tell the minion to execute a specific state when it runs? can I use the grains/glob matching in the master?
22:37 markmarine eg: I have a grains match for events_server that loads about 7 different states, including the nginx formula from the gitfs
22:37 meylor is there a term to make a state run on only the master (like in the boto usage case)
22:38 markmarine and I want to put that events_server into an autoscaling group in aws, so when aws starts a new server under load it automatically runs the states
22:40 twellspring joined #salt
22:41 bhosmer joined #salt
22:45 signull joined #salt
22:47 signull joined #salt
22:48 TyrfingMjolnir joined #salt
22:51 ksalman1 hm, is it not possible to set PATH for cmd.run?
22:51 meylor ksalman1 it is
22:52 ksalman1 via env?
22:52 otter768 joined #salt
22:52 ksalman1 env: /foo/bar:$PATH ?
22:52 ksalman1 would it resolv bash variable then?
22:52 rypeck joined #salt
22:52 meylor I think I saw a similar issue ; try `PATH=newpath:$PATH ; /bin/bash yourcommand`
22:53 meylor but i don't think it was picking it up via ENV
22:53 ksalman1 oh i see what you are saying
22:53 I3olle joined #salt
22:53 ksalman1 i'll try that
22:53 ksalman1 thanks
22:57 jalaziz joined #salt
23:01 __number5__ ksalman1: you probably want cmd.script, will save you lots of time
23:01 ksalman1 huh
23:01 ksalman1 is this new in 2014.7?
23:01 ksalman1 i did not of this
23:02 ksalman1 know
23:06 __number5__ nope, cmd.* is there before 0.17
23:06 murrdoc cmd.run and event.* are from the big bang
23:07 nitti_ joined #salt
23:07 ksalman1 i just wasn't aware of cmd.script
23:07 ksalman1 good to know
23:12 CeBe joined #salt
23:17 TaiSHi Hi all
23:18 TaiSHi Can I 'require' a git repo ?
23:18 TaiSHi I'm trying to use a file.managed to set permissions -after- the repo has been cloned
23:20 __number5__ TaiSHi: checkout salt.states.git
23:20 TaiSHi I'm using it, it deploys successfully
23:21 SheetiS joined #salt
23:21 TaiSHi But I need file.directory to run -after- git.latest
23:21 __number5__ I don't understand you permission problem
23:22 __number5__ s/you/your/
23:22 aurynn so have file.directory require the git state?
23:23 TaiSHi Yeah, I was using require: git.latest: bla
23:23 TaiSHi I fixed it
23:23 TaiSHi require: git: bla
23:23 TaiSHi (with proper indentation and stuff)
23:26 twellspring joined #salt
23:35 CeBe joined #salt
23:40 SheetiS joined #salt
23:44 spookah joined #salt
23:49 dude051 joined #salt
23:52 nitti joined #salt

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