Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-01-02

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

All times shown according to UTC.

Time Nick Message
00:01 wolfpackmars2 joined #salt
00:05 rojem joined #salt
00:17 oz_akan_ joined #salt
00:41 martoss joined #salt
00:51 jfzhu_us Is there a command that a minion can run to confirm that it has a connection with the master?
00:55 scooby2 you can ping the minion from the master
00:57 rojem joined #salt
01:00 taion809 joined #salt
01:10 davidfischer joined #salt
01:13 bhosmer joined #salt
01:17 jfzhu_us scooby2: I meant from the minion because I want to confirm that I don't have an assymetric path from my master to the minion
01:18 oz_akan_ joined #salt
01:19 jfzhu_us scooby2: Although, that being said, I could just do a regular ping from the minion to the master rather than using salt
01:21 jfzhu_us I have a salt minion whose IP address was assigned via dhcp. Previously I was able to ping the salt minion via salt master but after I changed the IP of the minion to be a static ip i am unable to ping the minion from my master. I am not sure how to debug this problem so any advice would be helpful here
01:21 thomaso joined #salt
01:31 foxx joined #salt
01:33 justBob_ joined #salt
01:37 jeter_ joined #salt
01:38 jeter_ in a jinja template file, is there a way to detect if a variable has been defined?
01:41 martoss joined #salt
01:43 jfzhu_us jeter_: From the jinja documentation (http://jinja.pocoo.org/docs/templates/#tests) : "For example to find out if a variable is defined you can do name is defined which will then return true or false depending on if name is defined"
01:47 oz_akan_ joined #salt
01:48 jeter_ ah, k
01:57 sroegner joined #salt
02:04 aaw2f I have a technical question....if I have a bunch of different minions i want to manage which are essentially part of a subscription "pool" what would be the best infrastraucture for it.
02:05 aaw2f so say I have subscribers A, do I have a pub/priv key pair for the A subscription group and then I just distribute keys to them manually?
02:10 cocoy joined #salt
02:19 sroegner joined #salt
02:36 jfzhu_us aaw2f: you could give all of them custom grains such as grain webserver and manage them that way. See http://docs.saltstack.com/topics/targeting/grains.html
02:36 jacksontj joined #salt
02:37 jfzhu_us aaw2f: I think the idea of distributing subscription keys is to simplify the management of keys, especially when you are on a 1k node env.
02:40 sroegner joined #salt
02:41 martoss joined #salt
02:45 jacksontj joined #salt
02:48 sfvivek joined #salt
02:58 xl1 joined #salt
03:01 canci joined #salt
03:01 bhosmer joined #salt
03:02 sroegner joined #salt
03:11 quickdry21 joined #salt
03:15 jfzhu_us joined #salt
03:18 canci joined #salt
03:24 sroegner joined #salt
03:35 aaw2f jfzhu_us what do you mean
03:36 aaw2f I'm building a cluster where people essentially pay a subscription fee to be a member of
03:36 aaw2f I'm just a bit confused on how i could possibly do the authentication
03:38 aaw2f jfzhu_us also they are all doing the same thing
03:38 aaw2f running the same commands, etc; however, depending on what key they authenticate with they get told to do different things
03:39 aaw2f also the information that i query from them needs to get inserted into a databse--how would I do that?
03:40 ckao joined #salt
03:40 jfzhu_us aaw2f: With salt, you can specify what minions do something based on some matching criteria. For example, I would call salt -G 'os:CentOS' test.ping to check if all my CentOS machines are up.
03:40 aaw2f Ohh
03:40 jfzhu_us aaw2f: In your case you could make a custom grain that said something like member salt -G 'subscription:Memeber' test.ping
03:41 aaw2f and that 'subscription:member' string is just a grain definition
03:41 jfzhu_us aaw2f: correct. You would have to define that in your minion's config file
03:42 aaw2f I guess I would need a way to have salt query a database to figure out which subscribers
03:42 aaw2f exist
03:42 martoss joined #salt
03:42 aaw2f or I guess I could just query all online grains
03:42 jfzhu_us aaw2f: With regards to your query about gathering minion info into a database. I am still new to salt so my naive way of implementing that would be to run a salt call and parse that information to put into the db
03:43 aaw2f also how can one umm
03:43 aaw2f I'm a bit confused on the concept of keys
03:44 aaw2f when I generate a new key for a minion then on the host machine I give each individual grain in the cluster the public key?
03:44 aaw2f and then i accept them on the server
03:45 jfzhu_us aaw2f: Sorry I gotta go for dinner. Hopefully someone else can answer your question or I'll catch up with you afterwards
03:45 aaw2f kk
03:45 aaw2f thanks for all of your help
03:46 sroegner joined #salt
04:00 jfzhu_us aaw2f: You can accept minion's key using the salt-key -A command and you can view pending minion's key using the salt-key -L command. The point of generating a key on the master is that you are an environment where new minions come up frequently (aws, vmware, basically vms) and accepting keys on the master is not practical (although you can make it insecure and accept keys by default). When you generate a key on the master, you can distribute that key so that it
04:01 srijan4 joined #salt
04:07 sroegner joined #salt
04:12 oz_akan_ joined #salt
04:14 oz_akan__ joined #salt
04:17 srijan4 joined #salt
04:17 sfvivek2 joined #salt
04:18 higgs001 joined #salt
04:21 favadi joined #salt
04:22 anuvrat joined #salt
04:25 fllr joined #salt
04:25 ravibhure joined #salt
04:28 sroegner joined #salt
04:34 sroegner joined #salt
04:41 Teknix joined #salt
04:43 martoss joined #salt
04:49 bhosmer joined #salt
04:50 higgs001 joined #salt
04:52 sroegner joined #salt
05:02 Teknix joined #salt
05:04 oz_akan_ joined #salt
05:07 favadi joined #salt
05:11 deepakmdass joined #salt
05:26 ravibhure joined #salt
05:32 summer joined #salt
05:33 summer Hello
05:33 summer I am using Grains
05:33 summer I want to get IP address of Minion
05:33 summer like this
05:33 summer http://pastebin.com/E9Ceu5ig
05:34 summer I want to get 1 IP Address in ipv4 to assign to the configuration file using Jinja & grains
05:34 summer binds :       - {{ grains['ip_interfaces']['eth1'](0) }}:82
05:35 summer but saltstack always throw exception
05:35 summer can you give me some suggestion ?
05:35 summer thank you very much
05:39 NV summer: should that be (0) or [0]?
05:39 summer I try both
05:40 summer but both have problem
05:41 summer Comment:   Undefined jinja variable; line 371 in template
05:41 summer When I use [0]
05:41 summer it say         Comment:   Undefined jinja variable; line 371 in template
05:43 forresta summer, why don't you just start with trying to get the value from the ip_interfaces
05:43 forresta see what that returns
05:43 forresta then eth1
05:43 forresta then see what that returns
05:43 forresta and narrow it down from there.
05:44 martoss joined #salt
05:44 summer I try : {{ grains['ip_interfaces']['eth1'] }}:82
05:45 summer and  ofcourse it throw :  in "<unicode string>", line 10, column 23:           - ['10.40.8.63']:82
05:45 summer so, it means that grains['ip_interfaces']['eth1'] is a List
05:45 summer with only 1 item in list: 10.40.8.63
05:45 forresta yea but you're still getting an error
05:45 martoss1 joined #salt
05:46 summer Now I want to get this Value by using {{ grains['ip_interfaces']['eth1'][0] }}
05:47 summer ah
05:47 summer it is OK now
05:48 summer the problem is not in this Line
05:48 summer it is in another line
05:48 summer :-s
05:48 summer thank you very miuch
05:48 forresta aww yea!
05:51 summer ah
05:51 summer I found the problem
05:51 summer it seem that when I extends a state
05:52 summer I don't extends all the context variable
05:52 summer so Jinja don't know some variable
05:52 forresta ahh
05:52 summer is there anyway for me to extends only some context variable,
05:52 summer another are inherit from the father states ?
05:53 forresta I'm not sure I haven't tried to do that before.
05:53 summer ok, thank you very much
05:53 summer you help me a lot
05:54 forresta np
05:55 ravibhure joined #salt
05:57 rojem joined #salt
06:03 ravibhure joined #salt
06:03 favadi joined #salt
06:05 NV summer: use default and context
06:05 NV context overrides default
06:05 ravibhure1 joined #salt
06:07 scooby2 joined #salt
06:17 taion809 joined #salt
06:20 summer @NV: OK, it works
06:20 summer thank you very much
06:21 NV np
06:26 matanya joined #salt
06:38 bhosmer joined #salt
06:41 sroegner joined #salt
06:46 martoss joined #salt
06:59 rmt joined #salt
07:14 oz_akan_ joined #salt
07:22 fllr joined #salt
07:32 cnelsonsic joined #salt
07:39 TomasNunez joined #salt
07:47 martoss joined #salt
08:05 srage joined #salt
08:15 harobed_ joined #salt
08:25 ravibhure joined #salt
08:26 bhosmer joined #salt
08:30 sroegner joined #salt
08:34 fllr joined #salt
08:35 ravibhure joined #salt
08:38 helminthe joined #salt
08:48 martoss joined #salt
08:50 martoss joined #salt
09:03 KoFFiE_ 'morning
09:05 fllr joined #salt
09:05 slav0nic joined #salt
09:10 TomasNunez joined #salt
09:23 viraptor joined #salt
09:25 Furao joined #salt
09:37 deepakmdass joined #salt
09:51 Valdo joined #salt
09:53 sinh joined #salt
10:05 fllr joined #salt
10:14 elfixit joined #salt
10:19 sroegner joined #salt
10:26 taion809 joined #salt
10:29 radu joined #salt
10:30 Guest54994 Happy new year everyone ! I need a bit of help from you, maybe I am missing something now .
10:31 Guest54994 I am trying the returners and thought the easiest way is to try first the mysql returner
10:31 Guest54994 so I've configured the returner parameters in the master config file as on http://docs.saltstack.com/ref/returners/all/salt.returners.mysql.html
10:32 Guest54994 the grants are all ok but I don't get any data in the mysql database when I run the commands (with --return=mysql)
10:33 Guest54994 salt-master-0.17.1-1.el6.noarch , the python module is there MySQL-python-1.2.3-0.3.c1.1.el6.x86_64
10:33 Guest54994 logging set to garbage but still, no errors, no warnings
10:35 fllr joined #salt
10:44 radone joined #salt
10:50 viraptor joined #salt
11:10 Nexpro joined #salt
11:23 ekarlso joined #salt
11:24 mayak joined #salt
11:24 mayak left #salt
11:26 psyl0n joined #salt
11:28 pengunix2 joined #salt
11:31 anuvrat joined #salt
11:31 bhosmer joined #salt
11:35 fllr joined #salt
11:41 ggoZ joined #salt
11:43 dratone joined #salt
11:46 ravibhure joined #salt
11:48 dratone joined #salt
11:56 ravibhure1 joined #salt
11:58 xzarth joined #salt
12:02 bhosmer_ joined #salt
12:08 sroegner joined #salt
12:15 xl1 left #salt
12:37 fllr joined #salt
12:38 deepakmdass joined #salt
12:40 cym3try joined #salt
12:44 whiskybar joined #salt
12:50 whiskybar hi I just upgraded to 0.17.4 but all my file.managed files are 0600 now! it breaks everything in my scenario -- can I specify the default creation mode?
12:58 th3reverend joined #salt
12:58 th3reverend left #salt
13:02 blee joined #salt
13:17 slav0nic whiskybar, check `mode` param
13:21 whiskybar slav0nic: that's correct but I don't want to write 644 everywhere -- I have a significant amount of code/states written and I don't want to put it everywhere explicitely
13:21 nkuttler whiskybar: sounds like the global umask was changed, if there is one
13:22 whiskybar well, it worked with 0.17.2
13:22 xinkeT joined #salt
13:23 whiskybar `umask` prints 0022 which is correct but salt behaves as if it were 0066
13:35 fllr joined #salt
13:42 jeffrubic joined #salt
13:50 tyler-baker joined #salt
13:52 oz_akan_ joined #salt
13:54 fishpen0 joined #salt
13:56 sroegner joined #salt
14:00 sync_nl joined #salt
14:00 iShming joined #salt
14:00 ggoZ joined #salt
14:01 sync_nl I have a top.sls file but when I run a 'salt-call state.highstate' on one of the machines in the 'dev'-environment I get an error
14:01 sync_nl here is my top.sls
14:01 sync_nl http://pastebin.com/ktAQU6XM
14:01 sync_nl and this is the error on the machine: http://pastebin.com/RFGrXBV9
14:02 brianhicks joined #salt
14:02 sync_nl the minion
14:02 sync_nl anyone have a clue what I'm doing wrong?
14:03 sync_nl if I remove the "dev" environment and just run base with '*' the highstate works
14:06 gadams999 joined #salt
14:09 Gifflen joined #salt
14:10 juicer2 joined #salt
14:14 psyl0n joined #salt
14:20 racooper joined #salt
14:24 oz_akan_ joined #salt
14:24 gadams999 joined #salt
14:25 mattmtl joined #salt
14:27 andresr joined #salt
14:32 anuvrat joined #salt
14:33 gmoro joined #salt
14:34 quickdry21 joined #salt
14:35 fllr joined #salt
14:37 toastedpenguin left #salt
14:49 fllr joined #salt
14:51 fllr joined #salt
14:52 JasonSwindle joined #salt
14:54 Gifflen joined #salt
14:56 pdayton joined #salt
14:57 sroegner joined #salt
14:59 rojem joined #salt
15:03 vejdmn joined #salt
15:11 radone I've asked a question earlier regarding returners, nevermind .. I've realized that the returners work the other way around .. minions doing all the work, right ? :)
15:15 sync_nl radone: yes, minions execute commands supplied by the master
15:15 diegows joined #salt
15:16 timoguin joined #salt
15:16 sfvivek joined #salt
15:19 or1gb1u3 joined #salt
15:20 sfvivek2 joined #salt
15:21 radone sync_nn: I thought (hoped) that when you use a returner the output will be captured by the master in the database but instead the returner is configured on the minions and the minions push the data somewhere once the job is done..I was reading the documentation for mysql and it was master or minion but then tried mongo and postgres and saw only minion the the light bulb went on :D
15:24 elfixit joined #salt
15:26 cnelsonsic joined #salt
15:32 forresta joined #salt
15:34 jalbretsen joined #salt
15:41 th3reverend joined #salt
15:41 fllr joined #salt
15:41 th3reverend left #salt
15:52 danielbachhuber joined #salt
15:58 aberant joined #salt
16:00 seanz joined #salt
16:04 Linz joined #salt
16:07 aberant hello all, i got an interesting problem when i try to highstate.  i'll get these errors for a few packages "The following package(s) were not found, and no possible matches were found in the package db"
16:08 aberant now.. when i do a cmd.run "yum install <pkg>"  it works.. or when i use the pkg module..that works as well.. it just doesn't seem to work from a highstate
16:08 aberant using version 0.17.2
16:08 forresta aberant, do the packages have release values IN the name? Or dashes
16:08 UtahDave joined #salt
16:09 forresta aberant, or periods
16:10 aberant @forresta yeah.. here's one of them java-1.7.0-openjdk
16:10 aberant the others have either a dash or a period.. or both
16:10 Marion joined #salt
16:10 forresta yea that's the problem
16:10 forresta https://github.com/saltstack/salt/issues/8614
16:11 aberant @forresta thanks!  was starting to think i was going crazy
16:11 forresta aberant, can you upgrade your test environment if one exists to 0.17.4, I believe this was fixed in that release (though an issue with repeating states did creep up)
16:11 forresta aberant, yea we were bummed when we found that a while back. You could try jerry rigging it as wel by putting that data in the version field, I can't remmeber if that worked or not
16:12 aberant that's an interesting idea.. i'll mess with that before i try an upgrade.
16:13 forresta ok cool, there's a bug in 0.17.4 that creates issues if you have duplicate includes regarding states, so just be aware of that.
16:13 AdamSewell joined #salt
16:13 AdamSewell joined #salt
16:17 kolbe joined #salt
16:20 chadhs joined #salt
16:20 [diecast] joined #salt
16:21 abe_music joined #salt
16:23 jergerber joined #salt
16:23 teskew joined #salt
16:25 teskew how long before .17.4 is in launchpad/ubuntu repo
16:28 slav0nic joined #salt
16:31 cachedout joined #salt
16:31 forresta teskew, I thought it was already there
16:31 teskew let me take a look.
16:32 forresta Pretty sure the machine I built out this weekend has 0.17.4 on it, I can't check right now though
16:37 quickdry21 joined #salt
16:39 timoguin yea 0.17.4 is definitely in the PPA
16:42 forresta timoguin, thanks for the confirmation!
16:42 forresta I'd check, but no way am I logging into my personal machines from work :P
16:42 timoguin I don't need to check. I remember in my head! ;-)
16:42 forresta lol
16:46 blee_ joined #salt
16:46 aj0 joined #salt
16:48 Linz joined #salt
16:49 aberant left #salt
16:51 gkze joined #salt
17:01 pdayton joined #salt
17:01 quickdry21 joined #salt
17:03 vortec left #salt
17:04 jeter___ joined #salt
17:05 jeter___ is there a way to spin up new docker instances for digital ocean w/ salt cloud?
17:08 timoguin jeter___, you wouldn't use salt-cloud for that.
17:08 timoguin there is a docker module and state in the develop branch
17:08 timoguin https://github.com/saltstack/salt/blob/develop/salt/modules/dockerio.py
17:08 timoguin and the state: https://github.com/saltstack/salt/blob/develop/salt/states/dockerio.py
17:08 jeter___ well, im not trying to spin up containers but add 2 new docker applications
17:11 jeter___ https://www.digitalocean.com/community/articles/how-to-use-the-digitalocean-docker-application
17:11 timoguin ah yea
17:11 bbinet ping 94.23.194.53
17:11 timoguin salt-cloud can spin those up.
17:11 jcockhren bbinet++
17:11 KyleG joined #salt
17:11 KyleG joined #salt
17:11 jeter___ not sure how to do it w/ salt-cloud
17:12 jeter___ i can spin up regular cloud instances just fine
17:12 ccase joined #salt
17:12 timoguin well those applications are regular cloud instances, just with pre-configured software.
17:13 timoguin if you do salt-cloud --list-images <digital_ocean_id>
17:13 Linz joined #salt
17:13 jeter___ i guess there is a setting that needs to get set but im messing it up
17:13 jeter___ k
17:13 timoguin "Docker 0.7 Ubuntu 13.04 x64"
17:13 timoguin is see those in --list-images
17:13 jeter___ ah, missed that
17:14 timoguin so you'd just specify that for the "image:" option for your cloud profiles
17:15 Linz joined #salt
17:18 jeter___ thx
17:18 slav0nic joined #salt
17:18 slav0nic joined #salt
17:18 jeter___ works
17:18 forresta I've opened an issue to get that added to the docs.
17:20 jeter___ btw, salt-cloud is awesome!
17:20 higgs001 joined #salt
17:22 forresta yea it's pretty cool, gonna be even more amazing in the next release when it's part of the main salt package.
17:26 jacksontj joined #salt
17:27 troyready joined #salt
17:27 bhosmer_ joined #salt
17:29 ggoZ joined #salt
17:31 abe_music joined #salt
17:38 druonysuse joined #salt
17:39 cdcalef joined #salt
17:39 ajw0100 joined #salt
17:40 faldridge joined #salt
17:46 nliadm why does the syslog returner not spit out valid json?
17:47 ajw0100 joined #salt
17:48 xmltok joined #salt
17:50 cym3try joined #salt
17:51 xmltok joined #salt
17:52 jacksontj joined #salt
17:55 fedgoat joined #salt
17:56 william_20111 joined #salt
17:58 diegows joined #salt
17:59 bhosmer joined #salt
18:01 druonysuse joined #salt
18:07 psyl0n joined #salt
18:09 rojem joined #salt
18:11 Kraln joined #salt
18:15 Gareth morning.
18:15 JasonSwindle joined #salt
18:21 kermit joined #salt
18:24 forresta hey whiteinge are you around?
18:27 forresta hey Gareth!
18:28 Gareth hey forresta, happy new year :)
18:28 forresta Same to you
18:28 forresta A day off in the middle of the week is fantastic, that should become mandatory
18:29 amckinley joined #salt
18:29 Gareth seriously :)  will will weird next week though.  full 5 days.
18:29 forresta hah yea
18:31 aj0 joined #salt
18:33 lynxman joined #salt
18:35 JasonSwindle Any word when 0.17.5 or the next RC will be out? :)
18:36 rojem joined #salt
18:37 whiteinge forresta: hi
18:37 forresta whiteinge, hey, so regarding: https://github.com/saltstack-formulas/php-formula What's with the ordering values that are set up there? I noticed that in one or two other formulas. Is that simply for historical purposes?
18:38 cachedout JasonSwindle: Today or tomorrow for the RC unless something comes up.
18:39 JasonSwindle cachedout:  Amazing!  There is a postgres_user issue in 0.17.4 that looks to be fixed in dev…… Thank you! :)
18:40 aj0 joined #salt
18:41 whiteinge forresta: that is a method some people use for ordering states (and mixing in their own states order in between formula states). it is not the recommended way of ordering formula
18:42 forresta whiteinge, ok cool, I'll drop that out of the readme then
18:42 whiteinge thanks :)
18:42 timoguin forresta, honestly... looks like that php formula was ripped from the apache formula that has ordering for a the full debian config
18:42 forresta yea np
18:42 cachedout JasonSwindle: Our pleasure. We're excited to get the RC in front of people and have them start hunting for bugs.
18:42 forresta timoguin, yes I believe originally it was
18:42 timoguin no actual ordering going on in the states though
18:42 JasonSwindle cachedout:  As soon as it drops, I will be dev-ing on it
18:42 cachedout JasonSwindle: Excellent!
18:43 forresta timoguin, yea that's why I removed it.
18:43 JasonSwindle timoguin:  I was that too, and I see it keeps including apt…. but I did not see an apt sls.
18:43 whiteinge it's not a bad way to go for your own stuff, imo. it's too formula-specific to use for general-use formula, imo
18:43 JasonSwindle Unless I am just silly.
18:43 JasonSwindle * saw that too…… derp
18:43 forresta JasonSwindle, correct it doesn't need apt, I'll be fixing that when I go home since whiteinge confirmed on my merge that there was no reason for it
18:43 JasonSwindle Awesome.  I need to get some of my slsssssssss into the repo
18:44 forresta formulas?
18:44 whiteinge i think it's intending to include the full apt formula
18:44 JasonSwindle Yep.  But it would be a lot of re-work I don't have time for at the moment
18:44 forresta whiteinge, yea it is, and it works fine (I tested it with the apt formula)
18:44 whiteinge ah
18:44 forresta but it's not really great to have when the redhat machines run it
18:44 forresta just a waste of time
18:44 * whiteinge ndos
18:44 [diecast] joined #salt
18:45 KyleG1 joined #salt
18:46 forresta whiteinge, my plan is to try and get some more of the formulas (at least the commonly used ones) up to standards before saltconf, so we'll see how that goes.
18:47 whiteinge dude, nice :)
18:47 JasonSwindle forresta:  That is awesome!
18:48 forresta Well, I am doing a talk on them, so it would be pretty lame of me to go 'formulas are awesome! There are a bunch of them!' and then have some broken formulas :P
18:48 JasonSwindle Kenneth is not in IRC at the moment, but he was doing a lot of on the formulas.  I ping him on that.
18:48 forresta same name on github?
18:48 JasonSwindle Kenneth Wike was his name, not sure about on GitHub
18:48 thrashr888 joined #salt
18:49 forresta ahh ok
18:49 forresta I don't know if I've talked to him before
18:49 JasonSwindle was / is….. silly English
18:49 timoguin forresta, yuhp, imma be trying to do the same thing. giving a talk towards the end of Feb.
18:49 forresta timoguin, awesome
18:51 UtahDave kennethwilke
18:51 faldridge joined #salt
18:52 forresta oh duh
18:53 forresta ahh I see JasonSwindle, he wrote a formula for salt itself it looks like
18:53 neh_ joined #salt
18:53 forresta or at least has contributions for it
18:54 neh_ hello salters
18:54 neh_ :)
18:54 forresta hey
18:54 neh_ new to this channel and community
18:54 neh_ just wanted to drop in and say hello, ask a few questions.
18:54 neh_ First, happy new years to you all.
18:54 neh_ Hope you enjoyed your holidays
18:54 forresta neh_, Yea sure, if someone knows the answer they will probably respond.
18:55 neh_ Don't know how I managed to get an underscore in my nick, apologies.
18:55 forresta no worries.
18:55 neh_ so, I work for a startup, and head up analytics.
18:55 neh_ My background isn't in ops
18:56 neh_ but were now testing out a new analytics stack
18:56 neh_ distributed across a centos cluster
18:56 neh_ got tired of trying to deploy commands using some home brewed bash scripts
18:57 neh_ and discovered salt
18:57 neh_ and it works great so far
18:57 neh_ and am trying to use salt-ssh now
18:58 neh_ and wanted to know what are best practices for establishing passwordless ssh when using salt-ssh?
18:58 UtahDave welcome, neh_!
18:59 neh_ Hey UtahDave, Thanks!
18:59 forresta neh_, I'd probably use ssh keys
19:00 forresta neh_, by default if you leave the passwd option out of your roster file, it will try to use keys.
19:00 neh_ of course, but what's your procedure to deploying to the minions (no salt)
19:00 psyl0n joined #salt
19:00 neh_ Hmmm, and sorry to ask, what is a roster file? You referring to known_hosts?
19:01 neh_ or perhaps config?
19:01 forresta I'm referring to this part of salt-ssh: http://docs.saltstack.com/topics/ssh/roster.html
19:01 neh_ My current setup requires me to manually add each maching to my .ssh/config file
19:01 neh_ machine*
19:01 forresta Right
19:02 neh_ is that the only way?
19:02 forresta so what you might consider doing, is building the roster file with the passwords the first time, (especially if they are the same), and then push the ssh keys with that, then remove the passwords, which will then force ssh key usage.
19:03 UtahDave neh_: the roster system is designed to be pluggable, so that in theory it could be backed by a database, but right now the only implementations are the flat file roster and the network scan roster
19:03 jdenning joined #salt
19:03 forresta oh UtahDave, that reminds me. Does the windows installer install all the python deps?
19:03 neh_ passwords are indeed the same, but won't I still have to explicitly list all machines in that file?
19:03 neh_ ah
19:04 neh_ any tricks for building that file list quickly?
19:04 aj0 joined #salt
19:04 timoguin forresta, pretty sure it does
19:05 forresta timoguin, cool, some guy was asking and I couldn't find it documented anywhere if it did or not.
19:05 Teknix joined #salt
19:05 srijan4 joined #salt
19:05 aarontc joined #salt
19:05 pcarrier__ joined #salt
19:05 APLU joined #salt
19:05 crane_ joined #salt
19:05 djbclark joined #salt
19:05 gamingrobot joined #salt
19:05 bwq joined #salt
19:06 forresta my only suggestion was 'spin up a VM and check.'
19:06 forresta neh_, I haven't used the network scan roster before, UtahDave, are there any examples of doing that?
19:06 JasonSwindle UtahDave:  Howdy!
19:06 UtahDave forresta: yeah, installing Salt via the Windows Salt installer gives you a complete Salt Minion setup.
19:06 forresta UtahDave, ok good to know.
19:07 neh_ Hey forresta, thank you for the info. I'll give the scan roster a spin and see how far I can get.
19:07 neh_ thank you!
19:07 forresta neh_, yea if you have some good examples feel free to push them back to the docs, I don't think there's much documentation on that right now (unless I am missing it)
19:09 UtahDave hey, JasonSwindle!
19:10 JasonSwindle UtahDave:  You ready for SaltConf? :)
19:10 Gareth JasonSwindle: hey :)
19:10 JasonSwindle Gareth:  Howdy!
19:10 forresta hey timoguin, can you comment on https://github.com/saltstack/salt/issues/9530 regarding your earlier comment for salt-cloud : if you do salt-cloud --list-images <digital_ocean_id>
19:10 JasonSwindle Gareth:  Happy New Year!
19:10 Gareth JasonSwindle: same to you :)
19:11 opapo joined #salt
19:11 UtahDave JasonSwindle: Ah, man. There's a ton to do!  It's going to be a busy month!  :)
19:12 forresta Did you guys ever confirm whether the talks would be recorded or not?
19:12 timoguin forresta, sure, will do
19:12 JasonSwindle I agree, same here!  Looking at getting my tickets / hotel today.
19:12 timoguin man i really hope they're recorded
19:12 * timoguin can't go
19:12 gadams999 must be recorded, just... must.
19:12 jdenning I'll put the slides up for my talk, if nothing else
19:12 forresta timoguin, awesome thanks, I may have just incorrectly interpreted your explanation
19:12 forresta yea I'll have the slides up for mine as well
19:12 timoguin forresta, no, you didn't
19:12 gadams999 yay!
19:13 forresta timoguin, ok cool
19:13 timoguin err maybe you did?
19:13 forresta *shrug* that's why I was hoping for your input :P
19:13 timoguin i meant "id" in since of the cloud provider ID, as configured in /etc/salt/cloud.providers.d
19:14 timoguin so 'salt-cloud --list-images do' for mine
19:14 timoguin and those "applications" will show up in the list since they're just preconfigured instances
19:14 forresta Gotcha, I see now why there is confusion in the way I worded it
19:14 redmin joined #salt
19:14 forresta I'd still like to see a doc example :P
19:14 timoguin yea
19:15 jacksontj joined #salt
19:15 timoguin lemme throw an example together
19:15 forresta cool
19:18 JasonSwindle Gareth:  You going to be  at SaltConf?
19:19 seanz left #salt
19:23 aj0 joined #salt
19:25 bhosmer joined #salt
19:29 gadams999 left #salt
19:30 gadams999 joined #salt
19:31 spmurrayzzz joined #salt
19:32 liska joined #salt
19:32 kermit joined #salt
19:33 Gareth JasonSwindle: uncertain but at the moment I don't think I'll make it unfortunately.  current day job isn't a salt shop and not long after SaltConf is the show I organize, SCALE.
19:35 JasonSwindle Gareth:  https://www.socallinuxexpo.org/scale12x  this?
19:35 Gareth thats the one.
19:36 JasonSwindle Awesome!  I am glad to see Rackspace is a sponsor. :)
19:37 Gareth JasonSwindle: yeah. They've been a sponsor for a couple years now.  Glad to have them on board :)
19:37 UtahDave Can't wait for SCALE!  it was a lot of fun last year.
19:38 timoguin forresta, do you know where the hell the doc page you link is generated from?
19:38 timoguin i'm looking through the repo for it
19:38 Gareth UtahDave: well that's going to be different this year.  No Fun!
19:39 viraptor joined #salt
19:39 UtahDave timoguin: which doc page?
19:39 aj0 joined #salt
19:40 UtahDave Gareth: Thank goodness. The fun was exhausting last year!  :)
19:40 timoguin found it: doc/ref/clouds/all/salt.cloud.clouds.digital_ocean.rst
19:40 oz_akan_ joined #salt
19:42 * whiteinge sadly slides his already-packed SCaLE fun-basket off the side of his desk into the trash
19:42 JasonSwindle Sounds like I need to go to SCaLE…..
19:42 Gareth were there muffins in that basket?
19:42 whiteinge no. there were several fun muffins, however
19:43 Gareth damn.  those are tasty.
19:46 pdayton joined #salt
19:49 Kraln joined #salt
19:50 Gareth JasonSwindle: and yeah, you should come out for SCALE :)
19:51 JasonSwindle If I can OKed for it, I would LOVE to. :)
19:52 aj0 joined #salt
19:54 foxx joined #salt
19:55 UtahDave I just got this when I browsed to amazon.com:   Http/1.1 Service Unavailable
19:55 JasonSwindle Works for me….. UtahDave
19:56 JasonSwindle http://smile.amazon.com/ is the better Amazon anyway. :)
19:57 Gareth UtahDave: maybe someone at your office is blocking Amazon because you've been too much shopping :)
19:58 JasonSwindle Someone firewalls Amazon, they want the RC out faster. :P
20:01 Gareth hah
20:01 KyleG joined #salt
20:01 KyleG joined #salt
20:06 neh_ Hey forresta, I got it mostly working using a roster file. Works quite well.
20:07 neh_ Still, trying to --key-deploy, hit an error
20:07 neh_ [CRITICAL] Unable to import msgpack or msgpack_pure python modules
20:07 UtahDave now it's back.  phew!
20:08 neh_ followed by: WARNING: '/etc/salt' directory does not exist.
20:08 JasonSwindle UtahDave:  :)
20:09 neh_ Am I correct in that salt-ssh doesn't require salt installed on the target machines?
20:10 JasonSwindle Thomas is on fire today…… super busy!
20:15 colinbits joined #salt
20:15 UtahDave neh_: correct. Salt does NOT need to be on the target machine.
20:15 UtahDave neh_: is msgpack installed on your master?
20:16 neh_ I would have suspected that bootstrapping salt would have installed it, correct?
20:17 UtahDave neh_: how did you bootstrap salt?
20:18 neh_ curl -L http://bootstrap.saltstack.org | sudo sh -s -- -M -N
20:18 neh_ perhaps I missed something in that process?
20:18 neh_ salt --versions
20:19 neh_ msgpack-python: 0.1.13msgpack-pure: Not Installed
20:19 neh_ so I guess not?
20:20 timoguin it should have installed it, i think
20:21 UtahDave neh_: you actually don't need msgpack-pure as long as msgpack is installed
20:22 UtahDave You're probably fine.
20:22 UtahDave neh_: can you pastebin the output of     salt --versions-report
20:25 mr_chris joined #salt
20:26 EugeneKay I signed up for AmazonSmile but I never remember to do my purchasingthrough it
20:26 JasonSwindle EugeneKay:  I was the same, but there is a great Chrome plugin to fix that
20:26 EugeneKay I hadn't thought of that
20:26 JasonSwindle http://www.smilealways.io/
20:26 EugeneKay I bet there's a Firefox one, too
20:27 EugeneKay Tada! https://addons.mozilla.org/en-US/firefox/addon/amazonsmileredirector/
20:27 JasonSwindle :)
20:27 EugeneKay Now I need to rework my Greasemonkey shortlink script so it generates the proper links
20:27 andresr joined #salt
20:28 EugeneKay Oh wait, it's already *. Yay
20:28 JasonSwindle Smile Always is open source, so it does not look to be doing horrible things to your link / data  ( https://github.com/Jdhaimson/smilealways )
20:29 EugeneKay It's hard to closed-source JavaScript :-p https://addons.mozilla.org/en-US/firefox/files/browse/235496/
20:33 forresta Sorry timoguin, I was grabbing some food, glad you found it.
20:33 forresta timoguin, are you gonna make a pull request?
20:33 timoguin forresta, already done
20:33 forresta damn I was gonna ask you to fix the typo in the title
20:33 EugeneKay Haha and the logo in the corner is now for "amazonsmilePrime"
20:34 EugeneKay What's next? v2.0+bacon?
20:34 timoguin forresta, nope, you are forever shamed
20:34 forresta I don't understand, I fixed that already
20:34 forresta https://github.com/saltstack/salt/commit/b6c9fe7a5c7583cac5fe980455f99e65ded53592
20:34 forresta oh that was the other one lame
20:34 forresta oh no, I did fix it...
20:35 forresta That's odd.
20:35 JasonSwindle Half of my commits are typo fixes. :|
20:35 forresta oh the docs haven't been rebuilt
20:35 brianhicks joined #salt
20:36 forresta whiteinge, next time you rebuild the docs, can you make sure to rebuild the cloud chunk as well? Looks like commits as old as 21 days aren't in https://github.com/saltstack/salt/blob/develop/doc/topics/cloud/digitalocean.rst
20:36 forresta versus http://docs.saltstack.com/topics/cloud/digitalocean.html
20:37 JasonSwindle I bet they will be soon, 2014.1.0 looks to be close…..  http://www.bite.ca/wp-content/uploads/2013/02/soon-ish.jpg
20:38 JasonSwindle I hope....
20:38 forresta lol relax :P
20:38 JasonSwindle :)
20:41 forresta The typo fix is clearly a bigger deal than the release, come on!
20:41 jacksontj joined #salt
20:42 dijit joined #salt
20:42 psyl0n joined #salt
20:43 timoguin clearly
20:45 Kraln joined #salt
20:47 forresta timoguin, did your note get formatted correctly since you didn't indent everything 4 spaces?
20:47 psyl0n joined #salt
20:47 forresta I can never remember if restructured text handles that correctly because it is the same block or not
20:48 forresta and you also put everything on one line :O
20:48 timoguin :( it may not have. i didn't realize it had to be 4 spaces
20:49 forresta no worries, I'll pull down the repo and test it on my vm when I get home, good working on this though
20:49 forresta err wording
20:51 aj0 joined #salt
20:51 Ryan_Lane joined #salt
20:52 neh_ Hey UtahDave, turns out I was calling a raw command incorrectly using salt-ssh
20:53 neh_ salt-ssh '*' echo $HOSTNAME
20:53 KyleG joined #salt
20:53 KyleG joined #salt
20:53 neh_ is incorrect
20:53 neh_ and should be called like
20:54 neh_ salt-ssh '*' -r 'echo $HOSTNAME'
20:55 neh_ One last question I have: Do you typically manage / execute salt from your local machine, or from a remote master?
20:55 forresta neh_, well using salt-ssh it will be more resource intensive than standard salt
20:55 forresta and I've seen people do it both ways, but usually it's on some sort of remote server that can scale/is accessible by multiple members of the team who need to access it
20:56 neh_ right, and that's the way I have it setup now
20:56 forresta Here's a video that was made a while back: http://www.youtube.com/watch?v=uWGDC1PdySQ
20:56 UtahDave neh_: I usually use a remote master because I don't always have my laptop turned on.
20:56 neh_ gotcha, thanks, that makes a lot of sense.
20:56 forresta where they spun up a 100 node riak cluster, and UtahDave was running it off his laptop, and it did impact performance due to establishing so many connections.
20:57 neh_ I just watched that! I was wondering if UtahDave was the same guy in the video!
20:57 robawt that's because UtahDave was running KDE right? j/k
20:57 neh_ Impressive.
20:57 * UtahDave waves!
20:58 rojem joined #salt
20:58 * robawt highfives UtahDave
20:58 UtahDave lol, nope! robawt: i3
20:58 * UtahDave highfives robawt
20:58 robawt UtahDave: saltstack needs to kick you down some money so you can go atleast i5
20:58 timoguin lol
20:59 timoguin think he means the i3 window manager. ;-)
21:00 rojem joined #salt
21:01 UtahDave :)
21:02 UtahDave left #salt
21:02 forresta jeez robawt, you insulted him
21:02 forresta :P
21:02 robawt we can't have that
21:02 forresta so much so that he left
21:03 thrashr888 joined #salt
21:03 robawt i'll never be able to forgive myself :(
21:03 forresta heh
21:03 UtahDave joined #salt
21:03 forresta ahh the joke isn't as good when he comes back
21:04 UtahDave dangit, sorry!
21:04 Gareth forresta: except he came back armed with an @!
21:04 forresta lol
21:06 neh_ Ok, one last question. What do you all use for virtual env configuration? Just a quick sample.
21:06 neh_ Vagrant?
21:07 forresta neh_, most people are usinv vagrant or docker that I've seen.
21:07 Ryan_Lane joined #salt
21:07 neh_ right, and what would you recommend? Do they differ substantially?
21:08 forresta I don't use either enough to give a fair comparison, or substantial insight.
21:08 JasonSwindle I used Vagrant heavily and loved it
21:08 forresta I know there's the vagrant support via salty-vagrant
21:08 forresta and there's the new docker stuff.
21:08 JasonSwindle It got odd when I started to use the peer and publish.publish system
21:09 JasonSwindle neh_:  https://gist.github.com/JasonSwindle/5cbf76e8dfa13709b6a9
21:10 JasonSwindle My Vangrantfile, when I was masterless
21:11 neh_ JasonSwindle: thank you!
21:12 JasonSwindle Any time.  I gave up trying to make a master in Vagrant and convert the masterless configs and etc to Master-full (?) configs
21:12 JasonSwindle It got too messy, and I just created a master and dev-ed in the cloud.
21:12 snave joined #salt
21:13 JasonSwindle neh_:  You will need to change "salt.minion_config"
21:13 JasonSwindle and salt.install_args
21:14 neh_ OK
21:14 JasonSwindle and none of this may work, but it was right before Salt plugin got pulled into Vagrant…..
21:15 neh_ so, we're starting from scratch over here.  Our default VM is CentOS 6.3
21:15 JasonSwindle neh_:  Updated the gist with a node example.
21:15 JasonSwindle You should only need to change the Box link….
21:15 martoss joined #salt
21:15 neh_ and I'm trying to ensure we start using best practices for provisioning and management.
21:16 JasonSwindle What is your software you are deploying?
21:16 JasonSwindle Apache? Tomcat?  NGINX?
21:16 neh_ Hadoop stack.
21:17 _ikke_ joined #salt
21:17 JasonSwindle Ah, never done that….sorry. :|
21:17 neh_ eventually will be BDAS (Berkeley Data Analytics) stack.
21:17 JasonSwindle you need one more 'S' ;)
21:18 neh_ haha
21:18 neh_ Misplaced left paren!
21:18 neh_ I mean right
21:18 sroegner neh_: we're running Virtualbox and Vagrant for salt dev
21:19 JasonSwindle I see tag 2014.1 in GIT
21:19 rojem joined #salt
21:19 timoguin ohwhoa!
21:19 JasonSwindle Should that not be 20.14.1.0 RC 0 or RC1?
21:19 cachedout That's a good trick, but now tell me what our *next* commit will be. ;]
21:20 JasonSwindle :)
21:20 * cachedout teases
21:20 sroegner neh_: there is a salt/vagrant wrapper project in GH that you can look at: https://github.com/accumulo/accumulo-saltstack
21:21 timoguin neh_, you might also want to look at this hadoop example: https://github.com/mcsrainbow/salt-states-hadoop
21:21 goodwill joined #salt
21:22 neh_ sroegner: thank you, but doesn't vagrant now support salt as a provisioner?
21:22 neh_ timoguin: thank you, checking.
21:23 sroegner neh_: yes but right now I need a bit more flexibility
21:25 neh_ sroegner: understood.
21:28 neh_ So, here's a pretty basic question. I have a directory for an application containing some binaries and source. I'd like to get it pushed to all nodes in my cluster.
21:28 JasonSwindle cachedout:  Oh snap! https://github.com/saltstack/salt/tree/v2014.1.0rc1
21:28 neh_ it's on my master node
21:28 aj0 joined #salt
21:28 cachedout JasonSwindle: Thar she blows!
21:28 JasonSwindle cachedout:  Does that mean I can start breaking it?
21:29 cachedout By all means.
21:29 cewood joined #salt
21:29 neh_ I know that, ideally, this should have happened in the creation of the vm's, however, I don't have control over this, only access to the cluster.
21:29 neh_ How do I distribute something like this using salt?
21:29 timoguin neh_, for a one-off command, you can use cp.get_dir
21:29 timoguin http://docs.saltstack.com/ref/modules/all/salt.modules.cp.html#salt.modules.cp.get_dir
21:30 timoguin for a state you can use file.directory
21:30 JasonSwindle Awesome.  Are there release notes, so I can somewhat see what changed?
21:31 JasonSwindle Found it
21:31 JasonSwindle https://github.com/saltstack/salt/blob/develop/doc/topics/releases/2014.01.0.rst
21:31 Gareth yay!  my code made it into the rc1.
21:32 JasonSwindle Does not look like the RC release notes are 100% yet….. *watches like hawk*
21:32 cachedout Yeah, the release notes are pretty bare-bones right now.
21:33 cachedout They'll be improving...soon-ish. ;]
21:33 JasonSwindle Understandable.  This release is huge, from what I can see.
21:33 cachedout It's 7,000+ commits.
21:33 cachedout (But that includes huge changes like merging salt-cloud)
21:33 JasonSwindle and Halite, too.  Right?
21:33 forresta yea you can see the commit bump when salt cloud is added when you look at the history
21:34 forresta halite isn't in
21:34 forresta unless someone ninja added it
21:34 cachedout Not to my knowledge, but I don't watch halite very closely to be honest.
21:34 faldridge joined #salt
21:36 UtahDave neh_: I'd use file.recurse
21:36 luminous hi! can salt's pkg module install .deb's? am I overlooking the specific mod.func capable of this?
21:36 cachedout But among the many changes is a huge increase in unit and integration tests. I'm hopeful that what we've added will spark others to contribute additional tests since there are now many more examples of how to do it.
21:36 luminous I'm thinking like dpkg -i <file>.deb sort of thing
21:36 UtahDave luminous: yeah, pkg can install debs
21:36 martoss1 joined #salt
21:37 luminous UtahDave: is there a param to specify the file? I must be overlooking something obvious then
21:37 luminous cachedout: that is _very_ exciting!
21:37 UtahDave luminous: Yeah, it can install a .deb directly
21:38 luminous nice
21:38 luminous ok, I'll review the docs again, thanks!
21:38 UtahDave luminous: are you wanting to do this from the CLI or in an sls file?
21:38 cachedout luminous: I totally agree. I'm happy to provide guidance to anybody who wants to contribute tests. They're dead-simple to write.
21:38 luminous cachedout: I'm secretly hoping those tests keep us from getting to a .4 before we've stablized enough for production use :)
21:39 DerekRBN joined #salt
21:39 luminous cachedout: I would greatly appreciate some guidance on that, but not tonight
21:39 cachedout luminous: Anytime you want to chat about it, feel free to hit me up.
21:39 luminous I need to spend some more time on setting up my salt development environment
21:39 luminous I saw those docker containers go up though :)
21:40 luminous cachedout: thanks! I will take you up on that
21:40 cachedout luminous: Please do :]
21:41 DerekRBN When trying to install a specific version with yum though salt I'm having some problems. If I yum install php54-common-5.4.22 it has no problems but with salt it doesnt find the package, it will however install php54-common but that is version 5.4.23 rather then 5.4.22
21:42 DerekRBN I'll try using the version flag rather then just by name
21:42 cachedout DerekRBN: Have you run with the -ldebug flag? It delivers a lot of debug info on pkg installations, etc, etc
21:43 DerekRBN I'll give that a shot as well
21:43 whiteinge forresta: hm. the docs should be building themselves every 30 min. looking...
21:43 forresta whiteinge, ok cool.
21:44 forresta DerekRBN, what release are you on?
21:45 DerekRBN 0.17.2 for both minion and server
21:45 forresta It could be releated to this then https://github.com/saltstack/salt/issues/8614
21:45 forresta I assume it works fine if you use the yum module straight from the command line?
21:46 or1gb1u3 joined #salt
21:46 forresta that -5.4.22 is part of the name itself, and not a version right?
21:47 DerekRBN it's version
21:48 forresta hmm
21:48 DerekRBN the name would be php54-common but yum recognizes name-version maybe
21:48 forresta DerekRBN, do you have a dev environment where you could try to implement that change from the issue I linked to see if that resolves it?
21:48 DerekRBN I used version directive under my pkg.installed and it now sees that it's installed but The following packages failed to install/update: php54-common=5.4.22
21:48 DerekRBN that looks like the issue, let me look at the fix real quick
21:48 forresta you have the more recent release installed though right?
21:49 forresta ok cool
21:49 vipul joined #salt
21:49 neh_ timoguin: thank you much, I tried this but am getting back blank responses?
21:49 neh_ timoguin: salt-ssh '*' cp.get_file salt://home/test-file /home
21:49 neh_ timoguin: is that correct?
21:50 rojem joined #salt
21:52 timoguin neh_, is test-file a file or directory? if a file, i think you'd want salt://home/test-file /home/test-file
21:52 timoguin and it might not be returning because of a timeout. try adding --timeout=300
21:53 DerekRBN forresta: I dont have a dev salt-master if thats what you mean
21:54 timoguin neh_, and UtahDave suggested using file.recurse, so you might wanna try that instead. i'm not sure if it's better or worse than cp.get_file
21:54 neh_ timoguin: it's a file.
21:54 kermit joined #salt
21:54 DerekRBN Killin my instance see if the version directive will do the trick
21:55 nineteeneightd joined #salt
21:55 neh_ timoguin: hit an error: salt-ssh: error: no such option: --timeout
21:56 forresta DerekRBN, yea that is what I meant, don't want you crashing your env :P
21:56 Kraln joined #salt
21:56 timoguin neh_, hmm, maybe -t 300 instead
21:57 timoguin i'm not sure about the salt-ssh flags. i haven't used it yet.
21:59 neh_ timoguin: gotcha, I'll keep digging
22:03 elithrar joined #salt
22:04 jrgifford left #salt
22:04 neh_ UtahDave: sorry to bother, but does this syntax look correct? salt-ssh '*' cp.get_dir salt://home/test-dir /home/
22:05 DerekRBN Setting version to a specific version didnt work either
22:06 martoss joined #salt
22:08 iShming joined #salt
22:09 fedgoat joined #salt
22:09 JasonSwindle cachedout:  About to start deploying on 2014.1.1 RC1
22:09 JasonSwindle Had some clean up to do.
22:11 forresta DerekRBN, did you try to make that change to the actual code?
22:11 DerekRBN did not, I'll give that a try
22:11 forresta ok cool
22:11 DerekRBN just this one line from abemusic?
22:12 cachedout JasonSwindle: Sounds good. As always, hit us up on the GitHub issue tracker with any oddities.
22:12 forresta DerekRBN, I believe terminalmage made another change: https://github.com/saltstack/salt/commit/0278d9b4b385e70394f385aa83fb63d4738a432b
22:12 forresta lower down in the issue
22:13 forresta but it was for both yumpkg, and yumpkg5
22:14 analogbyte joined #salt
22:14 munhitsu joined #salt
22:14 modafinil joined #salt
22:15 JasonSwindle cachedout:  Will do.
22:18 abele_ joined #salt
22:19 akitada joined #salt
22:19 copelco__ joined #salt
22:20 shennyg joined #salt
22:20 modafinil joined #salt
22:23 Gareth anyone have an Ubuntu 10.04 machines they can check something on?
22:24 munhitsu joined #salt
22:24 pcarrier__ joined #salt
22:24 Guest64230 joined #salt
22:25 scristian joined #salt
22:25 Furao joined #salt
22:25 neilf_ joined #salt
22:27 UtahDave joined #salt
22:30 JasonSwindle Testing out salt 2014.1.1 RC1, and Salt-Cloud and I get "salt-cloud: error: salt-cloud requires >= libcloud 0.11.4"  Should this not come with the bootstrap ?
22:30 JasonSwindle I installed via "curl -L http://bootstrap.saltstack.org | sudo sh -s -- git v2014.1.0rc1"
22:32 cachedout That's a bug. Would you mind filing it in GH?
22:32 JasonSwindle Sure!
22:32 cachedout Thanks!
22:32 JasonSwindle I was about to ping you :)
22:32 JasonSwindle I like to confirm things before I junk up github
22:33 cachedout Thanks for using the RC. The more people we can get on the RC, the better the final release will be. (Nudge, nudge everybody else) ;]
22:33 JasonSwindle Any time
22:33 JasonSwindle I am trying to get something ready for SaltConf
22:33 JasonSwindle and what to future proof it
22:33 forresta cachedout, is there a good upgrade path you guys have come up with to go from a package installed version -> an RC?
22:33 forresta I mean I can rebuild my environment, but if I don't have to, obviously I'd prefer not to
22:34 Ryan_Lane joined #salt
22:34 cachedout There should be a package on PyPi, so you can go that direction if you like.
22:34 DerekRBN Forresta, I took the file from terminalmange's commit and applied it to my server. Killed my instance and had it provision from scratch. 2014-01-02 22:29:02,944 [salt.state                                  ][ERROR   ] The following package(s) were not found, and no possible matches were found in the package db: php54w-common-5.4.22
22:34 forresta php54w?
22:34 cachedout Totally depends on your preferences. Obviously, I just normally track the develop branch so I don't deal much with using the packages from a user perspective.
22:34 forresta why is that getting put in there
22:35 forresta cachedout, yea these environments are for testing, so I always try and use the most common user approach
22:35 DerekRBN I'm going to call it a day will look at abe's commit tomorrow. Yes it's php54w from another repo
22:35 forresta which is installing the package from a repo
22:35 forresta DerekRBN, ok, let me know if you figure it out
22:35 forresta it should have just been a fix in the associated modules I thought...
22:35 cachedout forresta: For now, I'd recommend either pulling it from git or PyPi.
22:35 forresta will do!
22:35 KyleG joined #salt
22:35 KyleG joined #salt
22:35 neilf_ joined #salt
22:36 JasonSwindle cachedout:  https://github.com/saltstack/salt/issues/9540
22:36 DerekRBN Will do, It was just the yumpkg module
22:36 forresta yumpkg5 as well
22:36 pcarrier__ joined #salt
22:36 abele_ joined #salt
22:36 JasonSwindle Quick and dirty, but I can add more if needed. :)
22:36 cachedout JasonSwindle: Thank you! We'll get on it.
22:36 forresta DerekRBN, if you don't hit yumpkg5 as well, it could be problematic :P
22:36 JasonSwindle Any time, I may have more. :)
22:36 goki joined #salt
22:36 cachedout We'd love to have all the feedback we can get. Keep it coming. :]
22:40 DerekRBN Forresta: Made sure I made changes to yumpkg5 as well. still no dice
22:40 DerekRBN I'll hack through it with a cmd.run till i can trouble shoot further >,<
22:44 juapepe joined #salt
22:44 juapepe hola
22:44 forresta DerekRBN, ok :\
22:45 juapepe where are you from?
22:45 JasonSwindle cachedout:  May have more
22:46 cachedout Send 'em over. I mislead you on that libcloud issue a little bit. techhat just explained it to me.
22:47 chadhs_ joined #salt
22:48 JasonSwindle OK, well Salt-Cloud is hung and waiting for the strace to show anything
22:48 JasonSwindle Attached to the pid…. but not seeing anything
22:49 JasonSwindle I am going to hard kill it and try again with debuging
22:50 neh_ joined #salt
22:50 Linz joined #salt
22:51 JasonSwindle cachedout:  let me message you directly
22:51 cachedout OK
22:52 bhosmer joined #salt
22:52 chadhs joined #salt
22:53 Linz joined #salt
22:55 luminous anyone have states for installing docker on ubuntu 12.04? it seems to be a little bit tricky and I'd like to build on what others have done, if that's possible
23:03 forresta luminous, how about
23:03 forresta https://github.com/saltstack-formulas/docker-formula
23:04 torrancew luminous: well, you'll need an upgraded kernel IIRC
23:04 torrancew I think docker requires 3.10 for unionfs stuff, but I could be wrong
23:09 lionel joined #salt
23:10 sgviking joined #salt
23:10 srijan4 joined #salt
23:10 bhosmer joined #salt
23:12 timoguin luminous, torrancew: it requires 3.8 or above for AUFS support
23:12 torrancew ah, thanks
23:12 timoguin except docker 0.7 no longer requires AUFS
23:12 torrancew sorry for the misinfo
23:12 torrancew oh?
23:12 timoguin so it can be ran on other kernels
23:12 torrancew nice!
23:12 torrancew IIRC I'm still on 0.6
23:14 whiteinge forresta: do those cloud docs look ok now?
23:16 xinkeT joined #salt
23:16 timoguin whiteinge, well it's got my note in there for the DO docs. and his typo fix. :)
23:17 whiteinge eggcelent
23:18 whiteinge not sure why it stopped building. all i did was roughly kick the side of the machine
23:21 Linz joined #salt
23:21 whiteinge grep_away: http://imgur.com/Jq3CKMR
23:23 chadhs joined #salt
23:26 foxx joined #salt
23:27 pdayton joined #salt
23:28 aj0 joined #salt
23:29 diegows joined #salt
23:31 forresta whiteinge, yea they look fine now, what did you change?
23:32 sfvivek joined #salt
23:39 Linz joined #salt
23:39 higgs001 joined #salt
23:40 Linz_ joined #salt
23:41 sfvivek2 joined #salt
23:50 whiteinge forresta: i didn't change anything. there were some docs errors earlier in the week, i wonder if the process just got stuck on something
23:50 forresta weird, I think terminalmage fixed most of those so we should be good to go
23:50 forresta thanks for taking a look and getting it resolve.
23:50 forresta *d

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