Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2016-06-24

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

All times shown according to UTC.

Time Nick Message
00:00 MindDrive Any idea why so many jobs are being spawned?  Any suggestions on what to look at?
00:07 noraatepernos joined #salt
00:23 flowstate joined #salt
00:26 tvinson was talking about this in irc late last night, i hit a failure in boto_secgroup.create some of the time where the sg gets created, but no rules get associated. seems to take some time before the sg can be found and it bombs out in here https://github.com/saltstack/salt/blob/develop/salt/states/boto_secgroup.py#L229-L237 created gets set to True but sg gets set to None
00:28 racooper joined #salt
00:33 tvinson i had a theory that passing vpc_id would help but that seems not to have panned out.
00:50 tberch8 joined #salt
01:04 edrocks joined #salt
01:22 flowstate joined #salt
01:25 krymzon joined #salt
01:30 brent_ joined #salt
01:36 manji joined #salt
01:36 tberch8 joined #salt
01:39 protoz joined #salt
01:46 catpigger joined #salt
01:47 ilbot3 joined #salt
01:47 Topic for #salt is now Welcome to #salt! | Latest Versions: 2015.5.10, 2015.8.10, 2016.3.1 | Support: https://www.saltstack.com/support/ | Logs: http://irclog.perlgeek.de/salt/ | Paste: https://gist.github.com/ (please don't multiline paste into channel) | See also: #salt-devel, #salt-offtopic | Ask with patience as we are volunteers and may not have immediate answers
01:50 mosen joined #salt
01:51 iceyao joined #salt
01:55 Lionel_Debroux joined #salt
02:03 scoates joined #salt
02:23 flowstate joined #salt
02:36 anil joined #salt
02:44 kevinquinnyo is there a no cache option
02:45 kevinquinnyo like, ignore all cached files, just run it raw kind of thing
02:45 kevinquinnyo i feel like i have a cache issue..
02:46 kevinquinnyo i just put garbage into a core module, literally "sdfasdfd" and it still runs ok
02:48 kevinquinnyo wait nm i didnt put my garbage in the right place
02:58 tuxx joined #salt
03:07 edrocks joined #salt
03:16 ni291187 joined #salt
03:20 cliluw joined #salt
03:24 flowstate joined #salt
03:28 protoz joined #salt
03:29 iceyao joined #salt
03:40 jim__ joined #salt
03:43 impi joined #salt
03:46 aharvey joined #salt
04:10 fake-name joined #salt
04:10 bfig__ joined #salt
04:10 bfig___ joined #salt
04:18 fake-name Ok, dumb question. If I'm deploying a minion via salt-cloud and the API interface (CloudClient().create()), how do I specify the master configuration that gets pushed to the newly deployed minion?
04:18 noraatepernos joined #salt
04:20 fake-name I'm specifying minion_conf = {'master' : <address>} as a kwarg, inferred from the json data returned from the create() call, but it doesn't work
04:20 fake-name I can't find a comprehensive list of what I can pass the create() call, but I assume I'm looking in the wrong place in the docs
04:23 flowstate joined #salt
04:26 fake-name basically, right now, the new minion is configured as having the master 'salt', which means it never connects, which kind of breaks the whole point of the thing
04:37 morissette joined #salt
04:40 hasues joined #salt
04:40 hasues left #salt
04:41 fake-name for that matter, how does the salt master even know who it is? I can't find where I specify the FQDN in the salt master config file
04:50 fake-name Ok, never mind. the "Getting started with softlayer" documentation happens to mention incidentally in the example config that you can specify the master address, and that seems to be more general then just softlayer
04:51 fake-name of course, now looking at the minion documentation for salt-cloud, it seems obvious
04:51 fake-name gah
05:00 aharvey Will reactor tag respect : salt/beacon/*/inotify/*/.git compared to the full tag path of salt/beacon/redactedhostname.domain.com/inotify/home/local/redacted/git-srv/salt-pillar/.git ? or should I do a spree of /*/*/*/*/.git ?
05:00 aharvey I can kick off tags just fine w/beacon but my reactor is just not kicking off
05:02 om joined #salt
05:02 DarkKnightCZ joined #salt
05:03 om2 joined #salt
05:10 edrocks joined #salt
05:23 flowstate joined #salt
05:27 nidr0x joined #salt
05:35 nidr0x joined #salt
05:41 rdas joined #salt
05:57 sauvin joined #salt
06:00 slav0nic joined #salt
06:05 kshlm joined #salt
06:08 bantone say i wantd to echo this to a salt file
06:08 bantone 'Acquire::http::Proxy': '"http://172.16.xx.218:3128";'
06:10 Twist_ joined #salt
06:13 manji joined #salt
06:13 sjorge joined #salt
06:21 flowstate joined #salt
06:29 evle joined #salt
06:32 dmaiocchi joined #salt
06:33 KermitTheFragger joined #salt
06:39 babilen bantone: .. and?
06:40 dmaiocchi joined #salt
06:42 linjan joined #salt
06:42 FroMaster joined #salt
06:44 duncanmv joined #salt
06:48 kawa2014 joined #salt
06:54 FroMaster joined #salt
06:54 quaie joined #salt
06:58 goudale joined #salt
07:04 protoz joined #salt
07:08 iceyao_ joined #salt
07:12 keimlink joined #salt
07:12 edrocks joined #salt
07:14 jfindlay joined #salt
07:15 fracklen joined #salt
07:16 jhauser joined #salt
07:18 deniszh joined #salt
07:18 fracklen_ joined #salt
07:19 fracklen joined #salt
07:20 toanju joined #salt
07:21 flowstate joined #salt
07:23 duncanmv joined #salt
07:26 manji joined #salt
07:27 manji joined #salt
07:29 lero joined #salt
07:30 fredvd joined #salt
07:36 iceyao joined #salt
07:44 krymzon joined #salt
07:44 Electron^- joined #salt
08:03 duncanmv joined #salt
08:05 protoz joined #salt
08:10 DEger joined #salt
08:12 ronnix joined #salt
08:13 arif-ali joined #salt
08:13 s_kunk joined #salt
08:22 flowstate joined #salt
08:38 jacksontj joined #salt
08:49 GreatSnoopy joined #salt
08:52 kshlm joined #salt
08:52 CeBe1 joined #salt
08:53 manji joined #salt
08:55 duncanmv joined #salt
09:02 rbjorklin joined #salt
09:15 edrocks joined #salt
09:21 AirOnSkin joined #salt
09:21 rbjorklin joined #salt
09:22 TyrfingMjolnir joined #salt
09:26 toanju joined #salt
09:37 kshlm joined #salt
09:45 felskrone joined #salt
09:49 ITChap joined #salt
10:06 protoz joined #salt
10:40 iceyao_ joined #salt
10:48 dendazen joined #salt
10:53 tik joined #salt
10:54 tik i'm attempting to use a few formulas from the repo and I keep getting the following "TypeError: get() got an unexpected keyword argument 'merge'"
11:01 AndreasLutro nice
11:01 AndreasLutro either the formula authors screwed up, or you're running an old version of salt
11:02 amcorreia joined #salt
11:04 AndreasLutro [CRITICAL] [2498] [salt.pillar] Pillar render error: Failed to load ext_pillar git: nothing to repeat
11:04 AndreasLutro okay/
11:06 AndreasLutro ah, invalid regex in top.sls
11:06 AndreasLutro intuitive
11:09 tuxick salt error/exception handling "leaves some room for improvement"
11:12 sjorge joined #salt
11:13 tik thanks Adreas! turns out it was a crazy old version of the minion
11:17 edrocks joined #salt
11:19 pcdummy joined #salt
11:20 pcdummy joined #salt
11:20 pcdummy joined #salt
11:43 netcho joined #salt
11:47 Rumbles joined #salt
11:47 netcho what am i doing wrong, trying to run highstate when salt-cloud creates a new instance
11:47 netcho http://pastebin.com/QApyVW5e
11:49 AndreasLutro netcho: if you check your master logs you may find some error messages
11:50 AndreasLutro if not, try data['id'] instead of name
11:52 netcho also having issues with salt-api and jenkins plugin
11:52 netcho works a little bit then it errors
11:58 lero joined #salt
12:02 lero joined #salt
12:08 lero joined #salt
12:08 dynamicudpate joined #salt
12:13 netcho is this state correct?
12:13 netcho http://pastebin.com/2f6i028P
12:14 netcho no mather what env is it always creates a record in prod zone
12:16 tuxick master log will tell you to check master log
12:16 tuxick better look on minion log :)
12:19 netcho http://pastebin.com/83mvkFMN
12:19 flowstate joined #salt
12:19 netcho this should be school example
12:20 AndreasLutro oh nvm, I guess the data structure for salt-cloud events is different
12:20 AndreasLutro ignore what I said
12:21 7GHABELAA joined #salt
12:21 5EXAAX427 joined #salt
12:21 netcho yah cuz yesterday it was working witg data['name']
12:21 tuxick https://stevebennett.me/2014/02/17/one-week-of-salt-frustrations-and-reflections/ :)
12:21 tuxick well that message sure provided a hint
12:22 Rumbles joined #salt
12:26 flowstate joined #salt
12:28 netcho yeah, i changed it back to data and now it works...
12:28 netcho wtf
12:29 netcho http://pastebin.com/2f6i028P
12:29 netcho any idea what is wrong here?
12:30 netcho it adds a record to  mydom.prod
12:30 netcho even if instance_env is staging
12:30 edrocks joined #salt
12:31 flowstate joined #salt
12:34 om2 joined #salt
12:34 om3 joined #salt
12:35 AndreasLutro grains['instance_env'] == 'staging'
12:35 AndreasLutro instance_env is ['staging']
12:35 AndreasLutro as denoted by the dash in the yaml output
12:35 AndreasLutro or, maybe grains.item works different... try grains.get instead
12:35 flowstate joined #salt
12:35 dendazen joined #salt
12:36 kevinquinnyo joined #salt
12:38 netcho joined #salt
12:38 flowstate joined #salt
12:40 dmaiocchi joined #salt
12:40 netcho joined #salt
12:40 alvinstarr joined #salt
12:43 flowstate joined #salt
12:45 flowstate joined #salt
12:45 rem5 joined #salt
12:49 netcho AndreasLutro: what do u mean by grains.get?
12:49 netcho assign value to some variable and the put it in if conditions?
12:55 protoz joined #salt
12:56 punkoivan joined #salt
12:57 punkoivan joined #salt
12:57 gh34 joined #salt
12:59 punkoivan joined #salt
13:02 rem5 joined #salt
13:03 rem5 joined #salt
13:04 ronnix joined #salt
13:04 tuxick trying to find out how to roll out files from pillar, i can't imagine i can only do that using contents_pillar and jinja?
13:04 AndreasLutro tuxick: why not?
13:04 tuxick why not do that you mean?
13:05 tuxick i have the file, why would i have to paste that into an sls?
13:07 ALLmightySPIFF joined #salt
13:07 AndreasLutro that's the easiest way to embed a file's contents into pillar data
13:08 tuxick hm
13:08 AndreasLutro there are other ways but they're more heavy-handed
13:08 tuxick maybe i'm barking up wrong tree anyway, in this case it's about certificate files and i understood you should always use pillar for such things
13:09 AndreasLutro indeed
13:10 tuxick indeed i understood right and this is the way?
13:10 AndreasLutro just make sure your certs are ascii and embed them into yaml using the | character for multi-line strings
13:10 netcho joined #salt
13:11 tuxick ye i spotted the weird |
13:11 tuxick ok well then, if that's the way i'll comply
13:16 TooLmaN joined #salt
13:23 perfectsine joined #salt
13:24 edrocks joined #salt
13:24 lero_ joined #salt
13:25 tapoxi joined #salt
13:26 protoz joined #salt
13:32 tuxick looks like i have to indent the content appropriately as well
13:32 tuxick how fiddly
13:32 tuxick let's hope i don't
13:32 perfectsine joined #salt
13:34 racooper joined #salt
13:35 krymzon Hi, can you recommend any guides on best practices regarding minion targeting? I'm rather new and sometimes confused when I should build elaborate targeting in top.sls, or with jinja inside states, or with pillar, or perhaps use nodegroups
13:40 edrocks joined #salt
13:43 manifold joined #salt
13:47 mapu joined #salt
13:47 ajv joined #salt
13:51 tuxick ok, this thing really needs some work, this is pathetic
13:51 tuxick "Rendering SLS 'base:roles.mail-imap.mysql' failed: Jinja variable 'dict object' has no attribute 'imap-sql-users'"
13:51 tuxick it worked this morning
13:52 tuxick i edit 'something' and it blows up in this completely useless way
13:52 tuxick 'parse error somewhere in /srv/*'
13:58 Slimmons_ joined #salt
13:59 Rumbles joined #salt
14:00 hasues joined #salt
14:01 hasues left #salt
14:06 Okie joined #salt
14:06 Okie good morning...
14:06 ajv joined #salt
14:07 Okie got a question for those not sleeping
14:07 Okie trying to get some jinja working an i am pounding my head
14:07 AndreasLutro a common reaction
14:09 Okie have two jinja variables 1) {% set INSTANCEID= salt['cmd.run']('curl http://169.254.169.254/latest/meta-data/instance-id') %}   <-- works fine 2) {% set NAME= salt['cmd.run']("aws ec2 describe-instances --instance-ids INSTANCEID --query 'Reservations[].Instances[].[Tags[?Key==`Name`].Value[]]' --output text") %}   <-- this does not work.. with single quotes it just blows up and with double quotes it works but INSTANCEID variable is not b
14:09 Okie get around this
14:09 Okie Andreas, no doubt :\
14:09 AndreasLutro use ~ to concatenate strings and variables
14:10 AndreasLutro 'aws ec2 describe-instances --instance-ids ' ~ instance_id ~ ' --query ...'
14:10 Okie if that works that would be really sweet!
14:10 corichar joined #salt
14:10 AndreasLutro could also use + like in python but ~ handles type conversion and stuff automatically
14:16 keltim joined #salt
14:18 Rumbles joined #salt
14:25 irctc911 joined #salt
14:25 irctc911 hey everyone, do salt minions execute one job at a time?
14:26 DammitJim joined #salt
14:28 perfectsine joined #salt
14:28 edrocks joined #salt
14:30 keltim irctc911, pretty sure they do, for ex. in highstate the order is arranged and then executed
14:34 Ayo joined #salt
14:37 tuxick [salt.loaded.int.states.file][WARNING ][15485] Neither 'source' nor 'contents' nor 'contents_pillar' nor 'contents_grains' was defined, yet 'replace' was set to 'True'. As there is no source to replace the file with, 'replace' has been set to 'False' to avoid reading the file unnecessarily
14:37 tuxick another gem
14:38 tuxick "the file"
14:39 tuxick http://www.tuxick.net/softwarerules.html
14:45 DEger joined #salt
14:45 Brew joined #salt
14:48 ronnix joined #salt
14:50 bowhunter joined #salt
14:54 morissette joined #salt
15:01 berserk joined #salt
15:01 pass_by_value joined #salt
15:03 Okie @AndreasLutro thank for the help... had to do some more fiddling.... the curl instance id was grabing in curl progress and blowing things up.... so the concat'ing plus adding -s to my curls made work as smooth as butter
15:03 Okie appreciate the help
15:03 keltim tuxick, salt's error messages are horrible
15:03 whaity joined #salt
15:03 keltim in general
15:04 aharvey joined #salt
15:04 tuxick it's a sad joke
15:04 keltim debuging in general is extremely painful with saltstack
15:06 iceyao joined #salt
15:06 keltim despite that, I still prefer it to the alternatives
15:06 tuxick well i'd rather opt for ansible
15:07 tuxick but $managed did some googling
15:07 tuxick manager
15:07 tuxick and the fact redhat bought ansible is a better reason to avoid it
15:08 keltim saltstack is still a baby, development is so furious it causes a lot of issues and pain. I wish sometimes they'd call a moratorium on features and just fix bugs and documentation, for about a year
15:10 tuxick i'm supposed to get this company on saltstack, and we do quite some hosting :)
15:10 tuxick so let's hope i don't end up running after fast moving target
15:13 impi joined #salt
15:13 jimklo joined #salt
15:14 spuder joined #salt
15:19 Ahlee We've been asking for that since 0.13.something
15:25 noraatepernos joined #salt
15:28 edrocks joined #salt
15:28 Ahlee i can never remember how to do something if a file doesn't exist
15:28 Ahlee anybody want to remind me
15:29 tuxick meh, am i really supposed to indent data used for contents_pillar?
15:30 tuxick then i definitely demand a way to simply serve file instead
15:30 tuxick this is unworkable
15:32 babilen tuxick: contents_pillar simply refers to pillars and you can use many different modules for serving that data: https://docs.saltstack.com/en/latest/ref/pillar/all/
15:34 babilen Besides you can easily write your own Pillar modules in Python as all Salt cares about is that it gets a Python dictionary with the data in the end.
15:34 Slimmons_ Is the preferred method of getting a git repo onto your minions, to use file.managed to put the ssh-key onto the minion, then use salt.states.git to clone the repo?
15:34 Slimmons_ also, a good example of that, other than the docs.saltstack.com example would be greatly appreciated
15:35 babilen Slimmons_: Yeah, that would be it. I use the users-formula for managing suitable user(s) and their data/files
15:36 Slimmons_ thanks!
15:36 babilen You typically also want https://docs.saltstack.com/en/latest/ref/states/all/salt.states.ssh_known_hosts.html
15:37 Slimmons_ awesome, I'll set that up too.  I'm sure I'll be back in a bit with more questions :)
15:37 babilen sure
15:46 zero_shane joined #salt
15:46 amcorreia joined #salt
15:47 keltim joined #salt
15:48 pass_by_value joined #salt
15:55 morissette joined #salt
15:57 m82labs joined #salt
15:59 om joined #salt
16:02 Ahlee babilen: write me a state that only executes if a file doesn't exist, k thx
16:02 Ahlee if ! [-f /tmp/foo]; file.managed: /tmp/bar/baz;
16:03 Ahlee oh, and to be the actual hell i'm in, if not (dir c:\shoot\me.txt); file.managed: in_the_head
16:05 m82labs I am struggling to work with the salt mine. I followed the example in the docs, but if I try to get anything from the mine, nothing is returned. If I run a mine.update across my minions, all I see is 'None'. What can I check to make sure things are as they should be?
16:05 babilen Ahlee: - unless: test -f /path/to/your/file
16:06 Ahlee bah, that means i'll need to spin up powershell on winders
16:06 m82labs I should mention as well, when I run a 'pillar.items' I am seeing my mine functions listed for my minions.
16:06 Ahlee babilen: thanks
16:07 babilen m82labs: I guess we would have to see your configuration, commands and their output on a pastebin such as http://refheap.com, http://paste.debian.net, https://gist.github.com, http://sprunge.us, …
16:09 DEger joined #salt
16:14 m82labs babilen, http://paste.debian.net/752588/
16:14 XenophonF joined #salt
16:14 tberch8 joined #salt
16:15 Trauma joined #salt
16:16 max42 joined #salt
16:17 babilen m82labs: "salt 'salt' mine.get 'G@type:blog-proxy' 'network.ip_addrs'" and "salt 'salt' mine.get 'proxy1' 'network.ip_addrs'" ?
16:17 babilen Furthermore I wouldn't recommend to hardcode interfaces, but mine by cidr and to define meaningful mine function aliases
16:17 babilen bbl
16:18 max42 Hey, I am looking at the documentation for salt.states.iptables and there is no option for specifying an interface in neither of the release versions. I tried to specify - interface: lo without the desired effect. Am I missing something?
16:21 btorch is there a way for salt to hide/exclude the minion id from the cli output ? like I'm trying to collect several grains from all minions including fqdn and using json out
16:22 pass_by_value joined #salt
16:22 btorch would like to avoid {minionid: { grain:value .. grain:value }} and just get back { grain:value .. grain:value }
16:22 edrocks joined #salt
16:23 btorch still on 2015.5.3 (sorry :)
16:25 noraatepernos joined #salt
16:28 onlyanegg joined #salt
16:29 writtenoff joined #salt
16:30 max42 solved. The interfaces are calles {in,out}-interface:
16:30 tpaul joined #salt
16:33 schemanic joined #salt
16:33 schemanic Hello
16:33 schemanic I'm writing a state file for a masterless windows minion
16:34 schemanic and I need to execute a cmd.run to return a true/false value from the system, which I want to pass to an -unless under cmd.run
16:34 schemanic does that make sense?
16:38 ajv joined #salt
16:38 ageorgop joined #salt
16:40 morissette joined #salt
16:41 amcorreia joined #salt
16:44 babilen schemanic: I don't think so
16:44 babilen It sounds as if you want to use the "name: ..." argument as "- unless: ..." argument directly
16:44 babilen (the name argument of the cmd.run you refer to)
16:45 edrocks joined #salt
16:50 ajw0100 joined #salt
16:51 flowstate joined #salt
16:52 onlyanegg joined #salt
16:54 onlyanegg joined #salt
16:56 flowstate joined #salt
17:01 flowstate joined #salt
17:02 kevinquinnyo joined #salt
17:03 aharvey joined #salt
17:04 Brew joined #salt
17:07 flowstate joined #salt
17:08 tberch8 joined #salt
17:10 s_kunk joined #salt
17:10 edrocks joined #salt
17:13 dyasny joined #salt
17:14 ronnix joined #salt
17:16 flowstate joined #salt
17:17 pass_by_value joined #salt
17:18 llua left #salt
17:18 llua joined #salt
17:19 onlyanegg joined #salt
17:20 zero_shane joined #salt
17:22 flowstate joined #salt
17:25 ajw0100 joined #salt
17:25 linjan joined #salt
17:26 pass_by_value joined #salt
17:26 Guest44508 joined #salt
17:28 flowstate joined #salt
17:31 whaity joined #salt
17:37 flowstate joined #salt
17:39 fracklen joined #salt
17:42 om joined #salt
17:43 morissette joined #salt
17:52 jimklo joined #salt
17:56 druonysus joined #salt
17:57 bearonis joined #salt
17:58 dyasny joined #salt
18:02 bfig joined #salt
18:02 bfig_ joined #salt
18:18 Slimmons_ I'm using ssh_known_hosts:, and I'm specifying a key.  Every time I run the state, it's adding the key again, so I have several lines that are the same.  I know in pkg.installed you can specify that you don't want to keep adding it to the file with refresh: True (I think).  Is there a way to do this?
18:24 cliluw joined #salt
18:25 zero_shane joined #salt
18:29 babilen Slimmons_: https://github.com/saltstack/salt/issues/13484 -- Specify the host and, optionally, fingerprint as a workaround maybe?
18:29 saltstackbot [#13484][OPEN] ssh_known_hosts.present appends public key when that key already exists in the known_hosts file | salt version: 2014.1.5...
18:30 babilen Slimmons_: Which version of salt are you using?
18:33 Slimmons_ boron
18:33 Slimmons_ 2016.3.1
18:33 tberch8 joined #salt
18:34 Slimmons_ I'll try specifying the host
18:35 babilen (and then don't provide the key)
18:36 Slimmons_ wait, so add the - name, and - fingerprint, and remove key.
18:37 babilen Just "- name" should work, but doesn't offer any security
18:37 babilen Try mixing in fingerprint and see how that behaves.
18:37 Slimmons_ <----noob level, how do I get the fingerprint?
18:38 Slimmons_ sry, that was easier to google than I thought it would be
18:38 Slimmons_ let's go back in time and pretend I didn't ask
18:39 babilen Did you say anything? ;)
18:41 DarkKnightCZ joined #salt
18:41 edrocks joined #salt
18:44 tberch8_ joined #salt
18:49 noraatepernos joined #salt
18:50 Slimmons_ Hmm, unable to receive remote host key.....If I'm using the ecdsa key, then I would want the fingerprint for the ecdsa_key.pub key correct?  I would imagine so, just double checking
18:50 duncanmv joined #salt
18:56 Slimmons_ I got the fingerprint of the .pub key that I was trying to add under the key: value, and used that, with the name, and that didn't fix anything.  It won't add it at all that way.  Which, I'm not sure how it would.  I'm guessing it rebuilds the file based on the fingerprint, but that doesn't appear to be working.
18:57 irctc921 joined #salt
19:07 druonysus joined #salt
19:09 mohae joined #salt
19:15 ronnix joined #salt
19:17 SheetiS joined #salt
19:19 toanju joined #salt
19:23 Slimmons joined #salt
19:26 schemanic joined #salt
19:26 weylin joined #salt
19:32 debian112 joined #salt
19:32 manji joined #salt
19:36 Praematura joined #salt
19:36 tberch8 joined #salt
19:37 druonysus joined #salt
19:39 hoonetorg i hv problems using salt-cloud with opennebula
19:39 hoonetorg i hv problems using salt-cloud with opennebula
19:39 hoonetorg salt-cloud -f list_nodes opennebula
19:39 hoonetorg [ERROR   ] There was an error running the function: 'NoneType' object has no attribute 'text'
19:40 hoonetorg anybody here using it???
19:40 hoonetorg it is/was working fine on my test installation on my laptop
19:41 hoonetorg but not on stage system
19:41 hoonetorg same opennebula version (4.14.2)
19:41 hoonetorg salt version 2016.3.1 (tried with 2015.5. too)
19:41 hoonetorg laptop installation uses nfs/qcow2
19:41 hoonetorg stage system uses ceph
19:42 hoonetorg that's the only difference i know
19:42 krymzon joined #salt
19:53 schemanic Hi. I dont have access to a mac, but I need to know what the os_family grain is. Where can I find this?
19:54 DEger joined #salt
19:58 LtLefse not on a mac right now either but looking at grains.py I'd say it's 'MacOS'
19:59 LtLefse grains/core.py that is
20:02 edrocks joined #salt
20:02 mward What's the best way to use salt to upgrade all packages *except* a specific glob?  i.e. "yum update --exclude=kernel*"?
20:04 schemanic thanks LtLefse
20:05 tberch8 joined #salt
20:08 Ayo joined #salt
20:10 manji joined #salt
20:13 druonysus joined #salt
20:15 om joined #salt
20:23 schemanic hey, whats the best way to automatically configure the minion file on a masterless minion?
20:23 schemanic For example, the minion has to be set to local and be configured with the id of the minion. I'd like salt to render this file, but it seems like a chicken/egg problem
20:24 tberch8 joined #salt
20:33 flowstate joined #salt
20:38 tberch8_ joined #salt
20:44 ajw0100 joined #salt
20:55 tberch8 joined #salt
20:57 flowstate joined #salt
20:57 dendazen joined #salt
20:57 edrocks joined #salt
20:58 schemanic Where does salt get installed on mac os?
21:00 om joined #salt
21:15 keimlink joined #salt
21:16 Brew joined #salt
21:17 aharvey joined #salt
21:18 jfindlay it goes into /opt/salt if you're using the package from repo.saltstack.com
21:32 manji joined #salt
21:36 onlyanegg joined #salt
21:38 GreatSnoopy joined #salt
21:41 tberch8_ joined #salt
21:42 Zhen joined #salt
22:00 tberch8 joined #salt
22:04 smcquay I've got a pillar_roots specified, key'd by "foo", configured some pillar data in there, ran saltutil.sync, and pillar.items and I don't see it showing up. I've tried env=foo, saltenv=foo to both sync and items. any ideas how to get this change to take?
22:11 linjan_ joined #salt
22:12 aharvey pillar_root is spec’d, you’ve restarted the salt master?  On your minion that you want to configure, run salt ‘minion-name’ pillar.items and check against what -does- show up.  If it does not, chances are you have not matched the minion w/a value
22:12 flowstate joined #salt
22:13 smcquay aharvey: thanks for the pointers. checking each of those in turn.
22:13 aharvey Sure thing - and if you’re still hitting a hangup, feel free to redact some specific info and put your code up in a paste on gist.github.com
22:14 smcquay so when you say on the minion, did you mean salt-cal?
22:16 smcquay aharvey: when I run salt-call pillar.items I get "Specified SLS 'simcloud.vg3.cdh' in environment 'base' is not available on the salt master
22:17 aharvey Yep your salt master does not find what you’re wanting it to - is your fileserver_backend set to roots?
22:17 aharvey my bad - yes salt-call
22:17 smcquay yes, roots.
22:19 tberch8 joined #salt
22:20 flowstate joined #salt
22:23 tberch8_ joined #salt
22:23 notnotpeter joined #salt
22:24 kevinquinnyo1 joined #salt
22:26 ahammond should the minion on a syndic connect to the local master or to the master of masters?
22:28 debian112 joined #salt
22:31 rem5 joined #salt
22:33 zero_shane joined #salt
22:35 zenlot6 joined #salt
22:42 spuder joined #salt
22:43 amcorreia joined #salt
22:51 bantone is there a salt module that allows me to push a local file (from a salt master) to a bunch of minions
22:52 bantone nm
22:55 debian112 joined #salt
23:01 tberch8 joined #salt
23:02 om joined #salt
23:06 DEger joined #salt
23:10 edrocks joined #salt
23:12 Muchoz joined #salt
23:13 patrek joined #salt
23:20 flowstate joined #salt
23:22 Muchoz_ joined #salt
23:31 tpaul joined #salt
23:31 druonysus_ joined #salt
23:35 tberch8 joined #salt
23:39 p3rror joined #salt
23:49 onlyanegg joined #salt
23:50 onlyanegg joined #salt
23:52 Muchoz_ joined #salt

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