Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2013-12-23

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

All times shown according to UTC.

Time Nick Message
00:07 forresta joined #salt
00:25 anitak joined #salt
00:32 dstanek joined #salt
00:43 rojem joined #salt
00:55 elfixit joined #salt
01:05 aleszoulek joined #salt
01:10 malinoff joined #salt
01:21 isomorphic joined #salt
01:31 awnion joined #salt
01:44 Cerales joined #salt
01:45 Cerales Every since 0.17.4, I'm seeing errors that prevent me from highstating, like: Rendering SLS "<site>" failed: Conflicting ID "include"
01:45 Cerales Has anyone else seen this?
01:48 Cerales I do have quite a few states with "include:", but this wasn't an issue as recently as 0.17.2
01:51 BenCoinanke joined #salt
01:57 sroegner joined #salt
02:00 mgw joined #salt
02:07 psyl0n joined #salt
02:09 rgarcia_ joined #salt
02:10 rgarcia_ is there an accepted convention to document/publish custom salt states/modules?
02:13 rgarcia_ basically looking for a good example of sphinx docs for a repo on github that exposes custom states and modules
02:22 EugeneKay rgarcia_ - saltstack/salt-states is about as close as it gets for "official" that I can see.
02:23 rgarcia_ EugeneKay: yeah, it doesn't have any documentation :(
02:23 EugeneKay Yup.
02:23 EugeneKay Good news: the bar is very low!
02:30 bhosmer joined #salt
02:30 favadi joined #salt
02:31 oz_akan_ joined #salt
02:36 ajw0100 joined #salt
02:42 elfixit joined #salt
02:59 rojem joined #salt
02:59 rojem joined #salt
03:03 forresta Cerales, that issue is related to this: https://github.com/saltstack/salt/issues/7526
03:03 forresta and https://github.com/saltstack/salt/issues/9390
03:03 ajw0100 joined #salt
03:03 ravibhure joined #salt
03:07 kermit joined #salt
03:07 pcurry_nomi joined #salt
03:10 Cerales forresta: Indeed, I saw those, but I wasn't sure that they were identical.
03:11 forresta most likely they are, you probably have multiple states which include: zxc, but you either have other states that include zxc, or you are including zxc in your top
03:11 forresta It sucks that's for sure
03:11 Cerales forresta: yep that's pretty much it
03:11 forresta Yep
03:11 Cerales hard to track too, as i have jinja {%include%} as well.
03:11 forresta I'm going to talk with UtahDave about it tomorrow
03:12 forresta because after seeing the issue presented to me earlier on 9390, this shit is a complete environment breaker
03:12 Cerales Great. I also posted updated a little whine thread on the mailing list about maintaining previous versions in the pkgrepo. Sucks getting pulled into a new release unexpectedly when this comes up.
03:12 forresta totally understandable.
03:12 forresta Cerales, yep, the devs are trying, just growing pains I'd image :P
03:12 forresta *imagine
03:12 forresta but yea, that break SUCKS
03:13 lyska joined #salt
03:13 malinoff That's why I'm still on v0.17.2 :D
03:13 forresta malinoff, one of my setups is still on 0.16.4 :P
03:14 malinoff forresta, yeah, I love that release :) One of the most stable
03:14 Cerales 0.17.2 was pretty nice too :)
03:14 forresta yea, if it didn't have security issues I'd use it more, thankfully this is on a masterless minion
03:14 forresta yea 0.17.2 is also very good. I know cachedout has been busting his ass to work on integration tests and unit tests lately
03:15 forresta but the duplicate IDs really annoys me
03:15 forresta because it's confusing to newer users especially
03:16 forresta But yea, I'll be asking UtahDave what the status is on that one tomorrow
03:16 forresta It would be a bummer if that gets pushed to Hydrogen, but we'll see when that's scheduled to release anyways.
03:19 Cerales sweet
03:19 forresta Let's not get too giddy, I don't know what the status is gonna be
03:19 Cerales Might see if i can convince the bosses here to put in the time for a nice public mirror of previous releases
03:19 forresta the guys have been slammed lately
03:19 forresta That would be cool
03:30 ckao joined #salt
03:35 crazysim joined #salt
03:38 crazysim joined #salt
03:46 lyska joined #salt
03:47 crazysim joined #salt
03:47 Ryan_Lane joined #salt
03:47 Katafalkas joined #salt
03:54 bhosmer joined #salt
03:58 sroegner joined #salt
04:01 totte left #salt
04:02 Cerales joined #salt
04:16 ajw0100 joined #salt
04:26 bhosmer joined #salt
04:32 lyska joined #salt
04:35 awnion joined #salt
04:41 druonysus joined #salt
04:42 pcurry_nomi joined #salt
05:02 crazysim joined #salt
05:07 jfzhu_us1 joined #salt
05:07 crazysim joined #salt
05:16 isomorphic joined #salt
05:29 bhosmer joined #salt
05:38 wonhunawks joined #salt
05:39 favadi joined #salt
05:40 ajw0100 joined #salt
05:46 forresta dave_den, are you around?
05:58 sroegner joined #salt
06:05 kermit joined #salt
06:26 anuvrat joined #salt
06:33 fllr joined #salt
06:34 dangra joined #salt
06:35 Katafalkas joined #salt
06:44 psyl0n joined #salt
07:02 matanya joined #salt
07:03 ajw0100 joined #salt
07:09 ajw0100 joined #salt
07:15 Katafalkas joined #salt
07:17 totte joined #salt
07:22 benturner joined #salt
07:46 pcurry_nomi joined #salt
07:56 MrTango joined #salt
07:59 sroegner joined #salt
07:59 harobed_ joined #salt
08:00 harobed_ joined #salt
08:04 fllr joined #salt
08:07 wonhunawks joined #salt
08:17 marcus joined #salt
08:19 marcus Hello! I'm in the process of setting up salt for a couple of servers, all which have different roles. Coming from puppet, I'm looking for something equivalent to data-hiera for specifying environment- and node-specific data for different hosts. I've looked into pillar, but it doesn't seem to support what I want, or I haven't looked in the right place. Anyone willing to give some pointers? Thanks!
08:22 marcus I know about nodegroups, but I'd prefer not having to edit the master config every time I add a new host, but rather create a new small yaml-file for that host, which can contain things like node-groups and variable values. I also know about grains, but the hosts are named in a way that I can't deduce their role from the hostname
08:24 EnTeQuAk joined #salt
08:37 giantlock_ joined #salt
08:51 pcurry_nomi joined #salt
08:52 benturner joined #salt
09:01 matanya joined #salt
09:04 fllr joined #salt
09:13 cbloss joined #salt
09:21 pcurry_nomi joined #salt
09:27 mirko joined #salt
09:34 fllr joined #salt
09:40 ravibhure1 joined #salt
10:00 sroegner joined #salt
10:03 Teknix joined #salt
10:06 cce joined #salt
10:06 cce joined #salt
10:07 JordanRinke joined #salt
10:07 scassidy joined #salt
10:07 kossy joined #salt
10:07 errr joined #salt
10:07 Heartsbane joined #salt
10:08 fishpen0 joined #salt
10:08 coolj joined #salt
10:09 d10n joined #salt
10:10 lahwran joined #salt
10:13 Shenril joined #salt
10:15 anuvrat joined #salt
10:16 pengunix joined #salt
10:28 MTecknology joined #salt
10:32 olevchyk joined #salt
10:34 fllr joined #salt
10:35 saras has anyone know of work for salf support for open shift
10:36 _ikke_ marcus: Why aren't pillars what you are looking for?
10:48 micko joined #salt
10:52 marcus _ikke_: I hoped they are, but I can't find any info on node-specific files for pillar. I'd like something like where I create a file called (example) astraeus.yaml for the host astraeus, and atlas.yaml for the host called atlas in /srv/pillar/nodes, and then it picks values from the correct file for that host when i do state.highstate
10:52 marcus Hope I made some sense atleast, we made something simmilar in puppet, and I really like that way of setting it up
10:52 _ikke_ marcus: the top.sls decides which pillar gets which file
10:53 _ikke_ You can use jinja to make it dynamic
10:54 mprymek joined #salt
10:54 marcus _ikke_: Okay, I read a bit about jinja, might have to look closer into that then. Is what I want to achieve something unusual, or is there a better way to do that sort of stuff?
10:55 _ikke_ marcus: No, pillars are actually meant for giving information only to specific hosts
10:55 _ikke_ marcus: But you have to use jinja if you want to dynamically use the hostname for the filename
10:56 bhosmer joined #salt
10:57 marcus _ikke_: I see, thanks a lot for the clarification, hopefully I can figure it out from there : )
11:01 lyska joined #salt
11:04 kiorky basepi: terminalmage any chance you can have a look on https://github.com/saltstack/salt/pull/9395 please
11:13 mprymek joined #salt
11:21 pcurry_nomi joined #salt
11:24 techdragon joined #salt
11:26 copelco__ joined #salt
11:31 dw joined #salt
11:34 fllr joined #salt
11:36 techdragon joined #salt
11:41 cyberbob hi all, a bit off the topic but can someone recommend a good monitoring solution, I have been using nagios but not happy with this as have to use plugins for each and everything and many are by community so not sure about authenticity
11:42 cyberbob further while monitoring more than 3k services it starts lagging a lot and hosts starts flapping again and again in nagios
11:42 malinoff cyberbob, This is totally offtopic
11:42 techdragon graphite,  hekad,  elasticsearch, kibana.
11:42 * techdragon ends his comment.
11:42 cyberbob malinoff, yeah you are absoultely right . . .
11:43 techdragon I can make it more salt related :-) ... Ive deployed all 4 of them with salt, 2 of them have formulas already :-D
11:43 anitak joined #salt
11:43 techdragon I assume you want to deploy a solution with salt, which is less off topic :)
11:43 techdragon not by much though...
11:44 aleszoulek joined #salt
11:50 bhosmer joined #salt
11:51 diegows joined #salt
11:52 ggoZ joined #salt
12:01 sroegner joined #salt
12:01 agh left #salt
12:03 psyl0n joined #salt
12:08 rcb joined #salt
12:17 dangra1 joined #salt
12:26 viq techdragon: look up salmon, it's on top of salt ;)
12:26 viq erm, cyberbob
12:27 cyberbob vipul, :) I have checked salmon it is really cool and I'll be using that (with some customizations) for my personal project  in a couple of months. But for monitoring our prod. infrastructure they will rely on some big names :(
12:28 viq sensu? Also there are nagios forks that claim better performance, shinken being the one focusing on performance, icinga being the other one
12:29 viq cyberbob: but I guess ##infra-talk may be a better place for this talk, and many more people able to chime in on that specific subject
12:30 cyberbob viq, :)
12:34 fllr joined #salt
12:36 fllr joined #salt
12:38 techdragon viq i saw salmon and it looks good, its feature set is nice but not overlapping the tools like graphite or kibana
12:39 techdragon thats more of a 'is it alive or dead' status dashboard from what i can tell.
12:40 viq techdragon: yeah, but I believe request was "alerting" more than "graphing"
12:40 techdragon true
12:42 viq Also salt I believe hsa graphite output, so you can trigger various perfomance checks, and output them to graphite
12:47 bhosmer joined #salt
12:57 vejdmn joined #salt
12:57 blee joined #salt
12:58 rcb joined #salt
13:07 isomorphic joined #salt
13:19 pcurry_nomi joined #salt
13:19 today_ joined #salt
13:21 pdayton joined #salt
13:27 logix812 joined #salt
13:28 fuser joined #salt
13:29 logix812 can pillars read pillars? For example I have a username specified in some of my pillars, I am wondering if I can't externalize that name into a pillar and have the other pillars just use that name
13:31 yannj joined #salt
13:31 yannj Hello, has anyone try to load modules deployed through fileserver
13:34 fllr joined #salt
13:42 viq logix812: no
13:42 logix812 viq: I am learning that right now =)
13:42 logix812 haha
13:42 logix812 in my failed attempts
13:42 viq logix812: longer answer: "they are rendered at the same time, so there is nothing to read at that time"
13:42 viq I tried that too, that's what I was told, so now I can repeat that to you ;)
13:43 logix812 the problem I am running into has actually lead me to a better solution anyway that won't require me to do something like that
13:43 logix812 so it was a happy failure on my end
13:43 viq :)
13:45 pengunix joined #salt
13:46 pcurry_nomi joined #salt
13:58 crazysim joined #salt
14:00 crazysim joined #salt
14:01 sroegner joined #salt
14:06 crazysim joined #salt
14:08 oz_akan_ joined #salt
14:09 crazysim joined #salt
14:10 diegows joined #salt
14:12 elithrar joined #salt
14:14 elfixit joined #salt
14:18 kuL4 guys is in salt something like pre stage? I just want to update salt before all other jobs will run is it possible without relaing on 'require'
14:20 junedm joined #salt
14:20 junedm left #salt
14:22 gadams999 joined #salt
14:23 junedm1 joined #salt
14:23 junedm1 left #salt
14:24 fllr joined #salt
14:24 Shenril joined #salt
14:25 godog joined #salt
14:25 godog joined #salt
14:26 fllr joined #salt
14:30 psyl0n joined #salt
14:30 psyl0n joined #salt
14:32 sroegner joined #salt
14:34 fllr joined #salt
14:40 sv joined #salt
14:40 pdayton joined #salt
14:41 MK_FG joined #salt
14:44 oz_akan_ joined #salt
14:45 thoht joined #salt
14:45 thoht hi
14:45 rojem joined #salt
14:46 thoht Using salt 0.17.2-2.el6, it was working fine util today
14:46 thoht now, the cp.push is not working anymore
14:46 rojem joined #salt
14:46 thoht when i go to /var/cache/salt/master/minions/HOST/files, there is nothing
14:47 thoht the salt command returned True
14:47 gadams999 joined #salt
14:47 rojem joined #salt
14:48 thoht debug mode shows: ERROR ] Received incomplete call from pandora for '_file_recv', missing 'tok'
14:49 thoht during the cp.push
14:49 thoht any idea what is happening ?
14:49 thoht it happens after an inode issue on the salt master device (inode was full, the jobs were not cleaned automatically)
14:49 thoht i removed many jobs manually
14:50 thoht (rm -rf /var/cache/salt/master/jobs/*)
14:50 _cyberbob joined #salt
14:51 _cyberbob joined #salt
14:51 pass_by_value joined #salt
14:51 _cyberbob joined #salt
14:52 _cyberbob joined #salt
14:52 _cyberbob joined #salt
14:52 matanya joined #salt
14:53 _cyberbob joined #salt
14:53 smccarthy joined #salt
14:53 _cyberbob joined #salt
14:54 _cyberbob joined #salt
14:56 mattmtl joined #salt
14:56 dccc joined #salt
14:59 pengunix_ joined #salt
15:06 AdamSewell joined #salt
15:07 davidfischer joined #salt
15:08 vortec joined #salt
15:08 timoguin joined #salt
15:09 netzmonster joined #salt
15:11 th3reverend joined #salt
15:14 gmoro joined #salt
15:19 th3reverend left #salt
15:29 gadams9991 joined #salt
15:29 rgbkrk joined #salt
15:38 pass_by_value joined #salt
15:43 junedm joined #salt
15:44 jalbretsen joined #salt
15:51 _ikke_ What defines what the fqdn of a host is?
15:57 _ikke_ found it
15:57 _ikke_ it's in /etc/salt/minion_id
15:57 Vye _ikke_: depends on your operating system, on Cent/RHEL it is /etc/sysconfig/network. But do you mean minion ID?
15:57 Vye k
15:57 _ikke_ yeah, but the fqdn seems also derived from that
15:58 pengunix joined #salt
15:59 Vye it's the other way around, the minion ID is derived from the FQDN, but it can be changed to something else. As far as I know the minion always initiates the connection to the master, so the master doesn't use the minion id to initiate any connections.
15:59 anuvrat joined #salt
16:00 _ikke_ Well, grains.items still returned the old hostname for the fqdn
16:01 _ikke_ It's not that the master couldn't connect, but it just returned old information (even after minion restart)
16:02 _ikke_ still only one thing that's old, namely host
16:04 _ikke_ probably reverse dns
16:05 scoates minion_id will override the fqdn that the host self-resolves (same as `uname -n` usually)
16:06 _ikke_ right
16:06 thoht is it an issue to have salt maser 0.17 and minion in 0.16 ?
16:06 _ikke_ thoht: master should have at least the minion version, so, no
16:06 UtahDave joined #salt
16:07 thoht i ask that because i lost cp.push feature
16:07 thoht it returns: ERROR ] Received incomplete call from pandora for '_file_recv', missing 'tok'
16:07 thoht it was working previously
16:08 UtahDave thoht: what Salt versions are your minion and master?
16:09 thoht master 0.17.2-2 and minion 0.16.3-1
16:10 lineman60 joined #salt
16:12 thoht UtahDave: master 0.17.2-2 and minion 0.16.3-1
16:14 UtahDave thoht: yeah, that's the problem.  There was a security fix in 0.17.1 that changed the communication protocol.  You need to upgrade your minion to 0.17.1 or above
16:15 thoht UtahDave: thanks for the trick
16:15 thoht will update the minion as well
16:15 UtahDave You're welcome, thoht!
16:28 StDiluted joined #salt
16:31 opapo joined #salt
16:32 MrTango joined #salt
16:33 lyska joined #salt
16:34 thoht UtahDave: i updated minion to 0.17
16:35 thoht no ERROR anymore but neither the file
16:35 thoht 2013-12-23 17:34:19,682 [salt.master                                 ][INFO    ] User root Published command cp.push with jid 20131223173419681458
16:35 thoht 2013-12-23 17:34:19,682 [salt.master                                 ][DEBUG   ] Published command details {'tgt_type': 'glob', 'jid': '20131223173419681458', 'tgt': 'pandora', 'ret': '', 'user': 'root', 'arg': ['/tmp/toto'], 'fun': 'cp.push'}
16:36 thoht tlooks good
16:39 forresta joined #salt
16:40 thoht ok it works sorry
16:40 thoht i ve to update all minioms
16:40 thoht thks and sorry for noise
16:41 rojem joined #salt
16:41 mpanetta joined #salt
16:44 EnTeQuAk joined #salt
16:44 pcurry_nomi joined #salt
16:44 EnTeQuAk joined #salt
16:45 pcurry_nomi1 joined #salt
16:57 shadowfax|chc joined #salt
16:57 MTecknology rhel is a thorn in my side...
16:58 teddy_dona joined #salt
16:58 zfouts What ales you MTecknology ? I run salt on ~400 nodes using exclusively RHEL
16:58 danielbachhuber joined #salt
16:59 teddy_dona Hi Sombebody know , why they're less modules on minions than master ?
16:59 cym3try joined #salt
17:00 fllr joined #salt
17:00 MTecknology the way configs and packages get mutilated from what the app devs expect causes me endless headaches. Like how net-snmp doesn't stick the static config where it's supposed to go or include the init script for ferm... pain in my ass.
17:02 druonysus joined #salt
17:02 mephx joined #salt
17:06 jacksontj joined #salt
17:06 cachedout joined #salt
17:08 mgw joined #salt
17:09 MTecknology zfouts: I don't claim that you can't make it work, it's just a significant pain in the ass to make it behave correctly
17:09 zfouts nah, it's pretty straight forward
17:10 zfouts I got it running on RHEL in about 15 minutes when I first started
17:11 teddy_dona left #salt
17:12 terminalmage kiorky: looks like you closed that and are working on refactoring it
17:13 terminalmage kiorky: when you resubmit, can you submit some SLS that will trigger the error you are targeting with the pull request?
17:13 terminalmage that'll make verifying quicker and easier
17:13 terminalmage thanks!
17:18 yannj can anyone tell me how to pass kwargs to the module.run state?
17:20 bhosmer joined #salt
17:21 kiorky terminalmage: did you saw that i added tests ??!!!!
17:21 sine_nitore_w joined #salt
17:22 kiorky terminalmage: but yes i am working a bit before resubmit
17:22 terminalmage yeah I saw a test file there, but I didn't look closely enough
17:22 kiorky terminalmage: so to see what it does, look the test :)
17:22 netzmonster joined #salt
17:22 kiorky terminalmage: today when you have an error in a macro
17:22 kiorky terminalmage: you cant debug it
17:22 kiorky as what you get in the output is the lines from the caller
17:22 terminalmage well, I just figured that having it stated in the pull req saves me the time of having to read and grok the test
17:23 terminalmage we're all quite busy so anywhere we can save time is appreciated
17:23 kiorky terminalmage: no worry, i ll add the inf' upon resubmiting :)
17:23 terminalmage thanks
17:24 kcb joined #salt
17:24 kcb morning everyone!
17:24 shinylasers joined #salt
17:24 blee_ joined #salt
17:26 kcb question:  anyone seen this?    http://pastebin.com/LnVjAeUr
17:27 pass_by_value joined #salt
17:27 kcb a minion I have no longer runs, after some redhat updates.    Weird python RSA error, that after hours of googling I cannot locate a solution to.
17:28 kcb feels like there is a new python requirement, but I am at a loss.     Any help appreciated!!
17:28 scoates kcb: that looks like an actual bug, from taking a quick look at the code
17:28 UtahDave kcb: do you have M2Crypto installed?
17:29 SEJeff_work If you've not seen this: https://github.com/cholcombe973/autodock
17:29 scoates https://github.com/saltstack/salt/blob/develop/salt/crypt.py import -> allow to fail, then use RSA.gen_key()
17:32 kcb yes, m2cryopt is there
17:33 kcb m2crypto-0.20.2-9.el6.x86_64
17:36 ajw0100 joined #salt
17:37 kcb so...   huh.  I'm hosed until the bug gets fixed?     Should I report elsewhere?
17:38 scoates well, it shouldn't be affecting you like it is. The bug (if it's a bug) is that it's not guarded properly.
17:38 matanya joined #salt
17:38 scoates kcb: on that box, if you run python and "import RSA" do you get ImportError?
17:38 kermit joined #salt
17:39 rojem joined #salt
17:39 kcb let me try, hang on
17:40 kcb correct.   I get that error.
17:41 kcb ImportError: No module named RSA
17:41 kiorky terminalmage: done : https://github.com/saltstack/salt/pull/9409
17:41 kcb in a bit of testing, I get that everywhere.   So, it appears (?) that this is a new requirement of salt?
17:42 shadowfax|chc hey all, anyone know to get the output of a state execution back through salt-api
17:43 terminalmage kiorky: thanks
17:44 Gareth morning
17:46 pass_by_value joined #salt
17:47 scoates kcb: sorry; I got the command wrong: from M2Crypto import RSA
17:47 diegows joined #salt
17:48 kcb ok, hang on
17:49 kcb ImportError: /usr/lib64/python2.6/site-packages/M2Crypto/__m2crypto.so: undefined symbol: PEM_write_bio_SSL_SESSION
17:50 kcb neat.   looks like a RHEL bug.    hang on.
17:51 shinylasers joined #salt
17:53 kcb *bingo*.
17:53 kcb weird-ass error with libssl.so.10, being linked to the older openssl098e instead of current.
17:54 kcb uninstalling openssl098e and leaving JUST openssl1.0.1 seems to have resolved it.
17:54 scoates kcb: nice.
17:54 kcb https://access.redhat.com/site/solutions/146333
17:54 kcb (for those who have RHEL support access).
17:54 kcb I better take note of this, I think this is going to bite me.   a lot.
17:54 quickdry21 joined #salt
17:55 SEJeff_work kcb, You might be able to write a one-time state file to fix that
17:55 rojem joined #salt
17:55 SEJeff_work then run it using the grain matcher on all affected RHEL boxes
17:55 SEJeff_work kcb, And salt -G ... state.sls fix_rhel_silliness
17:56 rojem joined #salt
17:56 rojem joined #salt
17:56 kcb THANK YOU for the python knowledge!    Much appreciated.
17:56 kiorky .B 2
17:57 scoates sure thing. glad it was simple(ish) (-:
17:57 kcb me too.  I assumed it was some simple python stupid thing.
17:58 UtahDave SEJeff_work: autodock looks pretty cool!
17:58 SEJeff_work UtahDave, ++
17:58 * kcb accepts the ksy for the client, since he had wiped that all out ad part of the diagnosis
18:00 pdayton joined #salt
18:03 jacksontj joined #salt
18:03 socks joined #salt
18:04 scoates kcb: https://github.com/saltstack/salt/issues/9411
18:07 waverider joined #salt
18:07 matanya joined #salt
18:09 pass_by_value joined #salt
18:11 bhosmer joined #salt
18:12 thrashr888 joined #salt
18:13 higgs001 joined #salt
18:13 thrashr888 joined #salt
18:17 logix812 joined #salt
18:18 davidfischer joined #salt
18:20 mpanetta anyone here knowledgeable with the interactions between salt-cloud and salt proper?  I was wondering if it was possible to use the salt-cloud providers conf in salt.
18:21 cbloss joined #salt
18:23 Gareth SEJeff_work: autodocker looks very cool.
18:23 SEJeff_work Gareth, indeed it does. It takes 3 techs I like: salt, docker, and etcd
18:23 SEJeff_work and puts them together
18:23 SEJeff_work I've got to set it up now
18:25 Gareth It's like one of those crazy KFC combination sandwiches but without the cholesterol and shame that comes from eating one.
18:25 UtahDave lol
18:25 SEJeff_work Gareth, but with all of the deliciousness!
18:27 Gareth Someone should suggest that tagline to the author...."All the deliciousness of a crazy KFC combination sandwich...none of the shame."
18:28 SEJeff_work Gareth, immortalized foreva! https://github.com/cholcombe973/autodock/issues/1
18:29 Gareth haha
18:29 Gareth nice.
18:30 jfzhu_us joined #salt
18:33 thrashr888 joined #salt
18:34 bhosmer joined #salt
18:34 bhosmer joined #salt
18:46 toastedpenguin joined #salt
18:52 bhosmer joined #salt
18:54 psyl0n joined #salt
18:56 pcurry_nomi joined #salt
18:56 elfixit joined #salt
18:59 thrashr888 joined #salt
19:01 matanya joined #salt
19:05 matanya joined #salt
19:07 jslatts joined #salt
19:12 thrashr888 joined #salt
19:13 thrashr888 joined #salt
19:17 Rojematic joined #salt
19:18 eculver_ joined #salt
19:18 lineman60__ joined #salt
19:18 cachedou_ joined #salt
19:19 ange_ joined #salt
19:20 mackstic1 joined #salt
19:20 shadowfax joined #salt
19:21 mephx_ joined #salt
19:22 eliasp_ joined #salt
19:22 thrashr888 joined #salt
19:22 beardo__ joined #salt
19:22 kossy_ joined #salt
19:23 Kraln- joined #salt
19:23 thrashr8_ joined #salt
19:23 eculver_ joined #salt
19:24 thrashr888 joined #salt
19:25 patrek joined #salt
19:25 anuvrat joined #salt
19:25 jean-philippe joined #salt
19:26 malinoff joined #salt
19:26 Kraln- joined #salt
19:26 scalability-junk joined #salt
19:27 goodwill joined #salt
19:28 cbloss joined #salt
19:28 mikkn joined #salt
19:30 tseNkiN joined #salt
19:30 lahwran joined #salt
19:30 ajw0100 joined #salt
19:32 austin987 joined #salt
19:33 ggoZ joined #salt
19:34 majoh joined #salt
19:37 rjc joined #salt
19:50 diegows joined #salt
19:56 sfvivek1 joined #salt
19:56 pcurry_nomi joined #salt
20:00 diegows joined #salt
20:01 opapo joined #salt
20:07 kcb left #salt
20:12 elfixit joined #salt
20:14 sfvivek1 quick quesiton on the salt config.  we have a setup where salt master is configured to run as root, but the minion running on a different host is configured to run as non-root (let's say vivek) user.  when we invoke commands to the minion for example - salt 'minion.hostname' cmd.run 'id' the output is different from what we actually see by running 'id' on the minion host itself.
20:14 sfvivek1 I believe what was happening is when we invoke from the salt-master, it's running su vivek -c 'id' and returning the output to the master, where as it should run su - vivek -c 'id'
20:16 diegows joined #salt
20:22 anitak joined #salt
20:27 mpanetta I'm trying to do some of the things listed here: http://docs.saltstack.com/topics/cloud/salt.html but when I try to run an example command it says it is not avalable:
20:27 mpanetta [root@salt0 ~]# salt salt0.17.4test cloud.list_images mwpdevops-iad
20:27 mpanetta salt0.17.4test:
20:27 mpanetta "cloud.list_images" is not available.
20:27 mpanetta Not quite sure why...  Anyone here that can point me in the right direction?
20:29 gazarsgo joined #salt
20:31 michelle_ joined #salt
20:32 michelle_ hello, I've only just heard about salt and was wondering if someone could give me a quick pointer as to where to start, how many VMs do I need to setup to begin playing with saltstack and what distributions are preferred and anything else you can hint me while at it :)
20:32 pcurry_nomi joined #salt
20:34 diegows joined #salt
20:37 Marion joined #salt
20:41 mpanetta michelle_: Technically you don't need any VM's :)
20:44 opapo joined #salt
20:48 cachedou_ michelle_: Most people start with the Salt Walkthrough. It is here: http://docs.saltstack.com/topics/tutorials/walkthrough.html
20:48 cachedou_ And of course, we're here to help if you have any questions. Welcome to Salt. :]
20:51 timoguin shadowsun, ping
20:54 _fllr_ joined #salt
20:56 anitak joined #salt
20:58 mpanetta Crap what I want isn't in 0.17.4 :(
20:59 mpanetta Anyone know what release the salt-cloud in salt stuff is planned to be in?
20:59 mpanetta I see it in the develop branch
21:01 timoguin it's targetted for the next major release
21:03 cachedou_ A release-candidate for the next major release is very, very close.
21:03 cachedou_ (But we will go through several RCs and QA cycles before the actual release.)
21:04 mpanetta When do you think you will have your first RC?
21:04 mpanetta I would like to play with things a bit...
21:04 cachedou_ I just asked the release manager who told me "There is a 30% chance it will be today"
21:04 mpanetta lol
21:04 mpanetta Nice :)
21:04 harobed joined #salt
21:05 cachedou_ This week is likely, though the holiday is in there too, so we'll see. :]
21:05 mpanetta It would be a nice xmas or newyear gift ;)
21:06 cachedou_ Agreed. :] We'll do our best.
21:06 mpanetta Cool, well, I will just wait, I have other things I can work on until something is available :)
21:07 cachedou_ You can always pull down the latest copy of develop if you'd like to get a jump on things. Using salt-bootstrap makes it easy. :]
21:07 cachedou_ But the RC will be here ASAP.
21:08 mpanetta Ok :)
21:10 ajw0100 joined #salt
21:11 mpanetta cachedou_: Awesome, wow salt-bootstrap makes things so much easier heh
21:12 timoguin especially when paired with salt-cloud. :)
21:13 mpanetta Very true, we are already using it with salt-cloud to force install of 0.16.4 on our minions untill we have tested and upgraded to 0.17.x
21:14 Ryan_Lane joined #salt
21:14 jacksontj joined #salt
21:17 cewood joined #salt
21:17 cewood joined #salt
21:19 JordanRinke Morning
21:20 diegows joined #salt
21:22 Hefeweizen joined #salt
21:23 forresta joined #salt
21:24 martoss joined #salt
21:25 michelle_ mpanetta, cachedou_ very much appreciated for your welcome and help. Can I just try to confirm what do you mean "you don't need any VMs" :)
21:26 cachedou_ I'm not the one who made the comment about VMs. I think mpanetta was making a joke. :]
21:26 mpanetta Technically you can have a salt master and minion run on the same machine and manipulate that machine, so technically ypu don't need any extra vms to learn, no?
21:27 michelle_ saltmaster = the server/dispatcher, minion = worker/client ?
21:27 mpanetta yeah
21:28 cachedou_ That mode is referred to as "masterless" and is documented here: http://docs.saltstack.com/topics/tutorials/quickstart.html
21:29 timoguin masterless is different than what mpanetta is talking about
21:29 timoguin which is having the minion on the same machine as the master
21:29 timoguin where shit's so meta
21:29 Veticus joined #salt
21:29 cachedou_ Oh, that's true actually. I wasn't paying close attention there :]
21:29 cachedou_ (That's what I get for writing code and keeping up with IRC at the same time)
21:30 timoguin for shame! :)
21:30 cachedou_ Good catch timoguin :]
21:31 anitak joined #salt
21:34 michelle_ thanks guys. I'll be starting my adventure with salt shortly. Is there any linux distro that is more famous/well supported?
21:36 honestly on ubuntu you can just get the ppa
21:36 cro michelle_: I'd pick Ubuntu, though there are many different distro champions on the dev team (Arch, Centos, etc)
21:37 michelle_ thanks cro, I'm familiar with ubuntu, so I'll try that
21:37 cro np
21:38 sync_nl joined #salt
21:38 zfouts joined #salt
21:38 snave joined #salt
21:38 sync_nl Hi everyone, could someone tell me what the system requirements are for running a salt-master?
21:41 zfouts Guess that depends on how large your deployment is
21:41 sync_nl currently, not that big (maybe 4 servers), but will be expanding in the future
21:42 sync_nl just running it on a 512MB from DO
21:42 sync_nl just for test
21:44 michelle_ can I mix-match distributions?
21:44 cachedou_ FWIW: There were some really dramatic improvements for performance on salt-masters contributed last week.
21:47 bhosmer joined #salt
21:48 sync_nl cachedou_: ok, cool cool, just checking out the product, maybe it's something I could use in different places as well (currently have some experience with stuff like Rex (rexify.org) and Fabric
21:48 cro michelle_: sure!  I've controlled freebsd, ubuntu, centos, etc, etc from one salt-master
21:49 cachedou_ sync_nl: Cool. Let us know how it goes. :]
21:50 zfouts sync_nl, that should be fine ... I run 400 off from 8GB of ram and 6 cores which I feel is way overspecc'd
21:51 zfouts michelle_, yeah, you can mix-match distros. Like Debian & RHEL?
21:51 sync_nl zfouts: thanks! Got my salt-master & minion running now, testing out some things
21:52 michelle_ zfouts: I was thinking in terms of ubuntu and centos, but yes, along those lines :)
21:52 michelle_ thanks cro, zfouts
21:52 zfouts michelle_, yeah, not a problem at all. I have a 100% RHEL environment for work, and a CentOS/Debian/Ubuntu mix for my personal projects
21:52 lineman60 joined #salt
21:54 sync_nl how does the minion perform (in the sense of how many resources it takes)?
21:55 michelle_ zfouts: thanks :)
21:55 sync_nl it seems to be lightweight
21:55 jfzhu_us joined #salt
21:56 zfouts sync_nl, depends. I've had bugs that consume 96GB of ram, but typically no more 500MB with my config. but it depends on how big your states, how many modules, etc you're running
21:56 martoss joined #salt
21:56 sync_nl zfouts: yeah I understand
21:57 sync_nl liking it so far though, need to test it more thorough though
21:58 zfouts I love it
21:58 zfouts It is way easier to manage compared to chef, puppet, cfengine, etc
22:00 sync_nl yeah it looks like it
22:01 sync_nl What user does it use? Because I know it uses rabbitmq to pass through commands but say for instance I want to run a sudo command like (salt '*' cmd.run 'sudo yum -y update') I would need to turn off tty
22:02 sync_nl couldn't find a module that could do a 'yum update'
22:02 anitak joined #salt
22:04 wonhunawks joined #salt
22:04 cachedou_ IIRC, the yumpkg5 module will do that with the 'refresh' flag.
22:05 Katafalkas joined #salt
22:13 martoss joined #salt
22:14 jer_ joined #salt
22:15 jer_ has anyone seen this?
22:15 jer_ No Top file or external nodes data matches found
22:15 jer_ I am getting that error when running high state on a minion
22:15 jer_ if I restart the minion the state runs just fine
22:17 zfouts sync_nl, are you not running your minion as root?
22:17 sync_nl zfouts: yes I am
22:17 zfouts sync_nl, then why bother with sudo?
22:17 sync_nl zfouts: oh right -_- doh
22:19 sync_nl zfouts: thanks works without the sudo, of course
22:19 pcurry_nomi joined #salt
22:21 Ryan_Lane joined #salt
22:31 Ryan_Lane joined #salt
22:33 anitak joined #salt
22:33 Guest64991 joined #salt
22:34 totte joined #salt
22:39 wonhunawks joined #salt
22:43 ajw0100 joined #salt
22:46 N-Mi joined #salt
22:49 martoss joined #salt
23:04 anitak joined #salt
23:05 martoss joined #salt
23:21 jfzhu_us Out of curiosity. Has anyone hosted any salt events/meetups in NYC in the past year? If so, where would I find the schedule for these events?
23:21 NV joined #salt
23:23 forresta jfzhu_us, I don't know of any that have occurred in new york, maybe a local python meetup?
23:29 jfzhu_us forresta: Thanks. Took a look at the NYC python meetup and they don't seem to have anything for salt. Hopefully something will come up in the next year or so
23:29 forresta you should do a presentation
23:29 forresta I did one for the local Phoenix meetup last week.
23:31 nlb left #salt
23:33 quickdry21 joined #salt
23:34 anitak joined #salt
23:38 Guest25781 joined #salt
23:39 jfzhu_us I am having enough trouble trying to configure my laptop with salt. I haven't even gotten to the part where I use salt for remote execution.
23:39 forresta well, whose fault is that?? :P
23:39 forresta are you on a mac?
23:39 bhosmer joined #salt
23:42 jfzhu_us No, fedora. I come from a programming background so quite a few things are weird to me when I use yaml to generate template files. The fact that yaml doesn't appear to natively support functions is an issue I am trying to tackle right now
23:42 forresta you could use the pydsl
23:46 jfzhu_us I have. I just wish there was a bit more documentation or examples online that I could follow.
23:46 __number5__ jfzhu_us: better to start from a vm (e.g. vagrant or docker or etc.)
23:46 UtahDave jfzhu_us: what are you trying to accomplish?
23:46 forresta jfzhu_us, here are a few example projects: http://docs.saltstack.com/topics/salt_projects.html
23:46 jfzhu_us __number5__: I will once I start doing riskier stuff but right now its just trying to configure my home directory
23:47 __number5__ have you install salt master and minion on same machine?
23:48 jfzhu_us Given a list of users that may or may not be on a system, configure their .vim directory, .vimrc, .bashrc, and .hgrc from a single init.sls file
23:48 jfzhu_us yes
23:48 testing joined #salt
23:48 testing left #salt
23:48 jfzhu_us __number5__:  yes
23:50 UtahDave jfzhu_us: that should be quite easy to do.  Can you pastebin what you've attempted so far?
23:50 michelle_ ok, VMs installed... commence walkthrough
23:50 ht joined #salt
23:53 jfzhu_us UtahDave: I am trying something like this http://pastebin.com/BCpjxSfz
23:55 jfzhu_us UtahDave: But I have ran into issues such as figuring out why my modules weren't being imported and what the methods of the __pillar__ object are. Small issues like that.
23:55 UtahDave jfzhu_us: you're totally going about this the most difficult way.  :)
23:56 UtahDave jfzhu_us: are you following some tutorial somewhere?
23:58 defunctzombie what is the process to restart salt-minion if config file changes?
23:58 defunctzombie i.e. have the minion restart itself?
23:58 sgviking joined #salt
23:58 UtahDave defunctzombie: Yeah.
23:59 UtahDave defunctzombie: test that on one or two minions first, though
23:59 defunctzombie @UtahDave: k
23:59 fllr joined #salt
23:59 jfzhu_us UtahDave: Not any tutorial I have seen. I am just trying to use salt in a way that makes a lot of sense to me. This usually includes a lot of defensive programming, logging, and stuff like that. I am not sure if I am going about it the right way though.
23:59 defunctzombie @UtahDave: but it should work with just a watch state to restart the service in an sls file?
23:59 UtahDave defunctzombie: we had a packaging issue a while back on one of the OSes where the salt-minion couldn't restart itself.
23:59 UtahDave defunctzombie: yeah, that should work.
23:59 defunctzombie cool, thanks

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