Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2015-03-14

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

All times shown according to UTC.

Time Nick Message
00:10 pdayton joined #salt
00:23 jonher937 joined #salt
00:26 mikaelhm joined #salt
00:27 matthew-parlette joined #salt
00:28 jonher937 joined #salt
00:29 beneggett joined #salt
00:44 bluenemo_ joined #salt
00:50 lietu joined #salt
00:50 pdayton joined #salt
00:54 teskew joined #salt
00:56 pdayton1 joined #salt
01:05 pdayton joined #salt
01:06 Psymonryan joined #salt
01:07 Psymonryan banging my head: no matter what I do my windows salt minions claim that the states are unavailable, however I can call them from the salt command line. What stupid thing am I doing?
01:12 Psymonryan "salt machine hosts.add_host hello 192.168.0.1" works
01:13 Psymonryan but addhost: hosts.add_host: hello: 192.168.0.1 (inside an sls file) just gives me "hosts.add_host' found in SLS 'wingeneric' is unavailable.
01:13 teskew1 joined #salt
01:19 ccarney_ROCC joined #salt
01:19 ccarney_ROCC left #salt
01:28 catpig joined #salt
01:29 Psymonryan OK. Thanks everyone :-P figured it out. States != modules
01:32 baweaver joined #salt
01:33 forrest joined #salt
01:38 otter768 joined #salt
01:39 dooshtuRabbit joined #salt
01:40 dooshtuRabbit joined #salt
01:42 murrdoc joined #salt
01:51 teskew1 joined #salt
02:07 covox joined #salt
02:09 sudarkoff joined #salt
02:13 Psymonryan Anyone solved the pkg.remove issue on windows? I give it a list and I get (from windows minion debug) Unable to locate package None
02:18 favadi joined #salt
02:20 michelangelo joined #salt
02:21 desposo joined #salt
02:30 fllr joined #salt
02:31 digitalartist joined #salt
02:35 bbhoss Anyone using external auth? I'm trying to allow users to use salt without having to sudo/pfexec and I'm not sure it's the right tool. I get this when trying to run commands: "Failed to create path "/opt/local/var/log/salt/master" - [Errno 13] Permission denied: '/opt/local/var/log'"
02:35 djinni` joined #salt
02:36 digitalartist joined #salt
02:45 jla_ joined #salt
02:52 Psymonryan joined #salt
03:05 beneggett joined #salt
03:06 bash1245_ joined #salt
03:11 MindDrive "Failed to authenticate!  This is most likely because this user is not permitted to execute commands, but there is a small possibility that a disk error occurred (check disk/inode usage)." - Can someone explain to me what this crap is?  The only thing I did was change some configuration parameters (worker_threads to 10, ping_on_rotate and con_cache to 'true'), and now I'm getting this from our production Salt masters even though our develop
03:11 MindDrive ment and stage Salt masters are working fine.
03:14 MindDrive (And yes, there's plenty of disk space on both masters.)
03:29 otter768 joined #salt
03:31 arif-ali joined #salt
03:43 mgw joined #salt
03:55 thayne joined #salt
03:58 I3olle joined #salt
04:08 JlRd joined #salt
04:15 Ryan_Lane joined #salt
04:18 ndrei joined #salt
04:22 germs_ joined #salt
04:23 Psymonryan left #salt
04:25 iggy MindDrive: it's not space, it's indoes
04:26 iggy and more often than not it's because you have a rogue salt process still running... stop the service, check ps for any existing processes, kill them, start service
04:55 mikaelhm joined #salt
05:05 teskew1 joined #salt
05:08 teskew2 joined #salt
05:29 jerematic joined #salt
06:02 desposo1 joined #salt
06:03 f4lse joined #salt
06:04 canci joined #salt
06:16 mikaelhm joined #salt
06:19 dharper_ii joined #salt
06:19 vstoniest joined #salt
06:24 otter768 joined #salt
06:32 evle1 joined #salt
06:37 mikaelhm joined #salt
06:55 dharper_ii joined #salt
06:58 vstoniest joined #salt
06:58 cberndt joined #salt
06:59 desposo joined #salt
07:18 mikaelhm joined #salt
07:32 linjan joined #salt
07:32 vstoniest joined #salt
07:33 ndrei joined #salt
07:39 calvinh joined #salt
07:49 subu joined #salt
07:57 subu joined #salt
07:58 nexsja^ joined #salt
08:07 subu Hi, Trying to install salt-2014.7.2. It complains (a) No package 'libzmq' found. I will try to build libzmq as python extension.  Is it benign ?
08:09 subu b) pip install PyYAML . Says libyaml i snot found. forcing --without-libyaml. Is libyaml required ?
08:10 sfxandy joined #salt
08:13 babilen subu: How do you install it? On which distribution?
08:15 subu I downloaded salt 2014.7.2 from https://pypi.python.org/pypi/salt/2014.7.2
08:17 bash1245_ joined #salt
08:18 subu Question - Is 'libzmq' package required. Is libyaml required for Salt ?
08:19 babilen subu: On which distribution are you installing?
08:23 subu rhel6
08:24 subu rhel6/python 2.7.2
08:25 otter768 joined #salt
08:26 babilen http://docs.saltstack.com/en/latest/topics/installation/rhel.html
08:26 babilen bbl
08:35 calvinh joined #salt
08:37 JlRd joined #salt
08:41 egil joined #salt
08:47 dopesong joined #salt
08:48 mattiasr joined #salt
08:53 JlRd joined #salt
09:24 f4lse joined #salt
09:25 JlRd joined #salt
09:37 Furao joined #salt
10:03 peters-tx joined #salt
10:12 aquassaut joined #salt
10:14 lietu joined #salt
10:14 nexsja1 joined #salt
10:20 calvinh joined #salt
10:23 bhosmer joined #salt
10:26 otter768 joined #salt
10:29 nexsja guys, quick question. When runnin a masterless minion inside a vagrant box
10:29 nexsja Vagrant is setup to provision via salt, and I've set run_highstate = true
10:30 nexsja thought it doesn't do the same as salt-call --local state.highstate
10:30 rawzone joined #salt
10:30 nexsja is this because Vagrant doesn't play nice with a masterless setup?
10:40 linjan joined #salt
10:41 bluenemo joined #salt
10:53 micko1 joined #salt
10:54 dvestal joined #salt
10:55 jerematic joined #salt
10:57 I3olle joined #salt
11:12 viq joined #salt
12:00 malinoff joined #salt
12:08 tomspur joined #salt
12:12 bhosmer joined #salt
12:27 otter768 joined #salt
12:29 Morbus joined #salt
12:45 dexter91x joined #salt
12:49 jonatas_oliveira joined #salt
12:55 AndreasLutro joined #salt
13:00 jeremyr joined #salt
13:01 f4lse joined #salt
13:02 monkey66 joined #salt
13:04 bash1245_ joined #salt
13:05 ptinkler joined #salt
13:17 I3olle_ joined #salt
13:18 monkey66 joined #salt
13:19 monkey66 left #salt
13:34 ptinkler if I wanted a personal saltstack server for my own development projects is the best way just to set up a VPS somewhere with it all on? or are there any hosted solutions
13:40 jonher937 ptinkler: there is no hosted solution AFAIK
13:41 jonher937 ptinkler: Just fire up a intstance at digitalocean or vm in your dev env
13:42 nilptr joined #salt
13:43 ptinkler fair one, cheers :)
13:46 teskew2 joined #salt
13:52 teskew2 joined #salt
13:56 jespada joined #salt
14:07 pdayton joined #salt
14:11 iggy kvm, docker, *shudder* vbox... the possibilities are endless
14:12 signull joined #salt
14:13 thayne joined #salt
14:18 mikaelhm joined #salt
14:27 otter768 joined #salt
14:30 germs_1 joined #salt
14:32 dopesong joined #salt
14:35 ccarney_ROCC joined #salt
14:50 ndrei joined #salt
14:51 mattiasr joined #salt
14:57 teskew3 joined #salt
15:07 vincent_vdk joined #salt
15:08 bfoxwell joined #salt
15:18 netty_ joined #salt
15:19 mikaelhm joined #salt
15:21 netty_ joined #salt
15:21 AxelFooley joined #salt
15:21 AxelFooley join #sinatra
15:21 AxelFooley left #salt
15:22 netman_ joined #salt
15:23 netman_ joined #salt
15:25 netman_ joined #salt
15:26 thayne joined #salt
15:29 linjan joined #salt
15:29 teskew3 joined #salt
15:37 lude joined #salt
15:52 digidus joined #salt
15:52 ndrei joined #salt
15:53 neogenix_ joined #salt
15:56 scbunn joined #salt
16:08 stylo joined #salt
16:08 eliasp iggy: Docker! because package management is for pussies
16:08 eliasp :)
16:10 eliasp any ideas why this always runs into the "please-run-kinit" test state, although a manual "salt minion cmd.retcode klist" returns 0? https://gist.github.com/eliasp/95b12809d19e9cdc0b07
16:13 digidus left #salt
16:19 ccarney_ROCC left #salt
16:29 otter768 joined #salt
16:36 Furao joined #salt
16:36 scbunn joined #salt
16:36 ndrei joined #salt
16:45 jngd joined #salt
16:50 bbhoss iggy: I believe it was you I was talking to yesterday about external auth. I have LDAP setup, but it just seems to fail, with no logs (started master with -l all). Any ideas on how to debug further? This is an openldap server with a solairs schema
16:51 Zachary_DuBois joined #salt
16:54 AxelFooley joined #salt
16:58 johtso joined #salt
17:00 ek6 joined #salt
17:17 eliasp btw: solved my Jinja/klist issue by simply checking for "if klist_retcode > 0" …
17:22 thehaven joined #salt
17:25 jonher937 joined #salt
17:27 arnoldB joined #salt
17:27 _JZ_ joined #salt
17:27 tmh_ joined #salt
17:29 tmh_ joined #salt
17:30 dh joined #salt
17:31 jerematic joined #salt
17:31 Nazca joined #salt
17:31 nihe joined #salt
17:31 nexsja joined #salt
17:32 buxy joined #salt
17:34 linjan joined #salt
17:34 jagardaniel joined #salt
17:36 _JZ_ joined #salt
17:36 nkuttler joined #salt
17:39 tru_tru joined #salt
17:49 neogenix_ folks, anyone around here work on the ppa for SaltStack (https://launchpad.net/~saltstack)
17:53 babilen joined #salt
17:58 teskew3 joined #salt
17:58 Fiber^ joined #salt
17:58 neogenix joined #salt
18:02 Jimlad joined #salt
18:03 ajolo joined #salt
18:14 curiousbiped joined #salt
18:25 AxelFooley joined #salt
18:29 otter768 joined #salt
18:30 mattiasr joined #salt
18:35 fllr joined #salt
18:38 ndrei joined #salt
18:49 zer0def joined #salt
18:50 dave_den joined #salt
18:57 jonatas__ joined #salt
18:58 funzo joined #salt
19:01 mattiasr joined #salt
19:06 mr-op5 joined #salt
19:25 fllr joined #salt
19:34 ckao joined #salt
19:38 subhankar joined #salt
19:38 subhankar hi folks
19:43 ctrlrsf joined #salt
19:49 f4lse joined #salt
19:50 scbunn joined #salt
19:54 bhosmer joined #salt
19:54 JPT joined #salt
20:09 funzo joined #salt
20:12 AxelFooley joined #salt
20:19 mikaelhm joined #salt
20:19 bluenemo joined #salt
20:26 MatthewsFace joined #salt
20:28 desposo joined #salt
20:30 signull neogenix: PPA stuff is all old
20:30 signull just build your own packages
20:30 otter768 joined #salt
20:31 signull the debain stuff is there and the spec file is there for RHEL systems in the repo
20:32 mikaelhm joined #salt
20:45 linjan joined #salt
20:45 cberndt joined #salt
20:48 ndrei joined #salt
20:50 stylo left #salt
20:54 otter768 joined #salt
20:55 mattiasr joined #salt
20:55 scbunn joined #salt
20:56 bash1245_ joined #salt
21:10 funzo joined #salt
21:16 teskew joined #salt
21:25 whyic joined #salt
21:27 nilptr joined #salt
21:32 warpaint joined #salt
21:37 teskew joined #salt
21:45 whyic left #salt
21:55 teskew joined #salt
21:56 felskrone joined #salt
22:00 pdayton joined #salt
22:06 pmcg joined #salt
22:09 mikaelhm joined #salt
22:10 Ouzo_12 joined #salt
22:11 micko joined #salt
22:13 mdye joined #salt
22:13 aquassaut joined #salt
22:17 yomilk joined #salt
22:23 Hydrosine joined #salt
22:25 rudi_s Hi. Is there a simple way to get the result of the last state.highstate on a minion? I just want to get the number of failed/successful changes. Thanks.
22:32 Corey The jobs cache IIRC.
22:33 felskrone joined #salt
22:33 armguy joined #salt
22:37 teskew joined #salt
22:37 cberndt joined #salt
22:39 rudi_s How can I access it?
22:39 yomilk joined #salt
22:42 felskrone joined #salt
22:44 mattiasr joined #salt
22:48 yomilk joined #salt
22:52 eliasp rudi_s: with Google :) http://docs.saltstack.com/en/latest/topics/jobs/job_cache.html  http://docs.saltstack.com/en/latest/topics/jobs/#lookup-jid
22:54 rudi_s eliasp: I read that, but couldn't find an easy way to get the last log of a minion. Did I overlook something obvious?
22:54 TheoSLC joined #salt
22:58 eliasp rudi_s: jobs.list_jobs will also contain the IDs of the minions… but you're probably right… there's nothing like jobs.search_job match='G@os:Windows and E@server-web-*'
22:58 rudi_s The idea is to monitor the success/failure of the last salt run on all minions to notice issues quickly.
22:58 eliasp rudi_s: for monitoring, you might be better of using a returner
22:58 eliasp http://docs.saltstack.com/en/latest/ref/returners/
22:58 eliasp see the list of returners at the bottom of the page
23:00 teskew1 joined #salt
23:01 rudi_s eliasp: Thank you. One question, why/how is the returned synced to the minion (if I read that part correctly)? Shouldn't the result of the minion be handled on the master only?
23:01 rudi_s And just so I understood correctly, when I add a returner the normal display of the output is unchanged?
23:02 eliasp the output is displayed according to your outputer: http://docs.saltstack.com/en/latest/ref/output/all/index.html
23:02 eliasp to the returners, just the raw data-structure is passed along and the returner will do with it whatever it likes to do
23:03 eliasp rudi_s: the job cache on a minion is only used for to-be-executed and currently executed jobs…
23:03 eliasp rudi_s: the result of executed jobs is passed to the master, which then either passes the results to a configured returner or leaves it in the cache until it expires
23:04 rudi_s eliasp: Thanks. - I meant the following part: "Custom returners are distributed when any of the following are called: state.highstate ..." <- that got me a little confused, because I thought the return is run on the master only.
23:05 eliasp rudi_s: ah, you're right… sorry… returners run on the minions… my bad
23:05 rudi_s eliasp: np - Good to know. Thanks for your detailed explanation, this should be very useful to me.
23:22 scoates joined #salt
23:23 scbunn joined #salt
23:36 bhosmer_ joined #salt
23:41 funzo joined #salt
23:42 nene joined #salt
23:45 otter768 joined #salt
23:47 mikaelhm_ joined #salt
23:49 wnkz joined #salt

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