Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-11-17

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

All times shown according to UTC.

Time Nick Message
00:00 glyf joined #salt
00:02 nethershaw joined #salt
00:14 cads joined #salt
00:19 genediazjr joined #salt
00:22 uber joined #salt
00:24 genediazjr joined #salt
00:28 ezheidtmann joined #salt
00:30 patarr joined #salt
00:30 patarr joined #salt
00:35 evan_ joined #salt
00:37 uber joined #salt
00:42 TheThing_ joined #salt
00:50 snuffeluffegus joined #salt
00:54 teebes joined #salt
00:55 TheThing joined #salt
01:03 aqua^mac joined #salt
01:05 otter768 joined #salt
01:12 ssteinerX left #salt
01:12 TheThing_ joined #salt
01:14 NV hmm, cp.get_file_str used to support http basic auth with https://user:pass@host style notation, but in 2014.7.0 that no longer appears to be the case?
01:14 NV am I doing something silly?
01:20 thayne joined #salt
01:24 swa_work joined #salt
01:33 srage joined #salt
01:35 genediazjr joined #salt
01:49 rypeck joined #salt
01:58 genediazjr joined #salt
01:59 cads joined #salt
02:10 ezheidtmann joined #salt
02:11 elfixit joined #salt
02:15 genediazjr joined #salt
02:18 malinoff joined #salt
02:25 MTecknology I need a new server. What should it do?
02:25 aurynn serve.
02:25 Eugene It should vend! http://itvends.com/
02:27 MTecknology I don't need anything like ldap at home. I don't need a db server, but have all of the states for it. I have a minecraft server that I don't even use.
02:28 Eugene I've got a minecraft on that domain, too. It actually gets some use
02:28 Eugene Didn't bother writing a state for it tho
02:29 MTecknology I have eleven servers, 100% managed via salt. They're all running on the same host. I'm using almost zero free ram
02:29 MTecknology that last one... ignore it
02:30 MTecknology I'm using <50% RAM and haven't added any new servers for over a year.
02:30 Eugene Definitely minecraft, then
02:30 MTecknology already have mc, though
02:31 MTecknology mc.lustfield.net; can give you access if you're bored
02:31 Eugene Not bored enough
02:31 MTecknology :P
02:32 * Eugene goes back to fiddling with lvm
02:32 MTecknology fiddle with lvm? What can you do to play around with it?
02:33 Eugene Turning a 2TB disk into a RAID-1 pair
02:33 Eugene I'm nearly done, waiting on the resync op now
02:34 Eugene (add new disk, partition as linux raid, create degraded md, create new PV & VG, move LVs, tear down old VG & PV, repart as raid, add to md0, wait)
02:35 Eugene Sometime this week I'll move it from on top of the lego table to underneath it, all fancy-like
02:39 dude051 joined #salt
02:41 TyrfingMjolnir joined #salt
02:45 MTecknology Eugene: a single disk being split into two as a raid mirror?...
02:46 MTecknology ooooh... got it
02:46 MTecknology I have two hardware raid 1 disks and lvm on top of those for my vm host, each are 1TB disks.
02:47 MTecknology I have a fifth 1TB disk that sits as a backup
02:51 MTecknology I should get some 3TB drives (would cost nothing) and use them instead, but... too much work
02:59 TyrfingMjolnir joined #salt
03:08 rm_jorge joined #salt
03:15 tkharju joined #salt
03:23 genediazjr joined #salt
03:37 genediazjr joined #salt
03:39 nitti joined #salt
03:42 jonatas_oliveira joined #salt
03:43 racooper joined #salt
03:51 ramishra joined #salt
03:52 MugginsM joined #salt
03:59 genediazjr joined #salt
04:13 jeddi joined #salt
04:15 gildegoma joined #salt
04:17 davi_____ joined #salt
04:17 davi_____ joined #salt
04:24 TheThing joined #salt
04:28 tkharju joined #salt
04:30 yomilk joined #salt
04:34 davi_____ joined #salt
04:42 thayne joined #salt
04:43 smcquay joined #salt
05:01 aqua^mac joined #salt
05:03 genediazjr joined #salt
05:04 tkharju joined #salt
05:05 tkharju joined #salt
05:07 TTimo joined #salt
05:16 cads joined #salt
05:18 jalaziz joined #salt
05:21 cpowell joined #salt
05:23 Reiner0319 joined #salt
05:24 tkharju joined #salt
05:27 aqua^mac joined #salt
05:27 rob____ joined #salt
05:29 yomilk_ joined #salt
05:31 pyxze joined #salt
05:32 jonatas_oliveira joined #salt
05:32 pyxze left #salt
05:43 thayne joined #salt
05:47 nnion joined #salt
05:52 ramteid joined #salt
06:00 felskrone joined #salt
06:19 bhosmer joined #salt
06:20 genediazjr joined #salt
06:23 linjan joined #salt
06:27 kermit joined #salt
06:29 __gotcha joined #salt
06:31 popfrog joined #salt
06:32 yomilk joined #salt
06:33 gildegoma joined #salt
06:45 jhauser joined #salt
06:49 catpigger joined #salt
06:53 oyvjel joined #salt
07:00 colttt joined #salt
07:06 genediazjr joined #salt
07:09 yomilk_ joined #salt
07:33 ]V[ joined #salt
07:34 b1nar1_ joined #salt
07:37 slav0nic joined #salt
07:37 slav0nic joined #salt
07:37 tomspur joined #salt
07:43 stephanbuys joined #salt
07:44 stephanbuys hi all, it there a site for a nightly build of the Windows salt installer?
07:45 arapaho_ joined #salt
07:47 arapaho joined #salt
07:49 flyboy joined #salt
07:58 gildegoma joined #salt
07:58 murrdoc joined #salt
08:06 oyvjel1 joined #salt
08:14 lcavassa joined #salt
08:19 chiui joined #salt
08:22 oldmantaiter joined #salt
08:23 akafred joined #salt
08:27 agend joined #salt
08:28 __gotcha joined #salt
08:29 alexr__ joined #salt
08:29 genediazjr joined #salt
08:33 slafs joined #salt
08:33 slafs left #salt
08:34 bhi joined #salt
08:37 superted666 joined #salt
08:46 PI-Lloyd joined #salt
08:47 agend joined #salt
08:49 intellix joined #salt
08:57 dRiN joined #salt
09:03 JlRd joined #salt
09:04 oyvjel joined #salt
09:07 ckao joined #salt
09:10 ProT-0-TypE joined #salt
09:11 glyf joined #salt
09:12 stephanbuys1 joined #salt
09:20 CeBe joined #salt
09:27 viq meh, still no debian packages
09:31 ramishra_ joined #salt
09:32 ramishra joined #salt
09:35 che-arne joined #salt
09:41 ramishra_ joined #salt
09:42 genediazjr joined #salt
09:52 N-Mi_ joined #salt
09:52 jrluis joined #salt
09:55 aqua^mac joined #salt
09:56 horace_ joined #salt
09:58 johtso_ joined #salt
10:00 shookees joined #salt
10:09 giantlock joined #salt
10:16 karimb joined #salt
10:17 ysiad joined #salt
10:19 glyf joined #salt
10:20 Olias joined #salt
10:24 wintamute joined #salt
10:25 superted666 Would having the zeromq v2 package installed on a minion cause any conflicts / issues with saltstack?
10:25 superted666 i know it should be 3.+ for salt but i don't think the clients need the 'zeromq' package at all do they?
10:26 genediazjr joined #salt
10:30 slafs joined #salt
10:33 zemm joined #salt
10:36 shorty_mu joined #salt
10:37 pressureman joined #salt
10:44 Roee joined #salt
10:44 Roee Hi all
10:45 Roee Have a ques may someone can help
10:46 Reiner03110 joined #salt
10:46 Roee i trying to run a state with  cmd.run that suppose to perform running of script name: ./installEnv.sh
10:48 neo_ joined #salt
10:48 neo_ hi everyone
10:48 neo_ I have this error when I try to debug salt-master:
10:48 neo_ Traceback (most recent call last):   File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1172, in process_virtual     virtual   File "/usr/lib/python2.7/dist-packages/salt/utils/__init__.py", line 1911, in warn_until     salt_version=_version_.formatted_version RuntimeError: The warning triggered on filename '/usr/lib/python2.7/dist-packages/salt/loader.py', line number 1172, is supposed to be shown until version 2014.1.0 (Hydro
10:50 neo_ ... Current version is now 2014.7.0 (Helium). Please remove the warning.
10:50 viq Roee: seems like you didn't finish your question
10:51 Roee the output that i'm getting from running this is  Comment: Command "./installEnv.sh" run
10:51 Roee Result: False
10:51 viq Roee: did you set the dir in which to run that command?
10:51 Roee stderr: sudo: sorry, you must have a tty to run sudo
10:51 viq ah
10:52 viq Roee: yeah, you need to set !requiretty in /etc/sudoers (edit using visudo), either globally or for that user
10:52 Roee thanks viq
10:53 Roee what do you mean "either globally or for that user"
10:53 viq Roee: google it first to understand why and what are the implications
10:53 Roee ok i'll check...
10:53 viq Roee: sudo settings, I suggest you read the sudo documentation
10:53 Roee yep...
10:54 Roee there is no option to run this withour changing the sudo ?
10:54 Roee *without
10:54 viq Roee: you can change your script to not use sudo
10:55 Roee you mean inside the script ?
10:55 viq Since salt by default will run the script as root (or whatever user you tell it to). If as root you could use su instead
10:55 viq yes
10:56 Roee ahh ok... thank you viq ! i will check it and revert if still have problems...
10:57 alexr__ joined #salt
10:59 zooz joined #salt
11:11 ramteid joined #salt
11:12 faust joined #salt
11:12 zooz joined #salt
11:16 fredvd joined #salt
11:21 saltuser joined #salt
11:22 peters-tx joined #salt
11:22 rubenb tmux att -d
11:26 keyser joined #salt
11:27 iwishiwerearobot joined #salt
11:28 Mso150 joined #salt
11:30 tld_wrk joined #salt
11:31 glyf joined #salt
11:32 genediazjr joined #salt
11:36 tld left #salt
11:43 bersace joined #salt
11:44 bersace Hi, is there a way to have something like "else" in top.sls file matching ?
11:44 bersace i'm stuck with pasting PCRE :/
11:45 viq bersace: what exactly are you trying to do?
11:47 ramteid joined #salt
11:53 yomilk joined #salt
11:53 jonatas_oliveira joined #salt
11:56 toplessninja joined #salt
11:57 toplessninja so, tried to update from the epel 7 repo, got this error
11:57 toplessninja error: unpacking of archive failed on file /usr/lib/python2.7/site-packages/salt-2014.7.0-py2.7.egg-info: cpio: rename
11:57 toplessninja anyone familiar with this?
11:57 toplessninja or is this an repo error?
11:57 ramteid joined #salt
11:58 wpot joined #salt
11:58 viq toplessninja: sounds like package/repo error
11:59 toplessninja thought so, they never make it easy :)
12:02 ajolo joined #salt
12:03 toplessninja ok, fixed it. somehow the file /usr/lib/python2.7/site-packages/salt-2014.1.13-py2.7.egg-info was not removed.
12:04 toplessninja after that, it complained: error: unpacking of archive failed on file /usr/lib/python2.7/site-packages/salt-2014.7.0-py2.7.egg-info: cpio: rename
12:04 toplessninja so moved that too, et voila.
12:06 diegows joined #salt
12:18 cpowell joined #salt
12:21 bhosmer joined #salt
12:31 krak3n` joined #salt
12:32 krak3n` Hey guys, does updating the /etc/salt/master.d/reactor.conf require a salt master restart
12:32 ndrei joined #salt
12:32 azneita joined #salt
12:32 azneita joined #salt
12:34 tristianc joined #salt
12:34 JlRd joined #salt
12:35 glyf joined #salt
12:38 hobakill joined #salt
12:40 alanpearce joined #salt
12:43 bhosmer joined #salt
12:48 bersace viq: i need to determine whether the minion is a ntp server xor client based on hostname.
12:51 diegows joined #salt
12:54 wincus joined #salt
12:58 TTimo joined #salt
13:03 thawes joined #salt
13:04 flyboy82 hey guys, quick one. Is there any conceivable way to use a variable in an encapsulated for loop? eg.  {% for DATA in pillar['blah'] %}{% for host, info in salt['mine.get']('roles:DATA', 'grains.item', expr_form='grain').items() %} . . . {% endfor %}{% endfor %}
13:05 borgstrom joined #salt
13:05 TheThing joined #salt
13:06 flyboy82 I know I can use varname as is when outside of salt specific functions, but I need to do it within the mine.get arguments...
13:17 viq bersace: compound matching? Or assign grains maybe?
13:17 tmh1999 joined #salt
13:19 spo0nman joined #salt
13:19 spo0nman Hello!
13:20 spo0nman I'm trying to send and capture an event  using  salt-call event.fire_master
13:20 spo0nman I don't see it in on the master
13:20 diegows joined #salt
13:20 ze- is there a "comment" field on states ? (a field that would just be ignored, but without any warning)
13:24 viq ze-: for yaml # is a comment
13:25 flyboy82 ze: for jinja you have to enclose in {#  #}
13:25 Damoun joined #salt
13:26 viq Looks like a robot ;)
13:26 flyboy82 heh
13:27 yomilk joined #salt
13:28 Roee Hi Again...
13:28 ze- ok, i'll replace my comment: by # at some point. Thought it would have been better to have the string within the object before calling in case of debug.
13:28 Roee I built a state that first xtracting a tar file
13:28 Roee and then runing a .sh script from this tar
13:29 Damoun joined #salt
13:29 Roee the problem is that when runing the whole state i'm getting an error that the script doesnt run as this is no longer exsist
13:30 Roee is there a way to define the states, that the running state will not run till the tar -xvf will finished ?
13:32 babilen Roee: Mind pasting your state and the error to http://refheap.com ? I guess that that would make it easier to understand what's going on.
13:32 flyboy82 Roee, check out "require"   you can require one state to run another. It's your bread and butter with salt states
13:33 babilen That would simply re-order states if they aren't in the right order (and states will fail if a required state failed earlier)
13:34 Roee thanks, i will try to paste my state in http://refheap.com
13:34 flyboy82 Roee said the "script run" state fails because the script hasn't been extracted yet by the "tar extraction" state
13:34 thayne joined #salt
13:35 babilen flyboy82: yeah, and I'm trying to understand what that means exactly. A require might, in fact, fix it, but is on magic cure for everything
13:36 Roee sorry i can't reach http://refheap.com , is there another option of how to show you my state ?
13:37 Reiner0316 joined #salt
13:37 Roee as for require - how can i define to not run till the tar -xvf has finished ?
13:37 diegows joined #salt
13:38 babilen Roee: Sure, http://paste.debian.net, https://gist.github.com, http://bpaste.net, ...
13:39 Roee paste.debian.net/132136
13:39 Roee thanks babilen...
13:40 botheaj joined #salt
13:41 marv__ Guys, any idea on how the salt master (in particular salt-key) names the keys sent by its minions? For me it seems that it uses the PTR record of the minions IP, which might be a NAT gateway or whatever. From my understanding it should use the minion ID (which is set correctly)
13:41 babilen Roee: http://docs.saltstack.com/en/latest/ref/states/all/salt.states.archive.html
13:43 Roee thank, i actully find a way to extract the file
13:44 genediazjr joined #salt
13:44 Roee the problem is that the next state (Install Tomcat) is trying to execute the installEnv.sh before the xtracting is finished
13:46 intellix joined #salt
13:48 viq marv__: as in the minion IDs? It's the minion that sends the ID, and tries to base it on... gethostname() I think
13:48 viq Roee: you need to sprinkle "require" through there
13:49 viq Roee: http://docs.saltstack.com/en/latest/ref/states/requisites.html
13:50 viq marv__: http://docs.saltstack.com/en/latest/topics/tutorials/walkthrough.html#minion-id-generation
13:50 Reiner0317 joined #salt
13:50 marv__ viq: yeah, i saw that part about finding the minion id by getting its fqdn. This part seems to work fine for me
13:50 viq marv__: then I don't know what you're asking
13:51 marv__ viq: the key shows up as "123.123.123.123.our.upstream.provider" in `salt-key -L`, although the minion is "minion01.ourdomain.com"
13:51 viq marv__: that would be because your minion's ID is 123.123.123.123.our.upstream.provider
13:52 viq check /etc/salt/minion_id on your minion
13:52 Roee thank you viq  ! i will try this...
13:53 marv__ viq: great catch! I dindt know you could overwrite config settings via these files
13:53 viq marv__: be aware you will have to manually remove the old and accept the new IDs
13:53 marv__ wow however that ended up in there. Might be form salt-bootstrap guessing something
13:53 viq marv__: you could just remove that file and restart minion, and see what it will end up now
13:54 marv__ viq: yep, did that. Works as expected know! Thanks a lot!
13:54 viq marv__: that file will be written on minion startup if not present, with the value it thinks is correct, as based on the link I pasted
13:55 nitti joined #salt
13:57 zsoftich_ joined #salt
13:58 snuffeluffegus joined #salt
13:58 glyf joined #salt
13:58 thunder123321 joined #salt
13:58 thunder123321 left #salt
14:01 glyf joined #salt
14:01 vbabiy joined #salt
14:04 Roee viq - can I point the require to the previous state ? (Xtracting)
14:04 Damoun joined #salt
14:06 viq I'd say "have to", not "can" :P
14:07 Roee :)
14:08 Roee meant how can I... ? :)
14:09 viq here's an example for you http://paste.debian.net/132140/  (added lines 25-26)
14:10 BrendanGilmore joined #salt
14:10 miqui joined #salt
14:11 Setsuna666 joined #salt
14:14 srage_ joined #salt
14:14 CeBe joined #salt
14:17 beardo joined #salt
14:20 cpowell joined #salt
14:22 racooper joined #salt
14:22 perfectsine joined #salt
14:25 teebes joined #salt
14:25 mpanetta joined #salt
14:27 ajolo joined #salt
14:28 cleme1mp joined #salt
14:29 Roee viq thank you very much !
14:35 genediazjr joined #salt
14:36 jaimed joined #salt
14:41 TTimo joined #salt
14:42 lothiraldan joined #salt
14:45 TyrfingMjolnir joined #salt
14:48 toplessninja what is the escape character when doing a cmd.run on windows like so:  salt 'node' cmd.run "ipconfig|dir"
14:51 thawes joined #salt
14:53 toplessninja I've found that on a windows box, "ipconfig|dir" works, but not in saltstack. When executes in Saltstack, it skips the part up untill the '|" part and only executes the dir. So there's some interpretation happening in Saltstack that probably requires an escape character somehow.
14:55 viq_ joined #salt
14:55 viq_ joined #salt
14:57 linjan joined #salt
14:57 crote joined #salt
14:57 SheetiS joined #salt
14:58 toplessninja hmmm.... so it seems to be "ipconfig & dir" in windows. salt 'node' cmd.run "ipconfig & dir" works
14:59 toplessninja so nothings happening within saltstack. My bad
15:01 SheetiS1 joined #salt
15:02 TyrfingMjolnir joined #salt
15:05 glyf joined #salt
15:06 oldmantaiter joined #salt
15:08 housl joined #salt
15:08 ndrei joined #salt
15:09 _JZ_ joined #salt
15:10 ssteinerX joined #salt
15:12 tafa2 joined #salt
15:13 bhosmer joined #salt
15:15 TyrfingMjolnir joined #salt
15:20 thawes joined #salt
15:25 lothiraldan joined #salt
15:26 housl joined #salt
15:26 jaimed joined #salt
15:26 jngd joined #salt
15:27 jrluis1 joined #salt
15:29 thayne joined #salt
15:29 bfoxwell joined #salt
15:31 Damoun joined #salt
15:31 tempspace_ Mornin'
15:32 tempspace Just refactored every salt state I have...what could go wrong?
15:33 thawes joined #salt
15:34 nickg joined #salt
15:36 ramishra_ joined #salt
15:37 fe92 joined #salt
15:41 kermit joined #salt
15:46 kaptk2 joined #salt
15:47 pdayton joined #salt
15:48 conan_the_destro joined #salt
15:49 intellix joined #salt
15:50 bersace Hi, how to list available states ?
15:51 babilen cp.list_states
15:53 hasues joined #salt
15:53 jaimed joined #salt
15:53 glyf joined #salt
15:53 bersace babilen: thanks !
15:54 tehmasp joined #salt
15:54 babilen enjoy
15:55 hasues left #salt
15:56 tehmasp hey guys; i'm trying to setup gitfs remotes on my salt master config; i'm seeing a gitfs dir being created under the /var/cache/salt dir and under this gitfs dir i see a hashed dir representing the single gitfs remote entry i've added to my master config right now. my question is whether the default behavior by the gitfs plugin is to not checkout the files for the gitfs remote? I only see a .git dir inside the remote git dir i'm expec
15:57 tehmasp i'm using the latest stable release - salt-master 2014.1.13 (Hydrogen)
15:57 zekoZeko tehmasp: afaik this is all you need, checkout would only be for you, not salt.
15:59 alanpearce_ joined #salt
15:59 tehmasp so it should be good you're saying? i guess i was confused also since I cd'ed into that dir and did a 'git log' and got "fatal: bad default revision 'HEAD'" - but doing a 'git log --all' works - so if this is default behavior that's good to hear at least
16:01 alanpear_ joined #salt
16:01 marco__ joined #salt
16:01 thedodd joined #salt
16:01 SheetiS joined #salt
16:02 SheetiS joined #salt
16:03 __JZ__ joined #salt
16:03 marco__ howdy
16:03 marco__ I have a question on deploying keys to minions from a kickstart
16:03 marco__ any ideas :)
16:03 kirkbride joined #salt
16:04 pdayton left #salt
16:06 jalbretsen joined #salt
16:08 popfrogg joined #salt
16:08 babilen tehmasp: salt does not perform a complete clone, but simply caches files that were needed there
16:08 babilen marco__: The basic idea would be: Ask your question
16:08 tehmasp ok cool; good to hear; then i should be able to make use of my first gitfs formula against a minon; thanks guys!
16:12 alanpearce joined #salt
16:12 marco__ Sorry, I did not composed my question right, my question is what is the best method of deploying keys to a kickstart minion?
16:15 _JZ_ joined #salt
16:15 bfoxwell marco__, http://docs.saltstack.com/en/latest/topics/best_practices.html
16:15 superted666 Hey all, what's the current reccomended pyhon-zmq version for salt 2014.1.13?
16:16 superted666 Having issues with the python26-zmq-14.3.1-3.el5 package on RHEL5 giving us a "NameError: global name 'zmq' is not defined" error
16:16 bfoxwell and marco__ http://serverfault.com/questions/538218/deploy-ssh-key-from-master-to-minion-via-salt-pillars
16:17 tehmasp superted666: i've got pyzmq (14.0.1) running under that version of salt FWIW
16:17 tehmasp ubuntu 1404
16:17 bfoxwell superted666, https://github.com/saltstack/salt/blob/develop/zeromq-requirements.txt
16:18 superted666 bfoxwell: tehmasp So in theory python26-zmq-14.3.1-3.el5 should be fine, took it from the saltstack copr repo
16:18 perfectsine joined #salt
16:18 tehmasp i would hope so; i'm new to salt btw
16:19 superted666 Can't find python26-zmq-14.0.1 in any rhel repo's to try sadly
16:19 tehmasp what about w/ pip?
16:19 superted666 Were restricted to RHEL yum repo's in our environment
16:19 superted666 versioning / audit etc etc
16:19 tehmasp i hear ya; good times :)
16:20 bfoxwell trying downgrading the package a version superted666
16:21 lothiraldan joined #salt
16:21 superted666 bfoxwell: would love to but struggling to find older versions than python-zmq-14.3.1-1
16:21 bfoxwell =/
16:24 superted666 going back to 2.2 seems to work okay
16:25 bfoxwell awesome
16:28 bfoxwell so for the last day i've been piping everything npm related to awk (due to some unicode support issue causes errors), come to find out salt has an npm module -.-
16:29 beneggett joined #salt
16:30 tempspace So is 2014.7 official now? I got an email that said it was, but docs and channel say otherwise
16:31 StDiluted joined #salt
16:32 jonatas_oliveira joined #salt
16:32 SheetiS tempspace: I think the only wait is for packages to make it out to various channels now.  I know epel had 2014.7.0 late last week, for example.
16:32 glyf joined #salt
16:33 Shish_ my centos has 2014.7, my debian doesn't, so I guess the release is officially in-progress :P
16:34 abe_music joined #salt
16:35 Carlos44 joined #salt
16:36 tehmasp cool
16:36 tligda joined #salt
16:38 Carlos44 been trying to get gitFS working on Salt: 2014.7.0 with pygit2-0.21.4 and libgit2-0.21.2 to a gerrit repo and keep getting [salt.loaded.int.fileserver.gitfs][ERROR   ] Exception 'This transport isn't implemented. Sorry' caught while fetching gitfs remote ssh://
16:38 Carlos44 anyone seen this
16:39 Carlos44 i have followed the steps in the manual http://docs.saltstack.com/en/latest/topics/tutorials/gitfs.html but not working
16:39 ericof joined #salt
16:42 XenophonF joined #salt
16:42 XenophonF hey all just a quick FYI on deploying binary data via pillar
16:43 babilen Carlos44: Did you try setting "gitfs_provider: gitpython" and do you have python-git installed? If you are not trying to use GitPython then which transport are you using?
16:43 XenophonF you can load binary data into a pillar using something like key: !!binary "asdfasdfasdf"
16:44 XenophonF the stuff between the quotes needs to be base64-encoded
16:44 XenophonF for the gory details see http://yaml.org/type/binary.html
16:44 XenophonF then you can use the pillar with a file.managed state via contents_pillar
16:44 babilen ugh
16:45 XenophonF you'll want to set contents_newlines to False as well
16:45 babilen Why don't you read the file directory from the harddrive and write a simple pillar in Python?
16:45 XenophonF it's easier for me to feed a file to "openssl base64" than it is to write a simple pillar in Python
16:45 Carlos44 babileb: gitfs_provider is set to gitfs_provider: pygit2 as per docs i tired gitfs_provider: gitpython but auth was not supported
16:46 babilen Carlos44: So, do you have pygit2 installed?
16:46 babilen XenophonF: Taht pillar would be trivial
16:46 Carlos44 babilen: yes got it installed
16:46 XenophonF babilen: not for me
16:46 babilen And you restarted the master after doing that?
16:46 Carlos44 yes
16:47 babilen XenophonF: Okay, I will file a bug and give some examples in there. I'll ping you later/in due course. I'm moving house and am, therefore, slightly preoccupied ;)
16:47 b1nar1 joined #salt
16:47 XenophonF ideally we would use pillar:// URIs
16:47 XenophonF instead of reading files into dicts
16:48 XenophonF and no worries babilen, take your time
16:48 tristianc joined #salt
16:50 ridd joined #salt
16:50 mens joined #salt
16:50 ridd good day gents and gentettes
16:51 ridd running into a strange exception when running the latest 2014.7.0 salt-call on OSX 10.9.5
16:51 ridd was wondering if anyone has run into that and/or knows what it's about
16:51 ridd it occurrs on all pkg.installed states
16:51 ridd TypeError: list indices must be integers, not str
16:53 ridd also relevant, this is not something we get on 10.9.4 running the same states
16:53 glyf joined #salt
16:55 karimb joined #salt
16:56 bhosmer joined #salt
17:01 carmony if you installed a salt-master with salt-bootstrap, is running the latest bootstrap a good was to update it to the latest? /cc @basepi
17:03 lothiraldan joined #salt
17:03 ekristen joined #salt
17:04 Carlos44 babilen: any other ideas?
17:06 dooshtuRabbit joined #salt
17:07 hal58th joined #salt
17:09 glyf joined #salt
17:14 iggy carmony: should work fine
17:14 iggy ridd: paste the full error/traceback and the associated states
17:16 beneggett joined #salt
17:16 Flusher joined #salt
17:17 zlhgo joined #salt
17:19 lothiraldan joined #salt
17:19 KyleG joined #salt
17:19 KyleG joined #salt
17:20 muckmuck joined #salt
17:21 arthabaska joined #salt
17:21 renoirb Hi all!!
17:22 renoirb Any recommendations on how to install python-etcd with saltstack 2014.7   under Ubuntu 14.04?
17:22 jonatas_oliveira joined #salt
17:23 babilen "python-etcd: \n  pkg.installed" ?
17:23 babilen Carlos44: No, not really. I have never used pygit2
17:24 aparsons joined #salt
17:27 renoirb right babilen, but Ubuntu 14.04 doesn´t have it :/
17:27 renoirb :)
17:27 b1nar1 joined #salt
17:28 muckmuck I have a convoluted salt process I'm trying to work out. On several minons I want to use the command line to execute a runner,  In the runner script I have a .cmd function that is using the  mysql returner. I would like that .cmd to actuall run on a single minion because it is the only one that has access to the db.
17:29 smcquay joined #salt
17:29 renoirb so far, babilen, i´ve come across to use `pip.installed` instead. https://gist.github.com/renoirb/788885978f7dd504ee66
17:29 lothiraldan joined #salt
17:29 renoirb But it feels dirty and it breaks in my face for other dependencies. Gotta find better way.
17:31 felskrone joined #salt
17:33 micah_chatt joined #salt
17:33 RedundancyD joined #salt
17:33 troyready joined #salt
17:38 ekristen hrm is seems that docker.absent isn’t destroying the conatiner
17:40 gildegoma joined #salt
17:41 desposo joined #salt
17:42 ridd iggy: http://pastebin.com/ZeGw30R5
17:42 ridd the exception seems to go away when forcing brew to install 2014.1.13
17:42 ridd however there is an additional exception generated when creating users
17:42 ridd which is present on both versions
17:43 ridd 2nd exception: http://pastebin.com/rwJwg8x8
17:44 glyf joined #salt
17:44 ekristen basepi: if I need to submit a patch, which branch should I be doing it against?
17:45 ekristen the docker.absent code doesn’t match its documentation
17:45 ekristen should I do it against dev or the 2014.7 branch"
17:45 iggy dev
17:46 Carlos44 anyone get gitFS with auth working on Salt: 2014.7.0?
17:46 wendall911 joined #salt
17:47 iggy ridd: what about the actual states that are causing this?
17:48 ekristen hrm never mind seems like it is fixed in the dev branch :/
17:50 ridd sure just a sec
17:50 RedundancyD joined #salt
17:52 ridd if the question is, is it trying to set the user, the answer is yes, I did see there was a bug open relating to that but wasnt sure whether that had been committed as part of the release for 2014.7.0 or not
17:53 ridd so this is the state for the first exception : http://pastebin.com/D3KjC8Ta
17:54 ridd this is the exception for the second user.present exception: http://pastebin.com/9aiY3cMv
17:54 ridd I'm guessing the exception is coming from the - empty_password: True setting, but not sure
17:54 Reiner0317 left #salt
17:55 ridd not entirely sure what might have changed from 10.9.4 to 10.9.5 to cause this though, as this state (the user.present) is working fine on 10.9.4
17:55 muckmuck is there a call I can use in a runner to execute a run.cmd with a returner on a minion
17:56 iggy ridd: what is in grains['os'] on that host? (salt-call -g or salt 'host' grains.item os)
17:58 badon joined #salt
17:58 glyf joined #salt
17:58 murrdoc joined #salt
17:58 ericof joined #salt
17:59 ndrei joined #salt
17:59 rmnuvg joined #salt
17:59 aparsons_ joined #salt
18:00 forrest joined #salt
18:01 ridd http://pastebin.com/g47ek1vR
18:02 ridd I'm running 2014.1.13 at the moment as I tried downgrading to see if that will fix any of the exceptions
18:02 iggy everything looks fine
18:02 ridd downgrading did fix the pkg.installed exception, but not the user.present ones
18:03 ridd yeah I couldn't find anything glaringly wrong, and this is a fresh OSX install so it's had nothing done to it that could cause problems when salting
18:05 aparsons joined #salt
18:06 faust joined #salt
18:10 alanpearce joined #salt
18:12 alanpearce_ joined #salt
18:13 rap424 joined #salt
18:13 otter768 joined #salt
18:14 basepi ekristen: if it's a bug, then 2014.7 branch. If it's a feature, develop branch.
18:14 Ahlee whiteinge: SYN
18:15 ekristen basepi: well I’d consider it a bug, because documentation says one thing, the code does another, but it has already been fixed in the develop branch
18:15 ekristen so not sure what the best course of action is?
18:15 shaggy_surfer joined #salt
18:15 basepi If you can find the relevant commit, we can backport it.
18:16 basepi Or you can just submit a pull request with the fixes yourself to the 2014.7 branch
18:17 j-saturne joined #salt
18:17 Blacklite joined #salt
18:19 hal58th joined #salt
18:19 ericof joined #salt
18:20 gngsk joined #salt
18:21 bhosmer joined #salt
18:22 b1nar1 joined #salt
18:24 Gareth morning morning
18:24 murrdoc so python request >1.0.0 is required now right
18:25 murrdoc http://packages.ubuntu.com/precise/python-requests precise only ships with 0.8.2.1
18:25 ekristen basepi: I’m looking at the diff right now, trying to figure out if the other changes in develop will cause problems
18:25 dstokes hey guys, i updated from 2014.7.0rc2 to latest stable and i'm seeing a bunch of errors now. missing sls', item not formed as a list etc
18:26 dstokes did we change the pillar state format requirements somewhere in the last couple rc's?
18:26 chiui joined #salt
18:26 co-dlk joined #salt
18:28 gngsk_ joined #salt
18:28 cbaesema joined #salt
18:29 whiteinge Ahlee: ACK
18:30 forrest whiteinge: what are you doing here? You're supposed to be out on assignment! :P
18:30 Ryan_Lane joined #salt
18:30 aw110f joined #salt
18:30 whiteinge Heh
18:30 whiteinge Sadface
18:30 Ahlee tsk tsk, that should be SYN/ACK
18:31 whiteinge Phone excuse?
18:31 druonysus joined #salt
18:31 druonysus joined #salt
18:32 Ahlee whiteinge: not sure if you saw, but 2014.7.0 master with 0.17.5 minions appears to work, but throws a good number of msgpack CRITICAL errors
18:32 Ahlee they don't, however, appear to stop execution
18:32 RedundancyD left #salt
18:32 whiteinge Huh
18:33 Ahlee I believe it will be 'functional enough' to allow me to run a state to upgrade the minions
18:33 pdayton joined #salt
18:33 Ahlee thought you'd like to know.
18:33 whiteinge Oh, nice.
18:33 whiteinge Thanks for the report.
18:34 TOoSmOotH joined #salt
18:34 Ahlee yeah, the return is winding up in my --returner (for linux hosts, didn't test winders yet), don't know if i'd try it without having a seperate returner defined
18:35 whiteinge Ahlee: do you have those errors pastebin-able? If it requires more than 1.2 seconds of your time, ignore the request.
18:35 renoirb Hi all
18:35 renoirb Documentation here http://docs.saltstack.com/en/latest/topics/installation/ubuntu.html doesnt work with ubuntu 14.04. It should be  libzmq3 python-zmq instead
18:36 Ryan_Lane renoirb: open an issue in github :)
18:38 pdayton joined #salt
18:40 renoirb Hi Ryan_Lane !
18:40 ekristen basepi: https://github.com/saltstack/salt/pull/18144
18:40 renoirb Searched the page, didn´t see any link to say *which* repo to use :)
18:41 renoirb Hey, Ryan_Lane, since I have you here!
18:41 renoirb Did you succeeded to install etcd w/ Salt Stack 2014.7 under Ubuntu.
18:41 renoirb ?
18:41 Ryan_Lane etcd is installed for us automatically by coreos
18:41 Ryan_Lane so, I haven't tried installing it
18:42 Ryan_Lane it's just a go app. you can compile it and install it as a binary
18:42 Ryan_Lane it's statically compiled
18:42 renoirb Ryan_Lane, not under Ubuntu. :(
18:43 Ryan_Lane yes, it is
18:43 renoirb I built a package to install it but I’m not sure whith etc python binding to use
18:43 Ryan_Lane you can compile it yourself
18:43 renoirb Ryan_Lane, not the same ubuntu :)
18:43 renoirb I just trashed the full staging infrastructure, will rebuild it and test again.
18:44 Ryan_Lane probably want to use this: https://github.com/jplana/python-etcd
18:44 fxhp joined #salt
18:44 Ahlee messaged you a wall of text whiteinge.  Hope that's ok.
18:45 renoirb Ryan_Lane I tried with https://gist.github.com/renoirb/788885978f7dd504ee66
18:45 renoirb But the version https://binstar.org/pypi/python-etcd  seems broken
18:45 renoirb and has naming collision :/
18:49 aparsons_ joined #salt
18:49 igorwidl joined #salt
18:49 renoirb Ryan_Lane, i’ll use the one you just pointed out.
18:50 co-dlk salt-cloud question.  wondering if its possible to create a encrypted EBS volume?  Not sure this implemented.  I am able to attach create and attache EBS volumes but I need them encrypted
18:50 shaggy_surfer joined #salt
18:51 pdayton joined #salt
18:51 b1nar1 joined #salt
18:52 Ryan_Lane renoirb: use the same one salt is using
18:54 alexr joined #salt
18:55 spookah joined #salt
18:55 thedodd joined #salt
18:56 skyler murrdoc: I updated the requirements after running into that problem on precise. Unfortunately, installing from salt-bootstrap still gives me 0.8.2.1.
18:58 rawzone joined #salt
19:01 murrdoc the pip part isnt the problem
19:02 zlhgo joined #salt
19:02 TTimo joined #salt
19:04 murrdoc basically i have to make a local mirror with the python-requests deb
19:04 murrdoc and then i am able to install the packages in the salt-testing ppa
19:04 micah_chatt_ joined #salt
19:04 Pierre-Nicolas joined #salt
19:05 Pierre-Nicolas Hi guys, question for, does SaltStack support several minions with same name and IPs?
19:05 skyler murrdoc: Yeah, I have not automated the solution, I have just been doing `pip install --upgrade requests`, but I have a small enough set up that this is feasible.
19:07 RedundancyD joined #salt
19:09 murrdoc skyler:  ttp://sysops.wpc.edgecastcdn.net/00AC7B/apt/mirror/ppa.launchpad.net/python-pkgs/pool/main/p/python-requests/python-requests_2.4.3_all.deb
19:09 murrdoc uh missing the h in http :D
19:09 murrdoc thing is tho, maybe we need a salt-python ppa
19:09 murrdoc which keeps the correct debs
19:09 murrdoc that salt needs
19:10 cpowell joined #salt
19:12 dooshtuRabbit joined #salt
19:13 skyler murrdoc: Thanks for the link. That is a good idea, we really need for people to not have to deal with this issue themselves, otherwise everyone who uses salt on 12.04 will have to figure out the issue.
19:13 murrdoc getting the packages for the right version is trivial
19:14 murrdoc whether they should be in salt's ppa or a salt-python ppa is a decision for someone else
19:14 Mso150 joined #salt
19:15 RedundancyDisord joined #salt
19:15 skyler Yeah, I would prefer to have them in salt's ppa, just to keep things simple, but that is certainly a decision for someone on the salt team.
19:15 robawt roll your own :D
19:15 geekatcmu I,I bleeding edge software/dependencies will make you bleed
19:17 aw110f joined #salt
19:17 murrdoc its trivail to roll a deb/rpm for a pip
19:17 murrdoc fpm -s python -t deb requests
19:17 murrdoc trivial assuming you have fpm setup
19:17 murrdoc :)
19:20 thawes joined #salt
19:24 tafa2 joined #salt
19:25 cholcombe973 joined #salt
19:25 dstokes anybody else seeing missing sls issues with orchestration on 2014.7.0
19:26 cholcombe973 anyone setup the rest_cherrypy portion of salt yet?
19:28 jonatas_oliveira joined #salt
19:28 wt joined #salt
19:28 wt s3fs is broken
19:28 wt anyone else suffering?
19:28 cholcombe973 dstrokes: i thought i had issues but i just realized i had the 2014.13.1 version installed
19:29 cholcombe973 is 2014.7 a development version?
19:29 wt 2014.7.0 from epel6 is what I am using
19:29 dstokes 2014.7.0 is latest stable afaik
19:29 wt 2014.7.0 is in epel6
19:29 wt I am working on a patch.
19:29 cholcombe973 interesting
19:29 wt Once I can figure out what is wrong
19:29 cholcombe973 i wonder why arch is using 2014.1.13
19:30 jalaziz joined #salt
19:30 wt I didn't even know that 2014.7.0 had been declared stable yet
19:32 dstokes cholcombe973: i'm installing w/ bootstrap based on https://github.com/saltstack/salt/releases
19:33 wt https://github.com/saltstack/salt/blob/2014.7/salt/fileserver/s3fs.py#L379 <-- where is bucket even set?
19:37 langerman joined #salt
19:38 cholcombe973 dstokes: looks like bootstrap wants to install 2013.10.30
19:39 wt nevermind, I see where bucket is set...something else is wrong
19:42 cholcombe973 are the rest_cherrypy and rest_tornado equiv for the most part?
19:49 cholcombe973 my salt tornado server doesn't seem to start and i don't see anything in the logs indicating why
19:50 hobakill left #salt
19:50 genediazjr joined #salt
19:57 alanpearce joined #salt
20:02 lothiraldan joined #salt
20:02 wt The logic in the s3 support is really hard to follow. However, it looks like the case where a GET fails returns a dicts of the headers.
20:03 wt which is, at best, weird
20:03 cholcombe973 anyone know how to find the docker.running module for salt?
20:03 cholcombe973 it can't find it
20:03 wt actually, it's a dict with only the key 'headers', which is a list of the header names
20:04 wt I don't understand how that is useful.
20:04 iggy cholcombe973: dockerio.is_running?
20:04 cholcombe973 iggy: oh i guess i spelled it wrong :)
20:05 cholcombe973 iggy: dockerio.is_running found in sls docker is unavailable
20:05 cholcombe973 i'm running 2014.01.13-1 i think
20:05 aurynn you need to install the docker pythong module
20:05 aurynn *python
20:05 cholcombe973 i did
20:05 aurynn before it's available
20:05 cholcombe973 aurynn: i installed this guy: https://aur.archlinux.org/packages/python2-docker/
20:06 cholcombe973 looked like the right one
20:06 aparsons joined #salt
20:06 aurynn On the minion? That tripped me up
20:06 cholcombe973 yeah it's on the minion
20:06 cholcombe973 aurynn: import docker works for python3 but not 2
20:06 cholcombe973 does salt use python2?
20:07 aurynn it should do
20:07 aurynn as in, I do
20:07 aurynn check your sys.path on py2
20:08 cholcombe973 aurynn: is there a way to get salt to say whether it's using python 2 or 3?
20:08 iggy it only uses python2
20:08 cholcombe973 ok good
20:08 aurynn ah, dunno. I don't use systems with py3k on yet
20:08 cholcombe973 docker is installed for python2 then
20:09 cholcombe973 iggy: oh sorry i meant it's only installed for python3
20:09 cholcombe973 that's my problem
20:10 nyx_ joined #salt
20:11 iggy sounds like it
20:13 alanpearce joined #salt
20:13 agend joined #salt
20:14 wt anyone here familiar with the s3 util code?
20:15 wt I need to know if anything other than DELETE, GET, and PUT can ever go through that code.
20:18 wt I see HEAD also.
20:19 bhosmer joined #salt
20:20 cholcombe973 iggy: am i calling this right? dockerio.is_running found in sls docker is unavailable
20:24 cholcombe973 iggy: nvm i got it :)
20:24 StDiluted So it looks to me like it took about a week or so, but I am now getting 100% CPU usage in 1 minute spikes on my salt server. Last time, I restarted salt and it made everything good again, but now it’s doing it again. There are NO minions on this server currently.
20:25 TheThing joined #salt
20:26 StDiluted so I’m wondering what might make the salt-master process increase CPU usage over time
20:26 iggy gitfs backend?
20:27 StDiluted no
20:27 wt Anyone else here use s3fs?
20:28 alexbst I have :)
20:28 alexbst it's alright
20:28 alexbst if you have something that expect instant consistency you will be in trouble with it
20:29 PNP joined #salt
20:29 ssteinerX I have s3fs installed on a couple of CentOS cPanel servers
20:29 XenophonF joined #salt
20:30 XenophonF does the user.present state work on Windows?
20:30 b1nar1 joined #salt
20:31 wt I could use another tester if possible.
20:31 torment joined #salt
20:31 wt XenophonF, hmmm...I think the user is just a posix user thing.
20:31 XenophonF bummer
20:32 torment hello, just using salt-ssh, and setup a per project master config, which works passing -c, but im in the directory with a Saltfile and it is not reading it by default (i have to pass -c to salt-ssh) any ideas?
20:32 XenophonF thanks wt
20:32 bfoxwell_ joined #salt
20:33 wt XenophonF, actually, I may be wrong
20:33 wt it looks like it could workn for windows
20:33 StDiluted Anyone have any idea on this CPU usage issue?
20:34 XenophonF wt: i'm going to spin up a test minion and try it using state.single
20:34 XenophonF brb
20:34 wt XenophonF, it looks like it could work
20:35 wt however, it would surprise me if it did
20:35 wt the state looks like the logic is pretty posixy
20:35 XenophonF that's what i saw
20:36 wt however, the exec module for the win_adduser does name itself with the generic "user" name.
20:36 XenophonF but it looks like the user module supports windows
20:36 wt so it could work
20:36 nyx_ joined #salt
20:36 linjan joined #salt
20:37 MugginsM joined #salt
20:37 tempspace Anybody using listen/listen_in yet?
20:38 babilen be the first!
20:40 tempspace I'm sure Ryan Lane is...
20:40 Ryan_Lane I am
20:40 Ryan_Lane I use it extensively
20:41 babilen So, somebody uses it
20:41 Ryan_Lane well, I requested the feature ;)
20:41 capricorn_1 joined #salt
20:41 babilen tempspace: Any particular reason why you are interested in knowing if somebody used that feature?
20:42 babilen Do you, mayhaps, consider to use it? Have you maybe used it already but encountered a problem?
20:42 tempspace Ryan_Lane: Have you ever used any code that should be run after all the listens are done... ie: code deploy?
20:42 XenophonF how do i specify a list argument using state.single?
20:43 shaggy_surfer joined #salt
20:43 StDiluted Anyone used Salt with AWS CodeDeploy yet?
20:43 jaimed joined #salt
20:43 babilen StDiluted: Have you?
20:43 XenophonF i'm trying to run salt-call state.single user.present name=user groups=Administrators, but just realized that's a list argument
20:43 Ryan_Lane tempspace: my pre and post installation phases are outside of my highstate
20:43 Ryan_Lane I use state.sls for them
20:44 StDiluted babilen: nope. I just discovered CodeDeploy today and I’m just starting to look into it
20:44 babilen groups='["foo", "bar", "baz"]' ?
20:44 yetAnotherZero joined #salt
20:45 StDiluted babilen: it looks pretty interesting. I’ve been looking for a way to deploy with Salt, other than capistrano after the fact.
20:45 XenophonF thanks babilen, now i wonder how escaping works on the windows command prompt... :)
20:45 torment ok, it appears the ppa for salt hasnt been updated with the features that are in the documentation, if that could be automated... :)
20:45 babilen XenophonF: http://goodbye-microsoft.com/ ;)
20:45 XenophonF lol
20:47 SheetiS XenophonF: might be a little out-of-date but http://www.robvanderwoude.com/escapechars.php
20:48 XenophonF thanks SheetiS, reading now
20:48 wt apparently, I am the only person that uses s3fs
20:49 wt I have a hack of a fix for it.
20:49 babilen XenophonF: Are you seriously running your master on Windows?
20:49 XenophonF no, minion
20:49 tempspace Ryan_Lane: What do you do when you have a service that HAS to be restarted during the main state run?
20:49 XenophonF am using salt-call from the windows command prompt
20:49 babilen XenophonF: Ah, but you want to call it locally
20:49 XenophonF yeah just testing
20:50 babilen Okay, sure. Sorry, I haven't touched a Windows system in at least 13 years
20:50 Ryan_Lane tempspace: well, I either use listen or watch
20:50 Ryan_Lane I use watch for cases when it needs to happen immediately in the state run, and I limit them to running directly after the state that triggers it
20:50 Ryan_Lane I use listen for everything else
20:51 rmnuvg joined #salt
20:53 dooshtuRabbit1 joined #salt
20:54 XenophonF user.present isn't setting the user account's password
20:54 XenophonF i've tried both password=... and passwd=..., but passwd ends up getting set to None in both cases
20:55 XenophonF user.absent works! :)
20:55 XenophonF ok well i'll hack on this more later
20:56 XenophonF maybe have it use powershell instead of net user
20:56 babilen Do you set enforce_password ?
20:56 XenophonF no i didn't
20:57 babilen Should default to True then .. I've been using this often to change passwords (typically from one of the user formulas though)
20:57 XenophonF same here
20:57 XenophonF for my freebsd/linux boxes anyway
20:58 babilen Ah, but not on ... Windows I take it?
20:58 pauly_ joined #salt
20:58 XenophonF not yet :)
20:59 alanpearce_ joined #salt
21:01 Carlos44 [ERROR   ] Exception 'This transport isn't implemented. Sorry' caught while fetching gitfs remote ssh:// when trying to setup gitFS with ssh://
21:02 Carlos44 has any got this working in the latest 2014.7.0
21:03 bhosmer joined #salt
21:09 TTimo joined #salt
21:16 wt joined #salt
21:17 linjan joined #salt
21:20 wt Did carlos44 get his answer?
21:24 thedodd joined #salt
21:25 aquinas joined #salt
21:26 thayne joined #salt
21:26 aquinas_ joined #salt
21:26 babilen Don't think so
21:28 spielberg joined #salt
21:28 spielberg I have a question about 2014.7 RC.
21:29 spielberg I was trying to install it from ubuntu ppa's on launchpad saltstack/salt-testing on a vagrant vm
21:30 spielberg I get error's like these: https://gist.github.com/jasonkeene/b37d8e09d118a4c2d562
21:30 spielberg [INFO    ] Failed to get mtime on /proc/9/exe, dangling symlink ?
21:30 babilen Sounds as if you have a funky vm, can you install anything else?
21:31 spielberg yes
21:31 babilen Which provider do you use?
21:31 spielberg It works fine with 2014.1
21:31 spielberg shell provider
21:31 vejdmn joined #salt
21:31 babilen Not provisioner, provider (libvirt, virtualbox, docker, ...)
21:32 spielberg oh, sorry, I misread. virtual box.
21:33 babilen Could you try installing the released version with something like https://www.refheap.com/93526 ?
21:33 babilen (and I'd also strongly recommend looking into alternative providers such as libvirt as virtualbox is just horribly excruciatingly slow)
21:34 wendall911 joined #salt
21:34 babilen Oh, skype call. BBL
21:34 aurynn is there a logrotate state?
21:34 babilen (sry)
21:34 spielberg thanks I'll look into that
21:34 unpaidbi1l when i start a minion, if it fails to connect to a master during the startup phase for authentication it never re-attempts the authentication to the master.  is there any way to configure a re-attempt?  i don't see anything obvious in the minion configuration.  if it does get authenticated i can stop/start the master without issue.  this is in both 2014.1.13 and 2014.7.0
21:35 Outlander joined #salt
21:35 aurynn there's a module, so I could wire that into a state
21:36 nyx_ joined #salt
21:38 babilen spielberg: https://gist.github.com/babilen/e9479fdfbcca431db208 is what I use for playing with salt, just change the salt install options to what I pasted if you want to try 2014.7.0
21:39 jalaziz joined #salt
21:40 wendall911 joined #salt
21:40 wendall911 joined #salt
21:42 bhosmer joined #salt
21:43 unpaidbi1l ah, i found the configuration settings in the auth_* stuff... somehow i missed that previously
21:43 tafa2 joined #salt
21:44 tafa2 anyone something as easy to use as newrelic servers but that is self managed? (but not cacti, naggios, zabbix, zenoss)
21:47 StDiluted looks like AWS labs has played with salt/codeDeploy. https://github.com/awslabs/aws-codedeploy-samples/tree/master/conf-mgmt/salt/
21:50 shaggy_surfer joined #salt
21:53 glyf joined #salt
21:53 aurynn does module.run take - unless? Or is it just always run?
21:54 mattikus joined #salt
21:55 Singularo joined #salt
21:58 glyf joined #salt
22:03 giantlock joined #salt
22:04 kballou joined #salt
22:05 notpeter_ joined #salt
22:06 lempa joined #salt
22:06 seanz joined #salt
22:06 luminouspuma joined #salt
22:07 tfield joined #salt
22:07 mens joined #salt
22:07 SheetiS joined #salt
22:07 clone1018_ joined #salt
22:07 luminouspuma I'm using a master/minion -> syndic/master/minion -> minion setup, and I'm unable to directly target individual minions from the mastermaster
22:08 luminouspuma but if I target '*' they'll all come back
22:09 rubenb joined #salt
22:12 nyx_ joined #salt
22:13 mosen joined #salt
22:13 racooper joined #salt
22:14 unpaidbi1l ls
22:14 mpanetta . ..
22:14 mpanetta .hidden_pr0n_collection
22:15 sarlalia1 joined #salt
22:21 delinquentme joined #salt
22:22 delinquentme On an instancing event I hear back from my 2 minions ... once and only once.  I've verified that their respective keys are listed   in $ salt-key -L ... but $ salt '*' test.ping send no reply from the minions
22:23 teebes joined #salt
22:23 shaggy_surfer joined #salt
22:26 active8 joined #salt
22:27 murrdoc joined #salt
22:27 perfectsine joined #salt
22:29 KyleG1 joined #salt
22:29 skyler delinquentme: Have you tried logging into the minions to see if salt-minion is running? You can also try doing a salt-call from the minions.
22:30 KyleG2 joined #salt
22:31 oldmantaiter_ joined #salt
22:32 Ahlee delinquentme: zeromq version, and how long between?  is it salt \* test.ping; salt \* test.ping and you still don't get anyting back on second time?
22:34 rmnuvg joined #salt
22:34 snuffeluffegus joined #salt
22:35 schristensen_ joined #salt
22:36 kermit joined #salt
22:39 mpanetta joined #salt
22:42 Outlander joined #salt
22:44 gildegoma left #salt
22:45 delinquentme Ahlee, so it looks like im not seeing it in $ ps aux | grep salt-minion
22:45 karimb joined #salt
22:47 Ahlee ok, what does /var/log/salt/minion say on the hosts?
22:47 Ahlee you might want to bump up the logging from info to debug, as salt-minion exiting is not normal
22:47 retr0h joined #salt
22:48 Ouzo_12 joined #salt
22:48 b1nar1 joined #salt
22:49 aurynn potentially nonsense question, but do I have access to pillar data inside pillar states? I suspect not, as it's still being rendered
22:49 Ahlee pillars render once
22:51 cholcombe973 is it possible in salt to have the concept of all or nothing?  Either the state applies completely or it rolls back what it attempted to change?
22:51 KyleG joined #salt
22:51 KyleG joined #salt
22:52 wt I don't know if any of the salt devs are here, but the 2014.7 feels a lot faster.
22:52 wt despite the s3fs bug, I am really digging it.
22:52 mpanetta No roll back, but I think you can tell it to stop when a state fails instead of continuing on
22:53 Ahlee cholcombe973: Not to my knowledge.  Failures, but not rollback.
22:53 cholcombe973 ok
22:53 cholcombe973 just wondering
22:54 aurynn so, how would I set custom grain data for a salt-ssh run?
22:54 aurynn two stages, once to write /etc/salt/grains and then the main run?
22:55 Ahlee grains.setval foo bar ?
22:56 cads joined #salt
22:56 aurynn hm.
22:56 vejdmn joined #salt
22:56 aurynn will try that :)
22:57 TheThing joined #salt
22:57 philipsd6 cholcombe973: there would be no way to do this automatically, since states can comprise many things that Salt will have no knowledge of how to undo (i.e. cmd.run does something, how to undo?) If a user creation fails, do you delete the filesystem you mounted for that user? etc...
22:57 KyleG1 joined #salt
22:57 philipsd6 but I think having a fallback strategy can be designed as a separate state run that models the desired "undo" state. Then if the apply state fails, run the undo state.
22:57 cholcombe973 philipsd6: yeah i see what you're saying :-/
22:58 cholcombe973 a fallback state sounds good
22:58 mpanetta reactors would let you do that I believe
22:58 philipsd6 it's pertinent to me, since as a DBA we require all our data modifications to have fallbacks available.
22:58 aurynn the roster would be a good place for this, too
22:58 aurynn (this == custom grains for salt-ssh)
22:59 Ahlee *shrug* depends on how you view grains.  I personally treat grains as 'immutable facts about a system', such as number of processors, memory, etc (yes, those aren't strictly immutable)
22:59 Ouzo_12 hi there, is there anyway to update the salt-minion trough saltstack on windows pc's... i gut 7 windows on my saltstack master but they are all running an old version, all my unix servers are simple to to update the minions on.
23:01 pdayton joined #salt
23:09 LeProvokateur joined #salt
23:10 sash__ joined #salt
23:10 sash__ sup guys
23:10 sash__ long time
23:11 jeddi joined #salt
23:12 kermit joined #salt
23:14 aparsons_ joined #salt
23:15 aparson__ joined #salt
23:15 murrdoc joined #salt
23:21 joevartuli joined #salt
23:21 LeProvokateur joined #salt
23:23 joevartuli left #salt
23:25 thayne joined #salt
23:25 sashka_ua_ guys, does someone manage ip aliases using states/network in 2014.7 ?
23:26 sashka_ua_ they completely  changed they it works
23:26 sashka_ua_ * the way
23:26 sashka_ua_ and now its not possible to add an alias to interface
23:30 KyleG joined #salt
23:30 KyleG joined #salt
23:30 LeProvokateur joined #salt
23:32 Corey https://media.readthedocs.org/pdf/salt/latest/salt.pdf <-- Well that's fun. :-)
23:33 unpaidbi1l looks like some nacl
23:36 Corey "We at the Salt project pride ourselves on our documentation."
23:36 Corey whiteinge: You or one of the other Saltfolk might want to look at that. :-)
23:38 niko1691 joined #salt
23:38 cholcombe973 with the dockerio state it seems like my volumes are not getting bind mounted into the container
23:38 cholcombe973 does anyone have a working example of a bind mount?
23:39 Gareth quit
23:39 Gareth erm
23:39 spookah Corey: woopsie
23:46 whiteinge Corey: we at the Salt project have worked our docs maintainer to the point where if he ever makes it back to the office he'll likely set the building on fire.
23:47 whiteinge Er. I mean thanks for the report!
23:47 Gareth so *that's* why Salt keeps moving offices :)
23:47 whiteinge Hahaha
23:48 Corey I figured it was that Tom was stubborn. He'd work himself to exhaustion, drive to a new office. "Uh... this isn't your office." "IT IS NOW."
23:48 forrest whiteinge: since when was there a dedicated docs maintainer? :P
23:48 forrest I thought that was just shoveled on you.
23:48 Corey forrest: Since UtahDave wasn't doing anything and had *scads* of spare time.
23:49 forrest lol
23:49 whiteinge forrest: back in my youth
23:49 forrest whiteinge: heh
23:49 forrest Did you guys see aws clouddeploy?
23:50 forrest Need a salt 'plug in' for that
23:50 StDiluted there is already
23:50 whiteinge Heck yeah
23:50 forrest StDiluted: oh really? Have a link?
23:50 alexr joined #salt
23:50 forrest err not cloud deploy, code deploy
23:50 forrest the thing they announced last week
23:50 KyleG joined #salt
23:50 KyleG joined #salt
23:51 sashka_ua_ whiteinge, hi man
23:51 StDiluted forrest:
23:51 sashka_ua_ whiteinge, do you know that IP aliases managing is broken in 2014.7 ? :)
23:51 StDiluted https://github.com/awslabs/aws-codedeploy-samples/tree/master/conf-mgmt/salt
23:51 forrest StDiluted: sweet
23:54 whiteinge Whoa, nice.
23:54 nebuchadnezzar joined #salt
23:54 perfectsine joined #salt
23:54 whiteinge sashka_ua_: hiya
23:55 aurynn grains.append does not appear to persist across a reboot, with salt-ssh. Interesting to know. :)
23:55 ingwaem joined #salt
23:56 forrest aurynn: If you want, feel free to update the docs and make a PR noting that if it isn't already!
23:56 possibilities joined #salt

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