Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2016-06-25

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

All times shown according to UTC.

Time Nick Message
00:04 oida joined #salt
00:10 kevinquinnyo What is this:  Exception AttributeError: "'NoneType' object has no attribute 'close'" in <bound method IPCMessageSubscriber
00:10 kevinquinnyo Exception AttributeError: "'NoneType' object has no attribute 'close'" in <bound method IPCMessageSubscriber.__del__ of <salt.transport.ipc.IPCMessageSubscriber object at 0x7f024190f5d0>> ignored
00:15 evidence are there any special conciderations for getting pillar_cache working on the master?
00:15 evidence even after nuking the master cache, all minions get pillar failures after enabling it
00:15 evidence on either disk or memory
00:22 flowstate joined #salt
00:22 evidence ah, does it not work with gitfs?
00:32 oida joined #salt
00:37 amcorreia joined #salt
00:43 tberch8 joined #salt
00:50 jrklein joined #salt
00:52 iceyao joined #salt
00:52 Muchoz joined #salt
01:10 edrocks joined #salt
01:11 jhauser joined #salt
01:19 flowstate joined #salt
01:24 rem5 joined #salt
01:25 ajw0100 joined #salt
01:36 dendazen joined #salt
01:46 Muchoz_ joined #salt
01:46 catpiggest joined #salt
01:47 ilbot3 joined #salt
01:47 Topic for #salt is now Welcome to #salt! | Latest Versions: 2015.5.10, 2015.8.10, 2016.3.1 | Support: https://www.saltstack.com/support/ | Logs: http://irclog.perlgeek.de/salt/ | Paste: https://gist.github.com/ (please don't multiline paste into channel) | See also: #salt-devel, #salt-offtopic | Ask with patience as we are volunteers and may not have immediate answers
01:50 fake-name actually, git.latest and git.* seem to be unavailable as well
01:51 fake-name though I think that was because I didn't have git available. lemme check
01:52 fake-name > [DEBUG   ] Could not LazyLoad file.managed
01:52 oida joined #salt
01:52 fake-name do I have to install the file.managed state somehow?
01:53 Muchoz joined #salt
01:59 fake-name fukkit, cmd.run works, I
02:00 fake-name *I'm just going to use shell stuff
02:02 totte joined #salt
02:08 fake-name hurrah for heredocs and hacks
02:09 scoates joined #salt
02:17 rem5 joined #salt
02:19 dyasny joined #salt
02:20 flowstate joined #salt
02:20 writtenoff joined #salt
02:44 rem5 joined #salt
02:46 justanotheruser joined #salt
02:48 oida joined #salt
02:58 tuxx joined #salt
03:10 amcorreia joined #salt
03:13 edrocks joined #salt
03:16 mohae joined #salt
03:19 flowstate joined #salt
03:24 jimklo joined #salt
03:27 racooper joined #salt
03:34 jimklo joined #salt
03:51 DEger joined #salt
04:06 krymzon joined #salt
04:14 bfig__ joined #salt
04:15 bfig___ joined #salt
04:20 flowstate joined #salt
04:31 om joined #salt
05:15 armguy joined #salt
05:16 edrocks joined #salt
05:19 flowstate joined #salt
05:20 sauvin joined #salt
05:25 kevinquinnyo1 joined #salt
05:28 dendazen joined #salt
05:55 slav0nic joined #salt
06:08 krymzon joined #salt
06:20 flowstate joined #salt
06:35 rem5 joined #salt
06:38 DarkKnightCZ joined #salt
07:00 zer0def joined #salt
07:15 linjan_ joined #salt
07:19 morissette joined #salt
07:21 flowstate joined #salt
07:26 sagerdearia joined #salt
07:31 mTeK joined #salt
07:33 Ayo joined #salt
07:49 Trauma joined #salt
08:11 krymzon joined #salt
08:11 kawa2014 joined #salt
08:19 edrocks joined #salt
08:20 flowstate joined #salt
08:29 whaity joined #salt
08:36 lijian85 joined #salt
08:38 SpX joined #salt
08:41 nlb joined #salt
08:42 GreatSnoopy joined #salt
08:42 jcastle left #salt
08:54 zer0def joined #salt
09:10 manifold joined #salt
09:33 colegatron joined #salt
09:36 evle1 joined #salt
09:43 DarkKnightCZ joined #salt
09:52 voileux joined #salt
10:03 voileux joined #salt
10:13 krymzon joined #salt
10:22 edrocks joined #salt
10:30 zer0def joined #salt
10:31 vodik joined #salt
10:36 DarkKnightCZ joined #salt
10:37 fracklen joined #salt
10:44 whaity joined #salt
10:57 cyborg-one joined #salt
11:13 voileux joined #salt
11:27 fracklen joined #salt
11:32 arif-ali joined #salt
11:37 mapu joined #salt
11:51 manji joined #salt
11:56 deniszh joined #salt
12:01 rem5_ joined #salt
12:02 arif-ali joined #salt
12:14 hoonetorg joined #salt
12:23 voileux joined #salt
12:24 edrocks joined #salt
13:06 TyrfingMjolnir joined #salt
13:07 DarkKnightCZ joined #salt
13:11 Sylvain31 joined #salt
13:15 krymzon joined #salt
13:23 amcorreia joined #salt
13:28 dendazen joined #salt
13:29 scoates joined #salt
13:44 boredatwork joined #salt
13:44 rem5 joined #salt
13:44 Arendtse1 joined #salt
13:44 phx__ joined #salt
13:45 bVector_ joined #salt
13:46 m0nky_ joined #salt
13:46 shawnbutts_ joined #salt
13:46 supermike__ joined #salt
13:46 jrklein_ joined #salt
13:47 doriftoshoes_ joined #salt
13:47 hoonetorg joined #salt
13:48 mrud_ joined #salt
13:48 Favorett1 joined #salt
13:48 scarcry_ joined #salt
13:48 B1nny_ joined #salt
13:48 muep__ joined #salt
13:48 charli_ joined #salt
13:48 GothAck_ joined #salt
13:48 hamstah joined #salt
13:48 tharkun_ joined #salt
13:48 eseyman_ joined #salt
13:48 kevc_ joined #salt
13:48 LostSoul_ joined #salt
13:49 elektrix_ joined #salt
13:49 mikepea_ joined #salt
13:50 doglike joined #salt
13:50 doglike joined #salt
13:50 twodayslate_ joined #salt
13:50 bbradley joined #salt
13:50 AbyssOne_ joined #salt
13:50 darix- joined #salt
13:50 necronian_ joined #salt
13:50 JPau1 joined #salt
13:50 rome_390_ joined #salt
13:51 manfred joined #salt
13:51 \ask joined #salt
13:51 Awesomecase joined #salt
13:51 ws2k3_ joined #salt
13:51 aarontc_ joined #salt
13:51 Awesomecase joined #salt
13:51 _i90rr joined #salt
13:51 skr0bul joined #salt
13:51 Cottser joined #salt
13:51 unusedPhD joined #salt
13:51 CustosLimen joined #salt
13:51 kidneb joined #salt
13:51 lunarlamp joined #salt
13:51 max42 joined #salt
13:51 TOoSmOotH joined #salt
13:52 llua joined #salt
13:52 danielcb joined #salt
13:52 APLU joined #salt
13:52 riftman joined #salt
13:52 tongpu joined #salt
13:52 hax404 joined #salt
13:52 alex_s joined #salt
13:53 totte joined #salt
13:53 smakar joined #salt
13:55 bstaz joined #salt
14:03 darix joined #salt
14:09 manji joined #salt
14:13 DarkKnightCZ joined #salt
14:24 DarkKnightCZ joined #salt
14:27 edrocks joined #salt
14:27 Sylvain31 hi, is there a tutorial how to setup unittest for salt, for formula, and for execution module inside the formula.
14:32 viq Sylvain31: https://github.com/saltstack/salt/tree/develop/tests  ?
14:33 viq https://docs.saltstack.com/en/latest/topics/development/hacking.html#running-unit-and-integration-tests
14:33 viq there's also https://github.com/saltstack/salt-jenkins and https://github.com/saltstack/salt-testing
14:34 viq Also, if you haven't seen it yet, check out test-kitchen
14:36 Sylvain31 viq: Thanks.
14:52 flowstate joined #salt
14:58 marie1972 joined #salt
15:03 Sylvain31 https://docs.saltstack.com/en/latest/ref/states/all/salt.states.module.html#salt.states.module.wait m_name is not documented, or did I miss some doc? When I do module.wait: -name: service.resstart - m_name: salt-minion
15:10 Sylvain31 I found that: https://github.com/saltstack/salt/blob/develop/salt/states/module.py#L179
15:17 krymzon joined #salt
15:31 hoonetorg joined #salt
15:34 flowstate joined #salt
15:35 kus joined #salt
15:36 om joined #salt
15:40 DEger joined #salt
16:11 amcorreia joined #salt
16:11 DEger joined #salt
16:17 bfig joined #salt
16:17 bfig_ joined #salt
16:18 flowstate joined #salt
16:29 edrocks joined #salt
16:37 oida joined #salt
16:38 nidr0x joined #salt
16:40 deniszh joined #salt
16:53 oida joined #salt
16:57 onlyanegg joined #salt
16:59 Muchoz joined #salt
17:07 Netwizard joined #salt
17:12 dendazen joined #salt
17:16 bbradley joined #salt
17:21 spuder joined #salt
17:24 cyborg-one joined #salt
17:27 hoonetorg joined #salt
17:40 whaity joined #salt
17:50 iggy it's probably not documented because they don't want people using states.module.*
17:53 morissette joined #salt
17:59 Muchoz_ joined #salt
18:00 artemz joined #salt
18:04 aasirc joined #salt
18:10 bltmiller joined #salt
18:11 aasirc joined #salt
18:19 krymzon joined #salt
18:21 DEger joined #salt
18:32 edrocks joined #salt
18:33 dendazen joined #salt
18:35 btorch ok so, when using salt-ssh,  where are the minion grains get saved ?
18:39 Muchoz joined #salt
18:40 justanotheruser joined #salt
18:45 vodik joined #salt
19:10 btorch on 2015.5.10+ds-1, getting a weird redering issues (using test=true)
19:10 btorch failed: Jinja error: get() got an unexpected keyword argument 'merge'
19:10 btorch {% set mdb = salt.pillar.get('mongodb', default=defaults.mongodb, merge=True) %}
19:11 btorch the docs show that I should be able to use that
19:17 iggy btorch: you have to use an alternative notation to use salt's pillar.get (vs just regular dict.get())
19:17 iggy btorch: salt['pillar.get'](....)
19:17 btorch ok yeah I'm about to try that
19:18 btorch it's weird cause the docs show salt.pillar.get(..)
19:19 btorch cool now it worked , thanks
19:19 btorch kind of :)
19:22 Ido joined #salt
19:24 Guest84430 Hi, I'm trying to get all the ips of all specific role.
19:26 Guest84430 Hi, I'm trying to get all the ips of all specific role. I'm getting a list of all the servers even if there are offine (and until the key is deleted). Do you have an idea how can I get only the servers that are responding to ping? salt['mine.get']('roles:zookeeper.server', 'network.ip_addrs', 'grain') %}
19:31 iggy btorch: salt.pillar.get does a normal dictionary .get() whereas salt['pillar.get']() calls the salt module pillar.get
19:31 fracklen joined #salt
19:32 iggy Guest84430: don't use mine if that's what you need
19:34 btorch iggy: so it's safer to use salt['pillar.get']() ?
19:35 iggy btorch: if you want to use everything that's in the docs for pillar.get (i.e. merge, delimiter, nested lookups, etc)
19:35 btorch cool thanks
19:36 btorch is there a way to list salt:// ? I think I have a directory issue on my { from ... import } call
19:36 Guest84430 iggy: I would like to get dymanic list of IPss. How do you recommanded to do it?
19:36 btorch because I split /srv/salt/states and /srv/salt/files and /srv/salt/pillars
19:36 Guest84430 *dymanic = dynamic
19:36 pkruithof joined #salt
19:38 oida joined #salt
19:38 btorch I keep on getting a "TemplateNotFound"
19:40 btorch like I have my "/srv/salt/files/etc/mongodb/pprod1/mongodb.conf.jinja" which imports map.jinja, but that is located under "/srv/salt/states/mongodb/map.jinja"
19:41 btorch I've tried using several ../../... but I'm pretty sure I'm doing something wrong
19:41 iggy btorch: cp.list_master
19:41 iggy Guest84430: publish?
19:42 iggy Guest84430: use something other than salt? (etcd, consul, etc)
19:42 btorch hmm
19:46 Guest84430 iggy: So there is no way to do it via "mine.get" ?
19:48 hoonetorg joined #salt
19:53 btorch is it not possible to have a files.sls importing a context from map.jinja and then have the config.jinja that file.managed is setting up also import that map.jinja ?
19:53 iggy Guest84430: not if one of your requirements is "not include stale data"
19:53 iggy by definition mine is stale data
19:54 iggy btorch: shouldn't be a problem, you might try pasting code to describe what you're doing a little better
19:58 DEger joined #salt
19:58 sjmh joined #salt
19:58 btorch iggy: http://pastebin.ca/3651440
19:59 flowstate joined #salt
19:59 dmaiocchi joined #salt
20:00 btorch after map.jinja is the file.sls ... forgot to put the name after the dashes
20:02 iggy cp.list_master is pointless when using salt-ssh
20:03 iggy btorch: there are quite a few issues in the salt issue tracker about templatenotfound and salt-ssh
20:03 iggy have you tried any of the solutions in those?
20:04 iggy (i.e. extra_filerefs)
20:04 btorch nah
20:05 btorch let me try to see if the same happens on salt master/minion
20:12 kevinquinnyo joined #salt
20:12 btorch ok that was it :)
20:13 btorch I was using salt-ssh just to play with it but in real world it would be a master/minion
20:14 btorch iggy: thanks
20:17 iggy https://github.com/saltstack/salt/issues/21370
20:17 saltstackbot [#21370][OPEN] TemplateNotFound: salt/formulas.jinja when running salt-ssh | I used [salt-formula](https://github.com/saltstack-formulas/salt-formula) to install salt-minion on other ubuntu 14.04 servers. ...
20:17 iggy that was one of the first issues (and probably the one with the most info)
20:17 bltmiller joined #salt
20:19 flowstate joined #salt
20:19 noraatepernos joined #salt
20:26 noraatepernos When it comes to auto-scaling, how do you guys go about automatically accepting keys for new minions (and removing dead keys)?  Trying to get the current best practice.
20:26 noraatepernos It looks like the solution is with reactors.
20:28 noraatepernos I read about pre-seeding minions with keys but I need a key “group” of sorts — ideally.  A key that I can store on minion machine images that will work for multiple minion ids.  This doesn’t appear to be possible now.
20:29 iggy yeah, something with a reactor usually
20:30 iggy if you use a cloud provider there are hooks you can do there (i.e. have the scaling poke salt-api and tell it to accept incoming keys)
20:31 iggy it's not a one-size-fits-all solution which is why there's not a single way to do it
20:35 edrocks joined #salt
20:38 pkruithof joined #salt
20:52 DarkKnightCZ joined #salt
20:55 DEger joined #salt
20:57 oida joined #salt
21:03 Ayo_ joined #salt
21:09 flowstate joined #salt
21:09 roock joined #salt
21:10 flowstate joined #salt
21:15 sizeoftank joined #salt
21:17 deniszh joined #salt
21:19 alxchk joined #salt
21:21 rem5 joined #salt
21:21 krymzon joined #salt
21:42 kevinquinnyo joined #salt
21:44 edrocks joined #salt
21:55 dober joined #salt
22:01 rem5 joined #salt
22:08 oida joined #salt
22:26 whaity joined #salt
22:34 deniszh joined #salt
22:35 zenlot joined #salt
22:36 edrocks_ joined #salt
22:55 amcorreia joined #salt
23:18 cyborg-one joined #salt
23:27 edrocks_ joined #salt
23:34 rem5 joined #salt
23:50 manji joined #salt
23:59 edrocks joined #salt

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