Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2017-04-21

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

All times shown according to UTC.

Time Nick Message
00:10 woodtablet left #salt
00:12 ry joined #salt
00:23 zerocoolback joined #salt
00:36 fracklen joined #salt
00:59 Pyro_ joined #salt
01:07 promorphus_home joined #salt
01:09 Praematura joined #salt
01:10 promorph_ joined #salt
01:13 felskrone joined #salt
01:15 ecdhe joined #salt
01:15 ecdhe joined #salt
01:31 nikdatrix joined #salt
01:39 Pyro_ joined #salt
01:46 dezertol joined #salt
01:48 ilbot3 joined #salt
01:48 Topic for #salt is now Welcome to #salt! <+> Latest Versions: 2016.3.6, 2016.11.3 <+> Support: https://www.saltstack.com/support/ <+> Logs: http://irclog.perlgeek.de/salt/ <+> Paste: https://gist.github.com/ (please don't multiline paste into channel) <+> See also: #salt-devel, #salt-offtopic <+> Ask with patience as we are volunteers and may not have immediate answers
01:51 Pyro_ joined #salt
01:54 Pyro__ joined #salt
02:14 antpa joined #salt
02:30 zerocoolback joined #salt
02:41 paant joined #salt
02:48 edrocks joined #salt
02:50 justanotheruser joined #salt
02:50 Guest73 joined #salt
03:03 nick123_ joined #salt
03:04 cyborg-one joined #salt
03:04 XenophonF joined #salt
03:04 lorengordon joined #salt
03:06 Antiarc joined #salt
03:07 onlyanegg joined #salt
03:10 Praematura joined #salt
03:17 Praematura joined #salt
03:17 keltim joined #salt
03:25 justan0theruser joined #salt
03:26 DEger joined #salt
03:32 nikdatrix joined #salt
03:40 DEger joined #salt
03:45 stooj joined #salt
03:50 edrocks joined #salt
03:54 Bock joined #salt
03:57 Bock joined #salt
03:58 DEger joined #salt
04:01 rem5 joined #salt
04:04 cyborg-one joined #salt
04:20 antpa joined #salt
04:26 amcorreia joined #salt
04:29 Xenophon1 joined #salt
04:32 DEger joined #salt
04:40 DEger joined #salt
04:47 PatrolDoom joined #salt
04:51 aneeshusa joined #salt
04:52 edrocks joined #salt
04:54 DEger joined #salt
05:06 preludedrew joined #salt
05:18 DEger joined #salt
05:25 rdas joined #salt
05:29 DEger joined #salt
05:32 alexandruyo joined #salt
05:42 impi joined #salt
05:42 zerocoolback joined #salt
05:44 antpa joined #salt
05:44 zerocool_ joined #salt
05:45 jas02 joined #salt
05:49 jas02 joined #salt
05:54 edrocks joined #salt
06:00 jdipierro joined #salt
06:00 yuhl______ joined #salt
06:03 golodhrim|work joined #salt
06:09 zenchiken joined #salt
06:19 DEger joined #salt
06:22 Guest73 joined #salt
06:24 do3meli joined #salt
06:24 do3meli left #salt
06:29 jhauser joined #salt
06:32 hoonetorg joined #salt
06:32 sh123124213 joined #salt
06:37 Ricardo1000 joined #salt
06:39 DEger joined #salt
06:40 aldevar joined #salt
06:44 onlyanegg joined #salt
06:45 evle joined #salt
06:50 XenophonF joined #salt
06:56 edrocks joined #salt
07:10 Ricardo1000 joined #salt
07:10 Ricardo1000 left #salt
07:11 Ricardo1000 joined #salt
07:17 fracklen joined #salt
07:17 tobiasBora joined #salt
07:17 Rumbles joined #salt
07:18 fracklen joined #salt
07:21 mikecmpbll joined #salt
07:26 sh123124213 joined #salt
07:27 lasseknudsen joined #salt
07:30 CrummyGummy joined #salt
07:32 ronnix joined #salt
07:34 nikdatrix joined #salt
07:39 DEger joined #salt
07:45 muxdaemon joined #salt
07:46 Miouge joined #salt
07:49 patrek joined #salt
07:51 Rumbles joined #salt
07:57 impi joined #salt
07:58 edrocks joined #salt
07:59 antpa joined #salt
08:01 fracklen joined #salt
08:02 nikdatrix joined #salt
08:02 ronnix joined #salt
08:02 fracklen joined #salt
08:03 fracklen joined #salt
08:04 mikecmpbll joined #salt
08:10 nethershaw joined #salt
08:11 jas02 joined #salt
08:11 s_kunk joined #salt
08:11 JohnnyRun joined #salt
08:16 s_kunk_ joined #salt
08:19 o1e9 joined #salt
08:30 s_kunk joined #salt
08:35 EvaSDK is it possible to get write access to saltstack-formulas repository ?
08:35 EvaSDK or at least some of them
08:35 EvaSDK there's a couple of formula I use and it seems nobody is really watching them to do actual reviews and merges
08:43 MTecknology got a link or two?
08:43 MTecknology 03:43.. may be until morning before I respond
08:43 MTecknology morning => wake up time
08:44 zerocoolback joined #salt
08:44 peters-tx joined #salt
08:44 onlyanegg joined #salt
08:45 EvaSDK MTecknology: https://github.com/saltstack-formulas/salt-formula/pull/305 or https://github.com/saltstack-formulas/sensu-formula/pull/38
08:45 saltstackbot [#38][OPEN] Fix Debian defaults | Fix rendering error in `repos_map.jinja` and add missing installation of `apt-transport-https` to deal with the new default from #37.
08:45 EvaSDK for example
08:46 gmoro joined #salt
08:47 Xenophon1 joined #salt
08:48 mikecmpbll joined #salt
08:49 MTecknology heh...
08:50 EvaSDK wrong context ?
08:51 MTecknology IIRC, the saltstack-formulas group was created specifically to make it possible to give non-SS-FTE's access to those repos.
08:51 lasseknudsen joined #salt
08:53 EvaSDK is there someone I should talk to specifically to get access to it ?
08:53 MTecknology basepi: ^ Any chance you'd be able to see if anyone can find some resources? Seems like pretty straight forward changes in there.
08:56 lasseknudsen2 joined #salt
08:57 EvaSDK I also have 39 and 40 on sensu-formula
08:57 EvaSDK and there's some ticket cleanup I wish I could do :)
09:04 JohnnyRun joined #salt
09:05 fracklen joined #salt
09:10 DEger joined #salt
09:10 fracklen joined #salt
09:10 fracklen joined #salt
09:17 Guest73 joined #salt
09:17 Ricardo1000 joined #salt
09:18 Hybrid joined #salt
09:44 mikecmpbll joined #salt
09:45 lasseknudsen joined #salt
09:46 Rumbles joined #salt
09:47 candyman88 joined #salt
09:59 DEger joined #salt
10:00 willprice joined #salt
10:02 edrocks joined #salt
10:02 jdipierro joined #salt
10:13 gmoro joined #salt
10:20 zerocoolback joined #salt
10:24 peters-tx joined #salt
10:28 antpa joined #salt
10:30 paant joined #salt
10:32 sh123124213 joined #salt
10:38 stooj joined #salt
10:45 onlyanegg joined #salt
10:46 stooj joined #salt
11:00 zerocool_ joined #salt
11:05 antpa joined #salt
11:08 stooj joined #salt
11:12 Rumbles joined #salt
11:13 faer joined #salt
11:28 pbandark joined #salt
11:29 mikecmpb_ joined #salt
11:32 mikecmp__ joined #salt
11:39 DEger joined #salt
11:46 promorphus_home joined #salt
11:49 DEger joined #salt
11:50 ahrs joined #salt
11:54 stooj joined #salt
11:58 sh123124213 joined #salt
12:04 edrocks joined #salt
12:07 jas02_ joined #salt
12:07 Rumbles joined #salt
12:10 numkem joined #salt
12:17 ronnix joined #salt
12:19 DEger joined #salt
12:20 jas02 joined #salt
12:24 geomacy joined #salt
12:24 rburkholder joined #salt
12:25 jas02 joined #salt
12:27 jas02 joined #salt
12:30 tobiasBora joined #salt
12:31 edrocks joined #salt
12:36 toanju joined #salt
12:40 DEger joined #salt
12:44 inad922 joined #salt
12:46 onlyanegg joined #salt
12:49 jas02 joined #salt
12:57 LeProvokateur joined #salt
13:05 stooj joined #salt
13:07 tkharju joined #salt
13:08 JohnnyRun joined #salt
13:14 LeProvokateur joined #salt
13:19 dyasny joined #salt
13:19 dyasny joined #salt
13:22 racooper joined #salt
13:22 jas02 joined #salt
13:24 ssplatt joined #salt
13:24 rem5 joined #salt
13:37 Joy how does one debug file.uncomment with salt-ssh ? -l trace doesn't seem to show anything
13:42 Tanta joined #salt
13:43 scoates joined #salt
13:47 onlyanegg joined #salt
13:52 zerocoolback joined #salt
13:53 ronnix joined #salt
13:59 onlyanegg joined #salt
14:04 jdipierro joined #salt
14:06 XenophonF you might want to try running `salt-call state.single file.uncomment ...` directly on the minion
14:06 Guest73 joined #salt
14:07 XenophonF that way you can at least make sure you're using the correct arguments, etc.
14:09 LordOfLA joined #salt
14:14 mpanetta joined #salt
14:23 J0hnSteel joined #salt
14:25 Joy yep, tried it and it just keeps saying False
14:25 Joy i moved on to file.line mode replace and that worke
14:25 Joy d
14:25 Joy yet now i also want to insert a line into a curly-brace-delimited block of nginx config, and file.line's just not working
14:26 scoates joined #salt
14:27 LeProvokateur joined #salt
14:28 jas02 joined #salt
14:29 Joy i'm trying salt-ssh minionname file.line /etc/nginx/nginx.conf "use epoll;" after="events {" before="multi_accept" mode=ensure indent=True
14:29 vlebo joined #salt
14:29 Joy the output is the ever unhelpful False
14:29 XenophonF i really, really recommend against using the different file editing states
14:29 Joy i don't want to have to maintain the whole of nginx.conf, that's why i have a distribution vendor for
14:29 XenophonF doesn't nginx use conf.d style configs?
14:30 Joy it does, but conf.d is within the http { block }
14:30 * XenophonF shrugs
14:30 PatrolDoom joined #salt
14:30 netcho joined #salt
14:31 XenophonF i get what you're saying, but honestly, if you're going to use salt to manage the contents of a file, take over the whole thing
14:32 XenophonF i only use file.replace or the equivalent in very limited cases
14:32 Joy it's annoying that this fancy sed(1) wrapper is so hard to figure out
14:32 XenophonF file.replace, right?
14:32 Joy file.line in this latest instance
14:33 XenophonF when using regexps you have to make extra sure that it's idempotent
14:33 LeProvokateur joined #salt
14:34 XenophonF i only use them in very limited cases (i.e., only when i absolutely must)
14:34 XenophonF e.g., https://github.com/irtnog/salt-states/blob/development/cron/init.sls#L14
14:35 XenophonF note the use of ?! operator there
14:36 mpanetta joined #salt
14:36 XenophonF http://www.pcre.org/current/doc/html/pcre2pattern.html#TOC1
14:36 XenophonF negative assertion
14:38 Joy ok, that makes sense when editing within a line
14:39 jdipierro joined #salt
14:39 DEger joined #salt
14:41 XenophonF why don't you post your state as a gist or something?
14:41 XenophonF my ESP isn't working this morning ;)
14:41 Joy ok sec
14:43 Joy http://paste.debian.net/plainh/fc2b41be
14:44 Joy and the output of state.apply is in http://paste.debian.net/plainh/07bf6a66
14:45 Joy and the circumstances of the file are in http://paste.debian.net/plainh/d40d3f88
14:45 ssplatt joined #salt
14:46 Joy i see many others have complained at something like this at https://github.com/saltstack/salt/issues/27295
14:46 saltstackbot [#27295][OPEN] salt.modules.file.line documentation improvements | See https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.file.html#salt.modules.file.line....
14:49 seanz joined #salt
14:52 LeProvokateur joined #salt
14:53 Joy XenophonF: any idea what i'm doing wrong?
14:53 jwhittle joined #salt
14:54 bd__ as a long term puppet user and salt newbie: is there some document alog the lines of "salt for puppet users"
14:57 XenophonF Joy: should you be using both the before and after kwargs?
14:57 XenophonF bd__: you might want to ask this afternoon when more people are on, or post to the salt-users mailing list
14:58 Joy XenophonF: the source for ensure seems to imply that it's fine
14:59 Joy i wanted to make sure it's constrained, so it doesn't add in random places
14:59 Joy i'll try without after
15:00 Joy egad, it worked! but indent didn't work :)
15:01 Joy oh, i get it now. you can have before and after, but they have to be immediately around the ensured line
15:03 bd__ XenophonF: since it's afternoon here, i guess you mean a different timezone :)
15:09 winsalt joined #salt
15:10 XenophonF hah yeah that's what i meant
15:10 XenophonF i'm currently utc-05:00
15:10 XenophonF er, utc-04:00
15:10 XenophonF dratted summer time
15:11 PatrolDoom joined #salt
15:11 PatrolDoom joined #salt
15:13 aneeshusa joined #salt
15:17 XenophonF bd__: have you looked at the various tutorials on docs.saltstack.com
15:19 aldevar left #salt
15:19 dps joined #salt
15:20 _JZ_ joined #salt
15:26 bd__ XenophonF: i started, but salt and puppet use some common words with different meanings, so my brain trips over those.
15:26 sp0097 joined #salt
15:27 bd__ XenophonF: on top of that, it's like "ok with puppet I'd solve this problem that way" and then I try to reimplement the puppet solution with salt and it feels forced
15:28 bd__ XenophonF: the user list was a good tip though, i found a couple of "with puppet I'd do it like this, what's the salt way" posts
15:28 XenophonF ah good
15:28 XenophonF if you need some real-world examples, feel free to look my states/pillars over
15:28 XenophonF https://github.com/irtnog/salt-states
15:28 XenophonF https://github.com/irtnog/salt-pillar-example
15:29 XenophonF i've written a few of my own formulas, with a different style than you'd see on saltstack-formulas
15:29 XenophonF https://github.com/irtnog/openssh-formula
15:29 XenophonF https://github.com/irtnog/tomcat-formula
15:30 XenophonF https://github.com/irtnog/shibboleth-formula
15:30 XenophonF my openssh-formula is probably the most polished
15:30 XenophonF the tomcat and shibboleth formulas are works in progress
15:30 GMAzrael joined #salt
15:40 DEger joined #salt
15:41 filippos XenophonF: you got me all excited with shibboleth there :D
15:42 XenophonF yeah!
15:42 dps_ joined #salt
15:42 XenophonF I work for NIH, so we're using Shibboleth, AD FS, SATOSA, COmanage...
15:44 XenophonF I use Salt to manage these deployments worldwide.
15:45 XenophonF er, standard disclaimers apply, just a lowly contractor, not a federal employee, don't speak for the U.S. govt, etc., etc.
15:45 whytewolf lol
15:46 sp0097 left #salt
15:46 whytewolf morning XenophonF
15:46 XenophonF hey whytewolf
15:47 tiwula joined #salt
15:49 filippos XenophonF: yeah I am just really interested in how it all works ever since i saw a talk in infoq
15:52 dezertol joined #salt
15:54 keltim_ joined #salt
15:56 tkelley__ joined #salt
15:57 gtmanfred carlwgeorge: how else would I be able to abuse powers
15:58 XenophonF filippos: I'll PM you my contact info.  I'd be happy to demo what we have and explain how it works.
15:59 XenophonF I've done a couple of presentations now for Internet2.  We hired the guys who build the federated identity infrastructure for LIGO to help us build our own version of it out.
15:59 XenophonF wicked smart bunch of people
15:59 XenophonF s/guys/people/
16:00 carlwgeorge gtmanfred: I'm really enjoying using salt to manage docker now. Looking forward to that "image from state" stuff you blogged about.
16:00 gtmanfred :+1:
16:00 gtmanfred it is pretty good
16:00 gtmanfred there is also a huge overhaul on the docker stuff in nitrogen
16:00 * XenophonF 's ears perk up
16:00 gtmanfred we now actually do comparisons on the full information about the container
16:00 gtmanfred so you can change anything in the docker container state, it will make a temporary container
16:01 gtmanfred and then compare the dictionary information about the containers
16:01 gtmanfred if something changes, the old container gets deleted, and the new container gets put in it's place
16:01 aldevar joined #salt
16:01 gtmanfred if they are the same, the temporary container gets deleted
16:01 carlwgeorge nice
16:01 jdipierro joined #salt
16:01 XenophonF is nitrogen the next major release?
16:02 gtmanfred yes
16:02 XenophonF awesome
16:02 XenophonF can't wait
16:02 XenophonF we've recently begun using salt + docker-formula to deploy stuff
16:02 gtmanfred it is branched and code freezed, should be cutting a RC sometime after we get 2016.11.4 out the door
16:02 carlwgeorge yeah for the current release I need to sort out the requisites to get my image to rebuild if the dockerfile (file.managed) changes
16:12 DEger joined #salt
16:16 greyeax joined #salt
16:21 sh123124213 joined #salt
16:29 XenophonF same here
16:29 XenophonF right now i'm having to re-run docker manually
16:33 wheaties joined #salt
16:34 wheaties https://repo.saltstack.com/ working for anyone else?
16:35 icebal 503 Service Unavailable
16:35 wheaties :-/ thanks for checking...
16:35 whytewolf getting a 503
16:35 wheaties it's making our ubuntu servers unhappy when we do an apt-get update
16:35 wheaties hehe
16:36 whytewolf maybe they are kicking it to fix rsync issues that have possabily kicked up
16:36 stooj joined #salt
16:36 * whytewolf shrugs
16:36 wheaties rsync issues eh
16:36 wheaties interesting
16:37 wheaties I'm just happy I'm not alone :)
16:37 wheaties thanks for confirming
16:37 wheaties disabling the repo for the time being
16:37 DEger_ joined #salt
16:38 * whytewolf isn't sure just speculating
16:38 Eugene Never rely upon externally-hosted repositories for Production ;-)
16:38 Eugene Mirror it yourself if you want to have somebody to blame for outages
16:38 cgregg joined #salt
16:38 wheaties still in the process of picking and choosing the packages we rely on to mirror locally
16:38 gtmanfred lemme check on that
16:38 wheaties thx
16:38 whytewolf thank you gtmanfred
16:40 gtmanfred UtahDave is looking at it
16:40 wheaties perfect, thank you
16:42 mcintosh joined #salt
16:42 mcintosh saltstack repos down?
16:42 wheaties yep
16:42 wheaties UtahDave is looking into it
16:43 onlyanegg joined #salt
16:43 mcintosh awesome - just making sure it wasn't only me :)
16:43 wheaties :)
16:44 armin btw the saltstack website is unusable without javascript enabled.
16:44 gtmanfred yes
16:44 gtmanfred welcome to web 3.0
16:44 gtmanfred or whatever it is now
16:45 wheaties lol
16:45 whytewolf web -2.5
16:45 armin btw what's the "saltstack repo"?
16:45 gtmanfred repo.saltstack.com
16:45 gtmanfred where we host all the packages
16:45 gtmanfred looks like it is back up
16:46 whytewolf it is as the name implys the location of saltstacks repo for packages
16:46 wheaties still 503 over here
16:46 pcn Yeah, 503
16:46 gtmanfred hrm
16:46 gtmanfred it is going back and forth
16:46 gtmanfred it was up for a second for me
16:46 armin gtmanfred: that one at least got an AAAA record, in favor of saltstack.com ;)
16:46 armin *runsforcover*
16:46 wheaties haha
16:48 Praematura joined #salt
16:48 gtmanfred armin: wpengine handles all of that
16:50 DEger joined #salt
16:51 Inveracity joined #salt
16:52 edrocks joined #salt
16:53 ronnix joined #salt
16:54 tapoxi joined #salt
16:57 mcintosh it's back!
16:57 mcintosh :D
16:57 wheaties seconded!
16:57 wheaties nice, thanks guys!
16:57 mcintosh ^^
16:57 Taz joined #salt
17:00 wheaties left #salt
17:00 s_kunk joined #salt
17:00 s_kunk joined #salt
17:03 pcn I'm having a weird experience where after doing something, salt-call on my saltmsater stops invoking custom grains scripts for our ec2 grains
17:03 GMAzrael joined #salt
17:03 gtmanfred should be back up
17:03 pcn I'm not even sure where to start trying to troubleshoot what is going on
17:04 pcn And now it's back?
17:04 pcn Ugh
17:05 Taz any idea how i would grab a number from a file, increment it and then write it back? I can do the file.replace state to replace the number but I am not sure how I should grab the number
17:05 Taz there does not seem to be a file module that gives content of a file
17:05 cyborg-one joined #salt
17:09 pipps joined #salt
17:10 gtmanfred you would need to use jinja to read the number out of the file, and increment it
17:14 Taz gtmanfred: can you give a simple example or point me towards what you are talking about?
17:15 gtmanfred i don't have an example of exactly that, but this is one example kind of
17:15 gtmanfred you are going to have to adapt it
17:15 gtmanfred https://groups.google.com/forum/#!topic/salt-users/5dXrXFQalDo
17:15 gtmanfred you could also use one of the other renderers, pydsl or py, and just open the file in python, read in the contents, and increment it that way
17:16 Taz thanks gtmanfred !
17:22 mikecmpbll joined #salt
17:22 jwhittle joined #salt
17:23 druonysus_ joined #salt
17:25 winsalt Can anyone help me make sense of this?  Problems with file.managed on windows https://bpaste.net/show/e790a186c8e8
17:29 gtmanfred winsalt: have you tried setting the source to just e:\local ?
17:29 winsalt and not use file:// you mean?
17:29 gtmanfred yes
17:29 theblazehen joined #salt
17:29 gtmanfred also, it seems like you are putting both the files at E:\managed
17:29 gtmanfred wouldn't the second overwrite the first?
17:30 aneeshusa joined #salt
17:30 winsalt yea, the test is really seeing if the state can find that file at all
17:30 gtmanfred yeah, i would try getting rid of the file://, because i don't think you need it if you are looking for the source directly on the minion already
17:31 winsalt oh i remember now, when i use E:\local it says "Unable to verify upstream hash of source file E:\local, please set source_hash or set skip_verify to True"
17:31 pipps joined #salt
17:32 whytewolf if you are just testing if the file exists. why not just use file.exists instead of trying to manage it?
17:34 winsalt i do want to manage it, the file_exists check is just to show that E:/local is present, and file.managed is wrong by saying the file doesnt exist.  Additionally for file2, file_exists shows False, but it gets managed anyway
17:35 pipps joined #salt
17:36 whytewolf ahh okay. anyway. the file hash error sounds like the way to go. that at least finds the file. you either need to skip the verify or add a hash for the file so that salt knows that the file in question is the correct source. basicly it is a step that only happens automaticly with salt:// based files
17:36 pipps joined #salt
17:37 nixjdm joined #salt
17:37 ssplatt joined #salt
17:38 whytewolf also i will say this line of testing seems odd to manage a file to the local system. then use the already managed file as a source for another manage
17:39 wendall911 joined #salt
17:39 whytewolf although i will say it looks like a bug in the file2 state.
17:39 winsalt its not the real state, im just debugging wtf is going on with why its failing
17:40 whytewolf it is failing because file:// isn't valid and if using a local file you need a hash or to skip the verify
17:41 whytewolf the file not exsiting file going through. that is a bug.
17:43 winsalt as far as I cant tell there is a function _urlparse() that splits the path into E: and /local, and then get_hash cant find /local
17:45 seanz1 joined #salt
17:45 whytewolf that is when you are using file:// do you get the same stack trace with just E:/local
17:45 winsalt _urlparse() returns something like ParseResult(scheme='file', netloc='E:', path='/local', params='', query='', fragment=''))
17:45 ChubYann joined #salt
17:46 hemphill joined #salt
17:47 pipps joined #salt
17:47 winsalt without file:// it looks like ParseResult(scheme='e', netloc='', path='/local', params='', query='', fragment='') and I get ValueError: Unsupported url scheme: E:/local
17:48 whytewolf days like this makes me wish i had a windows box to test on. but then i remeber i'm a bad maid
17:49 impi joined #salt
17:49 sjorge joined #salt
17:53 jwhittle joined #salt
17:55 winsalt i am most annoyed by file2, i dont know where it think its grabbing that file, but I dont see it in the cache and it cant even find a file that is there.
17:56 whytewolf file2 should defintly be throwing an error.
17:58 aso joined #salt
17:58 sh123124213 joined #salt
17:59 aso joined #salt
17:59 Tanta joined #salt
18:03 Tanta_ joined #salt
18:03 aso Hi. I'm just getting started with Salt stack and have run into an odd issue between yesterday and today in which the bootstrap script is failing on the install_centos_stable_deps function
18:04 aso I'm getting the following error: curl: (7) Failed connect to dl.fedoraproject.org:443; Operation now in progress
18:04 aso error: skipping https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm - transfer failed
18:04 aso Retrieving https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
18:04 contherad i've seen some people saying the repo is down for saltstack. I think this is related
18:04 aso ah, that's "good" to know
18:04 whytewolf that would not related.
18:05 whytewolf that is a way different repo
18:05 contherad ohh my bad.. just figured it was all tied up together.
18:05 whytewolf dl.fedoraproject.org seems to have poofed
18:06 Pyro_ joined #salt
18:07 gtmanfred yup
18:07 whytewolf humm wonder if install_centos_stable_deps is only used on centos or if it gets used for redhat also
18:07 gtmanfred been down all morning
18:07 Pyro_ https://dl.fedoraproject.org == sad.  Wish I had a local repo setup.
18:07 gtmanfred whytewolf: http://status.fedoraproject.org/
18:08 Pyro_ As I sit and see that SpaceWalk is 2 weeks out on my agenda!  grr...
18:08 whytewolf that is a lot of red
18:08 gtmanfred they are doing work over in #fedora-admin
18:08 aso While not great, it does help me realize I haven't done something dumb (yet) on my end
18:08 gtmanfred last i checked at least
18:08 contherad Thanks for the status page
18:08 gtmanfred :+1:
18:08 aso yes. thanks
18:09 whytewolf salt should get a status page ;)
18:12 gtmanfred and manage it with salt + beacons
18:12 gtmanfred we are working on it
18:12 pipps joined #salt
18:13 gtmanfred there is a lot changing with our release process right now.
18:13 londo joined #salt
18:13 gtmanfred we just hired another person to help manage all that to hopefully make managing all our internal systems more smooth and also get releases out faster
18:14 whytewolf that would be nice.
18:17 Tanta_ you should salt it @gtmanfred
18:17 * Tanta_ ducks
18:18 mcintosh 14:12:47 @gtmanfred | and manage it with salt + beacons
18:18 mcintosh lol
18:19 jas02 joined #salt
18:21 scoates joined #salt
18:21 gtmanfred that is basically my understanding on what is going down over there.  It was all just kind of cobbled together from the beginning, and we never had time to fix it up.  So right now we are rewriting it all from scratch using salt
18:22 Tanta_ man I'd help you out pro bono
18:22 scoates joined #salt
18:26 gtmanfred fix some bugs then! https://github.com/saltstack/salt/issues?q=is%3Aopen+is%3Aissue+label%3ABug
18:26 gtmanfred or if you want, go through some of the old bugs for old releases and see if they still apply.  If they don't send me a list so I can close them out
18:26 gtmanfred I should write a blog post on ways people could contribute that they might not think of
18:28 winsalt at least UNC paths are reliable... https://bpaste.net/show/95b876942f40
18:28 promorphus_home joined #salt
18:28 DEger joined #salt
18:30 Joy joined #salt
18:30 contherad https://pastebin.com/dl/cPEqweU2
18:30 contherad woops.
18:31 contherad @aso that should get you by the fedora repo if you change the salt-cloud script. :]
18:31 Sketch Your request is blocked due to invalid referrer. If you are trying to hotlink this page, please use: https://pastebin.com/raw/cPEqweU2
18:32 gtmanfred i always switch to mirror.rackspace.com because they are globally load balanced across their datacenters
18:32 Pyro_ Nice.  Thanks!
18:33 aso v. cool. thanks.
18:33 Eugene https://vomitb.in is best bin
18:34 contherad noted. thanks
18:34 aso Would it possibly be worthwhile to just roll my own repo and include the necessary salt deps there to avoid unreachable repos?
18:34 whytewolf if it is centos it should be change to just install epel-release which is in the centos extras repo that comes with centos.
18:34 gtmanfred gist.github.com is my prefered bin
18:35 gtmanfred whytewolf: and is the best thing ever!
18:35 gtmanfred was so happy they added that in 7
18:35 aso (sorry for the multiline paste earlier. forgot to use a gist/pastebin)
18:35 whytewolf yeah kind of shocked just how many repos they support through that. the openstack repos ceph repos ect.
18:39 Flying_Panda joined #salt
18:39 Drunken_Panda joined #salt
18:44 mugundan28 joined #salt
18:45 mugundan28 I am using salt 2015.8.8
18:45 mugundan28 how to upgrade it to latest
18:47 gtmanfred https://repo.saltstack.com
18:47 gtmanfred use the salt repos
18:48 whytewolf upgrade master before minions.
18:48 gtmanfred ^^
18:51 amcorreia joined #salt
18:52 aneeshusa joined #salt
18:56 DEger joined #salt
19:01 edrocks joined #salt
19:02 carlwgeorge gtmanfred: i believe epel-release is in the extras repo for all centos releases, not just 7
19:03 filippos joined #salt
19:03 whytewolf it is, but it was first introduced with centos 7.
19:03 LeProvokateur joined #salt
19:05 whytewolf centos 7 also has WAY more repos in it's extras then centos 6 did
19:06 rem5 joined #salt
19:07 theblazehen joined #salt
19:08 rem5 joined #salt
19:09 LeProvokateur joined #salt
19:09 mugundan28 thanks for your update
19:09 mugundan28 I have denied key in my master
19:10 mugundan28 how can move it to accepted key
19:11 MTecknology mv minions_denied/foo minions/
19:12 MTecknology mugundan28: take a look around etc/salt/pki
19:14 mugundan28 Sure
19:14 mugundan28 thanks for your help
19:16 mugundan28 i have removed salt minion key from master
19:16 mugundan28 How to add it back
19:17 mugundan28 Key is not generated after restarting minion
19:26 XenophonF how badly will i screw the salt master up if, to create a test environment, I restore backups of production minions to a different network?
19:27 XenophonF (think an identically configured AWS VPC, only named "test" instead of "prod)
19:28 * whytewolf shrugs. somewhere between not at all to total epic catastrofic desaster
19:28 XenophonF ((and hosts in the test environment can connect to the Salt master))
19:28 XenophonF LOL
19:28 aso Just wanted to follow up on the salt bootstrap script issue with the fedora epel repos being down and the workaround that I have for those using salt as a provisioner in Vagrant
19:28 aso https://pastebin.com/pRFKnd9n
19:29 mugundan28 is WEB URL is available in salt open source
19:29 mugundan28 if so how can i access?
19:29 whytewolf web url?
19:30 whytewolf you mean a gui?
19:30 mugundan28 yes
19:31 whytewolf that is enterprise
19:31 mugundan28 Ok
19:31 XenophonF aso: that looks reasonable
19:33 rem5 joined #salt
19:34 overyander joined #salt
19:34 mugundan28 any idea about salt pricing to maintain 300 minions
19:35 mcintosh you can maintain 300 minions for 0 dollars using salt
19:37 ronnix joined #salt
19:38 mugundan28 in enterprice edition?
19:38 sh123124213 joined #salt
19:40 zerocoolback joined #salt
19:41 mugundan28 left #salt
19:41 izbconnelly joined #salt
19:41 mugundan28 joined #salt
19:41 mugundan28 left #salt
19:42 mcintosh should probably start off by specifying enterprise edition :p
19:45 Taz you can do quite a bit of minions with opensource
19:47 XenophonF I take it Salt Enterprise replaces one's master.
19:47 scoates joined #salt
19:48 XenophonF I wish I could just buy $3k/year worth of dedicated support.
19:48 XenophonF or priority support
19:49 whytewolf i wish there was a free version of enterprise that worked on limited systems
19:49 XenophonF nah not me - i hate open core
19:50 XenophonF it's why i'm using salt and not puppet or chef
19:50 XenophonF _the_ reason, actually
19:50 XenophonF in retrospect i should have gone with ansible - it's more widely used across Africa, where I have most of my data centers
19:51 izbconnelly Does anyone have experience with the OSX update modules? I can get them to list but not upgrade.
19:51 izbconnelly #sudo salt '*' softwareupdate.upgrade bconnelly-macbook-pro:     'softwareupdate.upgrade' is not available. ERROR: Minions returned with non-zero exit code
19:51 XenophonF but ever since I got burned by Zenoss closing access to stuff I used, I've been irrationally opposed to other open core projects
19:51 XenophonF izbconnelly: I've run into the same issue.
19:51 whytewolf the only difference between OS salt and enterprise is eapi and the gui.
19:52 XenophonF I haven't had a chance to dive into it
19:55 izbconnelly dmidecode, smbios, and virt-what seem to be the culprits --- are those things that I need to run a master on OSX?
19:56 whytewolf a. 'softwareupdate.upgrade' is not available. is a minion error
19:56 izbconnelly oh, thank you
19:57 whytewolf b. bconnelly-macbook-pro doens't seem to be a valid option to softwareupdate.upgrade
19:57 rem5 joined #salt
19:57 whytewolf try salt-call -l debug softwareupdate.upgrade
19:57 whytewolf on the mac
20:00 SalanderLives joined #salt
20:00 izbconnelly [DEBUG   ] Could not LazyLoad softwareupdate.upgrade: 'softwareupdate.upgrade' is not available.
20:00 whytewolf what version are you on?
20:01 izbconnelly salt 2016.11.3 (Carbon)
20:02 whytewolf humm only check in __virtual__ is that is is_darwin
20:03 whytewolf doh ... it is update not upgrade
20:03 whytewolf there is no upgrade function in softwareupdate
20:05 whytewolf https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.mac_softwareupdate.html#salt.modules.mac_softwareupdate.update
20:08 izbconnelly ugh, i was on the 2015.8 docs
20:08 izbconnelly https://docs.saltstack.com/en/2015.8/ref/modules/all/salt.modules.softwareupdate.html
20:09 whytewolf yeah looks like there was a compleate rewrite of that module and it moved from softwareupte.py to mac_softwareupdate.py
20:10 pipps joined #salt
20:10 izbconnelly [ERROR   ] An extra return was detected from minion bconnelly-macbook-pro, please verify the minion, this could be a replay attack
20:11 tapoxi joined #salt
20:11 izbconnelly I wonder if I am not able to run on the master itself.
20:11 izbconnelly Need to get out a minion
20:11 whytewolf you should be able to. I salt my master all the time
20:12 izbconnelly bconnelly-macbook-pro:     ----------     macOS Sierra Update-10.12.4:         False
20:13 izbconnelly [DEBUG   ] Could not LazyLoad config.merge: 'config.merge' is not available.
20:14 whytewolf iirc there is a bug about conifg.merge not working on macs
20:15 SalanderLives Is it possible to see what a .sls file looks like after it has been passed through the jinja rendering but before it gets converted to the high state?
20:16 whytewolf SalanderLives: not built into salt. you can use cp.get_template to render an sls then look at it on the minion. OR i wrote a debug module that does the same thing but returns it to the output
20:17 whytewolf https://github.com/whytewolf/salt-debug
20:18 whytewolf izbconnelly: maybe it wasn't just mac. check this bug see if it fits your issue https://github.com/saltstack/salt/issues/39025
20:18 saltstackbot [#39025][OPEN] Could not LazyLoad config.merge: 'config.merge' is not available. | Description of Issue/Question...
20:19 whytewolf although that should be fixed in 2016.11.3
20:19 whytewolf ohhh. feb 6th yeah that won't be out till 2016.11.4
20:19 pbandark joined #salt
20:19 izbconnelly whytewolf>that does cover it, thank you
20:20 gtmanfred 2016.11.4 is on pypi, we are still working on packages
20:20 whytewolf ohhh, so soon and not like a blizzard soon
20:21 gtmanfred yeah
20:22 pipps joined #salt
20:23 whytewolf you know what i don't understand. there are so many places that say what the released stable versions are. yet almost everyday we have someone coming in and asking where the package to the next version is. and points to the release notes as a reason they think it is live
20:24 pipps99 joined #salt
20:24 gtmanfred !topic
20:24 saltstackbot gtmanfred: I'm not a channel operator!
20:24 gtmanfred gross
20:24 gtmanfred !help topic
20:24 saltstackbot gtmanfred:     This gives ops the ability to change the topic.
20:24 saltstackbot gtmanfred:     The bot must be a Channel Operator for this command to work.
20:24 gtmanfred !topic #salt
20:24 saltstackbot gtmanfred: I'm not a channel operator!
20:24 gtmanfred meh
20:24 whytewolf lol
20:25 whytewolf bot fail
20:26 jas02 joined #salt
20:26 whytewolf sometimes it feels like a scene from clerks
20:26 whytewolf oh NAVY SEALS!
20:33 dezertol joined #salt
20:42 Taz anyone know how i do an import like {% from "named/map.jinja" import named with context %} in the python renderer https://docs.saltstack.com/en/latest/ref/renderers/all/salt.renderers.py.html ?
20:45 gtmanfred you would have to read it in with python
20:45 gtmanfred and work on it
20:45 gtmanfred or you could do the py and jinja renderer
20:45 gtmanfred though i would caution against that
20:46 Taz oh i see. im using the py renderer so i can read in the serial and increment, is there another rendered i should use?
20:46 Taz thanks again gtmanfred
20:46 lylejohnson joined #salt
20:47 gtmanfred the default renderer is #!jinja|yaml, which is why you can use jinja in yaml files
20:47 SalanderLives whytewolf, Thanks for pointing me in the direction of cp.get_template. I used it to fix my issue and I can already tell that it is going to be extremely useful to me in the future
20:47 gtmanfred but if you just use #!py, just do all of the work in python
20:48 pipps joined #salt
20:49 seanz joined #salt
20:49 lylejohnson I've been away from Salt for awhile, but am trying to use salt-ssh again. Anyone know why a command like "salt-ssh 'pi1,pi2,pi3' test.ping" gives the error "No matching targets found in roster."?
20:49 whytewolf i remeber that there is somekind of module that might work for taz but i don't remeber what it was. but was used for pulling jinja into py rendering.
20:50 whytewolf lylejohnson: just a guess. but you forgot the -L so it is trying to use that as a glob
20:50 lylejohnson whytewolf: D'oh.
20:51 lylejohnson whytewolf: That was it, of course. Sorry for the noise, and thanks!
20:51 gtmanfred :+1:
20:51 gtmanfred happy to have you back!
20:51 lylejohnson ;)
20:51 whytewolf noise is always good :)
20:52 gtmanfred better than silence
20:52 Taz i have always found the salt irc to be helpful :D
20:57 pipps joined #salt
20:57 Guest73 joined #salt
20:58 CeBe joined #salt
21:03 whytewolf aha! https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.slsutil.html#module-salt.modules.slsutil
21:04 gtmanfred oh yeah!
21:04 gtmanfred i forgot about that again
21:05 bfritz joined #salt
21:05 whytewolf yeah, i dug through the past chat log cause i could not remember the name of the module
21:05 gtmanfred Taz: check out https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.slsutil.html#module-salt.modules.slsutil
21:05 gtmanfred that might be usefull for your pyrenderer expriment
21:05 gtmanfred experiment
21:06 gtmanfred i am the wurst speller
21:06 gtmanfred got it on the second try!
21:07 Eugene I want some wurst
21:07 whytewolf mmmm Wurst
21:07 gtmanfred curry wurst is the best
21:10 whytewolf i have not had curry wurst... i must try this sometime.
21:11 whytewolf oh, doh. after reading what it is i actually may have with out knowing it
21:12 whytewolf ketchup curry sounds good on it's own.
21:13 gtmanfred if you are ever in Austin, Texas, checkout the restaurant called Bangers, 110 beers on tap and really good in house made sausage
21:13 whytewolf ohhh, will do
21:13 gtmanfred https://www.google.com/maps/uv?hl=en&amp;pb=!1s0x8644b5abd7d04cdb:0xc66901fef26c7c1d!2m19!2m2!1i80!2i80!3m1!2i20!16m13!1b1!2m2!1m1!1e1!2m2!1m1!1e3!2m2!1m1!1e5!2m2!1m1!1e4!3m1!7e115!4shttps://picasaweb.google.com/lh/sredir?uname%3D105348139444988347763%26id%3D6291914412077599586%26target%3DPHOTO!5sbangers+austin+-+Google+Search&amp;imagekey=!1e3!2s-sXtCd4pU6M4/V1Fe0mELy2I/AAAAAAAAc10/4njA2GC0KS0QOkkprvBC4fyc8prK8-SiACJk
21:13 gtmanfred C&sa=X&ved=0ahUKEwixl5--u7bTAhXls1QKHZt2BGwQoioIdzAO
21:13 gtmanfred nope, bad link
21:13 whytewolf hehe
21:14 gtmanfred yeah, just look them up on google maps, they have a picture of the tap list wall
21:15 jas02 joined #salt
21:17 * izbconnelly is starving after reading thread
21:19 seanz1 joined #salt
21:22 pipps joined #salt
21:23 dps joined #salt
21:23 Taz gtmanfred: thanks! thats exactly what i needed
21:23 gtmanfred Taz: thank whytewolf, he remembered it
21:24 Taz whytewolf: thanks :D
21:24 Taz woops just saw your ping not above it
21:24 jas02 joined #salt
21:24 vbud joined #salt
21:24 whytewolf hehe no problem, perlgeek actually remebeered the name of it. i just remebered something like it existing
21:24 vbud hello everyone
21:25 whytewolf http://irclog.perlgeek.de/salt/  <=- very useful site
21:25 whytewolf greetings vbud
21:25 vbud how long will it take for 2016.11.4 to reach centos 7 from repos.saltstack?
21:26 gtmanfred it is packaged in testing, but we are still working on other packages before we announce it
21:26 vbud repo.saltstack.com/yum/redhat/
21:26 gtmanfred check salt-announce, we will send out an announcement when it is moved over
21:26 vbud ok, thank you
21:26 pipps joined #salt
21:49 Renich joined #salt
21:49 jas02 joined #salt
21:49 aso joined #salt
21:53 jas02 joined #salt
21:54 jas02 joined #salt
21:55 MTecknology Is -listen: similar to -watch: -order:last?
21:55 gtmanfred no
21:55 jas02_ joined #salt
21:55 gtmanfred well, in a sense yes
21:55 gtmanfred but no
21:55 gtmanfred watch will run immediately afterwards, even with order: last
21:56 gtmanfred listen runs it like normal, but tacks on a mod_watch function at the very end after everything
21:57 MTecknology that means the state could execute twice? once in the order it's supposed to run and then once at the end? (with listen)
21:57 gtmanfred yes
21:57 gtmanfred but it will only execute mod_watch once, whereas watch will execute it on ever state that it is watching
21:58 * MTecknology hugs gtmanfred
21:58 gtmanfred happy friday!
21:58 MTecknology That makes excellent sense. Thanks!! :D
21:59 MTecknology I wanted to make a joke about yesterday being happy day using cachedout, but I'm too tired and couldn't think of anything.
22:01 MTecknology Oh! Now all of my infinite dependency loops make perfect sense!
22:02 pipps joined #salt
22:02 scoates joined #salt
22:03 scoates joined #salt
22:04 scoates joined #salt
22:06 scoates joined #salt
22:06 edrocks joined #salt
22:08 scoates joined #salt
22:10 scoates joined #salt
22:11 scoates joined #salt
22:13 sh123124213 joined #salt
22:13 dps joined #salt
22:26 jas02 joined #salt
22:27 nikdatrix joined #salt
22:34 pipps joined #salt
22:42 prg3 joined #salt
22:57 CeBe joined #salt
22:57 aneeshusa joined #salt
23:04 masber joined #salt
23:07 hemphill joined #salt
23:27 jas02 joined #salt
23:29 scoates joined #salt
23:31 scoates joined #salt
23:32 J0hnSteel joined #salt
23:32 scoates joined #salt
23:33 ry joined #salt
23:34 scoates joined #salt
23:36 scoates joined #salt
23:37 scoates joined #salt
23:39 Trauma joined #salt
23:39 scoates joined #salt
23:39 druonysus_ joined #salt
23:41 scoates joined #salt
23:41 aso joined #salt
23:42 scoates joined #salt
23:44 scoates joined #salt
23:46 scoates joined #salt
23:47 scoates joined #salt
23:48 pipps joined #salt
23:50 scoates joined #salt
23:51 scoates joined #salt
23:54 scoates joined #salt
23:56 scoates joined #salt

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