Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2018-03-08

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

All times shown according to UTC.

Time Nick Message
00:03 major joined #salt
00:14 woodtablet left #salt
00:23 mavhq joined #salt
00:38 xet7 joined #salt
01:01 chesty joined #salt
01:06 aviau joined #salt
01:42 thelocehiliosan joined #salt
01:54 tys101010 joined #salt
01:56 MTecknology cripes, that salt repo is getting large
02:09 sh123124213 joined #salt
02:13 cgiroua joined #salt
02:17 ponyofdeath joined #salt
02:32 zerocoolback joined #salt
02:33 zerocoolback joined #salt
02:56 ilbot3 joined #salt
02:56 Topic for #salt is now Welcome to #salt! <+> Latest Versions: 2016.11.9, 2017.7.4 <+> RC for 2018.3.0 is out, please test it! <+> Support: https://www.saltstack.com/support/ <+> Logs: http://irclog.perlgeek.de/salt/ <+> Paste: https://gist.github.com/ <+> See also: #salt-devel, #salt-offtopic, and https://saltstackcommunity.herokuapp.com (for slack) <+> We are volunteers and may not have immediate answers
03:17 noobiedubie joined #salt
03:21 beardo joined #salt
03:22 thelocehiliosan joined #salt
03:24 shiranaihito joined #salt
03:47 toastedpenguin joined #salt
03:49 amy_ joined #salt
03:52 lompik joined #salt
03:56 thelocehiliosan joined #salt
03:59 emid joined #salt
04:00 tys101010 joined #salt
04:10 whytewolf MTecknology: are you downloading the archives too? that might make it way bigger.
04:15 tys101010 joined #salt
04:20 zerocoolback joined #salt
04:20 MTecknology whytewolf: I'm not smart enough to not download all the history.
04:22 MTecknology We need to break up the documentation for the network state for the different modules that it's backed by...
04:22 tys101010 joined #salt
04:27 thelocehiliosan joined #salt
04:28 tys101010 joined #salt
04:33 tys101010 joined #salt
04:38 tys101010 joined #salt
04:52 tys101010 joined #salt
04:59 amy_ joined #salt
05:03 pipps joined #salt
05:17 amy__ joined #salt
05:54 gmoro joined #salt
06:03 masber joined #salt
06:04 yuhl joined #salt
06:08 zerocoolback joined #salt
06:11 zerocoolback joined #salt
06:15 zerocoolback joined #salt
06:18 tuxawy joined #salt
06:22 mechleg1 joined #salt
06:24 LocaMocha joined #salt
06:26 zerocoolback joined #salt
06:27 LocaMocha joined #salt
06:28 amy_ joined #salt
06:28 LocaMocha joined #salt
06:30 zerocoolback joined #salt
06:31 LocaMocha joined #salt
06:40 amy_ joined #salt
07:11 Hybrid joined #salt
07:17 zerocoolback joined #salt
07:23 masber joined #salt
07:26 Swant joined #salt
07:27 Hybrid joined #salt
07:27 tuxawy joined #salt
07:29 jhauser joined #salt
07:31 mritchie joined #salt
07:37 yuhl_ joined #salt
07:42 pipps joined #salt
07:53 om2 joined #salt
08:15 Tucky joined #salt
08:19 darioleidi joined #salt
08:19 cewood joined #salt
08:20 darioleidi joined #salt
08:32 Pjusur joined #salt
08:35 jrenner joined #salt
08:40 exarkun joined #salt
08:41 mbologna joined #salt
08:54 mritchie joined #salt
08:56 mikecmpbll joined #salt
09:09 inad922 joined #salt
09:11 LocaMocha joined #salt
09:16 monokrome joined #salt
09:28 Mattch joined #salt
09:30 inad922 joined #salt
09:33 sheesh joined #salt
09:38 zerocoolback joined #salt
09:42 obitech joined #salt
09:43 obitech hey guys, has anyone worked with custom states/modules on salt-ssh ? It seems like saltutil.sync_all is not syncing anything at all
09:43 Naresh joined #salt
09:45 threwahway joined #salt
09:49 jhauser joined #salt
10:12 inad922 joined #salt
10:25 rjc joined #salt
10:39 mikecmpbll joined #salt
10:45 inad922 joined #salt
10:45 Pjusur joined #salt
10:47 bebeszi hello again, i've got a problem with saltstack integration with Vault
10:48 bebeszi I did what was included in the tutorials and documentation but every single time I receive:
10:48 bebeszi ERROR   ] Failed to get token from master! An error was returned: request() got an unexpected keyword argument 'json'
10:48 bebeszi [ERROR   ] Failed to read secret! CommandExecutionError: {'error': "request() got an unexpected keyword argument 'json'"}
10:48 bebeszi Error running 'vault.read_secret': {'error': "request() got an unexpected keyword argument 'json'"}
11:05 pbandark joined #salt
11:06 justan0theruser joined #salt
11:15 justan0theruser joined #salt
11:29 Hybrid joined #salt
11:43 Hybrid joined #salt
11:49 inetpro joined #salt
11:55 Hybrid1 joined #salt
12:04 zerocoolback joined #salt
12:06 oida joined #salt
12:10 bebeszi hm? could someone help me with that error? should i report it to github?
12:12 Moonboots joined #salt
12:15 Moonboots joined #salt
12:18 Pjusur joined #salt
12:27 masuberu joined #salt
12:33 mavhq joined #salt
12:42 mritchie joined #salt
13:03 GrisKo joined #salt
13:04 alvinstarr joined #salt
13:19 mattfoxxx joined #salt
13:24 zerocoolback joined #salt
13:28 thelocehiliosan joined #salt
13:38 Cadmus joined #salt
13:40 slaweq__ does anyone here uses salstack with vault?
13:49 exarkun joined #salt
14:08 netcho joined #salt
14:10 edrocks joined #salt
14:11 gh34 joined #salt
14:14 brokensyntax joined #salt
14:24 englishm_work joined #salt
14:28 racooper joined #salt
14:29 dendazen joined #salt
14:37 XenophonF joined #salt
14:44 nixjdm joined #salt
14:52 thelocehiliosan joined #salt
14:52 harsh_ joined #salt
14:53 slaweq_ are people here mostly from USA?
14:56 masber joined #salt
14:57 Sacro No, I'm entirely not from USA
14:59 Cadmus Hello, I've got an orchestrator, but I need to find a pillar from one of the machines I'm orchestrating, whats the right way to call that?
15:01 darix joined #salt
15:03 tuxawy joined #salt
15:03 Cadmus Ah, apprently this involves Mine, which I'm not so familiar with
15:04 slaweq_ and does anyone here integrated his Saltstack with Vault?
15:05 slaweq_ because right now I don't know if I hit a bug or something configured in a wrong way
15:07 thelocehiliosan joined #salt
15:11 Cadmus Hmmmmm, there's also using the pillar_show runner https://groups.google.com/forum/#!msg/salt-users/C55m7xXzH3M/HBr0_VukAwAJ
15:11 Cadmus I just have to figure out how to use it
15:12 tuxawy joined #salt
15:18 thelocehiliosan joined #salt
15:19 Cadmus Gah, this is going to hurt my thinking meat again. So I'm running an orchestrator (on the master) and I need a pillar from one of my minions to choose which of two staements to run.
15:21 thelocehiliosan joined #salt
15:25 dendazen joined #salt
15:25 evle1 joined #salt
15:27 amy_ joined #salt
15:30 amy__ joined #salt
15:35 slaweq_ [ERROR   ] Failed to get token from master! An error was returned: request() got an unexpected keyword argument 'json'
15:35 slaweq_ [ERROR   ] Failed to read secret! CommandExecutionError: {'error': "request() got an unexpected keyword argument 'json'"}
15:35 slaweq_ Error running 'vault.read_secret': {'error': "request() got an unexpected keyword argument 'json'"}
15:35 slaweq_ is it something with my config or what emenet?
15:35 slaweq_ element?
15:35 slaweq_ because salt-minion and salt-master don't show anything useful about the cause
15:36 slaweq_ even when verbosity is set to all
15:46 ecdhe slaweq_: I haven't gotten around to using saltstack with vault, but it's something I'd like to prototype.  The GPG rendered meets my needs at the moment.
15:46 amy_ joined #salt
15:47 ecdhe *renderer
16:05 tiwula joined #salt
16:09 ponyofdeath joined #salt
16:18 pewpew joined #salt
16:22 noobiedubie joined #salt
16:24 zerocoolback joined #salt
16:27 dograt_ joined #salt
16:32 onlyanegg joined #salt
17:00 BitBandit joined #salt
17:02 theloceh1liosan joined #salt
17:11 ventris joined #salt
17:15 shoogz joined #salt
17:17 dendazen joined #salt
17:18 amy_ joined #salt
17:18 pipps joined #salt
17:51 pipps joined #salt
18:23 edrocks joined #salt
18:26 cewood joined #salt
18:46 ymasson joined #salt
18:49 jkerr joined #salt
18:56 pipps99 joined #salt
19:01 sh123124213 joined #salt
19:01 sh123124213 is python3 support still experimental ?
19:07 MTecknology probably, but that might be much improved in 2018.3.0.
19:14 Edgan What is the method to switch to it?
19:18 MTecknology I'd probably try it in a py3 venv first- https://docs.saltstack.com/en/latest/topics/development/hacking.html
19:18 MTecknology beyond that- I have no idea
19:26 pipps joined #salt
19:31 pipps joined #salt
19:33 pipps99 joined #salt
19:34 pipps_ joined #salt
19:41 pipps joined #salt
19:43 pipps99 joined #salt
19:47 pipps joined #salt
19:50 Hybrid joined #salt
19:52 pipps99 joined #salt
19:57 pipps joined #salt
19:59 pipps99 joined #salt
20:05 pipps joined #salt
20:07 Hybrid joined #salt
20:10 DammitJim joined #salt
20:17 netcho joined #salt
20:21 chesty joined #salt
20:32 yuhl joined #salt
20:37 zer0def slaweq_: my guess is that the distro you're using has python-requests old enough to not have the `json` kwarg
20:38 edrocks joined #salt
21:02 darix joined #salt
21:05 masber joined #salt
21:10 Edgan Why do I need to render the state or pillar top.sls to sync grains? https://pastebin.com/PCgs75ZX
21:12 MTecknology I'm moderately curious about jumping through that code path...
21:12 MTecknology Edgan: damn you... I was almost going to be nearly productive today!
21:15 cgiroua joined #salt
21:16 whytewolf thoery: because part of syncing grains is dealing with the enviroment and one of the tasks of top helps determine the minions enviroment? [not reviewed code, just a guess]
21:17 thelocehiliosan joined #salt
21:28 Edgan whytewolf: If so, it has created a chicken and the egg problem.
21:28 Edgan whytewolf: My top.sls includes a map.jinja that wants to use a grain that hasn't synced yet.
21:30 whytewolf try it with refresh=false
21:30 whytewolf again just guessing
21:31 whytewolf or pass saltenv=base
21:31 Edgan whytewolf: didn't help
21:31 yuhl joined #salt
21:31 Edgan saltenv=base worked
21:32 Edgan Give me an idea for a workaround
21:32 whytewolf this is in the docs for sync_grains under the saltenv settings "If not passed, then all environments configured in the top files will be checked for grains modules to sync. If no top files are found, then the base environment will be synced."
21:33 Edgan /etc/salt/master: state_top_saltenv: base
21:33 Edgan whytewolf: thanks :)
21:34 whytewolf np
21:37 Edgan I think it is time to switch to gitfs again
21:38 whytewolf Nooooooooooooo!!!!!!!!!!!! ... oh wait ... that shouldn't be that bad.
21:39 Edgan whytewolf: state_top_saltenv: base  oddly didn't help. Need for pillar_top_saltenv: base?
21:39 whytewolf no, the command acctually checks if saltenv was passed to it. if it isn't it checks top files
21:40 Edgan salt foo saltutil.sync_grains  I would expect this to go through the salt master and get the answer base
21:41 whytewolf why would it go to the master?
21:42 Edgan I am running it on the master against a remote machine
21:43 Edgan I would expect it to go through the master when processing
21:43 Edgan I think I found another workaround. I going to try it.
21:43 whytewolf all the master does is put it into a queue for the minion to pick up and decide what to do
21:44 hemebond joined #salt
21:47 whytewolf looking at the code. only work around i see are passing saltenv or not having a top file
21:48 Edgan whytewolf: I have an idea of how to make it work in my use case, still implementing it
21:48 whytewolf ok
21:48 Edgan whytewolf: This is blocking new instances from connecting to the salt master, and I already have a grain sync reactor
21:50 Edgan whytewolf: It worked. :) https://pastebin.com/J5S9yVPV
21:50 whytewolf nice
21:51 Edgan whytewolf: Once the minion has the first sync, then it has the grain, and no more chicken and egg
21:51 whytewolf normally i try to make sure that things render regardless if everything is there. by using | default or .get methods
21:53 Edgan whytewolf: yeah, that would help too. I think I will do that too.
22:07 Edgan {% set subnet = salt['grains.get']('subnet_short') %}
22:33 tuxawy joined #salt
22:36 pf_moore joined #salt
22:36 sh123124213 joined #salt
22:48 thelocehiliosan joined #salt
22:54 masber joined #salt
23:19 darix joined #salt
23:31 Trauma joined #salt
23:47 xMopx Is there a way to get the same formatting of output from `salt-run jobs.print_job` as it is `salt <target> state.highstate` ?
23:48 xMopx i tried --out=highstate but that's not it...
23:48 onlyanegg joined #salt
23:50 xMopx Oh, it does that if I use `jobs.lookup_jid` instead. perfect!
23:51 tuxawy joined #salt

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