Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2016-01-02

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

All times shown according to UTC.

Time Nick Message
00:00 titilambert joined #salt
00:00 renoirb joined #salt
00:00 babilen joined #salt
00:00 neilf__ joined #salt
00:00 esharpmajor joined #salt
00:00 okfine joined #salt
00:00 neilf__ joined #salt
00:00 dayid joined #salt
00:00 dayid joined #salt
00:00 peters-tx joined #salt
00:01 UForgotten joined #salt
00:01 chitown joined #salt
00:01 bharper joined #salt
00:01 frew joined #salt
00:01 workthrick joined #salt
00:01 Sketch joined #salt
00:01 Laogeodritt joined #salt
00:01 bryguy joined #salt
00:02 kavakava__ joined #salt
00:02 tongpu joined #salt
00:02 Edgan joined #salt
00:02 skarn joined #salt
00:02 twiedenbein1 joined #salt
00:02 dthorman joined #salt
00:02 virusuy joined #salt
00:02 GrueMaster joined #salt
00:02 nkuttler joined #salt
00:02 beardo_ joined #salt
00:02 B1nny joined #salt
00:02 Cottser joined #salt
00:03 invalidexception joined #salt
00:03 JPT joined #salt
00:05 Garo_ joined #salt
00:06 MK_FG joined #salt
00:07 mnaser joined #salt
00:09 copelco joined #salt
00:10 ramblinpeck joined #salt
00:11 NachoDuck joined #salt
00:11 gtaylor joined #salt
00:11 akitada joined #salt
00:12 upb joined #salt
00:13 subsignal joined #salt
00:15 subsigna_ joined #salt
00:29 otter768 joined #salt
01:06 colegatron joined #salt
01:21 upb joined #salt
01:29 nyx__ joined #salt
01:44 hamsham joined #salt
02:07 jaybocc2 joined #salt
02:19 abednarik joined #salt
02:21 ip` joined #salt
02:23 jaybocc2 joined #salt
02:26 abednarik joined #salt
02:26 catpiggest joined #salt
02:29 otter768 joined #salt
02:31 keimlink_ joined #salt
02:33 JoeJulian joined #salt
02:55 kermit joined #salt
02:59 brianfeister joined #salt
03:03 anmol joined #salt
03:11 lorengordon joined #salt
03:21 colegatron joined #salt
03:47 hamsham joined #salt
04:08 hasues joined #salt
04:22 iggy M-MadsRC1: yes and no... feel free to bring up the fact that it should have been caught
04:25 racooper joined #salt
04:26 hasues left #salt
04:30 otter768 joined #salt
04:34 jaybocc2 joined #salt
04:48 subsignal joined #salt
04:50 jaybocc2 joined #salt
05:00 XenophonF joined #salt
05:00 XenophonF does salt still need m2crypto?
05:00 XenophonF pip doesn't seem to think so
05:00 XenophonF but the docs say otherwise
05:01 baweaver joined #salt
05:02 tmclaugh[work] joined #salt
05:02 lemur joined #salt
05:04 brianfeister joined #salt
05:05 jfred joined #salt
05:06 moogyver joined #salt
05:26 iggy XenophonF: afaik, yes
05:34 aqua^c joined #salt
05:40 aqua^c joined #salt
05:44 colegatron joined #salt
05:54 anmol joined #salt
05:58 hvn joined #salt
05:58 hvn joined #salt
06:09 malinoff joined #salt
06:14 intr1nsic joined #salt
06:21 antpa joined #salt
06:22 baweaver joined #salt
06:27 Guest96702 joined #salt
06:27 Guest96702 Hi
06:28 Guest96702 i trying to execute command through salt-ssh but failing. Below is what i have done and doing -
06:28 oida joined #salt
06:28 Guest96702 1. created a roster file in /etc/salt/roster (which has one node only given in sample example in doc)
06:29 Guest96702 2. running command as = salt-ssh -r 'salt-minion --version'
06:29 Guest96702 which returns salt-ssh -h page
06:30 Guest96702 3. running command - salt-ssh --roster=scan -r 'salt-minion --version'
06:30 Guest96702 which returns salt-ssh -h output
06:31 otter768 joined #salt
06:33 Guest96702 when running - salt-ssh --roster-file=/etc/salt/roster roster scan -r 'salt-minion --version'
06:33 Guest96702 getting output - No hosts found with target roster of type glob
06:33 Guest96702 What am i missing ?
06:33 whytewolf Guest96702: a target
06:39 whytewolf guest for your first example. salt-ssh -r 'host defined in rosters id' 'salt-minion --version'
06:43 Guest96702 whytewolf: should port 22 open from source to target while using salt-ssh ?
06:44 whytewolf Guest96702: um. yes. you need to be able to ssh from the master to the minion
06:44 whytewolf thats how salt-ssh works
06:45 Guest96702 what if minions is behind a NAT ?
06:45 whytewolf what part of you have to be able to ssh into the system from the master did you not understand?
06:45 DammitJim joined #salt
06:46 whytewolf there is no getting around that if you are using salt-ssh
06:53 brianfeister joined #salt
06:55 Guest96702 Yes, it should be till NAT box
06:55 jaybocc2 joined #salt
06:58 whytewolf if you want salt-ssh to get into the system behind a NAT then SSH needs to be shared at the NAT level pointing to the box behind it. salt-ssh isn't a magic bullet. it just ssh's into the system and performs some commands
07:07 slav0nic joined #salt
07:08 JoshuaX joined #salt
07:11 jaybocc2 joined #salt
07:24 niks joined #salt
07:25 niks joined #salt
07:25 niks left #salt
07:42 intr1nsic joined #salt
07:58 antpa joined #salt
08:07 DammitJim joined #salt
08:14 Crazy67 joined #salt
08:20 Garo_ joined #salt
08:32 otter768 joined #salt
08:36 jaybocc2 joined #salt
08:41 jamesp9 joined #salt
08:42 brianfeister joined #salt
08:52 jaybocc2 joined #salt
08:54 Diaoul joined #salt
08:54 DammitJim joined #salt
09:01 subsignal joined #salt
09:15 keimlink joined #salt
09:17 intr1nsic joined #salt
09:41 DammitJim joined #salt
09:45 jaybocc2 joined #salt
09:47 traph joined #salt
09:59 JoshuaX joined #salt
10:05 aqua^c joined #salt
10:07 wenxin joined #salt
10:13 antpa left #salt
10:27 intr1nsic joined #salt
10:31 brianfeister joined #salt
10:33 otter768 joined #salt
10:45 felskrone joined #salt
11:04 aboe joined #salt
11:05 subsignal joined #salt
11:10 traph joined #salt
11:29 intr1nsic joined #salt
11:34 av_ joined #salt
11:41 abednarik joined #salt
11:46 intr1nsic joined #salt
11:47 colegatron joined #salt
12:04 keimlink joined #salt
12:19 shiriru joined #salt
12:20 brianfeister joined #salt
12:22 traph joined #salt
12:34 otter768 joined #salt
13:07 subsignal joined #salt
13:27 onovy joined #salt
13:35 XenophonF i wonder if salt-ssh can use a proxy, like how emacs tramp works
13:36 XenophonF Guest96702, whytewolf: maybe this is relevant to your eariler discussion - https://github.com/saltstack/salt/issues/19757
13:36 saltstackbot [#19757]title: salt-ssh  | Using ssh ProxyCommand seems to confuse salt-ssh...
13:37 colegatron_ joined #salt
13:41 CeBe joined #salt
13:41 aqua^c joined #salt
13:50 traph joined #salt
14:09 brianfeister joined #salt
14:13 HardWall joined #salt
14:13 jgelens joined #salt
14:16 yomilk joined #salt
14:28 viq joined #salt
14:30 TyrfingMjolnir joined #salt
14:35 otter768 joined #salt
14:36 aqua^c joined #salt
14:38 rmnuvg joined #salt
14:39 malinoff joined #salt
15:00 oida joined #salt
15:02 catpig joined #salt
15:09 subsignal joined #salt
15:17 subsignal joined #salt
15:45 intr1nsic joined #salt
15:51 dyasny joined #salt
15:58 brianfeister joined #salt
16:22 thejrose1984 joined #salt
16:26 dyasny joined #salt
16:32 mapu joined #salt
16:36 otter768 joined #salt
16:42 onovy joined #salt
16:48 subsignal joined #salt
16:49 freelock joined #salt
16:53 tristianc joined #salt
17:09 kusuriya left #salt
17:10 dyasny joined #salt
17:11 tmclaugh[work] joined #salt
17:12 DavidB_ joined #salt
17:18 shiriru joined #salt
17:26 intr1nsic joined #salt
17:32 guest left #salt
17:32 nyx_ joined #salt
17:46 brianfeister joined #salt
17:48 colegatron joined #salt
17:59 dyasny_ joined #salt
18:03 koomi joined #salt
18:21 amcorreia joined #salt
18:24 dyasny__ joined #salt
18:28 pcdummy joined #salt
18:28 pcdummy joined #salt
18:32 pcdummy joined #salt
18:32 pcdummy joined #salt
18:34 JoshuaX joined #salt
18:36 otter768 joined #salt
18:41 om joined #salt
18:45 Crazy67 joined #salt
18:46 bhosmer joined #salt
19:06 DammitJim joined #salt
19:06 aqua^c joined #salt
19:08 abednarik joined #salt
19:21 dyasny__ joined #salt
19:35 brianfeister joined #salt
19:39 dyasny_ joined #salt
19:40 GreatSnoopy joined #salt
19:52 thejrose1984 joined #salt
19:55 dyasny_ joined #salt
20:02 GreatSnoopy joined #salt
20:07 subsignal joined #salt
20:11 nyx__ joined #salt
20:17 abednarik joined #salt
20:22 aboe joined #salt
20:25 otter768 joined #salt
20:27 om joined #salt
20:32 Crazy67 joined #salt
20:32 aboe joined #salt
20:45 TyrfingMjolnir joined #salt
20:54 om joined #salt
20:55 om joined #salt
20:58 hasues joined #salt
20:59 hasues left #salt
21:02 keimlink joined #salt
21:06 sbogg joined #salt
21:07 mdupont joined #salt
21:10 viq joined #salt
21:16 om2 joined #salt
21:16 lompik joined #salt
21:24 intr1nsic joined #salt
21:24 brianfeister joined #salt
21:30 ashmckenzie joined #salt
21:31 dancat joined #salt
21:31 otter768 joined #salt
21:42 quasiben joined #salt
21:48 Crazy67 joined #salt
21:48 karlthane joined #salt
21:54 om2 joined #salt
21:54 dancat joined #salt
21:58 moogyver joined #salt
21:58 Netwizard joined #salt
21:58 dancat Trying to implement a CD pipeline with Salt. But the build server is external to the Salt system. How should I approach messaging the Salt master when the build is complete/successful so that the salt master can provision the server (using salt-cloud) with the build artifacts?
21:59 TyrfingMjolnir joined #salt
22:02 viq dancat: you can't install a salt-minion on the build server?
22:02 dancat The build server is Travis CI
22:03 dancat I'll have to look into it
22:03 viq salt-api? Or you could have a system somewhere, that would take in a webhook and fire off an event
22:04 jeffspeff joined #salt
22:05 dancat Thanks. I was thinking on a VCS commit (which starts the build) I could have a hook which prompts the master to query the build server to see if/when build completes successfully. If fails stop if successful grab artifact? Does that sound reasonable?
22:06 viq Sorry, I have too little experience to have a good feeling for that solution
22:06 dancat viq: appreciate the response
22:11 subsignal joined #salt
22:18 om joined #salt
22:31 ghanima joined #salt
22:32 intr1nsic joined #salt
22:41 iggy dancat: the most common way would be salt-api
22:42 dancat iggy: I'll add it to the list for reading :) cheers
22:43 aqua^c joined #salt
22:43 iggy but we have a workflow that works like your idea (a runner that gets started and does a bunch of stuff in a pipeline)
22:44 dancat just like anything else there's numerous ways to approach the solution. What I am looking for is the way which follows a commonly followed convention. So thanks
22:47 viq dancat: WAAAAY overkill for just this, but maybe have a look at http://stackstorm.com/ anyway?
22:47 viq oh, also http://rundeck.org/ + http://rundeck.org/plugins/2013/07/26/salt-step.html
22:48 bhosmer joined #salt
22:49 dancat haven't heard of either of them yet!
22:51 cyborg-one joined #salt
22:52 tpaul joined #salt
23:11 boogibugs_ joined #salt
23:13 brianfeister joined #salt
23:16 boogibugs_ hi, I am new to salt, i am trying to debug an error: rendering SLS 'this is creating a vm' failed: problem running salt function in Jinja template User 'user' is not available. I have tried searching through all the salt, pillar etc dirs but cant find where this user role is being called to create the user or how its being defined in the first place, can anyone give me some quick pointers...
23:17 viq boogibugs_: can you show the sls "this is creating a vm" ?
23:18 boogibugs_ maybe if i could find it...
23:18 viq grep -R "this is creating a vm" /srv/salt
23:19 boogibugs_ is the /var/cache/salt any good
23:19 boogibugs_ ok wil ltry that
23:19 boogibugs_ ok turns out i was in that dir already i got that far
23:20 boogibugs_ under a formula dir is that correct
23:22 boogibugs_ viq: I have now found the SLS file, i cant show it as on a machine with no net connection. :(
23:23 mdupont_ joined #salt
23:24 viq Well, at least now you know at what file to look
23:26 boogibugs_ this si true but it still is diff code than i am used to like using ansible and puppet....I managed to get a copy using usb drive, doh! can i send somehow using pastebin, gist etc?
23:26 viq yeah, gist certainly works
23:27 boogibugs_ this sls file calls a template.jinja file one level up and i can't see any user defined in this vm sls file
23:27 boogibugs_ ok I will put there 2 ticks
23:27 viq can you put that template.jinja up as well then?
23:28 boogibugs_ ok will do.
23:31 gentoognuhurd joined #salt
23:32 boogibugs_ viq: https://gist.github.com/anonymous/a778ad2adbd8534aac6e
23:32 viq ooh, someone playing with Qubes :D
23:33 boogibugs_ yes indeed
23:33 boogibugs_ but its got a bug in it apparently but icant see where that user gets called in either of those files
23:34 boogibugs_ playing being the operative word i have been using Linux for about 6 years now this has been one of the hardest distro's I have ever tried to install
23:36 viq https://github.com/QubesOS/qubes-mgmt-salt-dom0-virtual-machines/tree/master/qvm  is what we're looking at, correct?
23:37 boogibugs_ yeah thats all of them there, it fails to create the vms on firstboot screen, but mentions ot check a minion log and try ruinning from dom0 'qubesctl stat.highstate' If i run it i get that error for each vm
23:38 boogibugs_ *state.highstate
23:40 abednarik joined #salt
23:41 mage_ mmh when I look at https://github.com/saltstack-formulas/haproxy-formula/blob/master/haproxy/templates/haproxy.jinja I hardly understand what's the advantage of putting those values in pillar rather than directly in the conf file ? it's just unreadable..
23:42 viq mage_: "data driven configuration" - options not present when not defined, and being able to easily set them to different values for different hosts in pillars
23:43 mage_ mmmh
23:43 viq boogibugs_: 'qubesctl saltutil.sync_all' doesn't help?
23:44 NightMonkey joined #salt
23:44 viq boogibugs_: and what's the exact command you execute when you get that error?
23:44 boogibugs_ viq: let me try hang on: qubesctl state.highstate is the command
23:45 amcorreia joined #salt
23:45 viq ah, apparently 'qubesctl' == 'salt-call --local'
23:46 boogibugs_ ok the sync has run no error output just local: and some module names are they underneath
23:47 viq and if you run state.highstate after that?
23:48 boogibugs_ same issue again
23:48 boogibugs_ user 'user' is not available
23:49 colegatron joined #salt
23:51 viq https://github.com/QubesOS/qubes-mgmt-salt-base-config/blob/aad497d4e5e4211e224b98b58f7f092bdd0b0cfc/config/files/minion.d/f_defaults.conf  seems to have references to that
23:53 boogibugs_ so should user be root and not user? somehow
23:55 boogibugs_ is there a lint syntax checker for salt like there is for puppet?
23:55 viq is there 'user' in /etc/passwd ?
23:55 viq Uhm, not sure actually
23:56 boogibugs_ yeah checked that too and no there isnt
23:56 viq hmm
23:56 viq Try creating such user?
23:56 boogibugs_ should I create one and test it out
23:57 boogibugs_ reading my thoughts :)
23:57 viq yeah
23:59 boogibugs_ ok now got some other errors and some nice output on screen...
23:59 boogibugs_ permission denied on some of them i think it should be using root to make these vms and somehow its trying to use user...instead
23:59 viq ah

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