Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-07-27

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

All times shown according to UTC.

Time Nick Message
00:01 Ryan_Lane joined #salt
00:01 delinquentme_ so what configurations determine that salt-minion instances a minion within the same machine ... or another machine?  ... the settings in /etc/salt/minion right?
00:01 schimmy1 joined #salt
00:09 che-arne joined #salt
00:14 robawt delinquentme_: yes
00:14 robawt sorry about the late responses doing two things at once
00:22 delinquentme_ eliasp, I think I've got the FQDN messed up ... as all I'm using is the external facing IP for the salt-master ... is that sufficient?
00:23 robawt delinquentme_: if the minion can route to that address, any changes make sure to restart the service you modified to take effect
00:23 wm-bot4 joined #salt
00:24 oz_akan joined #salt
00:27 badon joined #salt
00:28 zandy joined #salt
00:28 delinquentme_ robawt, but that assumes that external IP is unique to that machine ... its possible it could be
00:29 robawt delinquentme_: then it sounds like you have other problems to resolve before coming back to this one ;)
00:29 delinquentme_ actually no. thats a unique IP as its what I've used to ssh in * thumbs up*
00:30 robawt delinquentme_: then you're one step closer to world domination
00:40 delinquentme_ so the minion is being killed bc it not being authenticated by the master?? https://gist.github.com/carlcrott/e2ddedb8cb063c0c4cdd
00:40 delinquentme_ I thought its supposed to wait
00:41 robawt delinquentme_: there's already a key on the master that doesn't exist
00:41 robawt login to the master and run salt-key -d 'NAMEOFHOST'
00:41 robawt then restart the MINION
00:41 robawt it'll immediately re-try the master
00:42 robawt and then go back on the master and run salt-key -a 'NAMEOFHOST'
00:42 robawt where nameofhost is the minion fqdn in question
00:43 delinquentme_ should I delete those minion keys in /etc/salt/pki/minion/*
00:43 delinquentme_ ?
00:43 robawt no
00:43 robawt it's the master that's complaining
00:43 robawt the minion has a set of keys the master hasn't accepted
00:44 delinquentme_ but yeah I thought the process was : instantiate minions with $ salt-minion -d ... then $ salt-key -L .. which shows those minions waiting for key aprovals  which you can then accept with $ salt-key -A
00:46 robawt delinquentme_: forget -d
00:46 robawt you should be running it as configured service on your machine
00:51 xcbt joined #salt
01:00 delinquentme_ so the keys which show up at $ salt-key -L ... those names come from where? because I keep generating this one called ""
01:00 delinquentme_ "meteorhack-01"
01:00 robawt delinquentme_: that's the hostname of one of the machines pointing to your master
01:02 delinquentme_ except thats the name of the master that im on: root@meteorhack-01
01:03 robawt delinquentme_: so your master is also running a salt-minion?
01:03 robawt that's a common approach
01:03 delinquentme_ robawt, im trying to get that to not happen  ... as I want the master launching new instances from rackspace
01:05 xcbt joined #salt
01:05 robawt so stop the salt-minion process on your master machine
01:06 robawt you probably already know this: it doesn't matter where the master actually is, so long as it has a network connection to target minions
01:06 bhosmer_ joined #salt
01:06 robawt so if you're kicking off minions in rackspace, that's cool, and if you want the minions and masters on the same network segment, that's cool, but it's not required
01:09 jalaziz joined #salt
01:34 zandy joined #salt
01:35 delinquentme_ http://salt-cloud.readthedocs.org/en/latest/topics/rackspace.html
01:35 loupgris joined #salt
01:35 delinquentme_ is there something which specifies the " old " vrs the ' new ' version of these file formats ??
01:36 delinquentme_ other than just the presence of files in specific directories?
01:38 tkharju1 joined #salt
01:38 robawt delinquentme_: the docks point to a time before salt made it official
01:38 robawt just use the new format
01:40 robawt docs*
01:40 robawt going afk, good luck delinquentme_, if you follow the documentation you'll be ok
01:45 delinquentme_ salt-cloud -l debug -p rackspace_512 newserver
01:45 delinquentme_ what is the equivalent of running salt-cloud right now?
01:45 delinquentme_ say in the current version of these codebases?
02:00 ghartz joined #salt
02:05 zandy joined #salt
02:06 loupgris joined #salt
02:08 m0nky joined #salt
02:13 Outlander joined #salt
02:14 jhansen joined #salt
02:15 drakimor greetings all... does anyone know a good guide for getting a base set of salt files installed? Trying to get config files managed and I think I've got it right but can't get sshd_config to copy over correctly.
02:17 delinquentme_ salt-cloud is depreciated ... and salt-minion ... SHOULD be launching new servers right?
02:18 delinquentme_ because right now it feels like rackspace simply doesn't have their interfaces up to using / interfacing with the depreciated / integrated salt-cloud ?
02:32 schimmy joined #salt
02:36 schimmy1 joined #salt
03:12 jnials joined #salt
03:13 schristensen joined #salt
03:33 drakimor joined #salt
03:40 TheThing joined #salt
03:44 Hemebond joined #salt
03:45 Hemebond What would be the best way to extract a zip file and then move a subdirectory?
03:48 war2 joined #salt
03:53 Outlander joined #salt
04:02 ckao joined #salt
04:07 ekristen joined #salt
04:20 drakimor joined #salt
04:25 Ryan_Lane joined #salt
04:28 dwfreed_ joined #salt
04:31 otter768 joined #salt
04:42 sunkist I would like to output a particular message to the minion log when a state fails.  Thoughts?
04:46 aquinas joined #salt
04:46 dccc joined #salt
04:53 xcbt joined #salt
05:12 sunkist joined #salt
05:16 robawt wtf
05:17 robawt too bad delinquentme left, salt-cloud isn't depricated
05:17 drakimor joined #salt
05:17 robawt where do folks get these ideas? it's not from the docs ..
05:20 xcbt joined #salt
05:22 aquinas joined #salt
05:36 drakimor joined #salt
05:37 taterbase joined #salt
05:38 bmatt so is 2014.7 actually considered stable yet or is it still RC?
05:40 yomilk joined #salt
05:41 CeBe joined #salt
05:54 drakimor joined #salt
06:17 m0nky joined #salt
06:24 war2 joined #salt
06:29 drakimor joined #salt
06:29 babilen bmatt: It hasn't been released yet (also not tagged in git)
06:29 babilen ugh, it has?!
06:29 babilen hah!
06:30 bmatt yeah
06:30 bmatt and mysql-formula depends upon it
06:31 * bmatt blames whiteinge
06:31 babilen Ah, we are waiting for 2014.7.0 to be tagged
06:32 bmatt I'm tempted to submit a pull request that backs that change out :(
06:33 babilen To mysql-formula?
06:33 bmatt yeah
06:34 bmatt if only because I'm feeling grumpy
06:34 babilen A formula that doesn't run on the release that everybody is using is sort of useless
06:34 bmatt I did come up with a clever way to import a schema into a db using a file.managed and a cmd.wait state... but a mysql_database.schema function is probably smarter
06:35 bmatt babilen: agreed.
06:36 Outlander joined #salt
06:37 babilen I mean I can understand that everybody is excited about Helium, but we just have to be a bit patient until it has been released. I have oodles of "#TODO: Helium, use foo.function here" in my formulas for new functionality that makes things easier (lots of "file.managed: - creates:" for example), but now is not the time to push it.
06:38 drakimor joined #salt
06:46 Hemebond left #salt
06:54 whiteinge bmatt: agreed there shouldn't be any helium-isms in the mainline formulas yet. What snuck into the MySQL formula?
06:54 bmatt whiteinge: give me another minute and you'll have a pull request :)
06:54 whiteinge Cool
06:59 bmatt alright, two sent; one on topic, the other not
07:00 bmatt and with that, I bid you good night :)
07:00 mosen joined #salt
07:04 war2 joined #salt
07:08 xcbt joined #salt
07:11 ramteid joined #salt
07:14 xcbt joined #salt
07:20 dh joined #salt
07:30 Katafalkas joined #salt
07:31 Katafalk_ joined #salt
07:33 schimmy joined #salt
07:41 roolo joined #salt
07:52 DaveQB joined #salt
07:54 Katafalkas joined #salt
08:04 ghartz joined #salt
08:19 jforest joined #salt
08:19 bhosmer_ joined #salt
08:20 MrTango joined #salt
08:23 linjan joined #salt
08:23 aw110f joined #salt
08:38 Katafalk_ joined #salt
08:59 xzarth_ joined #salt
09:04 kiorky joined #salt
09:04 ajw0100 joined #salt
09:07 ajw0100 joined #salt
09:16 intellix joined #salt
09:26 Katafalkas joined #salt
09:29 Katafalkas joined #salt
09:40 drakimor joined #salt
09:41 jalaziz joined #salt
10:01 drakimor joined #salt
10:13 jforest joined #salt
10:17 Katafalk_ joined #salt
10:17 ramishra joined #salt
10:30 Katafalkas joined #salt
10:40 Outlander joined #salt
10:56 rmnuvg joined #salt
11:09 ramishra joined #salt
11:15 aw110f joined #salt
11:24 Katafalk_ joined #salt
11:28 ramishra joined #salt
11:31 Katafalkas joined #salt
11:52 bhosmer_ joined #salt
11:57 mapu joined #salt
12:01 babilen joined #salt
12:08 DaveQB joined #salt
12:10 diegows joined #salt
12:25 Katafalk_ joined #salt
12:38 ramishra joined #salt
12:41 Katafalkas joined #salt
12:50 elfixit joined #salt
12:52 nyx joined #salt
13:00 m0nky joined #salt
13:02 che-arne joined #salt
13:07 drakimor joined #salt
13:13 TheThing joined #salt
13:19 H0mebrewer joined #salt
13:27 ghartz joined #salt
13:28 Whissi joined #salt
13:29 Katafalk_ joined #salt
13:38 ramishra joined #salt
13:38 scarcry joined #salt
13:42 yomilk joined #salt
13:45 H0mebrewer joined #salt
13:47 H0mebrewer left #salt
13:55 scarcry joined #salt
13:59 nyx joined #salt
14:09 nyx__ joined #salt
14:32 bhosmer joined #salt
14:43 stevednd joined #salt
14:44 nyx_ joined #salt
14:50 bhosmer joined #salt
14:54 bhosmer_ joined #salt
15:02 m0nky joined #salt
15:10 drakimor joined #salt
15:16 Vpex joined #salt
15:28 mechanicalduck joined #salt
15:28 drakimor joined #salt
15:33 easier joined #salt
15:39 bhosmer joined #salt
15:50 drakimor joined #salt
15:54 insert36 joined #salt
15:54 sectionme joined #salt
15:55 scarcry joined #salt
15:56 drakimor joined #salt
15:58 jhauser joined #salt
16:09 scarcry joined #salt
16:09 bhosmer joined #salt
16:14 xcbt joined #salt
16:14 aquinas joined #salt
16:15 ramishra joined #salt
16:16 Luke joined #salt
16:17 Katafalkas joined #salt
16:24 TheThing joined #salt
16:33 nyx joined #salt
16:33 mapu joined #salt
16:37 slav0nic joined #salt
16:37 m0nky joined #salt
16:43 bhosmer joined #salt
16:50 scarcry joined #salt
17:10 FeatherKing joined #salt
17:17 zandy joined #salt
17:37 xcbt joined #salt
17:41 nyx_ joined #salt
17:44 matthiaswahl joined #salt
17:47 zandy joined #salt
17:49 scoates joined #salt
18:01 roolo joined #salt
18:07 drakimor joined #salt
18:08 TheThing joined #salt
18:18 zandy joined #salt
18:19 sectionme joined #salt
18:23 war2 joined #salt
18:32 bhosmer joined #salt
18:34 APLU joined #salt
18:35 otter768 joined #salt
18:43 otter768 joined #salt
18:44 otter768 joined #salt
18:44 hellome joined #salt
18:45 ghartz joined #salt
18:48 hellome joined #salt
18:55 Luke joined #salt
19:00 nyx_ joined #salt
19:00 scarcry joined #salt
19:11 big_area joined #salt
19:14 peters-tx joined #salt
19:19 zandy joined #salt
19:23 drakimor joined #salt
19:33 scarcry joined #salt
19:37 war2 joined #salt
19:47 mackstick joined #salt
20:24 ilbot3 joined #salt
20:24 Topic for #salt is now Welcome to #salt | 2014.1.5 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/
20:29 programmerq joined #salt
20:32 nyx joined #salt
20:33 mechanicalduck joined #salt
21:00 viq joined #salt
21:08 CF522200 joined #salt
21:15 Ryan_Lane joined #salt
21:16 xmj joined #salt
21:16 duncanmv joined #salt
21:18 zandy joined #salt
21:21 intellix joined #salt
21:21 schimmy joined #salt
21:22 intellix joined #salt
21:26 schimmy joined #salt
21:35 intellix joined #salt
21:48 troyready joined #salt
22:01 renoirb joined #salt
22:05 drakimor joined #salt
22:07 a1 joined #salt
22:08 chiui joined #salt
22:18 garthk joined #salt
22:18 zandy joined #salt
22:30 matthiaswahl joined #salt
22:33 DaveQB joined #salt
22:38 eliasp bug in the Pillar YAML renderer found :(
22:38 eliasp found a way to properly reproduce it … :)
22:38 schristensen joined #salt
22:39 eliasp … filing a GH issue now
22:51 gzcwnk joined #salt
22:52 gzcwnk when you run high.state can you run it as "do it but tell me what will be done" ie report on what it would do if run fully?
22:52 gzcwnk so like a read only thing?
22:52 manfred gzcwnk: tac on test=True to your state.highstate command line command
22:52 gzcwnk cool ta
22:55 gzcwnk i think ive broken something, Im getting high.state not available but I can run .sls files fine...
22:55 bhosmer joined #salt
22:55 manfred state.highstate
22:56 gzcwnk heheh, doh...
22:57 kedo39 joined #salt
22:58 gzcwnk salt vuwunicopatch03.ods.vuw.ac.nz state.highstate  is right?
22:58 manfred yes
22:58 gzcwnk TypeError encountered executing state.highstate: 'bool' object is not iterable. See debug log for more info.  Possibly a missing arguments issue:  ArgSpec(args=['test', 'queue'], varargs=None, keywords='kwargs', defaults=(None, False))
22:58 gzcwnk ?
22:59 manfred hold on
22:59 gzcwnk I had to restore some files, its possible I broke or I am missing something
22:59 manfred gzcwnk: http://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.state.html#salt.modules.state.highstate
22:59 manfred should work
23:00 manfred try test=true instead of True
23:00 Spark left #salt
23:00 gzcwnk im not using test at all
23:01 manfred you have to specify test=True on the commandline to have it not make any changes to the system, but to see what is going to change
23:01 manfred salt \* state.highstate test=True
23:01 gzcwnk it keeps failing
23:01 manfred then pastebin the error message
23:02 gzcwnk http://pastebin.com/n2HDkd0k
23:03 sectionme joined #salt
23:04 manfred capital T?
23:04 manfred test=True
23:04 manfred oh
23:04 manfred hrm...
23:04 gzcwnk i hade to do a restor so its possible I missed a bit of salt.
23:05 manfred add -l debug
23:05 manfred and gimme that log
23:05 gzcwnk but i can run .sls files by themselves
23:05 gzcwnk i added that already
23:05 manfred oh
23:05 gzcwnk http://pastebin.com/n2HDkd0k
23:06 manfred can you run it as salt-call state.highstate test=True -l debug
23:06 manfred on the minion
23:07 manfred i have no idea where it is failing out.
23:07 manfred also
23:07 manfred what version of salt?
23:08 gzcwnk salt-master-2014.1.5-1.el6.noarch
23:09 gzcwnk2 joined #salt
23:09 manfred and the minion?
23:10 gzcwnk2 I have to do a second login as I have a thin client so cant copy and pppppppppppaster
23:10 gzcwnk2 http://pastebin.com/T5C8ekp2
23:10 manfred gzcwnk2: looks like a regresion in 2014.1.5 https://github.com/saltstack/salt/issues/14131
23:11 manfred 2014.1.7 is available in epel testing still iirc
23:11 gzcwnk think i can upgrade, brb
23:11 jalaziz joined #salt
23:11 gzcwnk2 salt-minion-2014.1.7-3.el6.noarch
23:11 manfred nope
23:11 gzcwnk2 lemme upgarde the master, brb
23:11 manfred now it is in epel
23:11 manfred cool
23:13 manfred https://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/salt.html
23:15 gzcwnk done, testing....
23:15 gzcwnk looking good :D
23:15 gzcwnk :D
23:15 gzcwnk yep tis working
23:16 manfred awesome
23:16 gzcwnk good, i have 7 machines to build
23:16 gzcwnk :D
23:16 gzcwnk thanks very much
23:16 manfred np
23:18 zandy joined #salt
23:22 mosen joined #salt
23:29 joehillen joined #salt
23:33 bhosmer joined #salt
23:35 gzcwnk i need to do a list of servers in top.sls but Im getting an error,  http://pastebin.com/S0LHLM3f
23:35 gzcwnk or is there a better way?
23:43 manfred you can't do what you are trying to do
23:43 manfred set up something else in them, like a grain that they all will have, and then use that to match them all
23:46 Ryan_Lane joined #salt
23:47 manfred gzcwnk: you could use the compound matching and 'or'
23:47 manfred gzcwnk: http://docs.saltstack.com/en/latest/topics/targeting/compound.html
23:48 Outlander joined #salt
23:48 manfred gzcwnk: http://ix.io/dBT
23:49 manfred but that would be the only way to have multiple ones, and imo, it is just better to setup the grains when you bootstrap the server
23:52 otter768 joined #salt
23:52 __alex joined #salt
23:57 gzcwnk ah right

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