Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2016-07-02

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

All times shown according to UTC.

Time Nick Message
00:23 lero joined #salt
00:50 infrmnt1 joined #salt
00:55 Nahual joined #salt
00:55 gngsk Anyone here that can merge https://github.com/saltstack-formulas/users-formula/pull/120 ?
00:55 saltstackbot [#120][OPEN] Replace periods in username with underscores. | Fixes #118
00:55 gngsk Fixes https://github.com/saltstack-formulas/users-formula/issues/118
00:55 saltstackbot [#118][OPEN] sudo state does not handle usernames containing periods | From the sudoers manpage....
00:58 Exapiper joined #salt
01:11 iceyao joined #salt
01:19 onlyanegg joined #salt
01:35 catpigger joined #salt
01:36 rem5 joined #salt
01:38 evidence joined #salt
01:38 ameobapox joined #salt
01:38 cliffstah joined #salt
01:39 Gabemo joined #salt
01:39 pmcnabb joined #salt
01:40 liskl joined #salt
01:48 rem5 joined #salt
01:53 rem5 joined #salt
01:54 justanotheruser joined #salt
01:57 hightekvagabond joined #salt
01:59 manifold joined #salt
02:00 pfallenop joined #salt
02:06 rhand joined #salt
02:08 justanotheruser joined #salt
02:28 hightekvagabond joined #salt
02:28 hightekvagabond1 joined #salt
02:38 sauvin joined #salt
02:39 fannet_ joined #salt
02:42 oida joined #salt
02:56 gngsk joined #salt
02:57 pfallenop joined #salt
03:03 Satyajit joined #salt
03:09 dendazen joined #salt
03:18 hasues joined #salt
03:28 hasues left #salt
03:35 dps joined #salt
03:35 dps anybody awake? im pulling my hair out.
03:35 dps I am trying to file.recurse and exclude the .git folder.
03:36 dps the relative path in debug from --log-level=all is looking at rel_path 'folder/.git/
03:36 dps can I excute that entire folder from a file.recurse operation?
03:36 jalaziz joined #salt
03:56 onlyanegg joined #salt
04:00 ajv joined #salt
04:46 bfig__ joined #salt
04:47 bfig___ joined #salt
04:59 LostSoul_ Hi
04:59 LostSoul_ I've got problem
04:59 LostSoul_ salt-minion/salt-master hangs on calling state.highstate on one node
04:59 bfig joined #salt
04:59 LostSoul_ It just waits and I don't know how to debug it
05:01 dps what does --log-level=all say
05:02 ashmckenzie_ joined #salt
05:03 alxchk_ joined #salt
05:03 llua` joined #salt
05:03 bbradley_ joined #salt
05:03 jor_ joined #salt
05:03 garthk_ joined #salt
05:04 unusedPh- joined #salt
05:04 LostSoul_ [TRACE   ] Check main poller timeout 1
05:05 rem5 joined #salt
05:11 LostSoul_ Any idea dps?
05:16 dps sorry i was afk
05:16 dps no i have no idea, what part is it hanging on
05:16 dps can you show more output?
05:17 dps can you execute an arbitrary command with -r?
05:17 dps like uptime?
05:22 LostSoul_ dps: ?
05:24 alvinstarr joined #salt
05:25 iceyao joined #salt
05:26 dps run like salt '*' -r uptime
05:26 dps do you get output?
05:26 dps like without applying a state?
05:28 dps did it ever work?
05:28 dps could it be a firewall rule?
05:28 dps i only use salt-ssh i dont use minions
05:29 LostSoul_ It was working like 1-2 days ago
05:32 LostSoul_ salt: error: no such option: -r
05:35 LostSoul_ dps: it works with modules
05:36 LostSoul_ I can try to upgrade salt
05:37 dps i dont think you should have to do that
05:37 dps sorry my irc doesnt notify
05:38 ageorgop joined #salt
05:38 dps can you do this?
05:38 dps salt '*' test.ping
05:40 lompik joined #salt
05:40 DEger joined #salt
05:43 Exapiper don't the options come first, then the other stuff
05:44 jalaziz joined #salt
05:44 dps this command works for me sudo salt-ssh '*' -r uptime
05:45 dps not sure about salt i dont use minions
05:45 LostSoul_ Aaa
05:45 LostSoul_ ;)
05:45 LostSoul_ dps: I updated and it's not working
05:45 LostSoul_ now *
05:45 LostSoul_ I don't know how come it wasn't
05:45 LostSoul_ As it was working 1-2 days ago
05:45 * Exapiper is not familiar with salt-ssh
05:45 LostSoul_ I've only did one small pillar change
05:46 LostSoul_ I'm not familiar with salt-ssh too :P
05:46 LostSoul_ Anyway it's working now, thanks
05:46 LostSoul_ I've noticed I had ppa repo
05:46 LostSoul_ With a bit older version
05:47 LostSoul_ But still I don't get it why wasn't it working
05:50 fleaz joined #salt
05:51 DEger joined #salt
05:54 Exapiper I am starting my first little saltstack project
05:55 Exapiper using salt to spin up minecraft servers - (and get my feet wet with xenserver)
05:55 LostSoul_ :)
05:55 LostSoul_ Good luck with that :)
05:56 Exapiper I have a lot of the work done so far
05:56 Exapiper I just need to smooth out a couple spots
06:03 ruxu joined #salt
06:10 dps LostSoul glad it is working
06:14 ruxu joined #salt
06:24 s_kunk joined #salt
06:40 fannet_ joined #salt
06:43 LostSoul_ :)
06:43 LostSoul_ Exapiper: Nice
06:43 LostSoul_ I wish to start my own game server too but I have no idea which game to pick
06:44 LostSoul_ Back in old days I tried to do it with Tibia, but it's not so popular now
06:47 Exapiper LostSoul_: I am thinking of possibly doing a small little operation of producing and managing mc servers for other people
06:50 Exapiper the practical usage so far is just my kids playing on a home server that I made for them hehe
06:51 ruxu joined #salt
06:53 LostSoul_ Hehe :)
07:27 manji joined #salt
07:36 sherpa joined #salt
07:38 manji joined #salt
07:49 ruxu joined #salt
07:56 keimlink joined #salt
08:14 GreatSnoopy joined #salt
08:14 ronnix joined #salt
08:28 m0nky joined #salt
08:30 keimlink joined #salt
08:45 morsik joined #salt
08:46 morsik hello. It's possible to do includes inside 'top.sls' so we could categorize multiple architectural environments inside different files? And those files could contain classic top.sls format.
08:54 M-liberdiko joined #salt
08:57 fannet_ joined #salt
09:04 alxchk joined #salt
09:18 M-cpt joined #salt
09:18 M-MadsRC joined #salt
09:22 GreatSnoopy joined #salt
09:25 Rumbles joined #salt
09:39 TyrfingMjolnir joined #salt
09:46 dj_goku joined #salt
10:13 Trauma joined #salt
10:15 babilen morsik: No
10:16 babilen morsik: You can, however, render the file dynamically in jinja and use, for example, pillar data to do so
10:19 deniszh joined #salt
10:20 DEger joined #salt
10:21 GreatSnoopy joined #salt
10:23 morsik babilen: woah… that's interesting. Thanks for tip
10:25 dmaiocchi joined #salt
10:31 ronnix joined #salt
10:39 Exapiper so which one of you is goku?
10:42 liskl joined #salt
10:43 Exapiper anyone awake atm? (I am curious about the firewalld statemodule)
10:45 babilen It's noon in Europe, so I'd hope a bunch of people are awake
10:45 Exapiper 0345 west coast US
10:46 Exapiper babilen: where you at?
10:46 babilen Does it matter?
10:46 babilen Berlin though
10:46 Exapiper not really..just curious
10:46 Exapiper never been over the pond (maybe next year)
10:47 Exapiper so I am nearly done with my little hobby project
10:47 LotR babilen: it's the weekend, aren't we allowed to sleep in? ;)
10:47 Exapiper I just have to figure this firewalld part out
10:50 Exapiper it creates a mc server, utilizing firewalld (xml service file) and systemd as well
10:51 Exapiper accepts the eula
10:51 Exapiper uses mcrcon in conjunction with systemd to have graceful shutdowns and startups
11:15 hemebond joined #salt
11:54 SheetiS1 joined #salt
12:13 Guest8232 joined #salt
12:20 arif-ali joined #salt
12:55 linjan joined #salt
12:59 dendazen joined #salt
13:04 rburkholder joined #salt
13:08 amcorreia joined #salt
13:10 gazarsgo joined #salt
13:15 keimlink joined #salt
13:25 fxhp joined #salt
13:38 badon_ joined #salt
13:41 Trauma joined #salt
13:42 CeBe joined #salt
13:49 keimlink joined #salt
13:53 markus___ joined #salt
13:54 markus___ a question regarding compund matching: https://docs.saltstack.com/en/latest/topics/targeting/compound.html
13:55 markus___ i want to match all minions, exept those with pillar "patch:patch_a" or "patch:patch_b".
13:56 markus___ wrong: salt -C 'not (I@patch:patch_a or I@patch:patch_b)' test.ping --output=txt
13:56 markus___ please can you give me a correct example? thx.
14:18 hasues joined #salt
14:21 DEger joined #salt
14:23 rem5 joined #salt
14:23 linjan joined #salt
14:23 hasues left #salt
14:25 Cottser joined #salt
14:36 POJO joined #salt
14:40 hrumph joined #salt
14:42 POJO joined #salt
14:47 iceyao joined #salt
14:51 viq joined #salt
14:51 dmaiocchi joined #salt
14:58 cyborg-one joined #salt
14:58 DarkKnightCZ joined #salt
15:20 sknebel joined #salt
15:31 keimlink joined #salt
15:37 sjmh joined #salt
15:38 DEger joined #salt
15:39 llua joined #salt
15:44 rem5 joined #salt
15:49 linjan joined #salt
15:50 onlyanegg joined #salt
16:44 dmaiocchi joined #salt
16:49 bfig_ joined #salt
16:49 bfig___ joined #salt
16:58 blueelvis joined #salt
17:03 amcorreia joined #salt
17:24 IanV0rn2341 joined #salt
17:31 Satyajit joined #salt
17:31 onlyanegg joined #salt
17:39 DEger joined #salt
17:58 cprior joined #salt
18:08 ruxu joined #salt
18:11 DEger joined #salt
18:16 snath joined #salt
18:16 catpig joined #salt
18:17 snath quick question; Does reverse DNS need to work for the salt master?
18:19 DarkKnightCZ joined #salt
18:28 DEger joined #salt
18:30 linjan joined #salt
18:31 DEger_ joined #salt
18:31 lilvim joined #salt
18:33 viq snath: no
18:40 bilal80 joined #salt
18:44 berto- joined #salt
18:47 keimlink joined #salt
18:47 manji joined #salt
18:48 lero joined #salt
19:06 deniszh1 joined #salt
19:15 garphy joined #salt
19:30 sjmh joined #salt
19:34 pranav joined #salt
19:35 muep joined #salt
19:38 wwalker joined #salt
19:38 blueelvis joined #salt
19:40 wwalker OK, I create a master and minion, on the same node, I created /srv/salt/vim.sls.  I run "salt-call state.apply vim.sls" or "salt '*' state.apply vim.sls"  in both cases, it fails with
19:41 wwalker No matching sls found for 'vim.sls' in env 'base'
19:42 wwalker originally, there were no file_roots, then I created a root for base pointing to /srv/salt  .   Any idea why it can't find my file?
19:42 wwalker actually, those commands did not have .sls on them.  I tried them that way after just vim was not working
19:45 amcorreia joined #salt
19:52 viq wwalker: no .sls
19:52 viq "salt-call state.apply vim" is what you want
19:52 wwalker I've done it with and without the .sls
19:53 viq wwalker: does master see the minion?
19:53 wwalker I just did an strace of "salt-call state.apply vim" and it isn't looking for .sls
19:53 wwalker yes, the master sees (can ping and disk usage) the minion
19:53 viq on master start with "salt-key -L" and if minion key is accepted "salt-run manage.status"
19:53 viq Also _where_ did you put /srv/salt/vim.sls ?
19:54 viq master or minion?
19:54 viq ah, same node, sorry
19:54 wwalker they are the same machine currently
19:54 wwalker :-)
19:54 * viq goes to read the difference between state.apply and state.sls
19:56 viq wwalker: you want state.sls, not state.apply
19:56 viq wwalker: state.apply applies states assigned via top.sls. If you want to do a single state, you use state.sls
19:59 blueelvis joined #salt
20:00 wwalker ok, thank you viq.  see if I can get that to work.  That means that the instructions on the 10 minute tutorial are wrong.  https://docs.saltstack.com/en/latest/topics/tutorials/walkthrough.html
20:01 viq wwalker: oh, I re-read, and I am wrong, not the walkthrough
20:02 rem5 joined #salt
20:05 wwalker :-(   yeah, I'm at a loss
20:08 rem5 joined #salt
20:11 rem5_ joined #salt
20:11 wwalker fileserver_backends: only had gitfs  :-(   added roots and it at least tries now
20:21 wwalker thanks viq!  it's all happy now.
20:25 iggy state.apply is fine for single/list of states
20:29 babilen viq: state.apply is state.highstate if run without and argument and state.sls if passed the name of a SLS
20:32 manji joined #salt
20:34 MeltingFiction joined #salt
20:36 ruxu joined #salt
20:39 wwalker babilen: thanks!
20:40 wwalker and iggy
20:40 ruxu joined #salt
20:40 fannet_ joined #salt
20:45 iggy wwalker: for future reference, one of my first steps when dealing with issues like you had would be `salt-call cp.list_master | grep <what_I'm_lookingfor>`
20:45 fannet_ joined #salt
20:45 iggy if nothing was in there, you can reasonably assume you've got a config problem on the master
20:47 cyborg-one joined #salt
21:25 dendazen joined #salt
21:27 barmaley joined #salt
21:30 sjmh joined #salt
21:40 manji joined #salt
22:04 Antiarc_ joined #salt
22:13 badon joined #salt
22:13 skogg joined #salt
22:22 badon joined #salt
22:22 robbintt joined #salt
22:25 sknebel joined #salt
22:34 zenlot joined #salt
22:41 sjmh joined #salt
23:01 fannet_ joined #salt
23:13 viq joined #salt
23:13 linovia joined #salt
23:49 lero joined #salt

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