Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2017-07-01

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

All times shown according to UTC.

Time Nick Message
00:00 edrocks joined #salt
00:01 alexlist joined #salt
00:12 onlyanegg joined #salt
00:19 major joined #salt
00:26 aleph- joined #salt
00:33 noobiedubie joined #salt
01:02 major joined #salt
01:03 aleph- joined #salt
01:07 flowstategames joined #salt
01:17 hemebond joined #salt
01:33 nich0s joined #salt
01:48 ilbot3 joined #salt
01:48 Topic for #salt is now Welcome to #salt! <+> Latest Versions: 2016.3.6, 2016.11.6 <+> Support: https://www.saltstack.com/support/ <+> Logs: http://irclog.perlgeek.de/salt/ <+> Paste: https://gist.github.com/ <+> See also: #salt-devel, #salt-offtopic <+> We are volunteers and may not have immediate answers <+> The call for speakers for SaltConf17 is now open: http://tinyurl.com/SaltConf17
02:41 hemebond Anyone use Saltstack with Certbot (LetsEncrypt)?
03:08 chrysanthemum joined #salt
03:16 donmichelangelo joined #salt
03:19 thekabal hemebond> This looks related: https://www.kunxi.org/blog/2015/12/lets-encrypt-with-saltstack/
03:19 thekabal But I have not used them together yet.
03:21 flowstategames joined #salt
03:34 mikecmpbll joined #salt
03:52 hemebond thekabal: Oh, thank you. That actually explains some stuff.
03:53 hemebond This looks like a much better setup than what I managed to get running.
04:05 XenophonF hemebond: I'm using Let's Encrypt via letsencrypt-formula, but it's an ugly hack IMO
04:05 hemebond I believe that's what I've used too.
04:05 hemebond I'm not entirely sure how it's working, and that concerns me.
04:06 XenophonF I have to bootstrap my web servers with dummy self-signed certs.
04:07 XenophonF then circle back after running letsencrypt-auto to reconfigure them to use the Let's Encrypt keypair
04:07 hemebond Yeah, I think I ran highstate twice to get it. The link provided by thekabal appears to have a lovely solution.
04:08 hemebond Oh you loop back in the same highstate? Yikes.
04:08 XenophonF god no
04:08 XenophonF i have to run the highstate, change the pillar data, and re-run the highstate
04:08 hemebond Oh, just like me.
04:08 hemebond Yeah, feels bad.
04:08 XenophonF it's terrible
04:09 XenophonF in my mind, I'd rather have a service that used DNS validation and stashed the new cert+key in sdb or vault or something
04:10 XenophonF maybe even drop an event onto the salt msg bus that a reactor could watch for
04:10 XenophonF that, at least, would be idempotent
04:10 XenophonF and amenable to orchestration
04:11 XenophonF IMO certbot is POC for the ACME protocol and suitable only for one-off development systems
04:13 hemebond Yeah, in my case it's just for ops servers.
04:25 sp0097 joined #salt
04:33 rickflare2 left #salt
04:33 rickflare joined #salt
04:50 ahrs joined #salt
04:53 onlyanegg joined #salt
04:55 vishvendra joined #salt
05:00 Zachary_DuBois joined #salt
05:07 vishvendra1 joined #salt
05:13 onlyanegg joined #salt
05:20 thekabal Glad I could help.
05:28 fritz09 joined #salt
05:36 mikecmpbll joined #salt
05:40 vishvendra joined #salt
05:58 justan0theruser joined #salt
06:01 justan0theruser joined #salt
06:14 saintpablo joined #salt
06:26 jeffspeff joined #salt
06:31 _KaszpiR_ joined #salt
06:31 preludedrew joined #salt
06:59 _KaszpiR_ joined #salt
07:06 Rumbles joined #salt
07:36 onlyanegg joined #salt
07:57 tobstone joined #salt
08:29 evle joined #salt
08:36 onlyanegg joined #salt
08:43 cyteen joined #salt
09:27 fracklen joined #salt
09:43 yuhl______ joined #salt
10:21 Praematura joined #salt
10:38 onlyanegg joined #salt
10:55 scelestic joined #salt
11:24 keltim joined #salt
11:40 wonko21 joined #salt
11:50 evle1 joined #salt
12:17 Mattch joined #salt
12:20 Sarph joined #salt
12:36 onlyanegg joined #salt
12:37 pbandark joined #salt
13:24 J0hnSteel joined #salt
13:30 aldevar joined #salt
13:53 glyf joined #salt
13:53 aldevar1 joined #salt
14:07 onlyanegg joined #salt
14:36 J0hnSteel joined #salt
14:49 cyteen joined #salt
15:05 cyborg-one joined #salt
15:11 johnkeates joined #salt
15:11 J0hnSteel joined #salt
15:31 Praematura joined #salt
15:38 dag__ joined #salt
15:40 littlepython hi
15:56 flowstategames joined #salt
16:02 gmoro joined #salt
16:03 pbandark1 joined #salt
16:07 onlyanegg joined #salt
16:18 sp0097 joined #salt
16:26 littlepython joined #salt
16:40 johnkeates joined #salt
17:00 jauza joined #salt
17:00 ecdhe joined #salt
17:00 ecdhe joined #salt
17:02 jimklo joined #salt
17:04 onlyanegg joined #salt
17:06 ecdhe joined #salt
17:07 major joined #salt
17:10 rmc3 joined #salt
17:16 jimklo joined #salt
17:16 skeezix-hf joined #salt
17:19 eightyeight joined #salt
17:21 vishvendra joined #salt
17:22 major joined #salt
17:30 aldevar joined #salt
17:34 Praematura joined #salt
17:36 aldevar1 joined #salt
17:41 sjorge joined #salt
17:42 aldevar joined #salt
17:45 onlyanegg joined #salt
17:47 sjorge joined #salt
17:49 sjorge joined #salt
17:53 onlyanegg joined #salt
18:10 xet7 joined #salt
18:21 J0hnSteel joined #salt
18:21 armyriad joined #salt
18:26 littlepython joined #salt
18:47 Rumbles joined #salt
18:52 hoonetorg joined #salt
19:12 cyborg-one joined #salt
19:13 noraatepernos joined #salt
19:29 oida joined #salt
19:35 madgoat joined #salt
19:36 madgoat left #salt
19:53 sjorge joined #salt
19:56 onlyanegg joined #salt
19:59 Rumbles joined #salt
20:01 tobstone joined #salt
20:04 sjorge joined #salt
20:08 noraatepernos https://gist.github.com/anonymous/d907ed475890ef42cdd8f90ecb3a07ff
20:09 noraatepernos Curious how one would go about debugging this.
20:09 noraatepernos It’s my only error during high state.
20:11 xet7 joined #salt
20:13 Pulp joined #salt
20:15 aldevar left #salt
20:15 viq noraatepernos: find any pip states you have, and see if any have 'Requirement' or 'project_name' there?
20:15 viq oh, the boto state. What does it look like?
20:18 noraatepernos viq: Thanks.  https://gist.github.com/anonymous/6acac9f1ba1ea1c394a7fa28f91c06c9
20:21 viq which version of salt are you running?
20:23 noraatepernos Shoot I just shut the minion down.  Let me see.  I have apt sources “ppa:saltstack/salt” and the apt package set to salt-minion.
20:23 noraatepernos *but* my salt master is different.
20:24 viq Then what are the versions on both?
20:25 MTecknology I'm missing something... I have a schedule that used to run a command 1x/min. Now it seems to never execute, but the schedule is still listed.  http://dpaste.com/2R9AAG4
20:26 noraatepernos salt-master 2015.5.3 (Lithium)
20:26 viq MTecknology: indentation in '- args' ?
20:27 noraatepernos salt-minion 2015.8.8 (Beryllium)
20:27 viq hm, no, nevermind...
20:28 viq noraatepernos: master *must* be same or *newer* than minions.
20:28 noraatepernos I should update my salt-master probably first.
20:28 viq Yes, you should.
20:29 viq MTecknology: just to verify, is /usr/local/sbin/global_highstate executable?
20:29 viq (and exists, and does what you expect, etc)
20:29 MTecknology viq: yup, I tried running it from bash and it executed without problem; lemme share proof and file contents
20:30 MTecknology ...
20:31 viq oh?
20:31 MTecknology 750 vs. 755 might be my problem
20:31 viq Well, if salt-minion is running as root then it shouldn't
20:31 noraatepernos apt says salt-master is already on latest version.
20:32 MTecknology http://dpaste.com/1P1J5T3
20:35 viq MTecknology: that begs to run 'which python' via salt
20:35 MTecknology salt-call cmd.run 'which python' --> /usr/bin/python
20:36 viq and just to verify, /usr/bin/python --version  ?
20:36 MTecknology salt 'salt*' cmd.run 'which python' also gave me the same thing -- Python 2.7.9
20:36 * viq nods
20:37 viq noraatepernos: you said yourself you have them from different sources. Version of master needs to be same or newer than minions. Adjust sources as necessary to get that result.
20:38 viq MTecknology: sorry, I'm out of obvious questions and don't know enough about internals to dig deeper.
20:44 MTecknology any non-obvious or off-the-wall questions?
20:45 MTecknology I'm checking if it ran using "salt-call sdb.get sdb://localsdb/hst_tick" to check if it ran and when I run the script I see the counter decrease.
20:45 viq Is the schedule set via pillar, or some other way?
20:46 ilbot3 joined #salt
20:46 Topic for #salt is now Welcome to #salt! <+> Latest Versions: 2016.3.6, 2016.11.6 <+> Support: https://www.saltstack.com/support/ <+> Logs: http://irclog.perlgeek.de/salt/ <+> Paste: https://gist.github.com/ <+> See also: #salt-devel, #salt-offtopic <+> We are volunteers and may not have immediate answers <+> The call for speakers for SaltConf17 is now open: http://tinyurl.com/SaltConf17
20:46 MTecknology here it is - http://dpaste.com/09D85J1
20:46 viq My experience with schedules is very limited - I have ever enabled one, on one node :P And I have done it via pillar.
20:46 viq Maybe "wiggling" it would work - remove it and add again?
20:47 MTecknology worth a shot
20:49 ssplatt joined #salt
20:49 viq And I assume you did restart the minion in the mean time ;)
20:50 noraatepernos joined #salt
20:51 MTecknology yup
20:54 MTecknology rebooting the host seems to have helped
20:54 MTecknology err... the "container"
20:56 MTecknology well that's not very comforting
20:59 MTecknology I think I'm gonna switch to cron for this.
20:59 MTecknology viq: Thanks!
20:59 viq :)
21:13 ssplatt joined #salt
21:42 onlyanegg joined #salt
21:49 jholtom joined #salt
22:02 glyf joined #salt
22:19 nethershaw joined #salt
22:24 cyteen joined #salt
22:47 noobiedubie joined #salt
23:30 aneeshusa joined #salt
23:31 onlyanegg joined #salt
23:38 zulutango joined #salt
23:38 averell joined #salt
23:41 khaije1 joined #salt
23:43 khaije1 Is there any way to list the entries in an sdb sqlite file via Salt/Jinja (other than using the sqlite execution module) ?
23:45 whytewolf no
23:45 whytewolf sdb only gives you get(), set() or delete()
23:47 khaije1 okeedoke, thats what I've seen just thought I'd ask to confirm in case of personal obtuseness
23:48 glyf joined #salt

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