Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-11-28

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

All times shown according to UTC.

Time Nick Message
00:10 anderbubble joined #salt
00:17 bfraser joined #salt
00:17 TK_ joined #salt
00:30 aqua^mac joined #salt
00:30 Outlander joined #salt
00:32 nitti joined #salt
00:36 bfraser joined #salt
00:37 juice joined #salt
00:45 elfixit joined #salt
00:51 anderbubble joined #salt
00:57 TheThing joined #salt
00:58 aqua^mac joined #salt
00:59 juice joined #salt
01:00 TyrfingMjolnir joined #salt
01:05 juice joined #salt
01:19 juice joined #salt
01:25 TK_ joined #salt
01:46 druonysuse joined #salt
01:46 druonysuse joined #salt
01:49 anderbubble joined #salt
01:57 TheThing joined #salt
02:00 Morbus joined #salt
02:02 anderbubble joined #salt
02:03 Gues480631 joined #salt
02:03 otter768 joined #salt
02:03 ramishra joined #salt
02:06 malinoff joined #salt
02:20 jaimed joined #salt
02:22 qx_ joined #salt
02:24 span joined #salt
02:24 span joined #salt
02:26 pppingme joined #salt
02:27 anderbubble left #salt
02:34 otter768 joined #salt
02:34 juice joined #salt
02:45 TyrfingMjolnir joined #salt
02:45 juice joined #salt
02:47 ilbot3 joined #salt
02:47 Topic for #salt is now Welcome to #salt | SaltConf 2015 Call for Speakers is open! http://saltconf.com/call-for-speakers/ | 2014.7.0 is the latest | Please be patient when asking questions as we are volunteers and may not have immediate answers | Channel logs are available at http://irclog.perlgeek.de/salt/
02:49 TyrfingMjolnir joined #salt
02:50 felskrone joined #salt
02:52 zlhgo hello.
02:52 juice joined #salt
02:52 zlhgo i have a problem. salt python api will block another http request.
02:53 jimklo joined #salt
02:54 laderhiton joined #salt
02:54 bhosmer joined #salt
02:54 nitti joined #salt
02:59 qx_ joined #salt
03:02 juice joined #salt
03:03 tmh1999 joined #salt
03:11 juice joined #salt
03:11 belooussov joined #salt
03:15 carlos_felix joined #salt
03:16 glyf joined #salt
03:19 Mso150 joined #salt
03:26 CryptoMer joined #salt
03:36 TyrfingMjolnir joined #salt
03:40 CeBe2 joined #salt
03:40 CeBe3 joined #salt
03:47 TyrfingMjolnir joined #salt
03:53 TyrfingMjolnir joined #salt
03:53 ssteinerX zlhgo: how do you know it's blocking another reuest?
03:56 zlhgo when  import salt.* i can't open my website.
03:56 zlhgo i am using gevent.wsgi
03:57 zlhgo and flask.
04:10 felskrone joined #salt
04:12 druonysuse joined #salt
04:12 druonysuse joined #salt
04:16 ajolo joined #salt
04:20 CryptoMer joined #salt
04:36 CryptoMer joined #salt
04:36 hasues joined #salt
04:37 Yufei__ joined #salt
04:37 hasues left #salt
04:41 gildegoma joined #salt
04:53 possibilities joined #salt
04:54 TK_ joined #salt
04:57 TK_ left #salt
04:57 TK_ joined #salt
04:58 juice joined #salt
05:00 TyrfingMjolnir joined #salt
05:29 TK_ joined #salt
05:35 CryptoMer joined #salt
05:35 genediazjr joined #salt
05:40 wolfpackmars2 joined #salt
05:48 TK_ joined #salt
05:48 Zachary_DuBois joined #salt
05:54 CryptoMer joined #salt
05:55 ndrei joined #salt
06:01 CryptoMer joined #salt
06:02 ramteid joined #salt
06:06 juice joined #salt
06:09 catpigger joined #salt
06:12 nitti joined #salt
06:29 AviMarcus joined #salt
06:31 withasmile joined #salt
06:33 swa_work joined #salt
06:46 karimb joined #salt
06:49 glyf joined #salt
06:59 orion_ joined #salt
07:00 smcquay joined #salt
07:03 favadi joined #salt
07:09 monkey66 joined #salt
07:13 oyvjel joined #salt
07:22 felskrone joined #salt
07:28 TK_ joined #salt
07:33 Gues480631_ joined #salt
07:34 TyrfingMjolnir joined #salt
07:36 douardda joined #salt
07:36 monkey66 left #salt
07:37 saravanans joined #salt
07:39 flyboy joined #salt
07:40 TK_ joined #salt
07:41 monkey661 joined #salt
07:45 msciciel is it possible to use word include as a key in pillar : http://pastebin.com/tSSVEpnX . It's resolved as keyword and salt is trying to include pillars /etc and /home but i want only to set value
07:49 otter768 joined #salt
07:50 hojgaard joined #salt
07:51 hojgaard Good morning (at least in Europe :) ) Does anyone know how to copy a specific file from all minions to the master?
07:51 glyf joined #salt
07:52 monkey66 joined #salt
07:53 lcavassa joined #salt
07:53 monkey66 left #salt
07:57 __gotcha joined #salt
07:58 scristian joined #salt
08:01 malinoff hojgaard, http://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.cp.html#salt.modules.cp.push
08:02 hojgaard malinoff, i found the method. thank you.. salt '*' cp.push /path/to/file
08:02 Ouzo_12 joined #salt
08:03 __gotcha1 joined #salt
08:04 tomspur joined #salt
08:04 salter_01 joined #salt
08:05 salter_01 Hi all
08:06 CeBe joined #salt
08:08 salter_01 I met a problem here, I add a master,and I copy the first master's key,then I start the second master,and configure it in minion,and restart,but i can't find any minion when i run "salt-key -L",how can i add another master?
08:10 genediazjr joined #salt
08:13 babilen salter_01: http://docs.saltstack.com/en/latest/topics/tutorials/multimaster.html + http://docs.saltstack.com/en/latest/topics/tutorials/multimaster_pki.html
08:15 Ouzo_12 in debian 7 amd64 if master has "#user: root" in /etc/salt/master config file i will use 100% cpu usage but if i remove # from it is uses "user: root" it will work normaly and use 0% cpu usage in when ideling.
08:16 salter_01 I did it just according to the first tutorial
08:20 lb1a joined #salt
08:20 ysiad joined #salt
08:21 \ask joined #salt
08:23 jhauser joined #salt
08:28 monkey661 joined #salt
08:32 ysiadferreiras joined #salt
08:33 nkuttler Ouzo_12: huh? that doesn't make any sense
08:34 Ouzo_12 nope but if comment out the user: again i uses 100% as soon as i restart
08:36 Ouzo_12 and its a fresh installed debian 7 with no modification
08:36 iwishiwerearobot joined #salt
08:37 denys_ joined #salt
08:38 che-arne joined #salt
08:38 che-arn2 joined #salt
08:39 shorty_mu joined #salt
08:42 intellix joined #salt
08:44 valentinbud joined #salt
08:44 valentinbud Hello world.
08:45 valentinbud Can I set a grain as a list of items using salt '*'?
08:49 nkuttler Ouzo_12: does it depend on the user?
08:51 genediaz_ joined #salt
08:52 valentinbud I have already tried salt '*' grains.setval key "{'val1', 'val2'}" without success.
08:53 siciliansun joined #salt
08:58 saravana_ joined #salt
09:11 mick3y Top of the morning
09:13 AviMarcus_ joined #salt
09:17 VSpike joehh: no, my bad... rogue local stuff in /usr/local/
09:20 valentinbud salt '*' grains.setval key "[val1, val2]" works.
09:29 lb1a hey, i'm new into salt. i evaluated chef for couple of days now and i started to install a salt server yesterday and couple of minions. i kind of liked the seperation of the chef-server and the normal workstation where the admin works on. is this also available in salt? or do i have to login into my salt server everytime i want to send a command to the minions?
09:30 lb1a in other words, is there a possible way to launch a command from my local box, that instructs my salt server to orchestrate all my minions? or is this only possible from the salt-server itself ?
09:32 saravanans joined #salt
09:35 mortis__ after upgrading to 2014.7.0 salt fills up the inodes on our master-vm, we could ofc fix that, but is it proper behavior to create (in our case) half a million tiny files under /var/cache/salt/master ?
09:36 joehh VSpike: good to hear... - I had a few probs packaging requests, so pleased to hear it is working
09:36 CeBe1 joined #salt
09:37 iwishiwerearobot joined #salt
09:39 __gotcha joined #salt
09:43 Lingo_ joined #salt
09:46 Mso150 joined #salt
09:56 __gotcha1 joined #salt
10:01 __gotcha joined #salt
10:02 otter768 joined #salt
10:04 spo0nman joined #salt
10:04 PI-Lloyd joined #salt
10:05 spo0nman hello, i get "Function puppet.run is not available" when i run salt-call puppet.run ... what gives?
10:07 babilen You are probably missing dependencies
10:07 babilen (e.g. puppet)
10:07 ShibMcNe joehh: Hi, I was hoping to upgrade to 2014.7 on Ubuntu 14.10 this week-end, if you have any issue with thise packages I'd like to help =] (If you just don't have time, I'll try to use Trusty packages)
10:07 Hipikat joined #salt
10:09 ShibMcNe ok =]
10:09 ShibMcNe sorry wrong chan ^
10:13 joehh ShibMcNe: I'll try to upload now - not expecting any probs
10:14 jakubek joined #salt
10:14 ShibMcNe joehh: thanks =]
10:15 spo0nman babilen: what do you mean? puppet is installed. and there is puppet.py in modules
10:15 spo0nman how do i set the dependency?
10:15 babilen spo0nman: Did you install that after the minion started?
10:16 spo0nman babilen: no. salt minion package is installed via puppet.
10:16 spo0nman weird thing is puppet.run works on another box with the same minion.conf
10:16 jakubek hi, is there any way to prevent clonning salt-minion vms? yesterday my client clonned one machine but didn't change minion_id so I had two nodes with one name so when I was playin with one machine another was having party too :-)
10:17 babilen And puppet.py is a third-party extension module?
10:17 spo0nman babilen: puppet.py is present in python2.7/site-packages/salt/modules/
10:17 babilen jakubek: Just ensure that you set a new minion id when you "clone" a machine (which would no longer be a clone as they differ in that regard).
10:18 siciliansun left #salt
10:19 spo0nman jakubek: you can add a command to remove /etc/salt/minion_id as part of cloning process
10:19 babilen spo0nman: I was rather referring to some python puppet module (not the salt module) - Note that I haven't actually looked at the *specific* module, but rather mentioned a common cause for the error you experienced. (e.g. "git.latest" is unavailable if git is not installed)
10:19 jakubek babilen: but I'm not lways aware about cloning, and they don't have access to root
10:19 babilen jakubek: So they just replicate on their own?
10:19 jakubek babilen: yes
10:19 babilen server-mitosis
10:20 babilen jakubek: What is initiating that process?
10:20 jakubek babilen: they are doing it probably on some vmware hpv
10:20 jakubek but im not sure
10:21 jakubek i have only access to these machines
10:21 babilen "they" ?
10:21 jakubek but somethimes they are cloning and testing something for they own
10:21 jakubek babilen: they == my client
10:22 siciliansun1 joined #salt
10:22 lothiraldan joined #salt
10:23 babilen jakubek: Well, the problem is clear from the salt side: You have to ensure that minion ids are globally unique. You can either explicitly set them (in /etc/salt/minion_id or by setting "id: 'someid'" in the minion config)
10:23 babilen When you install the salt packages they will set /etc/salt/minion_id from the fqdn and please note that you will have to remove/reaccept minion keys if you change the id
10:24 jakubek babilen: at this moment I'm alway setting minion name in /etc/salt/minion_id
10:24 jakubek but maybe there is some way to prevent of cloning
10:24 babilen *shrug*
10:24 jakubek or having two nodes with the same id?
10:25 genediazjr joined #salt
10:25 jakubek i know it is very hard to say which connection is from real or clonned server
10:25 sinh joined #salt
10:26 babilen spo0nman: The puppet module is calling "salt.utils.check_or_die('puppet')" to check if puppet is installed (which essentially checks if "puppet" is in PATH)
10:27 babilen jakubek: IDs have to be globally unique or both boxes will be treated as one
10:27 spo0nman babilen: puppet is in path. I'm debugging what else is different between the two machines
10:27 spo0nman python version etc is all same
10:28 akafred joined #salt
10:28 babilen spo0nman: You might want to take a look at the minion's debug log
10:29 spo0nman yeah! i made it -l all and am debugging
10:29 babilen Could you call that function manually and see if it succeeds?
10:30 _unicoletti joined #salt
10:30 spo0nman babilen: let me try
10:31 sinh joined #salt
10:31 babilen I haven't used that ever before, but maybe you can call it like any other execution module?
10:31 babilen Ah, no .. it is not an execution module - pity
10:32 babilen (so would only be available within Python)
10:34 spo0nman babilen: the module is not even loaded
10:36 spo0nman babilen: i did a set a trace in the beginning of puppet.py and it's never reached
10:39 ckao joined #salt
10:41 babilen What's the minion version?
10:43 wnkz joined #salt
10:44 wnkz joined #salt
10:45 joehh ShibMcNe: uploaded and built now, waiting for launchpad to copy to repo https://launchpad.net/~saltstack/+archive/ubuntu/salt/+packages
10:46 lothiraldan joined #salt
10:46 monkey66 joined #salt
10:50 monkey661 joined #salt
10:52 slafs joined #salt
10:52 slafs left #salt
10:56 oncreed joined #salt
10:57 VSpike I'm looking at the acl system for the first time. Is the syntax documented anywhere? Hits on Google are light on detail. For example in the config file there's a sample line  << - '^(?!sudo_).*$'   #  all non sudo users >> ... where can I find an explanation of the syntax there?
10:57 VSpike Oh wait, that's just a regular regex ... but what's it matching against?
10:57 bhosmer joined #salt
10:57 malinoff VSpike, http://regexr.com/
10:57 VSpike Also, which bits of it use globs and which use regex
10:58 VSpike malinoff: is that just saying the username mustn't begin with "sudo_"?
11:02 giantlock joined #salt
11:06 oyvjel1 joined #salt
11:06 VSpike On this page http://docs.saltstack.com/en/latest/topics/eauth/access_control.html the runnable commands like network.* and test.* look like globs.
11:07 VSpike Why do the minion target have mongo\*? Presumably that's a standard minion glob but why does the * need escaping here?
11:07 faust joined #salt
11:11 keyser cmd.run name - is there a way I can pull in a file from salt to be used as part of the command that takes a "-file" argument?- ie name: 'foocmd -file salt://responsefile' doesn't work.  Do I need to wrap it up in a script instead and call cmd.script?
11:11 TK_ joined #salt
11:11 mortis__ is there any way to clear the jobcache? or should i just stop master, rm -rf and start master again?
11:12 lb1a is it possible to manage a salt-master itself as a minion by another salt-master?
11:14 bhosmer joined #salt
11:18 faust lb1a: I think you can. But wouldn't you prefer to have 2 salt-master which are minions of themselves? This way you will have to sync "manually" the salt data between the two masters, but you the chances of failure will be 75% smaller than a hierarchy of 2 master
11:19 lb1a faust, thanks for answering. i just search for a solution of not having to manually ssh into the salt master to do some stuff. like the "knife" tool from chef
11:20 faust i'm not familiar with chef, can salt-ssh be a solution for you?
11:22 lb1a faust, i'm totally new to salt as i', evaluation it for our corporate enviroment. any hint or advise is welcome. i'll check out salt-ssh
11:25 monkey661 left #salt
11:29 TyrfingMjolnir joined #salt
11:30 VSpike lb1a: if you set up ssh key auth to your master, can't you then do alias rsalt='ssh saltmaster salt'
11:30 saravana_ joined #salt
11:35 lb1a VSpike, good idea
11:37 VSpike I was trying to think of witty salt-related name, perhaps playing on "knife", but I got nothing
11:38 badon joined #salt
11:38 __gotcha1 joined #salt
11:39 babilen keyser: file.manage the script and then call it later on (require the file state)
11:39 lb1a Does any has a recommandation of maybe interactive or video tutorials ?
11:39 lb1a maybe webinar stuff ?
11:39 saravanans joined #salt
11:41 faust lb1a: for salt in general?
11:41 lb1a yes as a starting point
11:41 VSpike Ok, who broke bpaste
11:41 lb1a the docs are quite nice though i like to get a quick start into it
11:42 faust idk, i used the docs
11:42 faust and the source :P
11:42 lb1a ^^
11:42 VSpike I'm obviously not quite getting this ACL syntax ... http://pastebin.mozilla.org/7606868
11:42 faust You will never find a better doc of a python code than the code itself :P
11:42 VSpike Can anyone advise what I'm doing wrong?
11:44 lb1a faust, yeah i did the webinar series of chef and was able to play with it in a dev sandbox within 2 hours
11:44 lb1a thought something like that was there for salt as well
11:45 CeBe joined #salt
11:45 faust lb1a: maybe it is...idk
11:45 lb1a i like the idea of having a parallel shell included and i'd like to evaluate it further
11:45 lb1a thought there might be a shortcut
11:46 lb1a faust, yeah i found some vids on pyvideo.org
11:48 keyser babilen: thanks - was hoping to avoid having to do that - as I don't need the file on the minion after the command has been run, but if that's the only sensible way then so be it
11:51 felskrone joined #salt
12:00 ssteinerX joined #salt
12:01 ecdhe joined #salt
12:01 diegows joined #salt
12:01 babilen keyser: cmd.script would allow you to do that
12:02 drawsmcgraw joined #salt
12:02 VSpike I found the bit of code in the client where a sudo user gets 'sudo_' prepended to their real username, so that explains that at least
12:03 otter768 joined #salt
12:05 TheThing joined #salt
12:08 Reiner030 joined #salt
12:14 ggoZ joined #salt
12:20 linjan joined #salt
12:24 TheThing joined #salt
12:39 ramishra joined #salt
12:42 oyvjel joined #salt
12:48 monkey66 joined #salt
12:49 tkharju joined #salt
12:50 faust joined #salt
12:53 steffo joined #salt
12:53 favadi joined #salt
12:56 lothiraldan joined #salt
12:59 saravanans joined #salt
13:00 Reiner030 left #salt
13:03 CycloHex joined #salt
13:05 CycloHex Hello guys. My reactor won't compile. I try to do a local.grains.setval. I specify tgt and as arg: I give my grainname and its value (local.grains.setval:\n  - tgt: {{ name }}\n  - arg:\n    - foo: bar
13:05 CycloHex )
13:06 steffo joined #salt
13:12 intellix joined #salt
13:15 Bremsstrahlung left #salt
13:16 johtso_ joined #salt
13:17 steffo joined #salt
13:22 monkey66 left #salt
13:28 aquinas joined #salt
13:37 fredvd joined #salt
13:39 gildegoma joined #salt
13:41 giantlock joined #salt
13:42 jaimed joined #salt
13:46 __gotcha joined #salt
13:52 aqua^mac joined #salt
13:52 blaffoy joined #salt
13:53 steffo joined #salt
13:53 blaffoy Hi, I'm trying to configure a masterless minion on windows. I want to test deploying win_repo packages. In my minion config I have "win_repo_cachefile: 'H:/src/saltstate/win/repo/winrepo.p'", but when I run `salt-call --local pkg.refresh_db` I get an error:  MinionError: Error reading H:/src/saltstate/win/repo/winrepo.p: unknown url type: h
13:54 saravanans joined #salt
13:55 blaffoy I've tried changing this to "win_repo_cachefile: 'salt://win/repo/winrepo.p'", with "file_roots:\n  base:\n    - `H:/src/saltstate/;"
13:56 blaffoy but then I get the error: Unable to cache file 'salt://win/repo/winrepo.p' from saltenv 'base'.
13:56 blaffoy is it possible to check from the command line the path of the file_root
13:56 blaffoy ?
13:56 blaffoy I suspect that it isn't picking that up correctly.
14:01 saravanans joined #salt
14:04 otter768 joined #salt
14:05 lcavassa joined #salt
14:05 bhosmer joined #salt
14:06 blaffoy Has anybody successfully configured win_repo on a masterless windows minion? Is that even possible?
14:08 glyf joined #salt
14:09 babilen I seem to remember that somebody was in here some time ago who asked the same and the answer was "No, that would be stupid", but then I cannot give an authoritative answer as I am not working with Windows boxes at all
14:11 blaffoy @babilen, I don't see what's inherently stupid about it. I want to test the package management (and I'm still wrestling with issues around s3 fileserver backend) so I want to eliminate as many moving parts as I can.
14:11 ajolo joined #salt
14:12 blaffoy If it's not supported, that's grand, I'll live with it.
14:13 blaffoy But it would be nice to know one way or another.
14:13 babilen s/, that would be stupid//
14:13 blaffoy 's cool. :-)
14:14 blaffoy Is it possible to check the path of the file_roots?
14:14 blaffoy or of configuration options in general, from the command line?
14:15 blaffoy I think that would make understanding this (and many other problems I have with salt) much easier.
14:17 viq blaffoy: I think a bunch of them are available as pillars
14:19 blaffoy actually, I managed to figure that one out on my own: salt-call config.get file_roots
14:20 blaffoy config.get looks useful, I wish I knew about that before.
14:21 tazle joined #salt
14:22 intellix joined #salt
14:24 tazle based on logs my minion and master exchange some messages when the minion starts up, but the minion doesn't show up as connected on the master - how to start troubleshooting this?
14:25 viq tazle: is the key accepted?
14:28 tazle viq: yes
14:29 douardda joined #salt
14:29 viq start both with debug?
14:30 blaffoy Okay, I've made some progress. I should be using file_root
14:32 mpanetta joined #salt
14:33 blaffoy And more importantly, salt:// doesn't work if file_root is set to H:/src/saltstate, but it does work if it's C:/Users/blaffoy/repos/saltstate.
14:33 blaffoy Which, I just realised is because I'm running my salt-call commands from a powershell terminal as my admin user, blaffoy-admin. And that user doesn't have the H: drive mapped. Graaaarggghhg!
14:34 mpanetta joined #salt
14:35 TheThing joined #salt
14:36 tazle viq: the messaging seems to end with the master publishing its pubkey to the minion
14:37 viq tazle: and what are the messages on either end?
14:39 tazle on master: "[INFO    ] AES payload received with command _mine", on minion: "[DEBUG   ] Loaded minion key: /etc/salt/pki/minion/minion.pem"
14:43 tazle there is no network traffic on master when I do test.ping
14:43 CeBe joined #salt
14:46 akafred joined #salt
14:47 borgstrom joined #salt
14:51 npmbot_ joined #salt
14:53 blaffoy `salt-call winrepo.genrepo` works on a masterless windows minion, but it will error if the win_repo* config options refer to a "salt://" path. Those need to point to a "C:/" style path
14:53 ggoZ joined #salt
14:55 steffo joined #salt
14:56 leszq joined #salt
14:57 diegows joined #salt
14:58 oyvjel joined #salt
14:59 nitti joined #salt
15:00 steffo joined #salt
15:00 bot12 joined #salt
15:02 linjan joined #salt
15:03 TheThing_ joined #salt
15:05 TheThin__ joined #salt
15:08 __gotcha joined #salt
15:09 scristian joined #salt
15:11 blaffoy Right, what I would like to do is store some installers on Amazon S3, and point the win repo config at these installer exes for my windows package management. For this, I'm trying to configure the S3 filesystem (s3fs): http://docs.saltstack.com/en/latest/ref/file_server/all/salt.fileserver.s3fs.html
15:11 blaffoy But it doesn't seem to work.
15:11 TheThing joined #salt
15:12 blaffoy I can use the S3 module to download my remote files, as outlined here: http://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.s3.html
15:13 blaffoy But s3fs just doesn't seem to pick up the files at all
15:13 patrek joined #salt
15:14 blaffoy I would expect that if s3fs is correctly configured, then any files that live in my S3 bucket would appear when I do `salt-call cp.list_master`. Is this a reasonable thing to expect?
15:14 _gothix_ joined #salt
15:15 blaffoy And I would expect to be able to refer to the remote file as "installer: salt://file_in_bucket" in a win repo config file. Is this also reasonable?
15:21 Twiglet_ Is there any way to have multiple (apt) repos with pkgrepo.managed? adding more than one - name: deb ... main seems to only put in the last one
15:21 genediazjr joined #salt
15:22 linjan joined #salt
15:25 viq Twiglet_: probably, though I'd create a separate state (id, or even sls) for each of them
15:26 Twiglet_ Thought that might be the case, seems like a bit of a ballache just to get "deb ubuntu main" and deb ubuntu universe" etc... into a single file ;)
15:29 steffo joined #salt
15:31 lothiraldan joined #salt
15:31 Twiglet_ ah, just needed to use "- comps: main,universe"
15:31 Twiglet_ woo
15:37 steffo joined #salt
15:39 ajolo joined #salt
15:40 aqua^mac joined #salt
15:43 steffo joined #salt
15:45 jdesilet joined #salt
15:46 steffo joined #salt
15:50 intellix joined #salt
15:53 brayn joined #salt
15:53 atbell joined #salt
15:54 CeBe joined #salt
15:54 xliiv joined #salt
15:55 balltongu joined #salt
16:00 karimb joined #salt
16:00 lothiraldan joined #salt
16:04 davidnknight joined #salt
16:04 otter768 joined #salt
16:07 davidnknight left #salt
16:09 Ahlee so, seriously.  When can we expect a configuration validator?
16:09 yorjo_ joined #salt
16:14 karimb joined #salt
16:17 jakubek joined #salt
16:19 jakubek {{ salt['pillar.get']('ha_node_vip', grains.get ip_interfaces:eth0)) }}, how to define if ha_node_vip is empty set ha_node_vip = grains.get ip_interfaces:eth0
16:26 saravanans joined #salt
16:27 jakubek ok i found solution {{ salt['pillar.get']('ha_node_vip2', salt['network.interfaces']()['eth0']['inet'][0]['address']) }}
16:30 VSpike If you do, on a master, "salt -l debug somehost state.hightstate" you get debug from the /master/ about what it's doing. If you do salt-call -l debug state.highstate on a minion, you get debug about what the /minion/ is doing....
16:31 VSpike is there a way to execute that call on the master, but get the debug-level output from the minion?
16:36 __gotcha joined #salt
16:43 VSpike Everyone must be shopping today :)
16:52 jalbretsen joined #salt
16:52 zooz joined #salt
17:00 grosjean left #salt
17:00 godber joined #salt
17:00 jaimed joined #salt
17:03 vectra joined #salt
17:05 bfraser joined #salt
17:05 viq_ joined #salt
17:10 lothiraldan joined #salt
17:12 VSpike Is there a way to list the files recursively that the salt master has available in the fileserver?
17:12 TheThing joined #salt
17:14 vectra joined #salt
17:15 lothiraldan joined #salt
17:16 zlhgo joined #salt
17:18 wnkz I have a weird error from ES after I filter some data: Invalid format: "28/Nov/2014:17:16:11 +0000" is malformed at "/Nov/2014:17:16:11 +0000"
17:22 balltongu joined #salt
17:26 bmonty joined #salt
17:29 aqua^mac joined #salt
17:33 baoboa joined #salt
17:34 StDiluted joined #salt
17:36 viq_ joined #salt
17:45 elfixit joined #salt
17:45 masterkorp Hello
17:46 masterkorp I am having a problem starting services
17:49 masterkorp NFO    ] Executing command 'service bitcoind start' in directory '/home/vagrant'
17:49 masterkorp it hangs in here
17:50 masterkorp its looks likes its waiting for  return
17:50 masterkorp but on the shell its fine
17:52 masterkorp http://pastebin.com/XNj7SYcR
17:52 vlcn has anyone ran into issues with reactors causing major performance issues?  Specifically I'm doing something much like the auth-pending example here: http://docs.saltstack.com/en/latest/topics/reactor/
17:54 glyf joined #salt
17:56 intellix joined #salt
17:57 bot12 joined #salt
17:57 shanemhansen joined #salt
17:59 shanemhansen I was on this channel a couple days ago complaining that salt-master burned crazy amounts of cpu on startup when running in a docker container. I figured out the problem, if the salt maintainers are interested in addressing it (it's not really a salt bug).
17:59 shanemhansen python -c "import subprocess;subprocess.Popen(['/bin/ls'], close_fds=True).wait()"
17:59 shanemhansen python2 subprocess module with close_fds=True is super broken in docker. python3 isn't.
18:00 shanemhansen When salt-master runs ip addr and ip show it triggers really high cpu usage as python attempts to close thousands of invalid file descriptors.
18:00 babilen masterkorp: I guess that bitcoind does not daemonize gracefully (as defined in, say,  in APUE on page 463ff (3rd edition, 2013))
18:01 babilen (my guess would be that it doesn't double-fork nor close FDs)
18:01 babilen Do they use start-stop-service or did they attempt to implement the daemonization themselves?
18:04 TK_ joined #salt
18:05 otter768 joined #salt
18:10 schristensen joined #salt
18:12 ale__ joined #salt
18:16 douardda joined #salt
18:16 Mso150 joined #salt
18:17 dani2 joined #salt
18:17 dani2 Hello guys, does it work?          {% set devices=salt['pillar.get']('['grains.get']('product'):version') -%}
18:17 smcquay joined #salt
18:17 dani2 I tried but it returns me an error
18:18 masterkorp babilen: i am the one writing the init
18:18 masterkorp i tried with start-stop-service
18:18 masterkorp but in that case the shell would work nicely
18:19 masterkorp babilen: it happens with start-stop-service and the bitcoind -daemon
18:19 masterkorp I tested on both
18:24 fragamus_ joined #salt
18:26 bhosmer joined #salt
18:27 aparsons joined #salt
18:28 nitti joined #salt
18:28 mordonez joined #salt
18:29 linjan joined #salt
18:30 saravanans joined #salt
18:32 jaimed joined #salt
18:40 linjan joined #salt
18:42 saravanans joined #salt
18:42 ndrei joined #salt
18:50 gildegoma joined #salt
18:53 smcquay joined #salt
19:03 Outlander joined #salt
19:10 TK_ joined #salt
19:12 eofs joined #salt
19:15 dstufft joined #salt
19:18 aqua^mac joined #salt
19:22 otter768 joined #salt
19:35 glyf joined #salt
19:35 StDiluted joined #salt
19:35 snuffeluffegus joined #salt
19:44 jaimed joined #salt
19:46 Valdo joined #salt
20:00 stanchan joined #salt
20:02 linjan joined #salt
20:04 Mso150_f joined #salt
20:05 Paoc joined #salt
20:09 Outlander joined #salt
20:14 Whissi joined #salt
20:14 homelinen joined #salt
20:23 so-user joined #salt
20:24 Mso150 joined #salt
20:24 vectra joined #salt
20:25 viq_ joined #salt
20:25 aparsons joined #salt
20:36 thawes joined #salt
20:38 bfraser joined #salt
20:39 bhosmer joined #salt
20:43 aparsons joined #salt
20:46 sgate1 joined #salt
20:49 godzilla joined #salt
20:50 godzilla left #salt
20:50 godzilla joined #salt
20:51 godzilla left #salt
20:51 TheThing joined #salt
20:59 bhosmer joined #salt
21:01 sgate1 joined #salt
21:02 jdesilet left #salt
21:07 aqua^mac joined #salt
21:13 TheThing joined #salt
21:15 sgate1 joined #salt
21:16 ndrei joined #salt
21:18 thawes joined #salt
21:22 JoeHazzers I have a question about the best practices page in the documentation: http://docs.saltstack.com/en/latest/topics/best_practices.html
21:23 JoeHazzers why is it "best practice" to use a lookup sub-key (e.g. apache.lookup)?
21:25 nitti joined #salt
21:29 giantlock joined #salt
21:38 mpanetta joined #salt
21:39 markm_ joined #salt
21:40 thawes joined #salt
22:01 JoeHazzers how can i write pillar data out to a yaml file?
22:05 lothiraldan joined #salt
22:10 ethercable joined #salt
22:12 eichiro joined #salt
22:15 cb joined #salt
22:18 knot joined #salt
22:18 elfixit joined #salt
22:24 nitti joined #salt
22:27 Mso150_p joined #salt
22:30 bhosmer joined #salt
22:33 cedwards is it possible to configure scheduled jobs to send events to the event bus? I'm not seeing any output from mine..
22:36 ajolo joined #salt
22:50 holler joined #salt
22:51 holler anyone familiar with getting supervisor set up with salt states? maybe more of a supervisor question but I have it being installed, however when I log into the server and do supervisorctl status myapp, it shows in the log "exit status 64" and says exited early/abnormal termination
22:51 holler no idea why
22:56 aqua^mac joined #salt
22:59 spookah joined #salt
23:05 JoeHazzers holler: surely that's an issue with the application supervisor is trying to supervise, and nothing salt related?
23:05 JoeHazzers pro tip 101: have you checked the output of any rendered files?
23:06 holler JoeHazzers: I see.. well Im trying to have salt install -> supervisor, which daemonizes/runs -> celery
23:06 holler all I have checked is log files
23:07 holler I know celery is installed and works fine so something w/supervisor must not be right
23:14 jakubek joined #salt
23:14 jakubek can i use local.grains.setvals in reactor?
23:15 bhosmer joined #salt
23:25 TyrfingMjolnir joined #salt
23:39 holler whats the latest stable version of salt/
23:39 holler 2014.7?
23:40 masterkorp yes
23:41 spookah i hope the final version is nick named hypertension
23:42 sgate1 joined #salt
23:42 glyf joined #salt
23:49 mordonez joined #salt
23:52 JoeHazzers spookah: how about hyperthatch?
23:56 sgate1 joined #salt

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