Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2013-06-04

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

All times shown according to UTC.

Time Nick Message
00:04 nrub joined #salt
00:18 ahammond what does "Recursive requisite found" mean?
00:22 UtahDave State A is requiring State B which is requiring State A
00:23 ahammond UtahDave: that's what I expected… but I'm confused since I'm pretty sure that I didn't do that. :)
00:24 UtahDave Hm. can you pastebin what you have?
00:25 ahammond UtahDave: it's a pydsl state. Here's the code: https://github.com/SmartReceipt/salt_hosts/blob/master/init.sls
00:25 bemehow joined #salt
00:25 UtahDave oh, by the way.  have you found publish.publish to be more reliable now?
00:26 ahammond UtahDave: yeah, it looks good. This is one of the states I've been aching to get out the door that depends on it.
00:26 UtahDave cool. I have several demos that depend on it, too
00:27 ahammond the idea is that it configures your /etc/hosts file on boxes and is data-center aware. So, if two boxes are in rackspace they'll talk to each other over the (free) 10. network. But if they're in separate datacenters they'll talk to each other over the VPN if there is one, or via their public IPs otherwise.
00:27 UtahDave that's pretty freaking awesome!
00:28 UtahDave Hm. so it's not giving you any line numbers or anything?   What's the output of salt \* state.show_sls   ?
00:29 favadi joined #salt
00:30 ahammond Just a second.
00:31 ahammond UtahDave: https://gist.github.com/ahammond/cfbb878fb99f6981ea77
00:32 UtahDave oh, doh!  didn't realize that doesn't work with pydsl
00:32 ahammond Other suggestions?
00:32 UtahDave what do you get if you run   salt 'theminion' state.highstate  test=True     ?
00:33 ahammond UtahDave: I'll try that, just a sec.
00:34 nrub_ joined #salt
00:35 MFen joined #salt
00:35 UtahDave ahammond: I'm looking at the state starting on line 37.
00:35 pcarrier_ joined #salt
00:36 MFen is there a way to visualize salt's dependency tree?
00:36 UtahDave I haven't used pydsl at all, but isn't it requiring itself?
00:36 MFen i'm looking for a circular dependency
00:36 UtahDave MFen: salt 'minion-name' state.show_highstate
00:36 UtahDave MFen: salt 'minion-name' state.show_lowstate
00:36 ahammond UtahDave:  I really should have put more comments in this code.
00:37 MFen UtahDave: is that really a visual graph?
00:37 krissaxton joined #salt
00:37 UtahDave oh, no, it's not
00:38 ahammond UtahDave:  I think my code is broken. I'm going to look at it again tomorrow. Brain fried.
00:38 UtahDave ok,
00:38 UtahDave Time for me to go home, too
00:48 aat joined #salt
00:52 m_george|away joined #salt
00:52 m_george left #salt
01:05 ianc joined #salt
01:09 Corey I'm curious as to how I can effectively troubleshoot these publish.publish timeouts.
01:10 favadi joined #salt
01:18 axisys joined #salt
01:32 whit joined #salt
01:35 Nexpro joined #salt
01:37 kmwhite joined #salt
01:42 middleman_ joined #salt
02:17 raydeo joined #salt
02:19 jacksontj joined #salt
02:19 pcarrier_ joined #salt
02:19 Ryan_Lane joined #salt
02:23 sgviking joined #salt
02:26 Ryan_Lane joined #salt
02:30 dwyerj joined #salt
02:31 dwyerj you should put a warning for running the saltbootstrap that it runs an update
02:32 chrism is there a changelog for 0.15.3?
02:32 mgw joined #salt
02:34 lvicks joined #salt
02:35 melinath joined #salt
02:44 Furao joined #salt
02:46 dthom91 joined #salt
02:51 dthom91 joined #salt
02:53 Politoed joined #salt
03:02 aat joined #salt
03:10 clintberry joined #salt
03:14 raydeo joined #salt
03:22 jpadilla joined #salt
03:25 ZenoTasedro joined #salt
03:35 lvicks joined #salt
03:44 idkfa joined #salt
03:46 dlam joined #salt
03:58 melinath joined #salt
04:02 Politoed joined #salt
04:02 idkfa joined #salt
04:04 dthom91 joined #salt
04:07 pcarrier_ joined #salt
04:24 bensix joined #salt
04:26 favadi joined #salt
04:32 efixit1 joined #salt
04:36 lvicks joined #salt
04:36 lvicks joined #salt
04:41 middleman_ joined #salt
04:41 lvicks joined #salt
04:42 KyleG joined #salt
04:50 sebgoa joined #salt
04:51 Deece joined #salt
04:53 Furao joined #salt
05:03 Furao joined #salt
05:04 favadi when I run `sudo salt '*' state.highstate`, the input is too verbose
05:05 favadi How can I let salt report only successful for failure?
05:05 favadi I have about 100 machines and find it's difficult to know the result of salt state.highstate
05:08 Furao favadi: for that I wrote my own returner that send failure to a sentry server (getsentry.com)
05:08 jeddi joined #salt
05:10 chrism favadi: there's an option in the master config
05:10 chrism it'll only show errors/diffs, but not success
05:11 chrism favadi: state_verbose: False
05:11 Furao but the problem with that is there is some bug (I don't think it's all fixed in .15.3) that states failed but salt return success: True
05:11 chrism favadi: alternatively, check out the comments around #state_output: full
05:11 chrism oh
05:12 chrism yeah haven't seen that problem yet
05:13 favadi thanks
05:13 chrism np, i don't know if that's exactly what you were looking for, but it should help =)
05:13 favadi I'm thinking about a simple web dashboard that show the result of state.highstate
05:15 Furao favadi: you should write your own returner that feed your dashboard
05:21 Nexpro1 joined #salt
05:21 viq Yeah, a dashboard would be nice. Is Salt UI there yet?
05:23 Furao viq: yes but it's limited
05:23 Furao it's kind of the same as salt CLI but over a web interface
05:25 viq mhmm
05:27 Furao but to get this salt had to build a lot of stuff (salt-api, wheel, etc)
05:27 Furao now it's easy to add alternate UI or improve this proof of concept
05:29 viq I hope to play with it in nearish future
05:30 viq Though it doesn't help that I'm programming illiterate ;)
05:32 Nexpro1 joined #salt
05:35 Katafalkas joined #salt
05:58 pcarrier_ joined #salt
06:00 lvicks joined #salt
06:04 entil got everything in pretty good shape yesterday so I tried this breaking it :> to have all /etc/group entries created in one state, so I can do requires on it later, and (as I expected but was told otherwise) it created only the laste group... http://pastebin.com/FrbsmUYQ
06:05 entil *last
06:06 entil so is that or is it not possible to pull off somehow, to create all groups in one state?-)
06:22 f4cl3y joined #salt
06:31 sebgoa joined #salt
06:33 `3rdEden joined #salt
06:38 agend joined #salt
06:40 efixit joined #salt
06:47 carlos joined #salt
06:51 ollins joined #salt
06:51 tharkun joined #salt
06:51 tharkun joined #salt
06:51 vaxholm joined #salt
06:53 fredvd joined #salt
06:58 raydeo joined #salt
07:00 lvicks joined #salt
07:02 krissaxton joined #salt
07:05 Ivo joined #salt
07:07 emilis_info joined #salt
07:10 ronc joined #salt
07:11 it_dude joined #salt
07:19 Charatna joined #salt
07:19 Charatna left #salt
07:25 balboah joined #salt
07:25 tharkun joined #salt
07:32 Ivo joined #salt
07:34 jeddi joined #salt
07:37 p3rror joined #salt
07:40 vaxholm joined #salt
07:43 felskrone joined #salt
07:43 pcarrier_ joined #salt
07:45 scott_w joined #salt
07:48 ggoZ joined #salt
07:52 Nexpro joined #salt
07:52 oliv_mc joined #salt
07:53 azbarcea joined #salt
07:59 Furao I really wish that I could run something like {% include "salt://path/to/other_template.jinja2" %}
07:59 Furao and embed rendered output
08:03 auser yeah, that'd be nice
08:04 Furao so, using salt mine, pillar magic and a custom module, I had been able to link roles with monitoring checks that minion need and automatically configure monitoring checks for all minions, without publish.publish
08:07 Furao minions are automatically monitored by role. in monitoring webui roles defined by clients are groups of hosts with associated checks. that fit totally in the roles-based salt philosophy
08:08 tharkun joined #salt
08:17 felixhummel joined #salt
08:20 adotbrown joined #salt
08:21 derelm joined #salt
08:24 krak3n` joined #salt
08:27 tharkun joined #salt
08:30 sebgoa joined #salt
08:33 lvicks joined #salt
08:33 vaxholm joined #salt
08:41 efixit joined #salt
08:48 Odd_Bloke We're trying to extend a file.managed definition with a different source and it doesn't seem to be working.
08:48 Odd_Bloke Is anyone aware of any issues before I dig too deeply?
08:53 krissaxton1 joined #salt
08:53 Furao Odd_Bloke: too vague please paste state and error output
08:54 jacksontj joined #salt
08:56 SpX joined #salt
08:57 jacksontj_ joined #salt
09:03 lvicks joined #salt
09:10 Odd_Bloke Furao: It turns out that "extend:\n  wibble:\n    file.managed:\n      - source: ..." doesn't work, but "extend:\n  wibble:\n    file:\n      - source: ..." does.
09:11 aat joined #salt
09:25 techdragon joined #salt
09:34 lvicks joined #salt
09:39 oliv_mc joined #salt
09:39 erasmas joined #salt
09:42 bhosmer joined #salt
09:44 HaxCore joined #salt
09:48 zloidemon joined #salt
09:52 tomeff joined #salt
09:52 FL1SK joined #salt
09:55 krak3n` joined #salt
09:56 krak3n` joined #salt
10:03 HaxCore joined #salt
10:04 lvicks joined #salt
10:05 HaxCore joined #salt
10:06 adotbrown joined #salt
10:07 HaxCore joined #salt
10:11 p3rror joined #salt
10:14 HaxCore joined #salt
10:33 mordred joined #salt
10:37 ronc joined #salt
10:42 luminous if you are going to encapsulate a whole "network setup process" into salt, eg you would have hosts created and provisioned and what not.. is the highest-level component that the user "runs" a state or a module?
10:43 luminous eg, would you have the user run: salt state.sls something        or:  salt some.thing.deploy_network
10:43 Furao luminous: the state.highstate module run and it executed states
10:43 Furao oh that
10:44 Furao luminous: http://docs.saltstack.com/ref/states/overstate.html
10:45 luminous hmmm... I'm not sure if I'm looking to leverage overstate or to package it up
10:46 mirrorbox joined #salt
10:47 __gotcha joined #salt
10:47 __gotcha joined #salt
10:48 luminous interesting, overstate added support for calling modules in v0.15 :D
10:49 luminous so we can use overstate to execute some modules, say CREATING hosts, then, if successful, run states ON those hosts
10:51 ahalam joined #salt
10:56 Ivo joined #salt
10:58 Ivoz joined #salt
11:13 Furao_ joined #salt
11:14 sebgoa joined #salt
11:17 giantlock joined #salt
11:18 krissaxton joined #salt
11:20 felskrone is it possible that there are no 32bit python-zmq and libzmq3 packages in salts debian repo?
11:21 Newt[cz]1 joined #salt
11:28 Furao damn, I catch a cold just the day before I take a flight
11:33 agend joined #salt
11:34 tomeff_ joined #salt
11:36 nkuttler hrm, i can't test.ping any minion that's authenticated with the master.. nothing firewalled.. suggestions besides debug output?
11:37 nkuttler i think it's something in my state definition as pinging worked fine before a highstate.. first wheezy deployments..
11:37 adotbrown joined #salt
11:38 nkuttler heh, that's bizarre.. pinging works again, but i didn't do anything :|
11:40 nkuttler ah, looks like some bad minion processes in the background were at fault, and the init script not killing them..
11:41 aranhoide joined #salt
11:41 __gotcha joined #salt
11:41 nkuttler this reminds me of my early squeeze deployments before i started to build my own packages..
11:44 HaxCore left #salt
11:44 p3rror joined #salt
11:45 joehh joined #salt
11:46 entil oh noes, I got python-boto that my ec2 tags grain needs pre-installed (and salt works otherwise well) *but* the grain is not found when state setup starts
11:47 entil can I delay this somehow, like tell salt to wait for grains to be synced before doing anything?
11:47 luminous Furao: get lots of anti-oxidants in you so your flights don't make it worse
11:47 Furao luminous: I'm brining H7N9 to malaysia :)
11:49 krak3n` joined #salt
11:49 seubert joined #salt
11:56 tharkun joined #salt
11:56 tharkun joined #salt
11:57 DanGarthwaite joined #salt
12:00 vaxholm joined #salt
12:08 hotbox joined #salt
12:16 it_dude joined #salt
12:23 faust joined #salt
12:24 entil or maybe the grains are synced first in one thread, I'll try adding some retry/sleep stuff in there
12:29 timoguin_work joined #salt
12:33 lvicks joined #salt
12:33 timoguin_work joined #salt
12:41 karlp hooray for bugfixes.  0.15.3 fixes all the thigns I'd run into with 0.15.1
12:43 DanGarthwaite left #salt
12:45 nrub joined #salt
12:46 __gotcha joined #salt
12:46 __gotcha joined #salt
12:48 aleszoulek karlp: Yay!
12:50 Nexpro joined #salt
12:55 spudbook joined #salt
12:56 SpX joined #salt
12:59 mikedawson joined #salt
13:09 nrub joined #salt
13:10 techdragon joined #salt
13:12 mgw joined #salt
13:15 vkol joined #salt
13:16 santagada joined #salt
13:16 vkol Hi guys! Got a problem with a state, salt keeps saying 'Too many functions declared in state "kmod" in sls ...'. What could I be missing? State code: http://pastebin.com/a2SxrNwe
13:17 dcrouch joined #salt
13:17 vkol Tried different variations, e.g. http://pastebin.com/kXSLZf1M
13:17 vkol Doesn't seem to help
13:23 viq vkol: have you tried http://pastebin.com/ajbPNnMc ?
13:23 viq aah
13:25 viq vkol: how about http://pastebin.com/fh3BZfme ?
13:25 ggoZ joined #salt
13:27 ProT-0-TypE joined #salt
13:29 viq hm, no, that's probably wrong
13:31 viq http://pastebin.com/yrsXVRXB ?
13:32 vkol viq: The last one totally worked!
13:32 vkol viq: Many thanks :-)
13:33 viq :)
13:35 Ryan_Lane joined #salt
13:36 logix812 joined #salt
13:38 logix812 In salt.loader.Loader.gen_functions ~569ish, where it imports modules, it uses imp.load_module (which is effectively a reload()) I was curious why that choice was made over other dynamic import options.
13:38 pcarrier_ joined #salt
13:40 karlp is "channel 5: open failed: connect failed: Connection refused" known issue from upgrading from 0.15.1 to 0.15.3 for the master? on ubuntu 1204?
13:40 karlp ahh, never mind, that's actually my own ssh tunnels
13:40 karlp they were upset while the master was restarting
13:40 __gotcha joined #salt
13:40 __gotcha joined #salt
13:41 vaxholm joined #salt
13:42 teskew joined #salt
13:44 Kholloway joined #salt
13:44 sgviking joined #salt
13:45 agend joined #salt
13:46 jetole joined #salt
13:46 jetole joined #salt
13:48 santagada joined #salt
13:54 auser joined #salt
13:57 vaxholm joined #salt
13:58 vkol left #salt
13:58 nrub joined #salt
13:59 logix812 Ah I think I see why, things loaded under the Loader are treated as extensions, and loaded into an ext namespace accordingly
14:00 chrism yo dawg, i heard you like loaders
14:00 chrism =P
14:00 felskrone logix812: enlighten me, ive been asking myself what that was for :-)
14:01 logix812 felskrone: well.. It's conjecture at this point just looking at the output of that section. But the namespace they are targeting is: salt.loaded.ext.*
14:02 logix812 So my assumption is, because the Loader is dynamically loading things, they are keeping those dynamic parts segregated from the rest of the system but using that namespace
14:02 logix812 but = by
14:03 karlp should pip.install editable=. work?  (we run pip install -e . manually and it works) http://pastebay.net/1237366 or is this a bug?
14:03 kaptk2 joined #salt
14:03 logix812 the reload aspect of imp.import_module is punching me in the face right now though
14:04 aat joined #salt
14:04 karlp specifying the full path seems to work, editable=/home/asdfads
14:05 felskrone logix812: does that have anything todo with the extmods directory in /var/cache/salt/minion?
14:05 aberant joined #salt
14:05 karlp the check in salt/modules/pip.py:263 doesn't seem to be a very great check on local.
14:05 auser joined #salt
14:05 karlp shouldn't it just pass through to pip itself for parameter validation?
14:09 LyndsySimon joined #salt
14:11 sebgoa joined #salt
14:12 logix812 felskrone: I have not explored that connection yet
14:13 whit joined #salt
14:13 techdragon joined #salt
14:13 opapo joined #salt
14:14 logix812 felskrone: if I were to wager a guess, having absolutely no information and not looking at the code re: how modules are sync'd to minions
14:15 logix812 My hypothesis is that /var/cache/salt/minion is where the minions are storing their custom _states modules etc
14:15 logix812 that could be 100% wrong though, again, I have not looked at that part of the code, it's pure guessing at this point
14:16 felskrone that i know and is correct, i alwways wondered though, what the extmods directory was for and i though you were talking about that
14:19 qinxij joined #salt
14:21 santagada joined #salt
14:22 logix812 felskrone: looks like it's just in the search path when looking for modules to execute
14:22 felskrone jap
14:23 jalbretsen joined #salt
14:25 logix812 Ya, I was trying to figure out why they chose to use imp.import_module in the Loader instead of the other dynamic import options
14:29 lvicks joined #salt
14:30 oz_akan joined #salt
14:30 emilis_info joined #salt
14:31 opapo joined #salt
14:31 lvicks joined #salt
14:36 ttomkinson joined #salt
14:36 Kzim joined #salt
14:36 Kzim hi
14:37 Kzim is there a RPM repo up-to-date for salt please ?
14:37 arthur1 joined #salt
14:37 arthur1 hi
14:38 arthur1 saltutil.refresh_pillar returns None
14:38 arthur1 and I am getting some not updated pillars
14:38 arthur1 any tips on how to debug ?
14:38 whit joined #salt
14:39 opapo joined #salt
14:39 entil I had some cache issues, things take a while to catch up
14:39 entil and my weird-ass grain issues just never got solved, I had to change a bunch of code to get it going
14:40 aberant joined #salt
14:40 jpadilla joined #salt
14:40 cleeming[foxx] joined #salt
14:41 vaxholm joined #salt
14:43 mgw joined #salt
14:43 juicer2 joined #salt
14:44 teskew joined #salt
14:45 Khollowa_ joined #salt
14:45 entil (but it appears to be because python-boto behaves somehow different during boot than otherwise, there was some not-exactly-pertinent-but-close info on google, so it simply does not auth. so it's not even salt's fault)
14:45 arthur1 restart of the salt-minion works
14:46 __gotcha joined #salt
14:46 __gotcha joined #salt
14:47 danielbachhuber joined #salt
14:48 Katafalkas joined #salt
14:56 aat joined #salt
14:57 kho joined #salt
14:59 jrb28 joined #salt
15:00 __gotcha joined #salt
15:00 __gotcha joined #salt
15:01 armonge joined #salt
15:03 __gotcha_ joined #salt
15:03 __gotcha_ joined #salt
15:03 fidrox joined #salt
15:04 Gifflen joined #salt
15:08 ronc joined #salt
15:09 Gifflen joined #salt
15:13 abe_music joined #salt
15:20 clintberry joined #salt
15:21 milind joined #salt
15:22 alekibango joined #salt
15:27 milind_ joined #salt
15:27 sarkis joined #salt
15:29 Nazca huh ... salt.pkg.installed(pkgs=[...]) doesn't work properly on 0.15.1?
15:31 santagada joined #salt
15:32 oc_ How do you guys structure pillar bases for larger installations? I'd like something like pillar/production/app1.example.com/*.sls, however doesn't seem like salt likes dots in folder names. Suggestions for structure?
15:32 sarkis joined #salt
15:32 longdays joined #salt
15:32 chrism i think i used dashes or something to get around that
15:32 chrism it's lame
15:32 chrism but yeah
15:33 chrism the other thing I did was break it down by environments
15:33 Nazca given the naming rules are probably following python logic, no dots makes sense
15:33 longdays Quick Question: I have added a ppa with salt using the pkgrepo state module. I am in ubuntu. I does not look like salt ran apt-get upgrade. Is the pkgrepo supposed to do this for me?
15:33 chrism so like I do /srv/pillar/staging-appname/
15:34 chrism given that in my build an app will live on multiple VMs in different levels of "production"
15:34 chrism if I have to do a one off for a server, I'll just use it's base hostname, not the fqdn
15:35 Nazca chutzpah: ping
15:35 oc_ I have two data centers and the office, but i prefer merely splitting into environments. I acctually use much of the same structure as you
15:38 oc_ my hostname structure is however yyyN.xxx.example.com where yyy is the class (i.e. app1, db4, mon1, mgmt1) and yyy is the customer/class initials (i.e. int = internal, dev = devinternal, goo = shorthand for google, tma = shorthand for times magazine, etc)
15:38 longdays nm, found a mistake in how I was declaring the ppa
15:39 techdragon joined #salt
15:41 DanGarthwaite joined #salt
15:44 viq oc_: we went even one further with that ;) We use internal domains, so you could have eg app01.prod.eapp.example.
15:44 viq Which is first application server for production in the eapplications "group"
15:46 ttomkinson joined #salt
15:47 kermit joined #salt
15:49 oc_ but i think i'll adapt a reverse now: i.e. pillars/goo/prod/app1/
15:49 oc_ viq: us too, but only for 'lesser' domains (i.e. dev/test/qa) (i.e. prod is default)
15:50 oc_ s/domains/environments/
15:50 viq I voted for keeping prod in there as well for sake of consistency, and it passed
15:50 viq We actually adopted that naming scheme a few months ago
15:51 oc_ hehe, i voted for omitting it, because i'm a lazy bastard ;)
15:51 chrism i think i'm going to slowly transition to /srv/{pillar,salt}/appname/
15:52 chrism and then put in the info for staging/integration/prod in all the states/pillar data
15:52 chrism then just have the hostname decide which aspects get sourced in
15:52 chrism i'm not sure if that works though...  still trying to figure it out in my head
15:52 chrism hehe
15:53 viq oc_: there's "I don't want to type" lazy and "I don't want to remember when to put it and when not" lazy ;)
15:53 oc_ do any of you use grains for separating environmental data?
15:53 ronc joined #salt
15:55 entil oc_: what's that?
15:55 entil or.. sorry.. like what kind of dat?
15:56 entil I use grains all over the place, and a little bit of pillar
16:05 santagada joined #salt
16:08 Bastion2202 joined #salt
16:12 UtahDave joined #salt
16:12 entil configuring the host names wherever, like postfix, and all that. and then this huge deal with ec2 tags
16:13 koolhead17 joined #salt
16:13 koolhead17 joined #salt
16:15 nrub joined #salt
16:15 KyleG joined #salt
16:16 mgw joined #salt
16:16 Bastion2202 Hey guys,  can a minion test.ping itself ? I am looking for a way to test if state is up with nagios
16:18 favadi joined #salt
16:18 Bastion2202 *if salt is up*
16:18 KyleG Bastion2202: Yup: sudo salt-call test.ping
16:19 geggam joined #salt
16:20 geggam are there any corporate users of saltstack yet ?
16:21 jdaggett joined #salt
16:21 Bastion2202 KyleG: this command return true even with salt-minion stopped
16:21 dthom91 Bastion2202/KyleG: If you do salt-call test.ping, it will practically always return true. Keep in mind that salt-call basically spins up a salt-minion process and invokes the command on it.
16:22 dthom91 geggam: What do you mean by corporate?
16:24 ZenoTasedro joined #salt
16:25 jpadilla joined #salt
16:26 DredTiger joined #salt
16:26 UtahDave geggam: many many corporate users
16:28 geggam as in rackspace dell or some other name
16:28 geggam i like the way salt is built but i need recognizable names to sell it
16:28 viq geggam: how about HP Cloud?
16:28 dthom91 There are enough professional users in the SF Bay Area that we have a Meetup group: http://www.meetup.com/Salt-Stack-DevOps/
16:28 UtahDave there are a bunch of logos at the bottom of our website: http://saltstack.com/
16:28 Shea joined #salt
16:28 viq geggam: or, you know, scroll down to the bottom of http://saltstack.com/ ;)
16:29 ZenoTasedro i work at rackspace and i use salt for my work project
16:29 UtahDave which is just a small sampling
16:29 geggam Patrick Crews, Software/Systems Engineer - HP Cloud -- heh
16:29 geggam guess where i work ?
16:30 geggam not cloud... but...
16:30 geggam id go to the meetup but i hate going into the city
16:30 geggam traffic blows
16:31 dthom91 True, but depending on where you're coming from you could take the BART in… Montgomery station is only a few blocks from there
16:31 Shea Hello, I am trying to set up a new salt-master for a development test. I would like to move a minion from my existing salt group to this new master, but the new master never sees a key.
16:31 Shea Any tips? I don't see anythign wrong when I run in debug mode.
16:32 UtahDave Shea: The minion caches the master's public key and rejects any other master until you delete the old master's public key from the minion
16:32 UtahDave if you start up the minion in debug mode you should get a notification of where to delete that key
16:32 parallel21 joined #salt
16:33 Shea @UtahDave thanks. I saw a /etc/salt/pki/minion/minion.pem, but nothing that looks like a master in the debug mode. I will keep looking and report back.
16:35 bemehow joined #salt
16:35 geggam dthom91, i thought linkedin was on cfengine ?
16:36 UtahDave I have no idea if linkedin uses cfengine or not, but they've been using Salt since the very early days of Salt.
16:36 MrTango joined #salt
16:36 geggam makes sense... salt is designed about the best of all the systems i have seen
16:37 geggam but i must deal with politics.. and how
16:37 santagada joined #salt
16:38 ZenoTasedro geggam: and how
16:38 ZenoTasedro i am dealing with that as well
16:38 geggam be nice if we could order corporate assassinations :D
16:38 geggam ill take 32 please
16:39 ZenoTasedro lol
16:39 ZenoTasedro i've been thinking of how to quantify how much time could be saved using salt over some less promising tools
16:40 ZenoTasedro or about using what ever is de-facto to deploy salt and be like, SURE! it uses that PoS you wanted
16:40 melinath joined #salt
16:40 geggam i have to deal witht he people who are protecting their jobs and their minions so they have "power" everything is manual
16:40 geggam i have to socially engineer everything to get anything accomplished
16:40 vaxholm joined #salt
16:41 geggam when im successful its fun... when im not its damned frustrating
16:46 mgw joined #salt
16:48 teepark joined #salt
16:49 dthom91 geggam: you have just described why I will never again work anywhere with more than 1k employees, and preferably <200
16:52 geggam im in this one strategically... with all the new insurance changes I wanted to be in a big company during the transition ... kids and a wife
16:52 Shea @UtahDave Thanks, I found the key and got it working.
16:52 dthom91 geggam: aha, yeah, if I were a family man it would be a different scenario, for sure.
16:52 SpX joined #salt
16:54 krissaxton left #salt
16:55 lempa joined #salt
16:56 mgw1 joined #salt
16:56 jpadilla_ joined #salt
16:57 jpadilla_ left #salt
16:57 jpadilla_ joined #salt
16:59 jpadilla_ joined #salt
16:59 teepark left #salt
17:03 ZenoTasedro UtahDave: so i was thinking of starting on a python binding to the salt-api, started to talk about it with whiteinge yesterday before he left
17:03 ZenoTasedro it's definitely something i'd like to use, as well it might be used in salt-pepper and salt-ui
17:04 Gifflen joined #salt
17:04 ZenoTasedro might be useful, rather
17:04 aberant joined #salt
17:05 luminous I'm having a difficult time separating out my thoughts correctly for what should go in a state versus a module. This is for functionality I'm looking to 'package up'. so if I have some webapp Foo, I want to be able to run a deploy method which does a bunch of stuff in python. but if I wanted to pass this module input, I would need to have a corresponding state - is that correct?
17:05 UtahDave ZenoTasedro: Yeah, that would be really cool.  I talked to whiteinge this morning about it and he said he spent some time last night on it.
17:06 UtahDave he should be online soon
17:06 ZenoTasedro okay, cool
17:06 ProT-0-TypE joined #salt
17:06 kleinishere joined #salt
17:06 UtahDave luminous: a module is where all the work should be done.  install this;  copy this to here; delete this file
17:06 luminous yep
17:06 luminous can you pull from pillar directly in there?
17:07 UtahDave the state should be idempotent.    pkg.installed;  etc
17:07 UtahDave and the state should use the corresponding execution module to actually do anything
17:07 luminous right
17:07 UtahDave yeah, you can pull from pillar pretty much anywhere you want.
17:08 chrism are there any docs up yet on the salt+ openstack setups?
17:08 ZenoTasedro chrism: https://salt-cloud.readthedocs.org/en/latest/index.html
17:08 ZenoTasedro this is a tool that interfaces with the openstack api
17:09 luminous so there would be two python 'modules' one (the state) for your idempotent definition of what should be, calling the right worker modules (part two) where necessary.
17:09 chrism aah werd
17:09 ZenoTasedro or did you mean the infrastructure for your own openstack deployment
17:09 chrism oh it's the salt-cloud stuff
17:09 chrism yeah
17:09 chrism infrastructure stuff for our own env
17:09 luminous chrism: there isn't that I have seen
17:10 chrism aye I think it's "really damned new"
17:10 ZenoTasedro ah, there's definitely some of that out there, but i'm not very savvy with it
17:10 luminous chrism: it seems salt-formulae stopped dev
17:10 UtahDave chrism: are you on the mailing list? Someone just posted their initial openstack salt configs
17:10 luminous for a bit
17:10 chrism UtahDave: aah i haven't looked for a few days
17:10 chrism i'll read through that now!
17:10 UtahDave luminous: yes
17:10 luminous it'd be nice to figure out what's missing from salt-formulae and import it from the other or which ever, but get them sync'd
17:11 chrism what's salt-formulae?
17:11 EugeneKay NaCl is a good one
17:11 chrism oh themailing list stuff is using salt to provision openstack specifically
17:11 chrism i was hoping for something where i could kick off an install/reprovision and automatically have openstack call salt to "do the right thing"
17:11 ZenoTasedro https://github.com/saltstack/formulae/tree/develop/openstack
17:11 luminous chrism: it's a reference repo to demonstrate salt states with pillar done right.. and used openstack as a project to salt
17:12 chrism aaah
17:12 luminous chrism: you'd have to add to the effort to do so
17:12 luminous but it does not seem far off
17:12 luminous it probably depends on what you want to do
17:12 chrism where's the existing effort for that now?
17:13 luminous the salt stack devs were working on some lowlevel integration with libvirt for ultra awesome salt mastership over vms on an openstack cluster
17:13 chrism aye that's what i'm interested in
17:13 luminous but I don't know if that's moved along or stagnated
17:13 chrism aah
17:14 luminous it's almost like too much has been going on for these new things (salt-ui, salt-api, salt-formulae, etc) to get to a more complete stage
17:14 Gifflen joined #salt
17:14 luminous not that I have any idea what is happening in the back room
17:14 santagada joined #salt
17:14 luminous just from a user persepctive, that is what I see
17:14 ZenoTasedro i hear you on that, that's why i really want to help ui/api get up there too
17:15 ttomkinson joined #salt
17:15 ZenoTasedro those are very valueable tools in the ecosystem for salt
17:16 chutzpah Nazca: pong
17:16 luminous agreed
17:17 ZenoTasedro with those components making any kind of platform as a service would be so simple
17:18 luminous how do you control whether a module is on/for a master or minion?
17:18 luminous ZenoTasedro: yea, salt is a game changer
17:19 luminous I imagine some of us coming into this space and communing with The Light as we have never before
17:19 luminous whaaa... I don't have to dick with apache any more?
17:19 luminous you'ved tamed windows.. and it's open source, whaaaa?
17:19 luminous :P
17:20 ZenoTasedro lol
17:20 luminous holy fsck, I can push a button and deploy my entire datacenter setup? wtf.
17:20 ZenoTasedro srsly
17:20 ZenoTasedro you vant clouds? i give you cloud
17:20 karlp just as long as you can work out how to declare everything as  a state...
17:21 luminous you sure has fsck can
17:21 ZenoTasedro no worries there, since you can write states in whatever
17:21 luminous and then fallback to python
17:21 luminous where you can do anything..
17:21 ZenoTasedro self healing infrastructure? why the hell not!
17:22 karlp ZenoTasedro: yeah, but it's still not always obvious how to.
17:22 luminous ZenoTasedro: right on :D
17:22 ZenoTasedro karlp: sure, but it's fairly correlated to the complexity of the task you're dealing with
17:22 Katafalkas joined #salt
17:22 ZenoTasedro nginx, redis, wsgi nodes.... no problem!
17:23 luminous that's why we need to put our work together a little, and let go of some of our attachments to somethings
17:23 karlp I'm trying to deploy a private python package, so I have to stop supervisord service, which stops gunicorn, get a tarball to the remote side, untar it, pip install -e it in a virtualenv, make sure to clean the old one out, then restart supervisor
17:23 luminous abstract it out
17:23 karlp and it _shouldn't_ be that hard,
17:23 luminous ZenoTasedro: you ought to be looking at uwsgi if you have not
17:23 karlp but I don't know how to delcare that in a _state_
17:23 ZenoTasedro yeah it does make me want to make a tutorial of some depth
17:23 luminous karlp: you don't
17:23 ZenoTasedro luminous: many intelligent people have suggested this to me as well
17:23 luminous you use overstate, and events, and returners, and all those little bits and pieces you ahve available
17:23 karlp I'd _love_ to hear how I should :)
17:23 ZenoTasedro i'm currently just using cherrypy's wsgi
17:23 karlp because those are just words to me so far.
17:24 luminous ZenoTasedro: it's badass in the ways that salt are
17:24 karlp I can use states to setup the environment,
17:24 luminous are/is
17:24 ZenoTasedro bold claim sir!
17:24 karlp and I can use salt modules/commands to do the steps by hand,
17:24 luminous ZenoTasedro: you should really go look at uwsgi's docs on rtd
17:24 luminous it speaks for itself
17:24 ZenoTasedro but that makes it too good to not look at
17:24 karlp but I have _zero_ idea on how to do this "properly"
17:24 luminous just consider the feature set
17:24 luminous karlp: hire someone or learn
17:24 luminous join the rest of us doing the same :)
17:24 luminous or help figure out how to abstract it
17:25 luminous ZenoTasedro: you could convert your app in an hour or less
17:25 ZenoTasedro karlp: the great thing is that there's not really a proper yet i don't think
17:25 luminous yea, holonic and self-healing is still something most don't believe in as somethign we ought to try for, let alone being close to attaining
17:25 ZenoTasedro luminous: perhaps, but i've added a lot of hooks into the cherrypy wsgi server itself, so those bits would no longer be available
17:26 luminous do you really think google's setup is not self-healing?
17:26 luminous ZenoTasedro: maybe, but I would not be surprised if uwsgi has your needs covered and remove the need for those hooks
17:27 luminous srsly
17:27 luminous ;)
17:27 luminous not that I know anythinga bout what you are doing (aside from not using uwsgi)
17:27 ZenoTasedro luminous: i know for sure it covers my needs better than the others i looked at when i was deciding, gevent, gunicorn etc
17:27 mgw joined #salt
17:27 ZenoTasedro i think i looked at 5 or 6
17:28 luminous uwsgi is like a webapp framework
17:28 ZenoTasedro brb
17:28 luminous the others aren't even close to comparison, save for uwsgi's python webapp support
17:28 ZenoTasedro luminous: also you're right
17:28 luminous you can run php..
17:28 ZenoTasedro already found one of the main things that cherrypy had that i liked over others
17:28 ZenoTasedro the 'cron' like tasks
17:29 ZenoTasedro similar to monitors in cherrypy
17:29 luminous you can EMBED a python webapp in uwsgi, with all it's libs, for ONE executable..
17:29 ZenoTasedro brb
17:29 luminous :)
17:29 karlp luminous: I _am_ learning,
17:29 karlp but saying," dude, just use returners and events mang, it's super easy!"
17:30 karlp it's.... not that easy and obvious for everyone...
17:30 efixit joined #salt
17:30 luminous where did I say it was easy?
17:30 luminous I haven't created a self-healing system..
17:30 luminous I'm working towards it though :D
17:31 karlp nevermind.
17:31 luminous what I am trying to say is that if you want that, salt will actually let/help you do so
17:31 luminous with a WHOLE LOT LESS work than ever before
17:31 luminous if you really want specific help, you need to be more specific about your needs and what you are unable to figure out
17:33 luminous karlp: ^
17:34 luminous apologies if you haved spelled it out already, i have not followed
17:34 karlp it's ok,
17:34 karlp I was more trying to say that salt gives you _many, many_ ways of doing things,
17:35 karlp and it's not at all always obvious how best to do something
17:35 karlp python's garish idea of managing packages doesn't help.
17:35 karlp if you knwo of any example salt setups that show how to upgrade a running wsgi service, that would be cool
17:35 karlp I can seeplenty of things like "service.running"
17:36 geggam best way is th simplest possible... complexity will bite you in the ass ... the more complex the harder it bites
17:36 geggam from my experiences
17:36 bhosmer joined #salt
17:36 luminous yea, there are many simple building blocks. i agree though, it is not alway clear what you need to use to build out an idea
17:36 luminous the docs have come a long way
17:37 luminous karlp: upgrading that service is completely dependent on the details of what and how
17:39 LyndsySimon joined #salt
17:40 karlp I'd like to think that python projects that provide a wsgi app, that must be run in gunicorn/uwsgi/etc aren't that uncommon.
17:40 karlp but, everybody seems to have their own way of running them.
17:41 LyndsySimon_ joined #salt
17:41 karlp also, I'd like to see _any_ examples of doing it with salt, I know they'll be different.
17:41 karlp and I'll find stuff ont he web, and experiment more, and it will all work out well in the end :)
17:41 karlp the things i've already got in salt are a vast improvement :)
17:42 ZenoTasedro i haven't completed anything close to a self healing system either
17:42 ZenoTasedro but i do have a system from blue/green deployments which is nice
17:42 ZenoTasedro for*
17:43 ZenoTasedro have been distracted with auth and acl's though, and then work related work :(
17:44 Nazca ZenoTasedro, not gonna lie ... my notion of wrapping salt from python is straight out importing the library and calling what I need instead of going through salt-api :p
17:44 Nazca chutzpah, I've filed a bump request for salt 0.15.3 if you get chance to look at it
17:45 ZenoTasedro yeah that's definitely the easiest way about it, i just want to use salt-api to expose subsets of functionality to devs and some end users
17:45 Nazca yeaaaah, I'm writing web service interface on top of it as well
17:45 ZenoTasedro while i could one-off solve my own problem, i'd rather collaborate
17:45 Newt[cz] joined #salt
17:46 ZenoTasedro that way i don't have to do all the work perhaps :D
17:46 Nazca that is a fair point, would be much nicer to do it properly, but I'm under a time constraint lol
17:46 ZenoTasedro and also smarter people can offer their input
17:46 luminous karlp: the "everyoen has their own way of running them" is why I note that part of our collective problem is that we need to let go a little bit on how those details are
17:46 luminous if it is secure and works, can you be ok with the config living somewhere else?
17:46 luminous :D
17:46 ZenoTasedro yeah the project im running with salt is an internal application, of low priority in the big scheme of things
17:47 ttomkinson joined #salt
17:47 luminous ZenoTasedro: what do you mean by blue / green?
17:47 Nazca some days I wish I could say the same
17:47 luminous hah
17:48 SpX joined #salt
17:49 ZenoTasedro luminous: it's where you have things setup to flip staging and prod with each other
17:49 ZenoTasedro in general
17:49 ZenoTasedro so like i have wsgi-n01 and -n02, i take -n02 down, update stuff, test it, then flip the load balancer to run on the updated node only while i update the old prod
17:49 luminous ah yea
17:50 Nazca is that a "we have two identical environments, one production and staging.  Update staging to latest and fail over to it"?
17:50 karlp like, here's an example of using salt... but it does it all by settting up git commit hooks that deal with stopping supervisor and restarting it: https://github.com/zen4ever/salty-wsgi/tree/master/salt/roots/salt/deployment
17:50 karlp which, is one way of doing things.
17:50 milind_ joined #salt
17:50 ZenoTasedro Nazca: yar
17:50 luminous that sounds nice
17:50 ZenoTasedro generally no downtime
17:50 Bastion2202 joined #salt
17:51 ZenoTasedro outside of murphys law
17:51 luminous ZenoTasedro: is that up on github or available to share?
17:52 luminous I"m curious about the method details
17:52 ZenoTasedro luminous: no i'm afraid not, but i do have interest in making something of an in depth tutorial on setting up that kind of system
17:52 melinath joined #salt
17:52 ZenoTasedro i'm not really an expert on it, but i'm sure if i make something i'll get some feedback
17:52 luminous bleh
17:52 ZenoTasedro also the tutorial would be a 2nd iteration, and probably better
17:53 luminous we need to pressure the suits to let go
17:53 luminous ya'll are using open source software and reaping the benefits of everyone sharing, yet you won't share back?
17:53 druonysus joined #salt
17:53 druonysus joined #salt
17:53 ZenoTasedro most if it is just interacting with nginx in my cafe
17:53 ZenoTasedro i share! :D
17:53 Nazca https://twitter.com/EmergencyPuppy/status/341975178957434880 <--- this is me the past few days... boss not approve :p
17:53 luminous ZenoTasedro: that's ya'll as in all the suits, not you
17:54 ZenoTasedro lol :)
17:54 __number` joined #salt
17:54 ZenoTasedro Nazca: that was me before i got this coffee right here
17:54 ZenoTasedro Nazca: now like http://www.thatsnerdalicious.com/wp-content/uploads/2012/04/my-morning-sidekick.jpg
17:55 eculver_ joined #salt
17:55 balltongu_ joined #salt
17:57 Nazca eheheh, yup, sounds about right
17:57 t0rrant_ joined #salt
17:57 ZenoTasedro but yeah luminous, i keep my in-rotation nodes in pillar, which is used to generate the nginx configs on my lb
17:57 fxdgear_ joined #salt
17:57 opapo_ joined #salt
17:57 fxdgear_ joined #salt
17:57 ZenoTasedro then it's just a matter of commenting blue out of pillar, highstate blue, then change out blue for green in pillar, highstate green, then readd green to pillar
17:57 kleinishere joined #salt
17:57 scott_walton joined #salt
17:57 ZenoTasedro pardon if that sounds crazy in those terms
17:57 cwright_ joined #salt
17:57 darrend_ joined #salt
17:57 ZenoTasedro but it all just comes down to pillar data and jinja templated nginx config
17:57 eskp_ joined #salt
17:57 insatsu joined #salt
17:58 santagada__ joined #salt
17:58 Gareth_ joined #salt
17:58 ZenoTasedro i also want to contribute to some docs for using ldap external auth, since i hacked on that module a little bit to get itworking
17:58 ZenoTasedro for my env that is
17:58 ZenoTasedro would rather talk to you lovely people than work :x
17:59 jafo` joined #salt
17:59 chrism woah
17:59 jlaffaye joined #salt
18:01 Nazca Oh **** yeah! House of Lords passed the marriage amendment with over 2:1 backing
18:01 Nazca or have they ... bbc news is being ambiguous
18:01 Nazca but yea, brb, need to celebrate :p
18:02 keith4 joined #salt
18:02 Kyle_ joined #salt
18:03 oz_akan_ joined #salt
18:03 eculver joined #salt
18:04 jalbretsen joined #salt
18:04 aat_ joined #salt
18:05 loz_hurst joined #salt
18:05 sashka_u1 joined #salt
18:05 cwright joined #salt
18:07 fidrox_ joined #salt
18:07 Gifflen joined #salt
18:07 Brainspa1kle joined #salt
18:08 Corey_ joined #salt
18:08 MTecknol1gy joined #salt
18:08 tamentis_ joined #salt
18:09 s0undt3ch joined #salt
18:09 indymike joined #salt
18:09 brettlangdon joined #salt
18:09 probablyfine joined #salt
18:09 seubert joined #salt
18:09 mirrorbox joined #salt
18:09 Daviey joined #salt
18:09 ahammond_ joined #salt
18:09 copec_ joined #salt
18:09 mattikus` joined #salt
18:09 Gifflen_ joined #salt
18:09 Ivo joined #salt
18:09 koolhead17 joined #salt
18:09 koolhead17 joined #salt
18:09 mackstick joined #salt
18:09 alexl joined #salt
18:09 chutzpah joined #salt
18:09 tseNkiN joined #salt
18:09 melinath_ joined #salt
18:09 zz___number5__ joined #salt
18:09 Lucas_ joined #salt
18:09 Valda joined #salt
18:11 _ilbot joined #salt
18:11 Topic for #salt is now Welcome to #salt - http://saltstack.org | 0.15.3 is the latest | Please be patient when asking questions as we are volunteers and may not have immediate answers - Channel logs are available at http://irclog.perlgeek.de/salt/
18:11 copec_ left #salt
18:12 rizumu joined #salt
18:12 Sypher joined #salt
18:12 craig joined #salt
18:12 jphall joined #salt
18:13 mperry_ joined #salt
18:13 cce joined #salt
18:13 cce joined #salt
18:14 Gifflen joined #salt
18:14 d10n joined #salt
18:15 auser joined #salt
18:15 t0rrant joined #salt
18:15 Katafalkas joined #salt
18:15 s0undt3ch__ joined #salt
18:16 seubert_ joined #salt
18:16 mirko joined #salt
18:16 SpX joined #salt
18:16 jeffrubic joined #salt
18:16 jpaetzel joined #salt
18:16 jpcw joined #salt
18:16 probably1ine joined #salt
18:17 indymike_ joined #salt
18:17 LordOfLA joined #salt
18:20 njoyce joined #salt
18:21 UForgotten joined #salt
18:21 jslatts joined #salt
18:21 ZenoTasedro Nazca: that's awesome
18:21 ZenoTasedro can has rights
18:22 jslatts joined #salt
18:22 copec joined #salt
18:22 timoguin_work joined #salt
18:23 timoguin_work joined #salt
18:23 dthom91 joined #salt
18:24 Ahlee joined #salt
18:26 stevetodd joined #salt
18:27 lvicks joined #salt
18:27 m_george|away joined #salt
18:27 satshaba1 joined #salt
18:28 a1j_ joined #salt
18:28 brettlangdon joined #salt
18:28 Dekkers_ joined #salt
18:28 avn_ joined #salt
18:28 valberg_ joined #salt
18:29 DustD1_ joined #salt
18:29 utahcon_ joined #salt
18:29 Sacro_ joined #salt
18:32 _Lionel_Debroux joined #salt
18:32 vaxholm joined #salt
18:32 whiteinge joined #salt
18:32 santagada joined #salt
18:32 spacedentist joined #salt
18:32 thekev` joined #salt
18:32 goodwill joined #salt
18:32 elements joined #salt
18:32 z3uS joined #salt
18:32 Odd_Bloke joined #salt
18:32 cbloss joined #salt
18:32 middleman_ joined #salt
18:32 mirrorbox joined #salt
18:32 crazysim joined #salt
18:36 _ilbot joined #salt
18:36 Topic for #salt is now Welcome to #salt - http://saltstack.org | 0.15.3 is the latest | Please be patient when asking questions as we are volunteers and may not have immediate answers - Channel logs are available at http://irclog.perlgeek.de/salt/
18:37 ferai joined #salt
18:37 Nazca joined #salt
18:38 MrTango joined #salt
18:39 Daviey_ joined #salt
18:41 tempspace_ joined #salt
18:41 davidone joined #salt
18:41 jdaggett joined #salt
18:41 hazmat joined #salt
18:41 hazmat joined #salt
18:41 balltongu joined #salt
18:44 _ilbot joined #salt
18:44 Topic for #salt is now Welcome to #salt - http://saltstack.org | 0.15.3 is the latest | Please be patient when asking questions as we are volunteers and may not have immediate answers - Channel logs are available at http://irclog.perlgeek.de/salt/
18:44 Gifflen joined #salt
18:44 rizumu joined #salt
18:44 t0rrant joined #salt
18:44 cleeming[foxx] joined #salt
18:45 keith4 joined #salt
18:45 andyshinn` joined #salt
18:45 juicer21 joined #salt
18:46 indymike joined #salt
18:46 svx joined #salt
18:47 Ahlee_ joined #salt
18:47 nkuttler joined #salt
18:47 jafo joined #salt
18:48 jphall_ joined #salt
18:48 drogoh_ joined #salt
18:49 Heartsbane joined #salt
18:49 karlp joined #salt
18:49 Heartsbane joined #salt
18:50 Ryan_Lane1 joined #salt
18:50 mattikus` joined #salt
18:50 ttomkinson joined #salt
18:50 Ryan_Lane joined #salt
18:51 s0undt3ch joined #salt
18:51 Lucas_ joined #salt
18:52 fxdgear joined #salt
18:53 jdaggett joined #salt
18:55 pt|Zool joined #salt
18:55 pt|Zool re
18:55 joehh joined #salt
18:59 lvicks_ joined #salt
19:00 nliadm how does the pillar caching work?
19:00 Ryan_Lane1 joined #salt
19:01 bauser joined #salt
19:01 bauser joined #salt
19:01 fidrox joined #salt
19:01 pt|Zool_ joined #salt
19:01 novel1 joined #salt
19:02 Ryan_Lane joined #salt
19:02 dthom911 joined #salt
19:02 atoponce joined #salt
19:02 utahcon joined #salt
19:02 entil_ joined #salt
19:02 darrend joined #salt
19:03 herlo_ joined #salt
19:03 DustD1 joined #salt
19:03 svx_ joined #salt
19:03 drogoh_ joined #salt
19:03 mperry__ joined #salt
19:03 cluther joined #salt
19:03 thekev joined #salt
19:03 avn joined #salt
19:03 crazysim joined #salt
19:04 cwright joined #salt
19:04 Tekni joined #salt
19:04 ttomkinson joined #salt
19:04 robins joined #salt
19:05 EugeneKay joined #salt
19:05 jdaggett joined #salt
19:06 jbub joined #salt
19:06 fxhp joined #salt
19:07 brutasse joined #salt
19:09 santagada joined #salt
19:10 UtahDave joined #salt
19:11 a1j joined #salt
19:13 jpcw_ joined #salt
19:13 UtahDave Corey: did you just reboot freenode?  :)
19:14 jeffrubi` joined #salt
19:14 Corey UtahDave: FUnny. :-p
19:14 lvicks joined #salt
19:15 DredTiger joined #salt
19:15 jpaetzel joined #salt
19:15 nliadm I'm getting an error in a pillar when the line it's complaining about doesn't exist anymore
19:15 copec joined #salt
19:15 nkuttler moar splits \o/
19:16 ronc joined #salt
19:16 UtahDave nliadm: have you refreshed your pillar?
19:16 nliadm yes
19:16 UtahDave what version of Salt?
19:16 cluther joined #salt
19:17 nliadm 0.15.1
19:17 nliadm it just returns 'None' for every minion
19:17 UtahDave is this on production or test system?  0.15.3 has some pillar fixes.  I think including this one.
19:17 nliadm production
19:18 nliadm okay, I'll try to upgrade later in the week, see if it gets better
19:18 UtahDave cool.
19:18 s0undt3ch joined #salt
19:20 Damianz joined #salt
19:20 fidrox joined #salt
19:25 MTecknology joined #salt
19:25 mirko joined #salt
19:25 druonysus joined #salt
19:25 SpX joined #salt
19:25 DerekD Hey all, do minions ask the master for highstate when they first come online?
19:27 felixhummel joined #salt
19:29 kleinishere joined #salt
19:30 DerekD I'm trying to provision Auto Scaling groups, but it seems as if they don't actually pull down the config. minions are 0.15.1 master is 0.13.1. Tried using master config schedule (which is awesome) but i'm not sure its working correctly
19:31 cedwards joined #salt
19:35 krissaxton1 joined #salt
19:40 clintberry joined #salt
19:40 parallel21 joined #salt
19:43 parallel21 I have a users.sls file I'm using to create and check if a user is present on minions. I'm getting the error "Failed to create new user" in the comment field when I run the command `salt '*' users.sls fred`
19:43 parallel21 Is there a debug log I can look at to find what the error might be?
19:44 sebgoa joined #salt
19:44 santagada joined #salt
19:44 JasonSwindle joined #salt
19:44 JasonSwindle Anyone using salt.states.virtualenv?
19:46 bemehow joined #salt
19:46 JasonSwindle My requirements.txt seems to install, but when I pip freeze inside of the ENV...... no go.
19:46 fxdgear joined #salt
19:46 aberant joined #salt
19:47 JasonSwindle My state, https://dpaste.de/GHxZX/
19:49 fxdgear JasonSwindle yeah I am…
19:49 ZenoTasedro JasonSwindle: i am as well
19:49 JasonSwindle ZenoTasedro: I know you are :P
19:50 JasonSwindle It is odd, I see it install / compile the req.txt items....
19:50 keith4 joined #salt
19:50 JasonSwindle but not in my pip freeze
19:51 z3uS "Nothing will change for you in the foreseeable future. Until the transaction is closed, which is expected in the third quarter, IBM and SoftLayer will continue to operate independently. Your SoftLayer account relationships and support infrastructure will remain unchanged, and your existing sales and technical representatives will continue to provide the support you need. "
19:51 z3uS "After closing, SoftLayer will operate as a business unit within IBM, with the same team, services, and commitment to delivering a superior cloud service and innovation that we have today, and the additional resources and talent that IBM brings to bear."
19:51 z3uS fyi in case anyone cares ;)
19:51 ZenoTasedro i dunno, maybe i can help you take a look in a bit
19:52 JasonSwindle ZenoTasedro: Sure, I will be here.
19:54 geggam sometimes i wonder .... if peoples IQ's get much lower ... are they zombies ?
19:54 ggoZ joined #salt
19:56 Gifflen joined #salt
20:01 Nazca joined #salt
20:05 aat joined #salt
20:08 melinath joined #salt
20:12 cwright_ joined #salt
20:13 bemehow joined #salt
20:15 cedwards1 joined #salt
20:17 mzito___ joined #salt
20:17 DredTiger_ joined #salt
20:17 santagada joined #salt
20:18 Ahlee_ so anybody found a natural tipping point for a single master?
20:18 Ahlee_ i'm about to saltify 1067 nodes in staging, and i'm curious how this is going to work out.
20:19 MFen joined #salt
20:19 cwright_ left #salt
20:21 kleinishere joined #salt
20:23 joehh joined #salt
20:24 tamentis joined #salt
20:24 fidrox joined #salt
20:25 SirScott joined #salt
20:27 SirScott any FreeBSD users who may have pointers for getting salt to compile programs from the ports tree?
20:28 y0j joined #salt
20:28 davidone joined #salt
20:28 hazmat joined #salt
20:28 ronc joined #salt
20:28 Tekni joined #salt
20:28 thekev joined #salt
20:28 djinni` joined #salt
20:28 middleman_ joined #salt
20:28 LordOfLA joined #salt
20:28 abscond joined #salt
20:28 joshe joined #salt
20:32 herlo joined #salt
20:34 cedwards joined #salt
20:35 craig is there an easy way to test eauth ldap?
20:35 craig its a user that doesn't have a shell/local account, though
20:35 JasonSwindle ZenoTasedro: Got it working, my permissions were to tight
20:37 nkuttler SirScott: doesn't http://docs.saltstack.com/ref/modules/all/salt.modules.freebsdpkg.html do that?
20:38 nkuttler i don't manage any freebsd hosts with salt but would have thought that uses ports
20:40 canci_ joined #salt
20:41 chrism prots is too janky to rely on in an automated sense
20:41 chrism er ports even
20:41 chrism i don't know if that's the reason behind it, but that's been my experience
20:42 nkuttler ah. i thought you could pinpoint it to some svn revision anyway..
20:43 SirScott nkuttler: i was under the impression that it would be using pkgng... i'll give it a shot to see if it'll fetch the ports tree and compile a pkg.
20:44 sebgoa joined #salt
20:44 nkuttler SirScott: you're probably right
20:44 SirScott chrism: agreed.  the intent is to build poudriere from the ports tree, then use the poudriere module to take over.
20:50 geggam Ahlee_, 1 chef system has been known to do 10k nodes... my gut tells me salt is built better and will handle at least that if not more.. caveat i havent tried as of yet
20:50 geggam if i win the political war potentially i could tell you
20:50 santagada joined #salt
20:51 bhosmer joined #salt
20:52 Nazca ok... I can use file.directory to manage the creation of directories and file.rename to move files around... how to I tell it "if this is a file you need to move it and make a directory there instead"?
20:54 auser I'd use command for that Nazca
20:54 auser cmd with onlyif
20:55 cwright_ joined #salt
20:55 Nazca yea, using cmd had occurred to me, I wanted to see if it could be done some other way first though
20:55 giantlock joined #salt
20:56 Corey DanGarthwaite: I've managed to replicate your issue, yay.
20:58 aberant joined #salt
21:00 clintberry joined #salt
21:00 Ahlee_ geggam: word
21:01 oliv_mc joined #salt
21:02 emilis_info joined #salt
21:06 canci_ I have a python module foobar.py in /srv/salt/_modules with a method called test. I trying it using {{ salt['foobar.test'])) }} from a jinja template, however I get "UndefinedError: 'foobar' is undefined". Any idea what I am doing wrong there?
21:06 parallel21 left #salt
21:08 canci_ false alarm, it was just pebcak :/
21:16 errstr left #salt
21:21 santagada joined #salt
21:21 spudbook joined #salt
21:28 efixit joined #salt
21:33 Ivoz joined #salt
21:34 techdragon joined #salt
21:36 krissaxton joined #salt
21:37 emilis_info left #salt
21:39 nrub joined #salt
21:41 sgviking joined #salt
21:42 rysch joined #salt
21:46 clintberry joined #salt
21:47 joehh joined #salt
21:52 erchn joined #salt
21:54 UtahDave joined #salt
21:56 santagada joined #salt
21:59 felskrone joined #salt
22:04 UtahDave joined #salt
22:06 bemehow_ joined #salt
22:09 UtahDave joined #salt
22:10 jdaggett joined #salt
22:13 oliv_mc joined #salt
22:14 oz_akan joined #salt
22:14 druonysus joined #salt
22:14 druonysus joined #salt
22:16 jesusaurus has anyone here been able to successfully call a jinja macro from inside another jinja macro?
22:19 UtahDave jesusaurus: I've never attempted that.  (sorry I don't have a helpful answer. I didn't want to leave you hanging.)
22:20 joehh joined #salt
22:20 Ivoz joined #salt
22:21 rysch joined #salt
22:21 jesusaurus well, i may just have to bite the bullet and make this less modular :/
22:21 jesusaurus because i have no idea why im getting a NameError
22:22 oliv_mc joined #salt
22:23 rysch hey all, I was wondering if anyone noticed that the -y flag for salt-key doesn't seem to have any effect at all in 0.15.1
22:23 rysch e.g. salt-key -y -d <minion-id> does absolutely nothing
22:24 rysch I dug through issues and briefly through the mailing list and didn't see anything relevant there already
22:25 spudbook_ joined #salt
22:28 KyleG joined #salt
22:29 kermit joined #salt
22:31 santagada joined #salt
22:32 UtahDave rysch: could you open an issue on that?
22:32 rysch sure can, just wanted to run it past here before I did
22:33 UtahDave thanks!  that's usually a good idea.
22:33 aleszoulek rysch: I believe this was fixed.
22:33 aleszoulek Had the same issue.
22:33 aleszoulek Let me see.
22:33 jdaggett1 joined #salt
22:34 rysch I started tracing it around in the code and on github, but my python is weak
22:38 jesusaurus UtahDave: i got it! apparently i forgot to put quotes around a literal default value...
22:39 UtahDave ah, glad you caught it!
22:41 aleszoulek rysch: This is the commit https://github.com/saltstack/salt/commit/59e9c5a59208806da973cf0369572cb920f85852 /cc: UtahDave
22:41 aleszoulek That fixes salt-key -y
22:41 UtahDave ah, cool. Thanks, aleszoulek!
22:42 rysch great! thanks aleszoulek
22:43 rysch glad I stopped by before submitting that one :-)
22:44 aleszoulek np
22:44 aleszoulek We need more tests. 0.15.1 wasn't exactly the most stable release :)
22:45 rysch the salt-call giving exit code 2 all the time was my favorite issue in 0.15.1
22:45 aberant joined #salt
22:46 UtahDave aleszoulek: yes, very true. many more tests are needed and are in the works
22:46 felskrone joined #salt
22:46 aleszoulek Yep. I understand that new features are sometimes buggy, but the old ones should be really more stable
22:47 aleszoulek UtahDave: I know. Had disgussion about that with Thomas.
22:47 aleszoulek "Late Berlin Hotel Lobby Jet Lag Talk"
22:47 rysch I'm confident it'll get more stable as time goes on, unfortunately it's occasionally really painful for those of us running salt in production
22:48 kho joined #salt
22:49 UtahDave :)
22:49 aat joined #salt
22:49 kho joined #salt
22:49 UtahDave aleszoulek: I think Tom has a notepad with that title on the top
22:50 aleszoulek UtahDave: lol
22:50 cluther Security concerns aside, is there a way to do a file.managed state with an http source and no source_hash?
22:50 cluther I'm looking to automatically pull in the "latest" of something.
22:51 austin987 joined #salt
22:52 UtahDave cluther: yeah, the source_hash isn't required, it just helps to check if the file has changed so it doesn't download it if no changes were found
22:53 cluther UtahDave: That makes sense, but I get a "Unable to determine upstream hash of source file ..."
22:53 cluther Perhaps this is just a bad idea.
22:53 UtahDave Hm. let me check the docs
22:54 cluther UtahDave: The docs do say it's required. The code seems to say so too, but I thought I'd ask.
22:54 UtahDave Hm. You're right. it does say source_hash is required.
22:56 ada joined #salt
22:59 kermit joined #salt
23:01 adotbrown joined #salt
23:04 santagada joined #salt
23:05 oliv_mc joined #salt
23:08 soukihei joined #salt
23:11 cxz joined #salt
23:15 bemehow joined #salt
23:15 adotbrown joined #salt
23:20 aat joined #salt
23:21 jdaggett joined #salt
23:27 felixhummel joined #salt
23:33 mikedawson joined #salt
23:35 cxz joined #salt
23:40 fivethre1o joined #salt
23:40 kallek_ joined #salt
23:42 FreeSpencer joined #salt
23:42 aranhoide joined #salt
23:42 raul joined #salt
23:45 Guest82462 Hi, i´m having troubles installing node and npm with salt, the installed version are too old, how can i updragrade node & npm from my SLS??
23:46 chjohnst_work joined #salt
23:48 chjohnst_work question about syndics, if I am sending "salt '*' test.ping" from the master of all my syndics, why do I see the traffic hit the minions hanging off of the syndics but I get no response back to master (of the syndics)
23:48 chjohnst_work ùíù [total users on irc(76099)]
23:48 chjohnst_work left #salt
23:48 _chjohnstwork joined #salt
23:49 UtahDave what version of salt are you on, chjohnst_work?
23:49 chjohnst_work sup UtahDave
23:49 chjohnst_work 0.15.1
23:49 UtahDave Guest82462: salt \* pkg.install node  (or whatever the package name is on your os)
23:49 UtahDave you could also try pkg.latest
23:50 UtahDave chjohnst_work: have you tried extending the timeout a bit?  like maybe   -t 15   ?
23:51 chjohnst_work yup, tried 60 seconds
23:51 chjohnst_work if I tcpdump the port I can see the actual connection comming into the minion hanging off the syndic, traffic back to the syndic
23:54 UtahDave chjohnst_work: can you try using 0.15.3?  I think there were a couple syndic fixes after 0.15.1
23:56 chjohnst_work was that released yet? I am happy to, I thought that was on hold
23:56 UtahDave nope!  got release yesterday
23:56 chjohnst_work badda bing!
23:56 chjohnst_work fedora rpm avail? I will need to respin for RHEL and F18
23:56 Guest82462 @UtahDave in my SLS file i have nodejs:   pkg.latest then i call sudo salt-call state.highstate, but at the end node version still is v0.6.12 & the last version for node is v0.10.10
23:57 UtahDave chjohnst_work: I believe the rpm is in epel-testing.
23:57 UtahDave is that correct, herlo?
23:58 UtahDave Guest82462: what's the output of    salt-call state.single pkg.latest nodejs
23:59 adotbrown joined #salt

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