Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-12-25

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

All times shown according to UTC.

Time Nick Message
00:06 kormoc joined #salt
00:12 kormoc joined #salt
00:18 kormoc joined #salt
00:23 pdayton joined #salt
00:26 kormoc joined #salt
00:30 bhosmer_ joined #salt
00:36 aqua^mac joined #salt
00:36 kormoc joined #salt
00:47 kormoc joined #salt
00:52 kormoc joined #salt
00:58 kormoc joined #salt
01:06 kormoc joined #salt
01:12 kormoc joined #salt
01:22 kormoc joined #salt
01:28 kormoc joined #salt
01:36 kormoc joined #salt
01:38 sk_0 joined #salt
01:42 sgregory joined #salt
01:44 sk_0 joined #salt
01:47 kormoc joined #salt
01:51 sgregory joined #salt
01:57 kormoc joined #salt
02:04 bhosmer_ joined #salt
02:07 kormoc joined #salt
02:12 otter768 joined #salt
02:13 sgregory joined #salt
02:18 halfss joined #salt
02:25 aqua^mac joined #salt
02:44 monkey661 joined #salt
02:51 monkey661 left #salt
02:54 vbabiy joined #salt
02:55 monkey66 joined #salt
02:57 sgregory_ joined #salt
02:58 kormoc joined #salt
02:59 monkey661 joined #salt
03:12 Mso150_f_x joined #salt
03:21 favadi_ joined #salt
03:24 sgregory joined #salt
03:28 kormoc joined #salt
03:30 monkey661 left #salt
03:33 tmh1999 joined #salt
03:33 tmh1999 left #salt
03:36 brianfeister joined #salt
03:41 bhosmer_ joined #salt
04:11 kormoc joined #salt
04:14 aqua^mac joined #salt
04:17 Guest64056 joined #salt
04:28 Cyrax_ joined #salt
04:29 younqcass joined #salt
04:32 holyzhou joined #salt
04:44 ajolo joined #salt
04:54 TyrfingMjolnir joined #salt
05:02 neogenix joined #salt
05:04 TyrfingMjolnir joined #salt
05:09 TheThing joined #salt
05:11 aqua^mac joined #salt
05:12 kormoc joined #salt
05:16 malinoff joined #salt
05:19 TyrfingMjolnir joined #salt
05:25 brianfeister joined #salt
05:30 tcotav joined #salt
05:43 nafg_ joined #salt
05:45 kormoc joined #salt
05:48 brianfeister joined #salt
05:58 stevednd joined #salt
05:59 swingswing joined #salt
05:59 luminous joined #salt
05:59 cwright joined #salt
05:59 vlcn joined #salt
06:00 keekz joined #salt
06:00 slav0nic joined #salt
06:26 cwright joined #salt
06:28 vlcn joined #salt
06:29 keekz joined #salt
06:31 kormoc joined #salt
06:39 pppingme joined #salt
06:45 kormoc joined #salt
06:47 TyrfingMjolnir joined #salt
07:02 ndrei joined #salt
07:06 kormoc joined #salt
07:14 pdayton joined #salt
07:15 kormoc joined #salt
07:17 otter768 joined #salt
07:38 rcsheets left #salt
08:08 nafg_ joined #salt
08:11 kormoc joined #salt
08:24 Mso150_f_x joined #salt
08:33 aurynn joined #salt
08:37 jesusaurus joined #salt
08:38 nafg_ joined #salt
08:44 aurynn joined #salt
08:57 jesusaurus joined #salt
09:04 nafg_ joined #salt
09:11 dotz joined #salt
09:12 halfss joined #salt
09:14 kormoc joined #salt
09:28 otter768 joined #salt
09:30 halfss_ joined #salt
09:39 jesusaurus joined #salt
09:46 kormoc joined #salt
09:48 shoma joined #salt
09:56 kormoc joined #salt
09:58 jesusaurus joined #salt
10:11 ndrei joined #salt
10:25 markm_ joined #salt
10:28 kormoc joined #salt
10:33 giantlock joined #salt
10:37 dotz joined #salt
10:59 zerthimon joined #salt
11:08 kormoc joined #salt
11:14 kormoc joined #salt
11:24 kormoc joined #salt
11:29 otter768 joined #salt
11:31 wnkz_ joined #salt
11:33 bhosmer__ joined #salt
11:35 kormoc joined #salt
11:51 bhosmer__ joined #salt
11:51 ttrumm joined #salt
12:18 bhosmer__ joined #salt
12:22 TheThing_ joined #salt
12:31 halfss joined #salt
12:40 TheThing joined #salt
12:41 agend joined #salt
12:49 giantlock joined #salt
12:57 kormoc joined #salt
13:00 dotz Guys, why does salt-call test.version from a minion works -- but salt minion.id test.version on master does NOT?
13:05 bhosmer__ joined #salt
13:24 tomert joined #salt
13:24 tomert hell
13:24 tomert hello
13:24 tomert I have a problem with salt-api
13:25 tomert I need to config it
13:28 tomert while starting the service in redhat 7
13:29 tomert he is not listing on port 8080
13:38 LeProvokateur joined #salt
13:46 Morbus joined #salt
13:51 pdayton joined #salt
13:53 Bolle joined #salt
14:01 bhosmer__ joined #salt
14:16 patrek joined #salt
14:48 nitti joined #salt
14:49 aquinas joined #salt
14:52 CeBe joined #salt
14:56 CeBe1 joined #salt
14:58 kormoc joined #salt
14:58 CeBe2 joined #salt
15:07 Furao joined #salt
15:07 mage_ joined #salt
15:07 mage_ hello
15:07 dotz mage_: hi
15:08 mage_ I just started to learn salt, I'm in the tutorial part where keys have been added, but after executing salt '*' test.ping I get a "[WARNING ] Failed to open log file, do you have permission to write to /var/log/salt/master?"
15:08 jonatas_oliveira joined #salt
15:09 mage_ the master runs as root so I don't understand why a regular user should have write access to that file
15:09 mage_ I tried to add an acl_user but then I get a OSError: [Errno 13] Permission denied: '~'
15:09 dotz mage_: what user do you run salt as?
15:09 dotz Not salt-master. The salt command.
15:10 mage_ user "foo"
15:10 mage_ a regular user
15:10 dotz sudo salt
15:10 mage_ all commands must be runned as root ?
15:10 dotz Seems so.
15:11 dotz As my saltstack setup is messing with the serious parts of the server, I was never concerned with that.
15:13 dotz On the other hand, I realize, this may be a bit scary for some.
15:18 bhosmer__ joined #salt
15:24 giantlock joined #salt
15:28 dotz Here's the deal... salt-call test.version from a minion works, but salt minion_id test.version from the master does NOT. I removed minion key, then I re-authenticated it - the key showed up in the salt-key command, with the proper minion_id.
15:29 dotz Any ideas, how can I debug this ?
15:29 P0bailey joined #salt
15:29 dotz salt-master -l debug spews a lot of information
15:29 P0bailey joined #salt
15:29 dotz This is on 2014.7.0
15:29 pdayton joined #salt
15:30 otter768 joined #salt
15:32 dotz Removing the minion (apt-get --purge) helped.
15:32 dotz WTF.
15:36 babilen dotz: The minion responds if you purge it?
15:37 pdayton1 joined #salt
15:37 dotz babilen: I removed everything (software + configs), then re-installed the minion.
15:37 dotz It started working. Just like that. Oh well, maybe I should trying re-starting the minion first ! :-)
15:37 babilen So, you must have had configuration files that caused it to not work properly with your master
15:37 dotz I'm on pretty unstable connection with salt running on ssh tunnels to my laptop + autossh.
15:37 dotz babilen: no, it worked.
15:38 babilen So, all you needed was a restart of the minion?
15:38 dotz babilen: seems so =)
15:38 babilen You might want to look into mosh if your SSH connection is flaky (or you just want to close your laptop in one location, walk somewhere else, open it up and have all your connections ready again)
15:39 dotz babilen: looks cool, thanks!
15:42 mage_ mmh salt '*' disk.usage doesn't work on FreeBSD
15:46 dotz babilen: are you using mosh, like, daily ?
15:48 dotz Another thing, is there any option to cause salt to fail when there is no contact with minion?
15:48 Furao joined #salt
15:48 hasues joined #salt
15:49 hasues left #salt
15:55 kormoc joined #salt
16:07 CeBe joined #salt
16:07 cads joined #salt
16:10 Furao joined #salt
16:11 kormoc joined #salt
16:16 rm-rf joined #salt
16:17 otter768 joined #salt
16:21 CeBe1 joined #salt
16:38 Furao joined #salt
16:40 CeBe joined #salt
16:43 eichiro joined #salt
16:45 bhosmer__ joined #salt
16:56 kormoc joined #salt
16:58 P0bailey joined #salt
16:59 Jimlad joined #salt
16:59 P0bailey joined #salt
17:04 kormoc joined #salt
17:05 voxxit joined #salt
17:10 TyrfingMjolnir joined #salt
17:10 bhosmer__ joined #salt
17:25 jesusaurus joined #salt
17:31 halfss joined #salt
17:41 glyf joined #salt
17:45 kormoc joined #salt
17:50 hebz0rl joined #salt
17:57 kormoc joined #salt
17:59 rm-rf joined #salt
18:10 Mso150 joined #salt
18:13 kormoc joined #salt
18:13 gngsk joined #salt
18:16 nitti joined #salt
18:18 gngsk joined #salt
18:22 P0bailey joined #salt
18:22 P0bailey joined #salt
18:29 nafg_ joined #salt
18:35 Mso150_a joined #salt
18:46 kormoc joined #salt
18:54 kormoc joined #salt
18:58 mdupont joined #salt
19:05 otter768 joined #salt
19:12 cberndt joined #salt
19:13 TyrfingMjolnir joined #salt
19:14 kormoc joined #salt
19:17 brianfeister joined #salt
19:18 CeBe1 joined #salt
19:20 halfss joined #salt
19:24 gngsk joined #salt
19:26 kormoc joined #salt
19:33 murkey joined #salt
19:40 murkey hmm. i have a process that, when i run it manually, prints a few lines and daemonizes
19:40 murkey when i run it from saltstack it just hangs
19:41 murkey no output
19:41 murkey would love some help debugging
19:41 murkey i know that's a lot to ask during a holiday!
19:44 kormoc joined #salt
19:57 kormoc joined #salt
20:02 cwyse joined #salt
20:04 hebz0rl joined #salt
20:06 fxhp joined #salt
20:17 ggoZ joined #salt
20:19 shoma joined #salt
20:22 gngsk_ joined #salt
20:26 stooj joined #salt
20:39 kormoc joined #salt
20:39 ttrumm joined #salt
20:41 programmerq joined #salt
20:43 ttrumm joined #salt
20:44 murkey hmm... does saltstack play nicely with isatty() ?
20:45 giantlock joined #salt
20:48 murkey more specifically, would "isatty(fileno(stdout)) && isatty(fileno(stdin)) && isatty(fileno(stderr))" ever return true in a salt context? i'm guessing no.
20:48 hellerbarde joined #salt
20:51 TheThing joined #salt
20:53 CeBe joined #salt
20:56 murkey so my final question, which i don't see an obvious answer to, is how to force a long-running process to daemonize
20:56 murkey i usually use 'command &'
20:56 murkey but that's still hanging :/
20:58 murkey i'd like to still get stdout if possible
21:06 Mso150_a joined #salt
21:06 otter768 joined #salt
21:08 CeBe joined #salt
21:09 halfss joined #salt
21:10 murkey this works but i don't like the lack of output: http://stackoverflow.com/a/10908325/2880693
21:11 murkey someone ping me if they know a better way! especially if it integrates with ubuntu startup/init
21:11 murkey thanks in advance, sorry if this is a dead horse, i'm a salt newb
21:13 Mso150 joined #salt
21:14 ktosiek I'm writing a formula for corosync clusters, and I need each host to know about all the others in the same cluster. How should I organize it?
21:17 kormoc joined #salt
21:18 ktosiek I mean, how can I mark nodes as being in a cluster (with grains?), and how can I find a list of all such nodes from jinja?
21:29 kormoc joined #salt
21:49 kormoc joined #salt
21:50 diegows joined #salt
21:53 nafg joined #salt
21:56 Adam___ joined #salt
21:57 Adam___ Hello all, I just learned about Salt last weekend and was so blown away. I read the entire documentation. I decided to switch my company onto the platform but I was hoping to get a few questions answered first
21:58 Adam___ What is the absent.sls file for?
21:59 CeBe1 joined #salt
22:00 Adam___ And do the minions need to be accessible outside the LAN? I read in the documentation that it wasn't necessary as long as the master is accessible, I just want to make sure
22:02 kormoc joined #salt
22:08 kormoc joined #salt
22:09 glyf joined #salt
22:11 babilen Adam___: The minions just have to be able to speak with the master in *some* way. It really doesn't matter how the underlying network infrastructure looks like.
22:11 babilen What is the "absent.sls" you refer to? In which context did you encounter it?
22:12 ktosiek can master start the connection, or is it always minion connecting to master?
22:16 kormoc joined #salt
22:19 Adam___ i saw it in a lot of example states
22:20 Adam___ https://github.com/SS-archive/salt-states/tree/master/vim
22:20 Adam___ They all had the same name pattern
22:21 Adam___ https://github.com/SS-archive/salt-states/tree/master/hosts
22:22 Adam___ https://github.com/SS-archive/salt-states/tree/master/saltsrc
22:22 Adam___ ^ a couple others
22:23 Adam____ joined #salt
22:23 ktosiek how do I group hosts together and list the grouped hosts in some file?
22:24 ktosiek seems like a pretty basic pattern...
22:24 ktosiek Adam___: looks like the absent.sls files are for removing what those states installed. I think it's only a convenience, and not something Salt actually uses
22:25 Adam___ oh, i see. So they have to be used intentionall?
22:25 ktosiek yup
22:25 Adam___ great. Thanks for your help!
22:27 ggoZ joined #salt
22:30 * ktosiek never knew about Jinja's import
22:30 ktosiek *_*
22:32 catpig joined #salt
22:36 kormoc joined #salt
22:38 babilen Adam___: You can name your states whatever you want, there is nothing specific about 'absent.sls'. SS-archive is also in no way an official repository (and a rather offensive name, IMHO). You find official formulas on https://github.com/saltstack-formulas/
22:39 babilen Or let me say "SLS files" in lieu of "states" there.
22:49 hebz0rl joined #salt
22:56 pdayton joined #salt
22:58 halfss joined #salt
23:01 cnelsonsic joined #salt
23:03 P0bailey joined #salt
23:03 glyf joined #salt
23:03 P0bailey joined #salt
23:05 kormoc joined #salt
23:06 CeBe joined #salt
23:06 aquinas joined #salt
23:07 otter768 joined #salt
23:09 ckao joined #salt
23:22 kormoc joined #salt
23:27 jeffspeff joined #salt
23:28 glyf joined #salt
23:37 kormoc joined #salt
23:38 TheThing joined #salt
23:38 viq joined #salt
23:42 a1b2c3 joined #salt
23:45 kormoc joined #salt
23:56 kormoc joined #salt
23:59 hebz0rl joined #salt

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