Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2017-05-28

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

All times shown according to UTC.

Time Nick Message
00:04 sh123124213 joined #salt
00:05 mavhq joined #salt
00:22 hkhraim joined #salt
00:28 numkem joined #salt
00:31 rojem joined #salt
00:32 rojem joined #salt
00:33 rojem joined #salt
00:34 rojem joined #salt
00:35 hkhraim left #salt
00:36 hassan2566 joined #salt
00:42 gtmanfred wych: put in `Go Go Jenkins!` to restart tests
00:44 gtmanfred squig:looks like it
00:44 hassan2566 hi
00:44 hassan2566 I have question  how I can load zabbix or other  module to my installation
00:45 hassan2566 to my salt installation
00:45 gtmanfred https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.zabbix.html
00:46 gtmanfred you need zabbix_server binary installed
00:46 gtmanfred https://github.com/saltstack/salt/blob/develop/salt/modules/zabbix.py#L49
00:46 gtmanfred otherwise, check the depends section of the man page should list what you need to enable it
00:47 hassan2566 ok
00:47 hassan2566 the python file need to be placed somewhere
00:48 gtmanfred it shouldn't
00:48 gtmanfred it should be in satl
00:48 gtmanfred you just need to make sure that __virtual__ function returns true or it won't load
00:48 hassan2566 Thanks I will test it now
00:49 gtmanfred what version of salt do you have installed on the minions?
00:49 fracklen joined #salt
00:50 hassan2566 salt-master-2015.5.10-2.el7.noarch
00:50 gtmanfred ahh it won't be available on that
00:51 gtmanfred use repos.saltstack.com
00:51 gtmanfred not epel
00:51 gtmanfred http://repo.saltstack.com/#rhel
00:51 hassan2566 thanks
00:51 hassan2566 :)
00:56 czchen joined #salt
00:58 hassan2566_ joined #salt
00:58 cyteen joined #salt
01:01 justanotheruser joined #salt
01:09 Corey gtmanfred: Pong.
01:11 gtmanfred Corey: nevermind, i got it sorted
01:19 Corey Huzzah.
01:35 shred joined #salt
01:48 ilbot3 joined #salt
01:48 Topic for #salt is now Welcome to #salt! <+> Latest Versions: 2016.3.6, 2016.11.5 <+> Support: https://www.saltstack.com/support/ <+> 1st Salt Cloud Working Group meeting June 1st, 2017 https://goo.gl/o2OK49 <+> Logs: http://irclog.perlgeek.de/salt/ <+> Paste: https://gist.github.com/ <+> See also: #salt-devel, #salt-offtopic <+> We are volunteers and may not have immediate answers
01:52 MTecknology Corey: He needed someone to do some hating on puppet and you were the obvious first choice.
02:07 Shanathon joined #salt
02:20 zulutango joined #salt
02:20 eichiro joined #salt
02:43 hassan2566 joined #salt
02:59 justanotheruser joined #salt
03:02 Praematura joined #salt
03:35 edrocks joined #salt
04:34 justanotheruser joined #salt
04:37 rojem joined #salt
04:46 shred joined #salt
04:55 beardedeagle joined #salt
04:59 VR-Jack-H joined #salt
05:02 shred joined #salt
05:24 Praematura joined #salt
05:26 Rubin joined #salt
05:31 Rubin joined #salt
05:50 squig gtmanfred, thank you
05:51 fracklen joined #salt
06:10 preludedrew joined #salt
06:10 preludedrew joined #salt
06:33 Inveracity joined #salt
06:38 impi joined #salt
07:23 evle1 joined #salt
07:52 pietdv_ left #salt
08:01 mswart left #salt
08:15 MeltedLux joined #salt
08:16 yidhra joined #salt
08:18 mikecmpbll joined #salt
08:22 aldevar joined #salt
08:25 kjsaihs joined #salt
08:26 nafg_ joined #salt
08:29 nafg joined #salt
08:29 nafg test
08:29 nafg Hi, I pushed new files to gitfs and I'm very confused
08:29 nafg When I run a highstate it only runs the olds states
08:30 nafg Poking in /var/cache/salt/master/gitfs, it seems to be missing even some of the old files
08:30 whytewolf couple of things. first /var/cache/salt/master/gitfs is headless.
08:31 whytewolf second run salt-run fileserver.update
08:31 nafg I ran that
08:31 nafg it prints True
08:31 nafg it also gives some warning about IPv6
08:31 nafg [WARNING ] Unable to find IPv6 record for "salt-master.c.naftoli-140102.internal" causing a 10 second timeout when rendering grains. Set the dns or /etc/hosts for IPv6 to clear this.
08:31 nafg idk what that means or if it's relevant
08:31 whytewolf iff you are not useing ipv6 that can be ignored.
08:32 nafg I'm not
08:32 whytewolf does salt-run fileserver.file_list show the new files
08:32 nafg Yes
08:33 whytewolf try your highstate again
08:34 nafg whytewolf: still no sign of the new states
08:34 whytewolf are they in your top file? or included in another state?
08:35 nafg (I had done fileserver.update before)
08:35 nafg whytewolf: Yes. I ran it before on a branch with test=True and it worked
08:36 nafg I use this as an ssh forced command: https://gist.github.com/nafg/7dc260011361a66a7d33c04a05e8e229
08:37 preludedrew joined #salt
08:38 whytewolf humm. so does the files show up to the minion if you do salt 'minion' cp.list_master saltenv=base
08:39 nafg whytewolf: what does that do? The minion is the master in this case
08:39 whytewolf that queries the minion to ask the master for a list of files that are presented to it
08:39 nafg whytewolf: it does show the new files
08:40 nafg maybe the init.sls is stale?
08:40 whytewolf is it a new file compleatly or an edited file?
08:41 nafg there are new files and an added item to an `include` directive in an existing file
08:42 nafg that added item has the new states that aren't running
08:42 nafg but the previous item in the include directive has states that are runninbg
08:42 kjsaihs can i use regex inside if to match a value from pillar key?
08:42 whytewolf kjsaihs: no.
08:43 whytewolf kjsaihs: however see if this works like you want https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.match.html#salt.modules.match.pillar_pcre
08:44 whytewolf nafg: salt-call -l debug cp.get_template salt://<full patch to init.sls> /tmp/test_render
08:44 whytewolf then cat /tmp/test_render
08:45 kjsaihs whytewolf: thank you - can it be used in a state file?
08:45 whytewolf kjsaihs: inside of jinja.
08:45 kjsaihs whytewolf: thank you once again!
08:46 whytewolf kjsaihs: {% if salt.match.pillar_pcre('pcre for pillar') %}
08:46 nafg whytewolf: it's the up to date contents
08:47 whytewolf nafg: then it isn't stale
08:47 nafg right
08:47 nafg so this is weird
08:47 nafg why isn't it running the new states?
08:48 whytewolf nafg: is there anything in the log files?
08:49 whytewolf or any error messages?
08:50 nafg whytewolf: nothing that seems relevant
08:50 nafg the ipv6 warning,
08:51 nafg also some half python stack trace in /usr/lib/python2.7/dist-packages/salt/fileclient.py line 704 in get_template
08:51 nafg list object has no attribute rfind
08:51 nafg but I think it's early
08:51 nafg earlier
08:52 whytewolf ... humm. just in case. shut the minion down. and delete everything in /var/cache/salt/minion/* then start the minion again. and if you have custom modules resync them
08:53 nafg whytewolf: meaning I should stop the salt-minion service on the master?
08:53 whytewolf well that is where you said the minion is
08:53 nafg Right
08:54 nafg just making sure I understood
08:55 nafg whytewolf: still not working :(
08:56 whytewolf how is that possable.
08:56 nafg WAAA :(
08:56 whytewolf we have established the master has a good copy. and nuked the minion cache to get rid of any potenal cache issues
08:58 nafg whytewolf: /var/cache/salt/minion/files/base is missing files
08:58 nafg wait weird
08:59 whytewolf that directory only holds what it has asked to download.
08:59 whytewolf it doesn't hold everything that is possable
09:00 nafg whytewolf: I mean it's missing the new files and the init file. And it has a file that shouldn't be there!
09:00 nafg To get more specific, my top.sls includes master which means master/init.sls
09:01 whytewolf right
09:01 nafg The recent change was adding `include`s in master/init.sls, moving some states out of init.sls into a separate file, and then adding another file to include with new states
09:01 whytewolf or it could mean master.sls
09:01 nafg Right, so in my current repo there is no master.sls, only a master/init.sls. It has been that way for a while, although it seems at one point there was a master.sls instead
09:02 nafg Anyway the weird thing is that /var/cache/salt/minion/files/base has a master.sls but no master/init.sls
09:02 whytewolf double check your git repo
09:03 whytewolf master.sls has a higher presadence then master/init.sls
09:03 whytewolf so if it exists it will be grabbed first
09:04 nafg whytewolf: the repo has what it should have. No master.sls, only master/init.sls
09:04 whytewolf check if you have a file roots
09:04 whytewolf migth be /srv/salt
09:05 nafg Indeed!!
09:07 whytewolf so did file roots have a master.sls?
09:07 nafg whytewolf: YES THAT'S IT THANK YOU!!!! :D
09:07 whytewolf hehe no problem
09:08 nafg (maybe I should wait until it actually runs... :D)
09:10 nafg oh well, some states failed... but more "routine" errors :)
09:10 whytewolf hehe least it has your new stuff right?
09:10 nafg yup
09:22 ahrs joined #salt
09:27 candyman88 joined #salt
09:29 SaltyVagrant joined #salt
09:49 gmoro joined #salt
09:52 LostSoul joined #salt
10:02 fracklen joined #salt
10:03 LostSoul joined #salt
10:23 pbandark joined #salt
10:42 edrocks joined #salt
10:47 teclator joined #salt
11:00 pbandark joined #salt
11:08 hassan2566 joined #salt
11:13 LostSoul joined #salt
11:23 lorengordon joined #salt
11:32 cyborg-one joined #salt
11:34 sergeyt joined #salt
11:46 LostSoul joined #salt
11:53 LostSoul joined #salt
11:54 fracklen joined #salt
11:57 mikecmpbll joined #salt
12:03 nutcase joined #salt
12:03 nutcase left #salt
12:04 rgrundstrom joined #salt
12:04 rgrundstrom Good afternoon everyone :)
12:16 LostSoul joined #salt
12:21 mikecmpbll joined #salt
12:28 aldevar joined #salt
12:37 sergeyt joined #salt
12:47 jhauser joined #salt
12:48 LostSoul joined #salt
13:21 mikecmpbll joined #salt
13:38 evle joined #salt
13:43 mikecmpbll joined #salt
13:51 Praematura joined #salt
13:56 fracklen joined #salt
13:57 Lawrence joined #salt
14:10 Lionel_Debroux_ joined #salt
14:18 Lionel_Debroux joined #salt
14:24 johnkeates joined #salt
14:31 nutcase joined #salt
14:39 dendazen joined #salt
14:39 nkryption joined #salt
14:41 nutcase left #salt
14:41 rgrundstrom joined #salt
14:58 nicksloan joined #salt
15:00 mikecmpbll joined #salt
15:00 nicksloan joined #salt
15:03 hassan2566 joined #salt
15:24 hassan2566_ joined #salt
15:24 dxiri joined #salt
15:26 fritz09 joined #salt
15:37 impi joined #salt
15:40 amcorreia joined #salt
15:45 edrocks joined #salt
15:56 autofsckk joined #salt
16:51 nicksloan joined #salt
17:10 rathier joined #salt
17:15 jas02 joined #salt
17:23 armyriad joined #salt
17:27 fracklen joined #salt
17:28 Antiarc joined #salt
17:30 Antiarc joined #salt
17:31 SaltyVagrant joined #salt
17:34 Antiarc joined #salt
17:35 snarked joined #salt
17:36 Lionel_Debroux joined #salt
17:47 edrocks joined #salt
17:49 Antiarc joined #salt
17:50 Antiarc joined #salt
17:57 shred joined #salt
18:00 pbandark joined #salt
18:02 dendazen joined #salt
18:23 cyborg-one joined #salt
18:41 swa_work joined #salt
18:51 sh123124213 joined #salt
18:57 swa_work joined #salt
18:58 Trauma joined #salt
18:58 jas02 joined #salt
19:08 wonko21 joined #salt
19:20 jas02 joined #salt
19:22 KevinAn2757 joined #salt
19:27 shred joined #salt
19:29 Awesomecase joined #salt
19:39 inad922 joined #salt
19:39 jhauser joined #salt
19:51 aldevar joined #salt
19:51 Praematura joined #salt
19:51 aldevar left #salt
20:06 fracklen joined #salt
20:16 CrummyGummy joined #salt
20:18 Sarphram joined #salt
21:00 hassan2566 joined #salt
21:13 hemebond joined #salt
21:21 armyriad joined #salt
21:23 armyriad joined #salt
21:33 jas02 joined #salt
21:44 mikecmpbll joined #salt
21:48 Kruge Anyone experienced salt-cloud refusing to delete a vm / pattern which definitely exists recently?
21:49 Kruge I know it definitely exists as I just provisioned it
21:49 Kruge I'm on 2016.11.2
21:51 edrocks joined #salt
21:53 Praematura joined #salt
21:57 Kruge nm, I'm being a muppet
22:20 Praematura joined #salt
22:45 cyborg-one joined #salt
22:49 mquin joined #salt
23:05 nafg joined #salt
23:05 nafg_ joined #salt
23:11 hasues joined #salt
23:11 hasues left #salt
23:20 Terminus joined #salt
23:22 eseyman joined #salt
23:27 cro joined #salt
23:47 shred joined #salt
23:48 masuberu joined #salt
23:51 miruoy_ joined #salt
23:51 _KaszpiR_ joined #salt

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