Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-08-31

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

All times shown according to UTC.

Time Nick Message
00:10 bhosmer joined #salt
00:17 Zero3 ... figured it out. stat.sls defaults to the base environment. You have to manually specify if you want to run an sls from a different one...
00:17 Zero3 state.sls*
00:19 soasme joined #salt
00:20 wm-bot4 joined #salt
00:25 goran650 joined #salt
00:26 rypeck joined #salt
00:27 londo__ joined #salt
00:37 soasme joined #salt
00:45 thayne joined #salt
00:49 bhosmer joined #salt
00:51 rome_ joined #salt
00:52 ckao joined #salt
00:53 schimmy joined #salt
00:55 diegows joined #salt
00:58 Setsuna666 joined #salt
01:03 soasme joined #salt
01:11 scalability-junk joined #salt
01:17 skullone_ Zero3: i didnt know that, that would actually explain some things :O
01:18 skullone_ glad i popped on IRC< or i wouldve missed that nuggest
01:18 skullone_ nugget*
01:18 Zero3 skullone_: I guess it makes somewhat sense when you think about it.. But it was a pitfall for me
01:18 Zero3 skullone_: :)
01:19 skullone_ the correct method is to run overstate, i guess
01:19 Zero3 kept getting errors about my sls not being in the base env, and I was like "wtf?!? I already told it to use the other environment in my top.sls file"
01:19 Zero3 you mean highstate? yeah
01:19 skullone_ yah
01:19 Zero3 is that the proper way to update minions?
01:20 skullone_ i suppose so
01:20 skullone_ ive been doing manual runs so far with state.sls
01:20 Zero3 So minions are not updated before highstate or stat.sls is run?
01:21 to_json joined #salt
01:22 SheetiS joined #salt
01:22 bhosmer joined #salt
01:25 Zero3 assuming this is true, I have another concern: If the minion is offline and a state.highstate is executed, the minion doesn't seem to update when it comes back online :s
01:26 Zero3 it appears that it must be online to receive the update which would suck. I must be missing something...
01:32 miqui joined #salt
01:34 skullone_ no, i think thats how it works
01:34 skullone_ with zeromq
01:34 skullone_ if the agent isnt online, zeromq cant send it the message to update
01:35 Zero3 ... but when it comes back online I would expect it to ask the server what updates have been applied since last time it was online
01:36 Zero3 So that I, on the master, could push some config update that would be applied to all minions regardless on whether it is online atm or not
01:36 Zero3 Otherwise your server farm will end up fragmented with some servers up-to-date and some not O_o
01:37 dvestal joined #salt
01:37 Zero3 argh, I'm abusing the terminology already
01:47 SheetiS Zero3: you could use the reactor to trigger a highstate upon startup, or use a cron job on the minion w/ salt-call to regularly 'ask' for a highstate.
01:49 Zero3 SheetiS: I see. So basically the salt minion does not keep itself up-to-date automatically, but depends on a pull/push issued only when both are online?
01:50 Zero3 SheetiS: The reactor stuff seems interesting
01:55 yomilk joined #salt
01:55 scoates joined #salt
01:58 Zero3 anyway, time for sleep. Thanks, both of you.
01:58 bhosmer joined #salt
01:59 wangofett Anyone know why I'd be having problems with hg.latest pointing to one endpoint, but not another? Specifically I'm using kilnhg as my host. The only difference that I can tell is the user that I'm running as
02:02 wangofett the error message that I get is http authorization required
02:11 vbabiy joined #salt
02:12 ipmb joined #salt
02:15 pled76 joined #salt
02:21 soasme joined #salt
02:32 vbabiy joined #salt
02:38 snuffeluffegus joined #salt
02:42 melinath joined #salt
02:45 pled76 joined #salt
02:49 TyrfingMjolnir joined #salt
02:52 rome joined #salt
02:55 bezeee joined #salt
02:55 Outlander joined #salt
03:03 thayne joined #salt
03:17 vbabiy joined #salt
03:17 pled76 joined #salt
03:18 bezeee joined #salt
03:21 Zachary_DuBois Anyone know if there is a better way in states to run an apt-get upgrade and such without the cmd.run?
03:37 whytewol1 pkg.latest
03:38 vbabiy joined #salt
03:40 vbabiy joined #salt
03:41 whytewol1 Zachary_DuBois: http://docs.saltstack.com/en/latest/ref/states/all/salt.states.pkg.html#salt.states.pkg.latest
03:42 Zachary_DuBois I mean the entire system
03:42 Zachary_DuBois The equivalent of running apt-get upgrade
03:42 Zachary_DuBois Not just for a list of packages
03:42 JoeHazzers I don't think that's an available state
03:43 Zachary_DuBois That sucks
03:44 JoeHazzers actually, that seems to be a lie
03:44 JoeHazzers salt.modules.aptpkg.upgrade(refresh=True, dist_upgrade=True) seems to exist
03:44 JoeHazzers http://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.aptpkg.html#salt.modules.aptpkg.upgrade
03:45 JoeHazzers so, set dist_upgrade=False to get `apt-get upgrade` functionality
03:45 JoeHazzers that's the module, not the state, though.
03:45 pled76 joined #salt
03:46 whytewol1 0;92;32M0;70;32mthats okay, you can run modules from states
03:46 JoeHazzers :)
03:46 whytewol1 http://docs.saltstack.com/en/latest/ref/states/all/salt/states.modules.html
03:46 whytewol1 http://docs.saltstack.com/en/latest/ref/states/all/salt/states.module.html
03:47 whytewol1 I really need to fix this tmux so i can paste with middle click again
03:47 JoeHazzers Zachary_DuBois: I'd like to point out that this seems a bit odd to be calling from states, though
03:47 JoeHazzers I mean, it doesn't really fit into some "philosophies"
03:47 whytewol1 actually i would go so far as to say dangerous.
03:47 bhosmer joined #salt
03:47 JoeHazzers whytewol1: dist-upgrade is the dangerous one, iirc
03:48 JoeHazzers since upgrade is supposed to not introduce backwards-incompatible changes (again, iirc)
03:48 Zachary_DuBois dist-upgrade runs fine, not something I will have salt do though
03:48 JoeHazzers I'd recommend explicitly setting latest on packages you want to be latest, and let apt do the dependency management for it
03:49 JoeHazzers dev boxes? maybe do an upgrade. otherwise? i don't see a real valid reason. just my two cents.
03:49 Zachary_DuBois Erm, I like my systems to be up to date. Reasons such as security issues
03:49 * JoeHazzers shrugs
03:50 Zachary_DuBois You aren't suposed to let avalable updates sit there and update the ones you use
03:50 whytewol1 you arn't supposed to have packes that you don't use on a system to begin with :P
03:51 Zachary_DuBois So I am suposed to list the some odd 100+ packages that I use?
03:51 Zachary_DuBois You're making no sense when it is as simple as an apt-get upgrade
03:51 JoeHazzers Zachary_DuBois: if you're doing it properly... yes.
03:51 JoeHazzers you're supposed to define your entire desired state, really. I'm guilty of not doing so, tbh.
03:52 whytewol1 typically yes, I havn't seen a puppet/chef/salt system that didn't have hundreds of packages.
03:52 whytewol1 except for dev
03:52 JoeHazzers thatch gave a nice talk a while ago recently, actually
03:53 JoeHazzers in which he stated customers "could respond to the heartbleed bug within minutes"
03:54 JoeHazzers Zachary_DuBois: you might be better off configuring unattended upgrades on those deb-based machines
03:57 whytewol1 I have to agree with that, at least with unattended upgrades you can have it just do security updates. and not introduce bugs and incompatabilities with extra software
03:58 JoeHazzers however, there might be actual advantages to doing this via salt
03:59 JoeHazzers where i just finished up a contract central management insisted on puppet, but the machines ran a yum autoupgrade on boot
03:59 JoeHazzers which often caused downgrades on the first puppet run after said boot
04:00 aquinas joined #salt
04:03 JoeHazzers Zachary_DuBois: actually, thatch gave this exact response (re: running the module): https://groups.google.com/forum/#!topic/salt-users/_1iwfErxGrI
04:06 Zachary_DuBois Ah cool
04:18 pled76 joined #salt
04:23 jnials joined #salt
04:25 jnials_laptop joined #salt
04:36 vbabiy joined #salt
04:43 TTimo joined #salt
04:49 pled76 joined #salt
04:50 vbabiy joined #salt
04:53 rome joined #salt
04:58 pled76 joined #salt
05:02 Outlander joined #salt
05:09 jnials joined #salt
05:14 vbabiy joined #salt
05:19 pled76 joined #salt
05:28 vbabiy joined #salt
05:30 pled76 joined #salt
05:36 bhosmer joined #salt
05:37 jnials joined #salt
05:49 pled76 joined #salt
06:01 thayne joined #salt
06:05 dccc__ joined #salt
06:10 johngrasty joined #salt
06:14 xmj joined #salt
06:18 pled76 joined #salt
06:24 jeddi joined #salt
06:30 n8n joined #salt
06:37 catpiggest joined #salt
06:42 Sweetshark joined #salt
06:44 TTimo joined #salt
06:54 rome joined #salt
07:10 exanimo_ joined #salt
07:21 pfallenop joined #salt
07:21 pfallenop joined #salt
07:25 bhosmer joined #salt
07:27 n8n joined #salt
07:28 jubei__ anyone have experience with running a minion on a raspberry pi
07:30 pled76 joined #salt
07:32 Outlander joined #salt
07:41 jalaziz joined #salt
07:45 ndrei joined #salt
07:45 pled76 joined #salt
07:46 TTimo joined #salt
07:47 tmh1999 joined #salt
07:57 yomilk joined #salt
08:05 Setsuna666 joined #salt
08:07 sectionme joined #salt
08:15 pled76 joined #salt
08:17 djinni` joined #salt
08:42 ckao joined #salt
08:46 TTimo joined #salt
08:47 martoss joined #salt
08:48 agend joined #salt
08:49 pled76 joined #salt
08:55 rome joined #salt
09:04 kingel joined #salt
09:13 bhosmer joined #salt
09:22 pled76 joined #salt
09:34 KevinMGranger joined #salt
09:36 chiui joined #salt
09:47 scalability-junk joined #salt
09:49 pled76 joined #salt
09:54 viq joined #salt
09:57 KevinMGranger joined #salt
10:02 pled76 joined #salt
10:02 TheThing joined #salt
10:05 CeBe joined #salt
10:06 yomilk joined #salt
10:16 TheThing joined #salt
10:16 pled76 joined #salt
10:28 sectionme joined #salt
10:35 Outlander joined #salt
10:46 felskrone joined #salt
10:47 felskrone joined #salt
10:47 pled76 joined #salt
10:47 TTimo joined #salt
10:49 yomilk joined #salt
10:52 asmaps joined #salt
10:53 asmaps hey guys, is there a possibility to run a state sequentially (aka non-parallel) on the minions? Can't find anything about that in the docs
10:54 martoss joined #salt
10:55 Kelsar asmaps: just set max parallel to 1 (only read some docs yet)
10:56 asmaps Kelsar: is that a master setting? or do I add is to the module args?
10:56 rome joined #salt
10:56 asmaps salt '*' test.ping max_parallel=1 or sth like that?
10:57 Kelsar http://docs.saltstack.com/en/latest/topics/targeting/batch.html
10:57 Kelsar i think
10:58 asmaps Kelsar: ah that looks good! :-) thx I'll try
11:02 bhosmer joined #salt
11:04 kingel joined #salt
11:04 TTimo joined #salt
11:06 martoss joined #salt
11:11 yomilk joined #salt
11:11 asmaps Kelsar: thx - seems to work :-)
11:11 Nss joined #salt
11:18 pled76 joined #salt
11:19 Sypher joined #salt
11:28 snuffeluffegus joined #salt
11:32 kingel joined #salt
11:34 Ove_ joined #salt
11:43 sectionme joined #salt
11:44 mapu joined #salt
11:47 pled76 joined #salt
11:51 bhosmer joined #salt
11:52 KevinMGranger joined #salt
11:56 sectionme joined #salt
12:17 pled76 joined #salt
12:22 bhosmer joined #salt
12:25 ndrei joined #salt
12:37 TTimo joined #salt
12:46 pled76 joined #salt
12:47 CatPlusPlus_ joined #salt
12:49 viq joined #salt
12:50 ze-_ joined #salt
12:50 ksalman joined #salt
12:51 bhosmer joined #salt
12:52 hoodow_ joined #salt
12:52 hoodow_ joined #salt
12:53 freelock_ joined #salt
12:57 crashmag joined #salt
12:57 rome joined #salt
12:57 sectionme joined #salt
12:57 Nss joined #salt
12:57 roo9- joined #salt
12:58 user_____ joined #salt
12:59 jforest joined #salt
13:00 martin_ joined #salt
13:01 msciciel_ joined #salt
13:02 borgstrom joined #salt
13:03 bhosmer joined #salt
13:03 davidone joined #salt
13:10 pled76 joined #salt
13:10 jkaye joined #salt
13:11 martinp joined #salt
13:13 user_ joined #salt
13:13 jforest joined #salt
13:13 renoirb joined #salt
13:15 johngrasty joined #salt
13:16 pled76 joined #salt
13:20 pled76_ joined #salt
13:23 vbabiy joined #salt
13:23 KevinMGranger joined #salt
13:25 ndrei joined #salt
13:28 simmel_ joined #salt
13:28 borgstrom joined #salt
13:33 bhosmer joined #salt
13:36 rome joined #salt
13:43 ndrei joined #salt
13:44 chamunks joined #salt
13:48 rome joined #salt
13:55 bhosmer joined #salt
13:57 bhosmer joined #salt
13:58 sectionme joined #salt
13:58 martoss joined #salt
13:59 vbabiy joined #salt
14:01 pled76 joined #salt
14:02 vbabiy joined #salt
14:04 TTimo joined #salt
14:04 TheThing joined #salt
14:15 user_ joined #salt
14:16 pled76 joined #salt
14:24 peters-tx joined #salt
14:30 jeddi joined #salt
14:32 martoss joined #salt
14:40 bhosmer_ joined #salt
14:41 oz_akan joined #salt
14:46 TTimo joined #salt
14:49 pled76 joined #salt
14:52 bo` joined #salt
14:54 intellix joined #salt
14:58 sectionme joined #salt
15:00 bo` Hi, I'm following the official walkthrough and I just accepted my minion's key, but the next step, "salt '*' test.ping", is not working. "salt-run manage.status" lists my minion under "down". What am I missing?
15:02 martoss joined #salt
15:05 vbabiy joined #salt
15:07 xmj the minion.
15:08 intellix joined #salt
15:08 babilen bo`: How long did you wait?
15:09 bo` I tried again after five minutes.
15:12 bo` Some more info if it matters: my minion is a virtualmachine, I can ssh between the vm and the host (both directions), and the minion is debian wheezy and the host is debian sid.
15:12 acabrera joined #salt
15:14 bo` s/host/master/ -- oh and they're both running the same version of salt, 2014.1.10.
15:16 pled76 joined #salt
15:28 ipmb joined #salt
15:30 babilen bo`: Restart minion and master and try again.
15:34 bo` Ok I restarted both but ping still isn't working and the minion's status is still down.
15:39 bo` Oh I restarted the salt processes, I'll try restarting both machines brb.
15:41 bo` joined #salt
15:43 rome joined #salt
15:49 pled76 joined #salt
15:52 intellix joined #salt
15:52 laxity joined #salt
15:54 bo` joined #salt
15:59 sectionme joined #salt
15:59 ipmb joined #salt
16:00 bo` Ok I fixed my problem. The minion said the key was rejected and the master said the key was accepted; deleting and remaking the key fixed that. Thanks everyone who helped.
16:03 iggy joined #salt
16:10 pled76 joined #salt
16:17 iggy Good morning everybody, I'm having a hell of a time getting a github private repo to work as a gitfs backend. I've jumped through a bunch of hoops to get the key setup in ~/.ssh/config and pre-seed the known_hosts file, etc. But /var/cache/salt/master/gitfs is still mostly empty (and the functionality obviously isn't working)
16:18 iggy any ideas where to look next?
16:29 bhosmer joined #salt
16:31 intellix joined #salt
16:40 pled76 joined #salt
16:49 iggy weird part is the git pillar works fine
16:50 iggy well... it at least checks out into /var/cache/salt/master/pillar_gitfs/... can't actually test it yet but that's more than the state has managed
16:58 pled76_ joined #salt
17:00 sectionme joined #salt
17:04 ndrei joined #salt
17:12 jkaye joined #salt
17:12 jkaye joined #salt
17:12 melinath joined #salt
17:16 pled76 joined #salt
17:21 oz_akan joined #salt
17:26 acabrera joined #salt
17:33 melinath joined #salt
17:39 jkaye joined #salt
17:46 pled76 joined #salt
17:47 sectionme joined #salt
17:47 iggy in _master_opts _file_list and _serve_file, I'm ending up with "TypeError: must be string or buffer, not dict"
17:48 iggy and when I try to run salt-call state.highstate, I get "TypeError: string indices must be integers, not str"
17:54 iggy also seeing "Exception must be string or buffer, not dict occurred in file server update"
17:54 rome joined #salt
18:06 shaggy_surfer joined #salt
18:08 shaggy_surfer joined #salt
18:08 dccc_ joined #salt
18:17 bhosmer joined #salt
18:19 ndrei joined #salt
18:33 pled76 joined #salt
18:45 kingel joined #salt
18:46 pled76 joined #salt
18:47 sectionme joined #salt
18:47 n8n joined #salt
18:50 n8n joined #salt
18:51 tkharju joined #salt
18:53 ndrei joined #salt
18:56 pled76 joined #salt
18:57 rypeck joined #salt
19:00 jalaziz joined #salt
19:00 TTimo joined #salt
19:04 tedski- joined #salt
19:08 shaggy_surfer joined #salt
19:13 schimmy joined #salt
19:13 acabrera joined #salt
19:14 shaggy_surfer joined #salt
19:15 oncallsucks joined #salt
19:22 kingel joined #salt
19:26 kedo39 joined #salt
19:28 bhosmer joined #salt
19:28 ndrei joined #salt
19:30 catpigger joined #salt
19:31 TTimo how many salt-master processes am I supposed to have .. how much memory should they be using?
19:31 TTimo I have no minions connected
19:31 TTimo and there's 10 of them
19:32 TTimo and my memory usage is already nuts
19:34 melinath joined #salt
19:35 vbabiy joined #salt
19:38 ndrei joined #salt
19:39 jkaye joined #salt
19:39 nkuttler TTimo: that doesn't sound right. the default config has 5 worker processes afaik, my idling master is at ~6% memory usage with only 4G of ram
19:40 TTimo yeah .. this is ubuntu 14.0 and I suspect the bootstrap script is having trouble
19:41 TTimo it may have spun up the daemon with each install run I've done .. it's been erroring out saying it couldn't get the daemons managed and running
19:41 TTimo https://github.com/saltstack/salt-bootstrap/issues/454 FWIW
19:41 wendall911 joined #salt
19:48 sectionme joined #salt
19:54 JonGretar joined #salt
19:54 scarcry joined #salt
19:54 kingel joined #salt
19:55 rome joined #salt
19:55 TheThing joined #salt
20:06 bhosmer joined #salt
20:06 vbabiy joined #salt
20:10 aquinas joined #salt
20:13 CeBe joined #salt
20:16 aquinas joined #salt
20:18 jslatts joined #salt
20:19 martoss joined #salt
20:27 thayne joined #salt
20:29 ndrei joined #salt
20:29 oz_akan joined #salt
20:32 jslatts joined #salt
20:40 schimmy joined #salt
20:49 sectionme joined #salt
20:53 dccc joined #salt
20:58 jslatts joined #salt
21:00 martoss joined #salt
21:12 chiui joined #salt
21:13 oz_akan joined #salt
21:19 vbabiy joined #salt
21:19 jubei__ anyone have experience with running a minion on a raspberry pi
21:23 CeBe joined #salt
21:25 hellome joined #salt
21:28 CeBe1 joined #salt
21:32 vbabiy joined #salt
21:39 ntropy jubei__: its no different than anywhere else, just kinda slwo
21:39 ntropy s/slwo/slow
21:43 pled76 joined #salt
21:44 yomilk joined #salt
21:46 pled76 joined #salt
21:47 n8n joined #salt
21:50 sectionme joined #salt
21:54 vbabiy joined #salt
21:55 bhosmer joined #salt
21:55 rome_ joined #salt
21:58 kingel joined #salt
22:00 horus_plex hey, when using rest_tornado netapi, after logging in, when does the returned auth token expire?
22:00 jcockhren that is me. crazy znc. ^
22:10 vbabiy joined #salt
22:12 jslatts joined #salt
22:15 pled76 joined #salt
22:19 sectionme joined #salt
22:26 intellix joined #salt
22:28 jubei__ ntropy: i'm having issues getting minions to auth to the master, or if it will auth, issues responding to any commands
22:28 kingel joined #salt
22:38 ntropy jubei__: do you have a non-rpi minion to test, to make sure your master is working ok?
22:43 scalability-junk joined #salt
22:44 Ryan_Lane joined #salt
22:47 jubei__ ntropy: yeah, my laptop and the salt master itself have minions
22:48 jubei__ both worked not problem, install salt-minion, point them at the master, authorize the keys, test.ping shows them instantly
22:49 Outlander joined #salt
22:50 jubei__ weird thing is i see the minion trying to connect in its logs, but if i run tcpdump on the master i dont see any traffic from the rpi
22:54 ndrei joined #salt
22:59 schimmy joined #salt
23:01 thayne joined #salt
23:04 denstark joined #salt
23:15 mosen joined #salt
23:16 to_json joined #salt
23:17 Ryan_Lane joined #salt
23:22 sectionme joined #salt
23:22 DaveQB joined #salt
23:26 elfixit joined #salt
23:27 TTimo joined #salt
23:29 kingel joined #salt
23:34 venomedjerboa joined #salt
23:37 stitchedbelch joined #salt
23:39 yomilk joined #salt
23:40 robinsmidsrod joined #salt
23:41 jkaye joined #salt
23:44 bhosmer joined #salt
23:46 oz_akan joined #salt
23:52 vbabiy joined #salt
23:56 rome joined #salt
23:59 nebuchad` joined #salt
23:59 WarP|work joined #salt

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