Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2013-12-21

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

All times shown according to UTC.

Time Nick Message
00:01 sgflt forresta, thanks
00:01 forresta sgflt, np
00:04 shadowsun jer_: are you restarting your salt master?
00:05 shadowsun jer_: or have you set the refresh on gitfs appropriately?
00:05 shadowsun jer_: Also, is there a version of elastisearch already installed?
00:06 pexio joined #salt
00:06 shadowsun jer_: last but not least... what're the versions of salt on minion and master?
00:09 bhosmer joined #salt
00:10 dstanek i constantly have problems trying to figure out why my node isn't getting the correct pillar data - any tips?
00:10 dstanek in my pillar/top.sls i'm just trying to match '*' in base
00:11 dstanek other nodes seem to be getting pillar data or and i ran saltutil.refresh_pillar on the node in question
00:12 Guest25697 joined #salt
00:13 shadowsun UtahDave: ?
00:16 psyl0n joined #salt
00:26 jslatts joined #salt
00:28 bhosmer joined #salt
00:32 UtahDave sorry, shadowsun. I've been in meetings.
00:34 forresta Don't let him lie to you shadowsun, they had to evacuate the building because UtahDave burned another corn dog in the toaster oven..
00:35 shadowsun UtahDave: ah.. I'm still patiently waiting lol
00:50 Corey forresta: Incorrect. It was not a corn dog. It was an actual dog.
00:50 forresta :(
00:51 goodwill UtahDave: hey big boss daddy
00:51 Corey I'm totally going to leave UtahDave the most hilarious recommendation in the history of LinkedIn. "Sneaky. Shifty. Not to be trusted."
00:51 Corey goodwill: You live!
00:54 goodwill Corey: you are seeing things ;)
00:54 defunctzombie how do I setup a custom external logger for salt minions?
00:56 ConceitedCode joined #salt
00:57 jfzhu_us joined #salt
01:01 rojem joined #salt
01:02 rojem joined #salt
01:08 forresta shadowsun I don't know if Dave is coming back, is it something we can work through, or were you waiting for him specifically?
01:09 forresta and shouldn't you have gone home by now?
01:15 ThriLL joined #salt
01:18 ThriLL left #salt
01:22 shadowsun forresta: I went home hours ago
01:22 forresta oh ok I wasn't sure if you went back to the office
01:22 fllr joined #salt
01:23 shadowsun forresta: I'm trying to figure out why cmd.script is pulling from base instead of pulling from the git dev branch
01:23 shadowsun forresta: I removed the script from base, and it's present in dev, but cmd.script can't find it at all now.. I've even specified the dev environment in the minion config file to no avail.
01:24 forresta awesome
01:24 forresta why do you keep breaking git :(
01:25 shadowsun because it's apparently not in lots of use yet
01:25 shadowsun I guess most people are just using NFS to keep the backends in sync?
01:27 forresta I've seen some guys using gitfs, but people also seem to encounter issues with it
01:27 forresta can you repaste your state from before?
01:27 forresta or was Dave helping with some sort of workaround?
01:28 thrashr888 joined #salt
01:29 shadowsun He asked for the info.. he never reviewed it
01:29 forresta ahh ok
01:34 ninkotech joined #salt
01:35 cyberbob joined #salt
01:41 shadowsun forresta: http://pastebin.com/Q6tq6Xqd
01:45 forresta seems ok :\
01:45 forresta unless I am missing something
01:46 sroegner joined #salt
01:46 shadowsun forresta: cmd.script pulls from base instead of dev for the "jatest" boxes
01:46 shadowsun but states and all that do pull ffrom dev :|
01:46 forresta yea, what I am saying is I don't get why
01:47 shadowsun Of course!
01:47 shadowsun and I'm really tired of trying to figure out what's where in salt source code today
01:47 forresta lol yea
01:47 forresta well, be done forthe day man
01:47 forresta take a break, get some food
01:47 MoonSweep joined #salt
01:49 shadowsun lol I amn already started
01:49 shadowsun ;) alcohol is being consumed
01:50 forresta Yea I'm deciding what to go get for food
01:54 shadowsun forresta: sushi
01:55 bhosmer joined #salt
01:55 rev3n joined #salt
01:55 forresta Maybe, I don't really like grabbing that sort of thing solo
01:58 higgs001 joined #salt
01:58 smccarthy joined #salt
02:04 shadowsun forresta: hmmm
02:23 dangra1 joined #salt
02:24 bhosmer joined #salt
02:30 dstanek this should match any box right? http://pastebin.com/wuTb3TA3
02:30 dstanek s/box/hostname/
02:31 dstanek i'm still having trouble figuring how to get pillar data for some hosts
02:37 vuvu joined #salt
02:47 vipul joined #salt
02:50 anitak1 joined #salt
02:53 higgs001 joined #salt
02:56 fxhp dstanek: yes
02:56 fxhp look fine.
03:00 mwmnj joined #salt
03:10 ConceitedCode joined #salt
03:17 kolbe joined #salt
03:28 ckao joined #salt
03:40 ravibhure joined #salt
03:41 UtahDave shadowsun: that may be a bug if cmd.script is always pulling from the base environment.  Could you open an issue on that?
03:45 ravibhure1 joined #salt
03:46 sroegner joined #salt
03:46 jr joined #salt
04:01 smccarthy joined #salt
04:06 xl1 joined #salt
04:07 pcurry_nomi joined #salt
04:08 jfzhu_us joined #salt
04:16 pcurry_nomi joined #salt
04:41 vmdsch left #salt
05:03 elithrar joined #salt
05:07 forresta OK, someone who likes docker, see how this thing works https://github.com/paulczar/dockenstack
05:07 forresta see if you can salt docker on vagrant, then salt openstack on docker, then salt docker on openstack
05:15 vlcn joined #salt
05:18 mgw joined #salt
05:34 mgw joined #salt
05:43 EugeneKay Out of curiousity, has anybody thought about / actually built a set of bash-autocomplete scripts for `salt` and kin?
05:43 * EugeneKay is lazy
05:47 vlcn left #salt
05:47 forresta Not that I know of EuguneKay
05:50 forresta *EugeneKay
05:50 forresta the joys of Friday night spelling
05:50 EugeneKay That's also a good place to use tabcomplete
05:51 forresta yeaaaaaaaaaaaaa
05:51 forresta left #salt
05:51 forresta joined #salt
05:51 nebuchadnezzar joined #salt
05:53 hotbox joined #salt
05:53 nebuchadnezzar joined #salt
05:54 Gareth EugeneKay: that could be handy.  especially if you could complete on module sub commands.
05:55 forresta I'm looking at the tldp.org tutorial on writing them, doesn't seem that hard
06:01 EugeneKay Sounds like the sort of thing nobody has bothered to ask for before?
06:01 forresta EugeneKay: https://github.com/saltstack/salt/issues/9051
06:02 EugeneKay Ha!
06:02 EugeneKay Next question: where on a rpm install would pkg/ be
06:02 forresta looks like the maintainer is here in the IRC to: https://github.com/saltstack/salt/blob/develop/pkg/salt.bash
06:02 forresta *too
06:03 forresta just install the rpm, run updatedb, then do a locate :P
06:04 forresta EugeneKay, looks like it is missing some of the commands in there
06:05 EugeneKay I'm unsurprised - last commit "a year ago"
06:05 forresta yea
06:05 forresta alekibango, are you around?
06:05 EugeneKay IMO the rpms should package this script in - standard place is /etc/bash_completion.d/
06:05 EugeneKay It doesn't look to be in any of the usual places
06:06 forresta you'd need to talk to terminalmage about that since he packages up the RPM
06:06 forresta I doubt he'd have complaints about standardizing
06:06 forresta especially since I don't think you have bash completion available when it drops it in that odd location
06:07 EugeneKay the bash-completion package installs /etc/bash_completion, which you have to source as part of ~/.bashrc
06:07 EugeneKay That script pulls in .d/*
06:07 forresta right, but no one is going to look in a one off
06:07 EugeneKay Some other packages seem to drop stuff in there whether or not bash-completion is installed; eg yum-utils
06:08 forresta oddly enough, I don't see this script being included in the RPM, unless it's part of the tarball or included as a full grab on a dir
06:08 EugeneKay Though I can't find a box of mine WITHOUT the package
06:08 forresta did it install when you installed the RPM EugeneKay
06:08 EugeneKay No; that's what I'm saying. It ought to be. :-p
06:09 forresta even after a db update and a locate?
06:09 forresta maybe on the master?
06:09 nebuchadnezzar joined #salt
06:09 EugeneKay I don't have updatedb - that's not yum AFAIK
06:09 forresta ?
06:10 forresta no
06:10 forresta You should have updatedb with most installs I would think..
06:10 forresta that just updates the database of files on the system
06:10 forresta so you can easily find shit
06:10 EugeneKay Not as part of "minimal". `whereis` has always been plenty for me.
06:10 forresta ahh
06:11 EugeneKay Which shows me /etc/salt, /usr/bin/salt, and the man pages.
06:11 EugeneKay There's also some stuff under /usr/share/doc/, but not that script
06:11 EugeneKay I can tear apart the rpm if you really want, but I'm pretty sure it ain't here
06:13 forresta ehhhhhhhhhh
06:13 forresta let's just bug terminalmage about it
06:13 forresta do you wanna create an issue?
06:13 forresta and tag him?
06:13 EugeneKay Sure. I like doing that!
06:13 forresta cool
06:13 forresta tag me as well please
06:14 EugeneKay Same usernames on github, I assume?
06:14 forresta otherwise I have to friggin find it all the time.
06:14 forresta @gravyboat
06:14 forresta though I'll probably change it soon
06:14 forresta I wish I could get forrest
06:14 forresta but just like here in IRC, it's some joker who doesn't do diddly shit
06:15 EugeneKay Out of curiousity, is it in the Deb anywhere?
06:16 jr joined #salt
06:16 forresta EugeneKay, I have no idea, I don't build many debs
06:17 EugeneKay Me neither :-p
06:17 Guest95784 left #salt
06:17 forresta joehh, you around?
06:17 forresta let's see if Joe is also home on a friday night
06:17 forresta ahh he's in australia, so saturday night
06:19 EugeneKay Opened #9387
06:20 forresta why are you not wearing a shirt
06:21 EugeneKay I definitely am. http://dongca.st/annebonny.html
06:21 ConceitedCode joined #salt
06:21 EugeneKay Oh, do you mean my Gravatar?
06:21 forresta yea
06:21 forresta You have a webcam in your office?
06:21 EugeneKay I have never and will never own an office.
06:21 EugeneKay This is my (girlfriend's) bedroom.
06:22 forresta oh
06:22 forresta so you have this static webcam up at all times?
06:22 EugeneKay As for the photo; totally forgot to change it last time I updated my G+ profile thingy.
06:22 EugeneKay Whenever the desk/laptop are on, yeah
06:22 forresta *shrug* I was just curious
06:22 forresta For what purpose?
06:22 EugeneKay Running mostly constantly for the past 17 years.
06:22 EugeneKay Ever seen The Truman Show?
06:23 forresta yes
06:23 forresta good movie
06:23 EugeneKay Tada!
06:23 forresta you ever gonna update it past 15 seconds?
06:23 EugeneKay Likely not. I like it old-school.
06:23 forresta man, now I wanna watch the truman show
06:24 EugeneKay Also I don't feel like changing the app I use for the upload. A true live-stream is too high-bandwidth sometimes, and scales poorly when lots of folks tune in.
06:24 EugeneKay And I am NOT using any third-party services
06:24 startling joined #salt
06:24 forresta Yea I don't blame you
06:30 startling I've written a state module that isn't getting picked up. https://gist.github.com/startling/259a293c4634861add6b <- here's the module, my sls, and some output. any ideas?
06:32 startling here's what I'm reading that makes me think it should work: http://docs.saltstack.com/ref/states/writing.html#using-custom-state-modules
06:33 forresta startling, how about comparing it against something like https://github.com/saltstack/salt/blob/develop/salt/states/file.py#L699
06:33 forresta did you restart the service?
06:34 startling forresta: I'm using salt-call locally
06:34 forresta I thought you still had to restart the service to get new states in though/
06:34 startling You might need to; I've restarted the machine, though.
06:35 forresta oh
06:35 forresta awesome
06:36 startling oh, it needs to be /srv/salt/_states, oops
06:36 forresta ahh yea, good catch I didn't notice that in your gist
06:37 startling thanks anyway!
06:37 forresta always happy to throw bad ideas back that help you find the solution :P
06:38 rojem joined #salt
06:39 rojem joined #salt
06:40 ahammond joined #salt
06:40 forresta joehh, if you see this, can you take a look at https://github.com/saltstack/salt/issues/9387 and let us know if it's in the deb package?
06:53 fllr joined #salt
06:54 ConceitedCode joined #salt
06:54 jdenning joined #salt
06:55 fllr joined #salt
06:59 MohShami joined #salt
07:00 MohShami hey guys, I'm trying to write a jinja template, I have a pillar which will host about 20 entries, and I want the generated template to have 3 entries per line, is that possible?
07:04 EugeneKay Sure?
07:05 MohShami Thanks EugeneKay, I'm trying to find the documentation, can you please point me?
07:05 EugeneKay Documentation on what? How to write a Jinja template?
07:06 MohShami How to do this with Jinja
07:06 EugeneKay You.... write the template? I'm not sure what the question is here. You're getting linebreaks you don't want when using {% %} ?
07:07 MohShami lets say I want to print 1, 2, 3, 4, 5, 6. But I want to print 1, 2, 3 on the first line, and 4, 5, 6 on the second
07:08 EugeneKay http://jinja.pocoo.org/docs/templates/#math
07:08 MohShami I'll check it out, thanks mate
07:08 EugeneKay This really sounds like a Jinja thing. I'm not sure where, but there's likely a #channel for them someplace
07:10 mbr_ joined #salt
07:11 MohShami yeah I guess it's a jinja thing, but I can't find the channel, thought someone might point me here, thanks again mate :)
07:18 anuvrat joined #salt
07:28 quickdry21 joined #salt
07:36 wonhunawks joined #salt
07:56 fllr joined #salt
08:11 xl1 joined #salt
08:18 anuvrat joined #salt
08:30 terminalmage joined #salt
08:34 jfzhu_us I am dynamically generating my templates files based on information I obtain from my minion. I want to log a message when something unexpected happens when generating a template file. What documentation would I look at that points to the standard way of doing this
08:48 monokrome joined #salt
08:56 fllr joined #salt
09:10 elfixit joined #salt
09:15 eliasp joined #salt
09:19 eliasp joined #salt
09:27 anuvrat joined #salt
09:56 fllr joined #salt
10:14 elfixit joined #salt
10:23 harobed_ joined #salt
10:24 harobed_ joined #salt
10:47 psyl0n joined #salt
10:56 fllr joined #salt
11:14 ravibhure joined #salt
11:19 ravibhure joined #salt
11:22 ConceitedCode joined #salt
11:23 anuvrat joined #salt
11:31 higgs001 joined #salt
11:41 ravibhure1 joined #salt
11:43 Katafalkas joined #salt
11:44 ravibhure2 joined #salt
11:49 bhosmer joined #salt
11:52 diegows joined #salt
11:53 elithrar joined #salt
11:56 fllr joined #salt
12:02 alekibango EugeneKay: do you need some help with autocompletion?
12:02 ravibhure joined #salt
12:03 alekibango i didnt have much time to look at it in last months, but i might try to update it if you tell me what is missing or if there is some problem..
12:14 ravibhure joined #salt
12:25 isomorphic joined #salt
12:26 isomorphic joined #salt
12:28 dangra joined #salt
12:29 lyska joined #salt
12:30 bhosmer joined #salt
12:56 fllr joined #salt
13:02 Sheco joined #salt
13:02 dstanek joined #salt
13:16 elithrar joined #salt
13:40 tallpaul joined #salt
13:40 carmony joined #salt
13:40 Voziv joined #salt
13:45 throwanexception joined #salt
13:45 tsantero joined #salt
13:45 MTecknology joined #salt
13:54 ovorp joined #salt
13:56 fllr joined #salt
13:58 elfixit joined #salt
14:11 ravibhure1 joined #salt
14:29 fishpen0 joined #salt
14:36 ravibhure joined #salt
14:38 pcurry_nomi joined #salt
14:39 fishpen0 joined #salt
14:44 ravibhure joined #salt
14:47 Hefeweizen Interestingly, apt and yum have no add_repo function (while possessing mod_repo).  Any ideas why?
14:48 Hefeweizen nvm - if the repo does not exist, it will be created
14:50 Hefeweizen still, seems ... unintuitive
14:53 anuvrat joined #salt
14:54 bhosmer joined #salt
14:55 lyska joined #salt
14:56 fllr joined #salt
15:26 fllr joined #salt
15:46 jdenning joined #salt
15:54 rojem joined #salt
15:54 pcurry_nomi joined #salt
16:07 fllr joined #salt
16:16 ajw0100 joined #salt
16:19 junedm joined #salt
16:19 junedm left #salt
16:20 junedm1 joined #salt
16:21 junedm1 left #salt
16:21 smccarthy joined #salt
16:21 jdenning joined #salt
16:25 quickdry21 joined #salt
16:45 mgw joined #salt
16:46 jdenning joined #salt
16:49 anuvrat joined #salt
16:49 aleszoulek joined #salt
16:57 Katafalkas joined #salt
16:58 davet joined #salt
17:14 juicer2 joined #salt
17:25 pcurry_nomi joined #salt
17:27 jfzhu_us joined #salt
17:28 rojem joined #salt
17:30 rojem joined #salt
17:32 EugeneKay alekibango - having it included with the package would be the #1 complaint
17:34 pcurry_nomi joined #salt
17:34 alekibango EugeneKay: well, thats a job of packagers :)
17:35 alekibango i was told to not worry much about this, as i was not sure where to place it...
17:37 alekibango i didnt use salt much last year... but i am getting back on track this month :) so i will try to improve completion too
17:41 EugeneKay Indeed; hence the issue I opened is against the packagers :-p
17:42 giantlock joined #salt
17:45 jfzhu_us Does salt have a standard logging utility for when minion's fail to execute salt templates?
17:49 elfixit joined #salt
18:13 EugeneKay alekibango - Actually using it, autocomplete fails miserably when not running as root.
18:14 EugeneKay But I'll write up those adventures later
18:17 danielbachhuber joined #salt
18:19 junedm joined #salt
18:19 junedm left #salt
18:22 EugeneKay It looks like it has to deal with perms on the PKI dir
18:24 rojem joined #salt
18:24 rojem joined #salt
18:26 jacksontj joined #salt
18:31 jacksontj joined #salt
18:31 zfouts joined #salt
18:37 rojem joined #salt
18:38 rojem joined #salt
18:39 rojem joined #salt
18:43 jr joined #salt
18:49 mgw joined #salt
18:50 Guest33805 Hey all.  I asked this question in the google group but I may have better luck asking it here.
18:50 Guest33805 I am hacking on the docker module in `salt/salt/modules/dockerio.py`  Once I run the integration tests with `tests/runtests.py -n integration.modules.docker --docked=salttest/ubuntu-12.04 --sysinfo -v` I get an error saying AttributeError: 'module' object has no attribute 'docker'  Does this mean the minions don't have the docker-py module installed? If so how can I install this module since I’m not sure how to configure these mini
18:50 Guest33805 before the tests run?
18:56 carmony_ joined #salt
18:56 jdenning joined #salt
18:59 kiorky joined #salt
19:05 mgw joined #salt
19:07 anuvrat joined #salt
19:17 UtahDave joined #salt
19:22 tsantero joined #salt
19:37 eiginn joined #salt
19:38 eiginn left #salt
19:46 bemehow joined #salt
19:50 yidhra joined #salt
19:59 Sheco joined #salt
20:00 Ryan_Lane joined #salt
20:00 Ryan_Lane joined #salt
20:03 davet joined #salt
20:14 mgw joined #salt
20:16 monokrome joined #salt
20:17 matanya joined #salt
20:23 bhosmer joined #salt
20:26 martoss joined #salt
20:27 martoss hey folks, is there a way to get the output from a highstate immediately instead of one big block at the end?
20:39 psyl0n joined #salt
20:42 fishpen0 joined #salt
20:44 ggoZ joined #salt
20:59 jfzhu_us joined #salt
21:01 mgw joined #salt
21:06 zfouts Is the salt-master 0.17.4 package available for Debian 7?
21:07 viq zfouts: yes
21:07 zfouts is it in apt?
21:07 zfouts or rather, which repo?
21:07 viq Their, on the site there's a link describing installation on debian, it has repo info
21:08 cedwards zfouts: should be in debian.saltstack.com repo
21:08 viq Or just use bootstrap script, it will add the repo for you, and install the packages
21:08 zfouts viq, I'd never use the bootstrap script. I run it in another environment that has over 400 minions, it does not play well with upgrades ;-)
21:08 zfouts cedwards, thank you!
21:09 zfouts I just don't run it on debian, strictly RHEL 6
21:11 bhosmer joined #salt
21:23 forresta joined #salt
21:23 mgw joined #salt
21:33 alekibango EugeneKay: if you will find bugs in completion, please write them up on github and/or possibly notify me, i will try to solve them
21:34 EugeneKay I think it's really an issue with salt-key(which is being called by the completion script)
21:35 EugeneKay The biggest problem is that the default chmod for /etc/salt/pki/master is 700, and it needs to be the less-restrictive(but works) 750 with the executing user in the right group
21:35 EugeneKay (otherwise salt throws a hissy fit trying to change the perms on that dir)
21:36 EugeneKay The next, in salt-key, is as follows: https://gist.github.com/EugeneKay/8075447
21:36 EugeneKay I dug around where it was talking about; nfi. Looks like it's not the autocomplete script, though?
21:37 fishpen0 joined #salt
21:48 viq zfouts: hah, quite a nice deployment
21:50 alekibango EugeneKay: i always used salt as root :)
21:50 EugeneKay I don't. My name isn't "root", so I don't run as that.
21:50 alekibango :)
21:50 zfouts I run it as root too in a secure environment, passed compliance
21:50 EugeneKay Salt has an ACL system, it's just noooot quite right.
21:51 zfouts you're running salt-key -A as a user with it defined in an ACL?
21:51 alekibango EugeneKay: i complained about this too. salt should be able to run by normal user...
21:51 EugeneKay Indeed.
21:51 EugeneKay Better than nothing, I suppose.
21:52 forresta it can run as a normal user, just chown the appropriate files
21:57 EugeneKay I am, mostly. see above for the error that salt-key spat out
21:57 EugeneKay It's not obvious what needs to be chgrp/chmod'ed
22:00 jacksontj joined #salt
22:06 quickdry21 joined #salt
22:07 forresta EugeneKay, http://docs.saltstack.com/topics/nonroot.html
22:08 forresta granted I have an issue in that I need to update https://github.com/saltstack/salt/issues/8649
22:08 EugeneKay That's still not very helpful, in that it's just a different user name.
22:08 EugeneKay IE, multiple users ;-)
22:09 forresta So set up a group, and chown the appropriate files to the group?
22:09 forresta Did that not work?
22:09 EugeneKay I did; and yes, mostly.
22:09 EugeneKay salt-key vomits on --list-all per above
22:10 forresta ahh
22:10 rjc joined #salt
22:13 nebuchadnezzar I do not understand “config.get”: http://docs.saltstack.com/ref/modules/all/salt.modules.config.html?highlight=config.get#salt.modules.config.get
22:13 nebuchadnezzar it speak about master config but use minion's grains and pillar
22:14 nebuchadnezzar so, if I set “foo” in minion's grain and pillar, I should get the value from grains?
22:15 nebuchadnezzar it looks to me like a wrapper around “grains.get” and “pillar.get” but I do not manage to use it
22:15 xmltok joined #salt
22:16 jacksontj joined #salt
22:21 nebuchadnezzar my fault, grains.delval set to null, I must add “destructive=True” to remove the key from grains then “config.get foo” show me the value from pillar
22:21 EugeneKay Should I file this as  an Issue?
22:22 EugeneKay Or is there something I'm missing
22:26 dezgot joined #salt
22:31 jimallman joined #salt
22:38 elithrar joined #salt
22:42 EugeneKay Good news: `alias salt-key='sudo salt-key'` fixes the problem
22:42 * EugeneKay sticks with lazy solution
22:45 fllr joined #salt
22:48 fllr joined #salt
22:54 isomorphic joined #salt
22:57 jimallman joined #salt
23:01 dezgot does salt try to handle cases where we have different versions of salt installed?
23:01 forresta dezgot, it can as long as there aren't compatiblity issues, mostly that arises between minions running something less than 0.17, and a 0.17+ master due to a change.
23:03 dezgot ah ok, thanks. what about the other direction; would a 0.14 master and 0.17 minions be sane?
23:03 forresta no
23:04 forresta You'd be missing a lot of stuff, I have no idea how they'd act together
23:04 dezgot ah ok
23:04 forresta the zeromq versions alone would probably be an issue
23:05 dezgot and (going by your first response) mixing a .17+ master with (say) 0.16 minions would not go well?
23:06 forresta correct
23:06 forresta that is where the biggest issue comes in
23:06 forresta dezgot, http://docs.saltstack.com/faq.html#can-i-run-different-versions-of-salt-on-my-master-and-minion
23:07 dezgot ok, excellent, thanks
23:07 forresta np
23:08 forresta if you do need to perform an update and you wanna use salt to do it, update your minions with salt first, THEN do the master, that will avoid conflicts. Make sure you test your environment first just to make sure it doesn't break something though
23:09 dezgot ok good to know
23:09 dezgot nothing critical
23:09 forresta yea, had a few people with stuff that breaks on updates in prod which caused headaches for them
23:10 dezgot just a crazy research lab with particularly diverse boxen
23:10 forresta heh
23:11 Tekni joined #salt
23:13 dezgot (e.g., considering openbsd sparc64 box for the master)
23:13 dezgot might be too adventurous, we'll see
23:16 Katafalkas joined #salt
23:21 middleman_ joined #salt
23:23 forresta this 6.5 centos image on digitalocean really sucks
23:27 forresta doesn't come with man by default, is this the new standard for cent?
23:27 forresta haven't downloaded the official image
23:29 viq forresta: sounds simply like minimal install
23:29 forresta most likely
23:30 forresta Maybe I am just biased, but I feel like man is 'minimal'
23:30 viq on the other hand default debian install comes without sshd :P
23:31 forresta heh
23:31 cachedout joined #salt
23:31 anitak joined #salt
23:31 forresta hey cachedout
23:31 cachedout Hello
23:31 fxdgear I am getting some errors:     Rendering SLS "base:users" failed: Conflicting ID "wheel_group" after upgrading salt-minion from 0.17.2 to 0.17.4
23:32 forresta what does your users state look like?
23:33 fxdgear I'm using the users formula
23:33 fxdgear https://github.com/saltstack-formulas/users-formula/blob/master/users/init.sls
23:34 forresta so wheel_group is defined inside your pillar then?
23:35 fxdgear forresta aye
23:35 fxdgear forresta this all worked with salt-minion 0.17.2 but 0.17.4 it does not...
23:36 fxdgear I verified by using a minion I knew was at .2
23:36 harobed_ joined #salt
23:36 fxdgear and then upgraed it to .4
23:36 fxdgear and got the same error
23:36 harobed_ joined #salt
23:37 forresta hmm, fxdgear, I'm thinking it's this: https://github.com/saltstack/salt/issues/7526
23:37 forresta do you have a duplicate ID configured?
23:37 harobed_ joined #salt
23:37 fxdgear I don't think so... :/ but I'll double check... the errors I'm getting aren't helpful
23:38 forresta well, that error is basically saying you have two instances of wheel_group
23:38 harobed_ joined #salt
23:38 fxdgear minion:
23:38 fxdgear Data failed to compile:
23:38 fxdgear ----------
23:38 fxdgear Rendering SLS "base:users" failed: Conflicting ID "wheel_group"
23:38 fxdgear ----------
23:38 fxdgear Rendering SLS "base:ssh" failed: Conflicting ID "file.managed"
23:38 fxdgear ----------
23:38 fxdgear Rendering SLS "base:firebirdsql" failed: Conflicting ID "pkg"
23:38 fxdgear here's the whole error ^^
23:38 fxdgear why would I be getting ID's file.managed?
23:39 fxdgear and ID pkg?
23:39 fxdgear do I have malformed yaml maybe?
23:39 fxdgear and the update in the minion changes the way the yaml is parsed?
23:39 harobed_ joined #salt
23:40 forresta do multiple instances of the wheel_group get created in your users state?
23:40 forresta or do you have certain items included, which are duplicated elsewhere?
23:40 forresta as in they exist in two different state files
23:41 jacksontj joined #salt
23:42 fxdgear forresta the only time I'm creating the wheel group is from the formula... so maybe the formula needs to be updated cause I have multiple users who all belong to the wheel group
23:42 fxdgear sooooo maybe the forloop that'shappening
23:42 EugeneKay Am I missing something about client_acl? Trying to make it understand a group. Looks like it has to go through external_auth? Not terribly friendly.
23:42 fxdgear is trying to create the wheel group X times for each user
23:42 forresta fxdgear, that could be it
23:43 EugeneKay #2006 claims to have "fixed" this, but I don't see it working. :-|
23:44 jacksontj joined #salt
23:44 EugeneKay And doing `salt -a pam` requires me to login AGAIN, which is..... not nice.
23:52 fllr joined #salt
23:52 fishpen0 joined #salt
23:53 fxdgear forresta the other thing that confuses me is the ID's file.managed...
23:53 fxdgear any idea where salt would be getting an ID of file.managed?
23:54 forresta fxdgear, yea I was thinking about that too, and I'm really not sure what would cause that. Can you make sure, perhaps it's because you have multiple items with a specific identifier, that have the same name or something?
23:55 forresta fxdgear, unless maybe the jinja is screwing up?
23:55 forresta can you add #!jinja|yaml to the top of the state files?
23:55 fxdgear I can... the ssh one..
23:55 fxdgear base:ssh
23:56 fxdgear I'm not using any jinja in there
23:56 forresta ahh
23:56 forresta hmm
23:56 fxdgear it's just configuring a banner, a sshd_config, ssh_config, and some ssh keys
23:56 forresta is it including anything in the ssh one?
23:56 fxdgear lemme gist you
23:56 forresta cool
23:56 fxdgear https://gist.github.com/1bafb58ac33c62fc9cec
23:57 fxdgear I also am using this.. .which is at ssh.openssh
23:57 fxdgear https://gist.github.com/fxdgear/8d8f83dbceefe940093a
23:57 fxdgear which I got help from whiteinge to write
23:59 fxdgear but the error isn't telling me which state file is having the duplicate ids
23:59 forresta Can you try splitting the items here: https://gist.github.com/fxdgear/1bafb58ac33c62fc9cec#file-init-sls-L16 and line 22
23:59 forresta and repeat that for the remaining items in that list to see if that solves it?

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