Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-11-21

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

All times shown according to UTC.

Time Nick Message
00:02 mosen joined #salt
00:02 aparsons joined #salt
00:04 glyf joined #salt
00:05 aparsons joined #salt
00:06 meylor left #salt
00:07 notbmatt joined #salt
00:15 melinath joined #salt
00:19 pr_wilson joined #salt
00:22 bmcorser joined #salt
00:24 jimklo joined #salt
00:27 g4rlic joined #salt
00:28 g4rlic Question: running 2014.7.0, repackaged from EPEL for Fedora 19.  Seems like remote execution is broken somehow.  The symptom is that # salt 'hostname' test.ping just times out.
00:28 g4rlic doesn't return anything.
00:33 SheetiS are both the master and the minion running 2014.7?
00:33 skyler_ g4rlic: I had a similar problem, but it turned out to not be a salt issue, it was just a coincidence that it happened as I updated. In my case it was unable to resolve the salt master because of changes to dns. Can your minion resolve the salt master?
00:33 skyler_ If not there will be errors in /var/log/salt/minion.
00:34 g4rlic skyler_: let me check/.
00:34 forrest joined #salt
00:37 ecdhe joined #salt
00:38 Mso150 joined #salt
00:38 g4rlic skyler_: yes, minion can resolve master nicely.  This whole system was running 2014.1.3 perfectly for over a year now.
00:43 skyler_ g4rlic: I guess I can't really give any insight, then.
00:44 g4rlic No worries, I appreciate the help.  Forgetting the basics has been a big problem the last few days for some reason.
00:44 g4rlic Also, looks like createhomedir: True doesn't work with user.present still.  :\
00:46 dooshtuRabbit joined #salt
00:47 g4rlic we had to add a file.directory state, just like we did "back in the day" with Salt, according to another coworker.  (and my git history of that salt tree shows him to be right.)
00:47 Ryan_Lane sigh. regression in masterless and --local again
00:47 Ryan_Lane the /third/ time this has regressed
00:48 murrdoc ?
00:48 Ryan_Lane https://github.com/saltstack/salt/issues/12173
00:49 jeffrey4l_ joined #salt
00:49 g4rlic aww. :\
00:49 Ryan_Lane hm. I wonder if this is due to the local hack I have in place
00:49 * Ryan_Lane checks
00:50 ph8 joined #salt
00:53 alainv Why did the debs for 2014.1 get pulled when 2014.7 was released
00:53 manfred alainv: launchpad only allows one version to be available
00:53 g4rlic Hmm.
00:53 alainv really??
00:53 alainv Gah.
00:53 manfred yes
00:54 g4rlic So, a couple of successful highstates, and now targeting is working again.  heisenbug. :\
00:54 manfred that is why you see old versions for stuff that is no longer supported
00:54 alainv Well that sucks all around. alright
00:54 manfred like the 0.17.5 for 10.10 and 13.04 or w/e
00:54 g4rlic alainv: Fedora has a similar policy on their mirrors..  it keeps mirror providers from having to keep dozens of gigs of old RPM's around for rollback.
00:54 manfred alainv: just use curl -Ls https://bootstrap.saltstack.com | sh -s -- git v2014.1.11
00:54 alainv Can I petition for in-house repos or using another provider then?
00:55 max__ joined #salt
00:55 alainv manfred: except bootstrap will add the repo and it'll want to update :p
00:55 alainv i'll just mark it as hold, ofc, but still
00:55 manfred no it won't
00:55 manfred i just told you how to install it from git
00:55 Ryan_Lane never suggest curl | bash
00:55 manfred it will do a git clone, grab the tag, and the use that tag
00:56 Ryan_Lane I know it's there to make things easier for people to try salt, but it's a *really* horrible thing from a security perspective
00:56 manfred i only said it to shorten it
00:56 nitti joined #salt
00:56 manfred curl -O it, then run it from the comamnd line
00:56 manfred whatever you want to do
00:57 g4rlic So, that bug we had with targeting not working?  Looks like it's because the user we were running salt as (a non-root system user) didn't have a home directory.  Once that state completed, targeting started working again. False alarm. ;)
00:58 manfred alainv: following that, it won't update, and saltbootstrap will make sure that your services are in the correct location
00:58 manfred alainv: if you are not wanting to automatic update with packages, that is the best way to go imo
00:59 alainv manfred: thanks, fair enough
00:59 badon joined #salt
01:02 shaggy_surfer joined #salt
01:02 g4rlic OK, again, scratch what I said earlier about createhomedir.  We just tested it, and it worked..  Maybe it does something different with system users..  (uid below 500)
01:03 shaggy_surfer joined #salt
01:10 dooshtuRabbit1 joined #salt
01:11 jespada joined #salt
01:13 moose882 joined #salt
01:14 moose882 I have a quesiton about the python api, is there a way to get all the minions when using localclient ?
01:15 badon joined #salt
01:17 mapu joined #salt
01:36 feythin joined #salt
01:38 dooshtuRabbit joined #salt
01:39 cromark joined #salt
01:42 dooshtuRabbit1 joined #salt
01:44 csstylish_ joined #salt
01:47 TyrfingMjolnir joined #salt
01:58 jeffrey4l_ joined #salt
02:01 aqua^mac joined #salt
02:04 catpigger joined #salt
02:10 knot joined #salt
02:21 badon joined #salt
02:21 catpig joined #salt
02:24 rblackwe joined #salt
02:27 jalbretsen joined #salt
02:30 melinath joined #salt
02:30 malinoff joined #salt
02:35 glyf joined #salt
02:40 pentabular joined #salt
02:41 Guest71585 joined #salt
02:45 aqua^mac joined #salt
02:52 badon joined #salt
02:55 TOoSmOotH joined #salt
02:56 jimklo_ joined #salt
03:04 catpigger joined #salt
03:07 desposo joined #salt
03:09 catpiggest joined #salt
03:14 catpigger joined #salt
03:17 catpiggest joined #salt
03:20 catpigger joined #salt
03:24 picker joined #salt
03:27 aqua^mac joined #salt
03:29 catpiggest joined #salt
03:32 catpigger joined #salt
03:32 glyf joined #salt
03:38 TyrfingMjolnir joined #salt
03:39 nitti joined #salt
03:44 melinath joined #salt
03:46 brendanashworth joined #salt
03:47 brendanashworth i'm getting a nice error for my latest salt state... "data failed to compile", "specified SLS is not found on master"
03:47 brendanashworth but it is there, any guide for troubleshooting?
03:49 catpiggest joined #salt
03:50 ezheidtmann joined #salt
03:55 monkey66 joined #salt
04:01 catpigger joined #salt
04:04 catpiggest joined #salt
04:05 TyrfingMjolnir joined #salt
04:07 MTecknology brendanashworth: double check where your sls file is, because salt is probably right
04:08 jaimed joined #salt
04:10 glyf joined #salt
04:11 __number5__ brendanashworth: try do a state.show_sls on the state in question
04:12 brendanashworth "Specified SLS something or another in environment base is not available on the salt master" __number5__
04:12 brendanashworth MTecknology: ls -l /srv/salt/{iptables,myotherservice}/init.sls shows that both exist, but only the iptables sls worked
04:21 glyf joined #salt
04:28 perfectsine joined #salt
04:29 perfectsine_ joined #salt
04:30 jonatas_oliveira joined #salt
04:32 MTecknology brendanashworth: show the logs
04:33 TOoSmOotH joined #salt
04:33 brendanashworth where can i find them?
04:33 desposo joined #salt
04:36 desposo1 joined #salt
04:36 catpigger joined #salt
04:37 ndrei joined #salt
04:37 ndrei_ joined #salt
04:38 desposo1 joined #salt
04:38 MTecknology brendanashworth: copy/paste from the terminal into dpaste.com and give us the link
04:39 desposo joined #salt
04:40 brendanashworth https://gist.github.com/brendanashworth/be170b1dbecbe6e1e818
04:42 monkey66 left #salt
04:42 NV hrm, has anyone been able to successfully install a minion on a windows machine remotely?
04:42 NV I get to the point of executing the installer with the /S flag and related options and then just nada
04:42 NV running the same command locally works
04:43 NV NSIS doesn't seem to like running remotely via invoke-command?
04:50 TOoSmOotH joined #salt
04:53 brendanashworth any help? please?
04:59 Gareth brendanashworth: you have a file under l2tp called init.pp?
04:59 brendanashworth i have an init.sls
05:00 Gareth er sory. yeah. sls is what I meant :)
05:00 jonatas_oliveira joined #salt
05:00 brendanashworth no problem - any idea what might be causing it?
05:00 MTecknology NV: initial install was done with landesk; I now update salt-minion on windows boxes using salt
05:01 MTecknology brendanashworth: namei -l /srv/salt/l2tp/init.sls
05:01 Gareth brendanashworth: what does the init.sls look like?
05:02 jonatas__ joined #salt
05:02 brendanashworth oh my. i found the mistake.
05:03 Gareth :)
05:03 brendanashworth "Specified SLS something or another in environment base" while writing the file i had literally put include: something or another for a temporary thing and committed it in...
05:03 Gareth that'll do it :)
05:03 brendanashworth i thought that was just a horribly written error message.
05:04 brendanashworth thanks so much Gareth, MTecknology, __number5__!
05:04 jonatas_oliveira joined #salt
05:04 Gareth no worries :) glad you found it.
05:06 jonatas_oliveira joined #salt
05:06 amontalban joined #salt
05:08 jonatas_oliveira joined #salt
05:10 jonatas__ joined #salt
05:12 jonatas_oliveira joined #salt
05:13 catpiggest joined #salt
05:13 TyrfingMjolnir joined #salt
05:13 jonatas__ joined #salt
05:15 jonatas_oliveira joined #salt
05:17 jonatas__ joined #salt
05:19 Kurt___ joined #salt
05:19 jonatas_oliveira joined #salt
05:20 Kurt___ hey, im trying to get started with salt (using salt-ssh from mbp to provision ec2 servers), and running through the hello documentation
05:20 Kurt___ intro documentation *
05:21 Kurt___ i can run `salt-ssh '*' test.ping` and e.g. `salt-ssh '*' -r 'ifconfig'`  just fine. but when i do salt.highstate, it doesn't detect that there are any states, so i get Total states run:    0
05:21 Kurt___ top.sls: base:   '*':     - webserver
05:21 jonatas_oliveira joined #salt
05:21 Kurt___ webserver.sls: apache2:   pkg:     - installed
05:21 Kurt___ (on ubuntu host)
05:21 MTecknology Kurt___: use enter less
05:22 MTecknology pbin your top.sls file
05:22 Kurt___ haha, will do.
05:22 Kurt___ http://pastebin.com/Ccp8GteD
05:23 smcquay joined #salt
05:23 jonatas_oliveira joined #salt
05:24 MTecknology Kurt___: salt-ssh '*' state.show_sls
05:24 MTecknology make sure your master config is set to look in the right place for your top.sls file
05:25 jonatas_oliveira joined #salt
05:27 jonatas_oliveira joined #salt
05:27 * MTecknology grumbles
05:27 MTecknology another broken connection
05:27 NV MTecknology: ooh interesting, that's my next question - do you use the winrepo stuff for updating salt on windows minions, or?
05:28 catpigger joined #salt
05:29 jonatas__ joined #salt
05:30 MTecknology NV: I haven't dove into windows, so... no
05:30 pdayton joined #salt
05:30 MTecknology windows stuff is on my VERY distant to do list
05:31 * MTecknology needs to fall asleep now. G'night
05:31 jonatas_oliveira joined #salt
05:33 jonatas_oliveira joined #salt
05:35 jonatas__ joined #salt
05:36 jonatas_oliveira joined #salt
05:38 jonatas__ joined #salt
05:38 desposo joined #salt
05:40 jonatas__ joined #salt
05:42 jonatas_oliveira joined #salt
05:44 jonatas__ joined #salt
05:46 jonatas_oliveira joined #salt
05:48 jonatas__ joined #salt
05:50 jonatas__ joined #salt
05:52 jonatas_oliveira joined #salt
05:54 jonatas__ joined #salt
05:55 jonatas_oliveira joined #salt
05:56 skyler joined #salt
05:57 jonatas_oliveira joined #salt
05:58 jimklo joined #salt
05:59 jonatas_oliveira joined #salt
06:01 jonatas_oliveira joined #salt
06:03 jonatas__ joined #salt
06:05 jonatas_oliveira joined #salt
06:07 jonatas__ joined #salt
06:09 jonatas_oliveira joined #salt
06:11 jonatas__ joined #salt
06:13 jonatas_oliveira joined #salt
06:14 jonatas_oliveira joined #salt
06:16 ChaosPsyke joined #salt
06:16 jonatas__ joined #salt
06:18 jonatas_oliveira joined #salt
06:22 jonatas__ joined #salt
06:24 jonatas_oliveira joined #salt
06:24 catpiggest joined #salt
06:26 kermit joined #salt
06:26 jonatas__ joined #salt
06:28 jonatas_oliveira joined #salt
06:28 TTimo joined #salt
06:30 jonatas__ joined #salt
06:32 jonatas__ joined #salt
06:32 asdasd joined #salt
06:33 jonatas_oliveira joined #salt
06:35 jonatas_oliveira joined #salt
06:35 NightMonkey joined #salt
06:37 jonatas_oliveira joined #salt
06:38 jeffrey4l_ joined #salt
06:39 jonatas_oliveira joined #salt
06:41 jonatas_oliveira joined #salt
06:43 jonatas_oliveira joined #salt
06:44 TOoSmOotH joined #salt
06:45 jonatas_oliveira joined #salt
06:46 SheetiS joined #salt
06:47 jonatas__ joined #salt
06:49 jonatas_oliveira joined #salt
06:49 msciciel joined #salt
06:51 jonatas__ joined #salt
06:53 jonatas_oliveira joined #salt
06:54 TOoSmOotH joined #salt
06:55 jonatas_oliveira joined #salt
06:56 jonatas__ joined #salt
06:58 Guest71101 joined #salt
06:58 jonatas_oliveira joined #salt
07:00 jonatas_oliveira joined #salt
07:02 jonatas_oliveira joined #salt
07:03 thayne joined #salt
07:03 aqua^lsn joined #salt
07:04 jonatas__ joined #salt
07:06 jonatas_oliveira joined #salt
07:08 jonatas_oliveira joined #salt
07:10 jonatas_oliveira joined #salt
07:12 jonatas_oliveira joined #salt
07:13 jonatas_oliveira joined #salt
07:15 jonatas_oliveira joined #salt
07:17 jonatas_oliveira joined #salt
07:17 TOoSmOotH joined #salt
07:19 catpigger joined #salt
07:19 jonatas_oliveira joined #salt
07:21 jonatas_oliveira joined #salt
07:21 felskrone joined #salt
07:22 pdayton joined #salt
07:23 jonatas_oliveira joined #salt
07:24 harkx joined #salt
07:25 jonatas_oliveira joined #salt
07:27 jonatas_oliveira joined #salt
07:28 badon joined #salt
07:29 jonatas__ joined #salt
07:31 jonatas_oliveira joined #salt
07:40 glyf joined #salt
07:41 moldie joined #salt
07:42 ale joined #salt
07:46 ale joined #salt
07:48 oyvjel joined #salt
07:54 TOoSmOotH joined #salt
07:55 flyboy joined #salt
07:56 __gotcha joined #salt
07:57 monkey66 joined #salt
08:01 tomspur joined #salt
08:03 Mso150 joined #salt
08:05 TOoSmOotH joined #salt
08:07 yani joined #salt
08:08 yani hey everyone, salt-run manage.status reports that all minions are down but once the command is issued, after 10-20 seconds all minions are back online. Is there something I can do so that salt keeps checking over time if minions are up?
08:09 jhauser joined #salt
08:11 lcavassa joined #salt
08:11 agrundy joined #salt
08:13 chiui joined #salt
08:17 CycloHex joined #salt
08:17 CeBe joined #salt
08:19 CycloHex Morning guysess. I was wondering whether it is possible to require states in a reactor. Or is the orchestrate runner needed to get some kind of order in state-reactors?
08:28 fredvd joined #salt
08:28 babilen CycloHex: Reactors simply call functions (which can be done in a specific order)
08:28 CycloHex how to order them, then?
08:29 CycloHex do they just execurt ein order of appearance? First I had two sls files, one to sync_all, the other to do the work needed
08:29 flyboy82 yo Cyclo, I've been fudging around with orchestration too the last couple of weeks and I can surely tell you that orchestrate runner is used to make sure certain states run on certain minions in the correct order
08:30 CycloHex I had put the sync_all first, but the order was random, sometimes it started sync_all first, other times it started the other one.. I now reduced those two state files to one
08:30 flyboy82 as for Reactors, it's primarily to make sure that something get run when an event occurs
08:31 CycloHex yes, I use the cloud-reactor 'created' to sync_all and highstate
08:31 babilen CycloHex: Yeah, I think that they are simply called in from top to bottom
08:31 ChaosPsyke joined #salt
08:31 CycloHex and add my new server to backup and monitor. But I wonder if this state gets executed in order of appearance
08:31 TTimo joined #salt
08:31 CycloHex ok babilen thanks
08:31 babilen But you cannot rely on one thing having finished before you call the next so relying on order is not advisable
08:32 CycloHex how to ensure this, then?
08:32 __gotcha joined #salt
08:33 CycloHex flyboy82: why then would you use orchestrate, if you can just require in state files and order in that way
08:33 babilen You cannot with reactors. You simply react to events. If you want to order something with that you would have to fire "this step completed" events and react to those. You might, however, be looking for orchestrate
08:33 jimklo joined #salt
08:33 CycloHex ok, I'll defo take a look at orchestrate.. although I don't have much time left for my project to complete.. ^^
08:37 flyboy82 e.g I use orchestrate to populate my mongo replicasets... It's something that gets to be done once but it definitely has to be done in order
08:38 CycloHex So things that need to be run only once or at leas tnot every highstate. And in order, is best donoe with orchestrate?
08:38 flyboy82 it could be done with reactor system, but orchestrate is far easier for me to implement :)
08:38 slav0nic joined #salt
08:39 CycloHex Well, I have 0 experience with runners and orchestrate doesn't really ring a bell or looks like somehting I'd easily get
08:39 CycloHex th eonly thing I used runners for atm is to find a job
08:39 flyboy82 lol, orchestrate is easier than you might think
08:39 CycloHex ok, As I mentioned before, I'll take a look at it then
08:43 slafs joined #salt
08:47 faust joined #salt
08:49 shorty_mu joined #salt
08:52 spo0nman joined #salt
08:54 TOoSmOotH joined #salt
09:00 N-Mi_ joined #salt
09:03 oyvjel1 joined #salt
09:04 danburbridge joined #salt
09:09 vincehu joined #salt
09:15 dRiN joined #salt
09:20 jonatas_oliveira joined #salt
09:22 elfixit joined #salt
09:32 alexr__ joined #salt
09:32 TTimo joined #salt
09:42 cromark joined #salt
09:46 rawkode joined #salt
09:48 seblu joined #salt
09:48 mikkn joined #salt
09:52 TOoSmOotH joined #salt
09:56 lothiraldan joined #salt
09:59 glyf joined #salt
10:01 oyvjel joined #salt
10:03 __gotcha1 joined #salt
10:04 ingard joined #salt
10:05 ProT-0-TypE joined #salt
10:05 karimb joined #salt
10:08 agrundy left #salt
10:08 agrundy joined #salt
10:09 agrundy left #salt
10:14 noobsalt joined #salt
10:21 otter768 joined #salt
10:22 giantlock joined #salt
10:32 ckao joined #salt
10:33 TTimo joined #salt
10:34 jeddi joined #salt
10:37 __gotcha joined #salt
10:40 thayne joined #salt
10:44 Hell_Fire_ joined #salt
10:46 TOoSmOotH joined #salt
10:50 Outlander joined #salt
10:50 __gotcha joined #salt
10:54 babilen Have upgrades from 2014.1.13 to 2014.7.0 on Debian been relatively hassle free for people?
10:54 babilen I am trying to decide when I will perform this upgrade :)
11:01 mr_chris babilen: I don't see why it wouldn't be unless you're doing horrible things that apt should never do.
11:02 mr_chris I'd be more concerned about testing my states in a isolated environment first.
11:03 flyboy82 worked fine on my VMs
11:03 flyboy82 all Debian 7
11:04 diegows joined #salt
11:05 TOoSmOotH joined #salt
11:08 * LotR will upgrade when the new version is in sid :)
11:08 jonatas_oliveira joined #salt
11:09 babilen mr_chris: Well, I was primarily interested in the salt side of the upgrade. That the packaging system won't have problems upgrading the packages is something I take for granted ;)
11:10 flyboy82 babilen: nothing that I tested was broken after the upgrade ;)
11:11 glyf joined #salt
11:12 mr_chris babilen: A fair precaution. Test it in a VM or container first.
11:12 Outlander joined #salt
11:13 joehh LotR: that is waiting on a couple of bug fixes I'm wanting to get into jessie this weekend
11:13 babilen I always do that. I was simply interested in "News from the community"
11:14 babilen If people had been outraged and my question had been met with "OMG, don't do it. I spend the last 24h straight fixing everything" then I would have abandoned the idea of upgrading pretty damn fast
11:14 LotR joehh: heh, cool. thanks for the packaging effort btw :)
11:15 joehh no worries - just thought I'd let you know why it is sitting in experimental rather than unstable
11:16 babilen +1
11:18 bhosmer joined #salt
11:20 flyboy82 ok guys, tricky one. does any of you know a way to have a variable passed as a function argument? I want to use mine.get in a state but I want the targeting of the mine to be controlled by a pillar value
11:23 peters-tx joined #salt
11:32 viq babilen: I had to additionally restart a bunch of minions, but otherwise seemed to have worked fine
11:35 che-arn5 joined #salt
11:35 che-arne joined #salt
11:35 babilen restarting a bunch of minions would be, well, suboptimal
11:36 babilen I am not looking forward spending the rest of the day logging into minions and restarting services manually
11:38 istram joined #salt
11:39 babilen But that are all rather good news. Looks as if the extended testing paid off
11:48 cromark joined #salt
11:50 johtso_ joined #salt
11:50 jespada joined #salt
11:52 PI-Lloyd joined #salt
11:55 giantlock joined #salt
11:57 hobakill joined #salt
11:57 jonatas_oliveira joined #salt
12:01 CeBe1 joined #salt
12:03 viq I haven't done much with them yet, highstate on maybe ~10, pkg.upgrade on a bunch
12:04 ecdhe joined #salt
12:06 jhauser joined #salt
12:07 lothiraldan joined #salt
12:07 __gotcha joined #salt
12:15 asmaps joined #salt
12:19 linjan joined #salt
12:22 otter768 joined #salt
12:28 Outlander joined #salt
12:34 JlRd joined #salt
12:38 thawes joined #salt
12:46 ale joined #salt
12:49 TTimo joined #salt
12:58 bmcorser joined #salt
12:58 TOoSmOotH joined #salt
12:58 younqcass joined #salt
13:10 sgate1 joined #salt
13:13 diegows joined #salt
13:14 hcl2 joined #salt
13:29 mapu joined #salt
13:30 glyf joined #salt
13:33 moose__ joined #salt
13:35 CycloHex Anyone has an idea why the new shadow attribute expire on state user has a value of days since epoch? Why isn't it just expire [date] where date is a date in the future where it has to expire (eg 20141128)
13:35 __gotcha joined #salt
13:46 __gotcha1 joined #salt
13:51 bluenemo joined #salt
13:51 bluenemo the new output formatting for the highstate output is just amazing. it shows time started, duration, and number of actually executed states now. just great! neat work guys :)
13:52 glyf joined #salt
13:55 wincus joined #salt
13:55 che-arne joined #salt
13:56 cpowell joined #salt
13:59 XenophonF joined #salt
14:02 fredvd joined #salt
14:02 giantlock joined #salt
14:05 alexr___ joined #salt
14:05 alexbst joined #salt
14:06 JordanTesting joined #salt
14:07 codekobe_ joined #salt
14:07 Kelsar joined #salt
14:07 moderation joined #salt
14:09 mschiff joined #salt
14:09 mschiff joined #salt
14:10 MTecknology CycloHex: http://en.wikipedia.org/wiki/Passwd <-- because that's how it's done
14:11 mfournier joined #salt
14:12 CycloHex MTecknology: But the command usermod --expiredata uses normal formatted dates
14:12 Twiglet__ Anyone koe how I would add multiple apt repos with pkgrepo.managed? (as in deb ... main \n deb ... universe)
14:13 MTecknology CycloHex: and what's it look like in /etc/shadow after you set it?
14:13 CycloHex :D Since oyu ask it that way, I'll guess it gets converted to days from epoch
14:14 CycloHex Just saying it'd be nice if Salt would just ask a date and do the conversion for us. Now I have to use an epochconverter.. which is easily found online, but still
14:15 Kelsar joined #salt
14:15 ndrei joined #salt
14:15 MTecknology CycloHex: I'm sure they'd accept a patch. :)
14:16 Hazelesque joined #salt
14:16 denstark joined #salt
14:16 Ouzo_12 joined #salt
14:16 EWDurbin_ joined #salt
14:16 pwiebe___ joined #salt
14:16 akoumjian joined #salt
14:17 Spookley_ joined #salt
14:17 octarine joined #salt
14:17 Kyle___ joined #salt
14:17 nliadm joined #salt
14:17 jgelens joined #salt
14:17 mschiff joined #salt
14:17 mschiff joined #salt
14:17 geekatcmu joined #salt
14:17 sdh_ joined #salt
14:17 joeyparsons joined #salt
14:17 beardo joined #salt
14:19 Emantor joined #salt
14:19 hobakill anyone have similar issues? https://www.hobapolis.com/paste/?91673dfc0c8eb409#Oq4Hu0XTW7jl4ygE+2HBljiI1cuxNLb9JJ6TzAt0fe8=
14:19 hobakill i have 11 minions, seemingly random, that have this error and cannot communicate with my master
14:22 Deevolution hobakill: I've not seen anything like that.  Closest thing I've seen is issues with PyCrypto causing salt to fail to start.
14:22 Deevolution hobakill: What version of salt are you running?
14:23 otter768 joined #salt
14:26 mpanetta joined #salt
14:27 hobakill Deevolution: 2014.7.0
14:27 hobakill all minions and master are on it
14:31 Deevolution hobakill:  From a brief look at the code, it looks like that's a timeout error.
14:31 gildegoma joined #salt
14:32 micah_chatt joined #salt
14:34 perfectsine joined #salt
14:36 hobakill Deevolution: yeah not sure really.. i put a -t 60 in front of commands and i still can't get them to respond to test.ping, manage.status, etc... slightly annoying to say the least. thanks for taking a look.
14:36 racooper joined #salt
14:36 tafa2 joined #salt
14:37 Deevolution No problem.  I haven't upgraded to 2014.7 yet, and I'm trying to get a 'pulse' of issues with it.
14:38 adamk joined #salt
14:39 wincus joined #salt
14:41 thayne joined #salt
14:42 bartoua joined #salt
14:47 _JZ_ joined #salt
14:48 thawes_ joined #salt
14:50 snuffeluffegus joined #salt
14:50 nitay joined #salt
14:51 ajolo joined #salt
14:51 vbabiy joined #salt
14:52 nitay how do u guys iterate when developing some salt state - i mean if i stick my states in git I have to keep puhsing changes in order to change on cluster, which means there’ll be a bunch of broken commits. So I went with just sticking all the data in /srv but now I’m running into issues with multiple engineers wanting ot edit salt states at same time
14:52 ajolo joined #salt
14:52 nitay *in order to TEST change on cluster
14:55 Kyle___ joined #salt
14:55 rattmuff joined #salt
14:58 bhosmer joined #salt
14:58 jaimed joined #salt
14:59 viq_ joined #salt
15:00 viq nitay: test in vagrant or other test environment first
15:01 __gotcha joined #salt
15:03 nitay viq: but arent u still having to commit the code into a branch then?
15:03 nitay do u have a “test” branch test that a bunch then squash all the commits into master for real deploy type thing?
15:04 housl joined #salt
15:05 viq nitay: when in vagrant it can see your tree directly, and then you only commit when you're happy. Or, as you said, test branch and squash commits
15:05 nitay i see ok ill give that a shot thx
15:06 ChaosPsyke joined #salt
15:07 ulland joined #salt
15:10 eriko joined #salt
15:11 thawes joined #salt
15:13 babilen Has anybody seen https://www.refheap.com/93722 on 2014.7.0 ? Not entirely sure what caused that, but it's the first thing that I stumbled over in production.
15:14 vincehu joined #salt
15:22 pr_wilson joined #salt
15:22 smite1 joined #salt
15:23 micah_chatt_ joined #salt
15:25 viq How do I target based on saltversioninfo grain? Here's example output https://pbot.rmdir.de/Gy8aCSvFfC-DUqJwtekNFw
15:25 viq I'd like to target minions that don't have 2014.7 yet
15:25 danburbridge joined #salt
15:27 pdayton joined #salt
15:29 monkey66 left #salt
15:29 premera joined #salt
15:31 viq Well, this seems to work: saltversioninfo:*2014*1*
15:32 nitay joined #salt
15:34 favadi joined #salt
15:36 bhosmer joined #salt
15:39 mick3y viq: you could probably use grains['saltversion'] which should be easier to process
15:42 kaptk2 joined #salt
15:46 TOoSmOotH joined #salt
15:47 rojem joined #salt
15:54 jasonrm joined #salt
15:55 StDiluted joined #salt
15:56 gngsk joined #salt
15:57 StDiluted joined #salt
15:58 StDiluted joined #salt
15:58 jalbretsen joined #salt
15:58 meylor joined #salt
15:59 ndrei_ joined #salt
15:59 ndrei joined #salt
16:00 StDiluted joined #salt
16:03 bhosmer joined #salt
16:06 glyf joined #salt
16:09 jdesilet joined #salt
16:11 masterkorp Is salt-formulas mailing official yet ?
16:12 melinath joined #salt
16:12 jngd joined #salt
16:15 jimklo joined #salt
16:16 timoguin masterkorp: Dave asked for ownership, but I didn't see any confirmation that he got it
16:19 SheetiS I thought I did see that he got it.  Checking.
16:19 hasues joined #salt
16:20 hasues left #salt
16:20 SheetiS https://groups.google.com/forum/#!topic/salt-formulas/-Ej9pOEjtWY
16:20 tligda joined #salt
16:21 rypeck joined #salt
16:22 bhosmer joined #salt
16:22 masterkorp Ok i have a few ideas
16:24 otter768 joined #salt
16:24 StDiluted joined #salt
16:27 Ozack1 joined #salt
16:31 RedundancyD joined #salt
16:32 diegows joined #salt
16:33 Ozack joined #salt
16:34 Guest71101 joined #salt
16:34 XenophonF does anyone here run apache or nginx in front of halite?
16:41 Hell_Fire_ joined #salt
16:44 desposo joined #salt
16:45 masterkorp nginx reverse proxy ftw
16:49 csstylish joined #salt
16:50 hobakill left #salt
16:54 XenophonF scratch that - i can't even get halite to run
16:56 slafs joined #salt
16:56 iggy try the "install halite for development" directions
16:57 slafs left #salt
16:59 MTecknology I need to someday get halite actually working... It's been rather painful for me.
17:00 XenophonF iggy: i assume that means i need to install halite via pip or setup.py, instead of using the package in EPEL?
17:00 gebi joined #salt
17:01 gebi hi all :)
17:01 iggy XenophonF: theres instructions titled similar to what i said
17:02 wendall911 joined #salt
17:02 XenophonF gotcha
17:02 XenophonF thanks
17:02 iggy but yeah, i doibt any packages are going to work (or in fact be very up to date)
17:07 toastedpenguin joined #salt
17:08 pf_moore joined #salt
17:11 spookah joined #salt
17:11 jhauser joined #salt
17:16 zlhgo joined #salt
17:19 XenophonF that's what i gathered
17:19 XenophonF bummer
17:21 gebi might it be possible, that salt-ssh is somehow not cleaning up /tmp files in some ocassions? i leaks my https private keys to /tmp
17:21 KyleG joined #salt
17:21 KyleG joined #salt
17:22 gebi (i'm applying the keys through pillars and a file.state with contents_pillar)
17:22 gngsk joined #salt
17:34 jngd wich is salt minion default port?
17:35 jngd Im trying to connect one master to two minions, both virtualized, and I don't know how make forward in Vagrant fileç
17:37 mr_chris jngd, Wouldn't that be a question for #vagrant.
17:37 mr_chris ?
17:38 mr_chris 4505 and 4506
17:38 jngd because I ask for salt minion port
17:38 mr_chris Which I just gave.
17:38 jngd mr_chris, yes, thanks
17:38 mr_chris I thought you were also asking how to get vagrant to set that up for you. Sorry if I was mistaken.
17:39 jngd mr_chris, no, only I want to know how set forward in Vagrantfile to comunicate master and minions
17:40 mr_chris jngd, https://docs.vagrantup.com/v2/networking/forwarded_ports.html
17:40 mr_chris I could continue this discussion with you in #Vangrant if you require further assistance.
17:40 mr_chris Err, #vagrant
17:42 jngd mr_chris, ok I think I am able to deploy all but I thank you very much
17:42 mr_chris jngd, You're welcome.
17:43 aparsons joined #salt
17:47 hal58th joined #salt
17:48 rap424 joined #salt
17:51 apergos joined #salt
17:54 watchman joined #salt
17:55 Rucknar joined #salt
18:00 TheThing joined #salt
18:05 druonysus joined #salt
18:05 druonysus joined #salt
18:05 icksa joined #salt
18:06 atbell joined #salt
18:07 icksa Hello: I just ran salt, and (correctly) received a "conflicting IDs" error because I had states with the same name in multiple files. However, I noticed that the salt command returned 0 in spite of this failure. I know there were a lot of tickets on github for various return code issues, but I thought these were supposed to be fixed in 2014.7.0 (which I am running). Is this the expected behavior from the salt command?
18:10 aynik joined #salt
18:10 spielberg joined #salt
18:14 hal58th icksa, I would try and actually find that issue by changing the filter to "is:closed" and search for return code.
18:15 atbell joined #salt
18:16 melinath joined #salt
18:17 atbell joined #salt
18:19 smcquay joined #salt
18:22 shaggy_surfer joined #salt
18:23 cpowell joined #salt
18:24 troyready joined #salt
18:25 otter768 joined #salt
18:25 glyf joined #salt
18:25 djaime joined #salt
18:26 djaime joined #salt
18:28 quickdry21 joined #salt
18:31 jaimed joined #salt
18:34 forrest joined #salt
18:36 Ryan_Lane joined #salt
18:37 jalbretsen http://docs.saltstack.com/en/latest/topics/pillar/#pillar-namespace-merges  Regarding pillar namespace merges, does this rule also apply across environments? Like the automagic merging of top.sls in say base/ and prod/
18:38 kermit joined #salt
18:40 hal58th I would have to imagine so jalbretsen. I'm sure you can test it quickly
18:41 jalbretsen ya, I'm going to
18:42 rojem joined #salt
18:45 TTimo joined #salt
18:45 chiui joined #salt
18:46 Rojematic joined #salt
18:49 jimklo_ joined #salt
18:50 jimklo joined #salt
18:50 aparsons joined #salt
18:51 skyler_ I am probably going to be able to have some coworkers put together some OpenStack formulas. For those interested, I am asking for input on how people would like to see these built here: https://groups.google.com/forum/#!topic/salt-formulas/8XV3jQta8fg
18:53 NaPs joined #salt
18:53 alexr joined #salt
18:55 Mso150 joined #salt
18:55 skyler_ Does anyone know how to get a python set in jinja? I would like to store some values in a set in my template.
18:59 csstylish joined #salt
19:04 bhosmer joined #salt
19:05 apergos joined #salt
19:06 murrdoc joined #salt
19:06 TTimo joined #salt
19:09 aw110f joined #salt
19:12 perfectsine joined #salt
19:16 Gareth morning morning
19:16 murrdoc morning
19:17 SheetiS good (morning|afternoon|evening|night)!
19:17 SheetiS (including everyone in the channel hopefully)
19:17 rawkode_ joined #salt
19:19 otter768 joined #salt
19:27 renoirb Is it me or the way variables are handled in salt 2014.7 are different from before?   in a state {% set foo = salt.publish.publish('salt','grains.get','level') %}   I could use later     {{ foo[1] }}   and get the value from ('salt', 'staging')  but now  I see something like {'salt': 'staging'}
19:29 faust joined #salt
19:29 watchman joined #salt
19:31 mordonez joined #salt
19:33 rojem joined #salt
19:33 smcquay joined #salt
19:34 mapu joined #salt
19:36 shoals joined #salt
19:38 smcquay joined #salt
19:38 rojem joined #salt
19:39 bhosmer joined #salt
19:39 vlcn I'm using Salt with about 600 minions and seem to be running into issues with syn flooding no matter how I configure the kernel/tcp stack
19:40 vlcn any suggestions?
19:40 murrdoc turn off keepalive ?
19:41 pentabular joined #salt
19:42 vlcn murrdoc, I already have it set fairly low
19:42 vlcn I'll try lower
19:49 melinath joined #salt
19:49 bhosmer joined #salt
19:51 spielberg how do you do set intersection in jinja2?
19:52 spielberg like if you have two lists and you want the intersection?
19:52 spielberg ansible has set filters http://docs.ansible.com/playbooks_variables.html#set-theory-filters
19:52 skyler_ spielberg: I was justing trying to figure out how to use actual sets in jinja, but couldn't find anything...
19:52 murrdoc vlcn:  #tcp_keepalive: False
19:52 spielberg ('!!set {}\n'|load_yaml).union(user.groups).intersection(grains.get('access', []))
19:53 spielberg that's the hack I came up with ^
19:53 skyler_ spielberg: so !!set gives you a python set?
19:53 vlcn murrdoc, hah.  I didn't know that could be set in the salt config.
19:53 murrdoc http://docs.saltstack.com/en/latest/ref/configuration/examples.html pew pew
19:53 spielberg use the load_yaml filter to get a set constructed (because set builtin isn't in ninja) then you can use the set methods (would be nice if you could use set operators but w/e)
19:54 glyf joined #salt
19:54 Ironhand joined #salt
19:55 spielberg skyler_: yeah !! is yaml's escape hatch to specify any type
19:56 skyler_ spielberg: Thanks! Very good to know
19:56 spielberg http://www.yaml.org/spec/1.2/spec.html#id2761758
20:04 Rojematic joined #salt
20:06 badon joined #salt
20:06 heise joined #salt
20:07 CeBe1 joined #salt
20:10 GrueMaster joined #salt
20:10 rojem joined #salt
20:12 hcl2 can you d/l a file.managed that doesn't have a source_hash from http?
20:13 timoguin don't think so
20:14 hcl2 so just salt:// it?
20:16 timoguin or download the file, run md5sum against it to get the hash, and use that
20:17 hcl2 hmm, well it's one of these floating things that doesn't have releases, it's just "always get the latest"  phpunit.phar
20:17 hcl2 so that hash will only work for so long
20:19 timoguin eh, that's annoying.
20:19 timoguin looks like composer might be a better way to install that then.
20:19 alexr joined #salt
20:20 timoguin which there is a module for
20:20 hcl2 well... same deal with composer... they only have unversioned latest release of "composer.phar"
20:20 hcl2 oh, in salt?
20:20 hcl2 oh, amazing
20:20 timoguin I haven't used it, but I use the pip module for Python packages.
20:20 timoguin And the gem module
20:21 hcl2 oh, that doesn't install it, it just works it
20:22 timoguin Yea. That strikes me as annoying not to be able to use versions.
20:22 hcl2 esp for a package manager itself.  i wish i didn't have to deal with it
20:26 hcl2 maybe cmd.script
20:26 MindDrive joined #salt
20:30 glyf joined #salt
20:33 micah_chatt_ joined #salt
20:33 bhosmer joined #salt
20:35 neogenix joined #salt
20:36 neogenix Ola peeps! What’re the options for syntax / validation / etc… for salt?
20:36 micah_chatt joined #salt
20:42 hal58th Validating what exactly? Pillar? Salt State files? Jinja?
20:42 snarfy joined #salt
20:43 snarfy yo here's a silly question. i wantt o do something in jinja like {% if grains['fqdn'] == '*foo' -%}
20:44 giantlock joined #salt
20:44 snarfy i seriously doubt jinja will support a star glob like that but is there some (easy) way to accomplish that? can i use grains['fqdn'].endswith or something
20:46 kermit joined #salt
20:46 hal58th Jinja doesn't support wildcards unfortunately. There is a grain for the domain, if that's what you need. grains.items domain
20:48 hal58th snarfy: this may be useful https://groups.google.com/forum/#!topic/salt-users/DQ3RouJF_9Y
20:49 dstokes does salt-run support output formatting?
20:50 rawkode_ joined #salt
20:51 snarfy brilliant.
20:51 snarfy thanks hal58th
20:51 yorjo joined #salt
20:51 CeBe1 joined #salt
20:52 snarfy i see people doing .endswith('foo') as well so i might try that
20:53 yorjo is it possble to access the jid in the state file?
20:53 thayne joined #salt
20:54 dstokes i'm trying to change the output format for orchestration runs, but i don't see any config options for salt-run..
20:56 smcquay joined #salt
20:56 cpowell joined #salt
20:58 hal58th welcome snarfy
21:00 stbenjam dstokes: not at the moment, there's a runner.py workaround script in https://github.com/saltstack/salt/issues/9444 which works for me
21:00 stbenjam dstokes: https://github.com/saltstack/salt/pull/16009 mentions possibility of getting it working for Lithium
21:00 dstokes stbenjam: thx for the tip
21:00 dstokes s/tip/tips/
21:02 watchman joined #salt
21:11 alexr__ joined #salt
21:14 patarr left #salt
21:19 melinath joined #salt
21:23 aquinas joined #salt
21:24 moos3 is there away to get just lxc minions when you do salt '*' grains.items ? I tried virtual_subtype=LXC but it returns the same list as virtual_subtype=KVM
21:25 desposo joined #salt
21:28 shaggy_surfer joined #salt
21:28 babilen Could you paste their grains to, say, http://refheap.com ?
21:29 hal58th if you know the grain you want to match on, you can compound matching. http://docs.saltstack.com/en/latest/topics/targeting/compound.html
21:33 babilen moos3: How did you try to match lxc and kvm minions respectively? What is the value of their grains and are there any that differ?
21:33 babilen (please show us)
21:34 moos3 if you do grains.item virtual=kvm works but it appears that lxc shows up as physical unless you do virtual_subtype
21:35 moos3 but salt returns all minion_id's not just the ones that match that
21:36 babilen How do you match them exactly?
21:37 babilen (can't you just show us?)
21:40 neogenix hal58th: all the above. Mostly, I’d like something similar to puppets : ‘puppet-lint, heira validation, erb validation’ etc…
21:40 neogenix hal58th: I’d like to send it through CI to make sure that it’s sane :)
21:41 hal58th neogenix: Afraid I have never used puppet. I have tortured myself with cfengine3 though. Afraid that the best validation is to run a highstate and see what breaks.
21:42 jespada joined #salt
21:46 hal58th neogenix: The most I can give you is this. http://docs.saltstack.com/en/latest/ref/states/testing.html
21:46 chiui joined #salt
21:48 funzo joined #salt
21:49 hal58th neogenix: This is because states are rendered at run time so it's a little harder to validate. You can also run through a yaml validator, just to make sure you don't miss silly stuff like colons.
21:50 LotR how do you debug a minion saying 'unable to manage file: none of the specified sources were found' ?
21:50 hal58th Afraid I might need to see some more output. pastebin?
21:51 ldlework LotR: it sounds like it couldn't find the source file in your salt-tree
21:52 LotR yes, I understand that. I probably wrote it wrong somehow. but how do I find out where exactly it's being looked for?
21:53 LotR hal58th: pastebin of what exactly?
21:55 hal58th Your output, but nevermind if you know what the problem is, you just want to debug it. Those are hard to figure out because even in Trace, it doesn't really say. Just compare paths via copy and paste is my only suggestion
21:56 LotR the salt:// urls are relative to /srv/salt, right? (if you use the default config and environment)
21:57 whatapain yes
21:57 hal58th Yes, salt://foo would be /srv/salt/foo
21:57 LotR trace gives even more output than debug?
21:57 timoguin that's the idea
22:04 badon joined #salt
22:06 jimklo joined #salt
22:10 druonysus joined #salt
22:13 jimklo joined #salt
22:15 joehoyle joined #salt
22:16 joehoyle Hey, in a salt runner, I want to grab the IP from a minion and then log the user running the command into an ssh session. Is it possible to run a command in the "foreground" for the user that executed the salt runner?
22:18 desposo joined #salt
22:24 pr_wilson joined #salt
22:25 rawkode_ joined #salt
22:32 CeBe1 joined #salt
22:34 smcquay_ joined #salt
22:36 smcquay joined #salt
22:38 desposo joined #salt
22:43 lz-dylan hey folks :)
22:44 lz-dylan anyone know if the behavior of salt-cloud has changed with aws on 2014.7?
22:44 lz-dylan my profiles used to create & attach volumes; now they create them and fail.
22:48 cads joined #salt
22:52 Mso150 joined #salt
22:53 kballou joined #salt
22:53 glyf joined #salt
22:53 perfectsine joined #salt
22:57 LotR hmm. to do service: running when systemd is installed, saltstack depends on a service file to be in /lib/systemd/system?
22:59 rsanchez joined #salt
23:00 hal58th One more question on the pile. I was looking at mysql salt module and I see there are connection args, how am I supposed to know what the name of those connecitons args are supposed to be? http://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.mysql.html#module-salt.modules.mysql
23:01 rsanchez hi are there any benefits to use a top.sls for pillar data as opposed to not have it? in the end all the data is available on all minions, or am i wrong?
23:01 Ryan_Lane you need a top.sls
23:02 Ryan_Lane otherwise it won't know which pillar data to send to which minions
23:02 Ryan_Lane and no data will be sent
23:02 Ryan_Lane if you're using master/minion pillar data is protected by how it matches in top.sls
23:02 Ryan_Lane it doesn't sync all of the pillar data
23:03 shaggy_surfer joined #salt
23:07 rsanchez thanks ryan, im new to salt, but just run into an implementation here where there is no top.sls for pillar data. However, said data is accessible from various salt formulas (salt/ dir) by using pillar.get functions and suck
23:07 rsanchez such, hence my question
23:08 Ryan_Lane hm. I don't see how
23:17 desposo joined #salt
23:20 hal58th Ryan_Lane, do you know the answer to my question possibly?
23:21 Ahlee anybody seen windows highstate unable to run powershell?
23:21 Ahlee only on a couple minions, but i do'nt know what could be different about them
23:32 Ahlee ah, bad comspec
23:32 Ahlee man.
23:36 jonatas_oliveira joined #salt
23:38 TTimo joined #salt
23:41 rm_jorge joined #salt
23:43 paha joined #salt
23:43 Jimlad joined #salt
23:49 atbell joined #salt
23:55 druonysus joined #salt

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