Skip to content

Instantly share code, notes, and snippets.

View garethgreenaway's full-sized avatar

Gareth J. Greenaway garethgreenaway

View GitHub Profile
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle
" required!
Plugin 'VundleVim/Vundle.vim'
Plugin 'saltstack/salt-vim'
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::UserError
>>>>>> Message: WinRM Transport requires the vagrant-winrm Vagrant plugin to properly communicate with this Vagrant VM. Please install this plugin with: `vagrant plugin install vagrant-winrm' and try again.
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration
Python2
========
local:
----------
ID: test
Function: module.run
Name: test.echo
Result: True
Comment: Module function test.echo executed
Started: 12:51:46.768254
Traceback (most recent call last):
File "/home/gareth/code/salt/tests/unit/test_minion.py", line 273, in test_beacons_before_connect
minion.tune_in(start=True)
File "/home/gareth/code/salt/salt/minion.py", line 2589, in tune_in
self.setup_beacons(before_connect=True)
File "/home/gareth/code/salt/salt/minion.py", line 2512, in setup_beacons
periodic_cb.start()
File "/usr/lib/python2.7/dist-packages/tornado/ioloop.py", line 1006, in start
self._schedule_next()
File "/usr/lib/python2.7/dist-packages/tornado/ioloop.py", line 1041, in _schedule_next
[ERROR ] [18/Jun/2018:10:27:01] ENGINE Error in HTTPServer.tick
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/cheroot/server.py", line 1538, in start
self.tick()
File "/usr/local/lib/python2.7/dist-packages/cheroot/server.py", line 1622, in tick
s, ssl_env = self.ssl_adapter.wrap(s)
File "/usr/local/lib/python2.7/dist-packages/cheroot/ssl/builtin.py", line 72, in wrap
sock, do_handshake_on_connect=True, server_side=True,
File "/usr/lib/python2.7/ssl.py", line 369, in wrap_socket
_context=self)
## Abstract
Ansible is great at configuration management, but as environments get larger, it needs help scaling to meet demand.
This is why Ansible Tower was created. However, your organization may not need all the features that Ansible Tower
offers, you simply need a way to allow your Ansible installation to keep up as your infrastructure grows.
This is where SaltStack can help. SaltStack was designed to be a large scaleable remote execution and orchestration platform,
a flexible devops platform that allows it to work with a number of different systems. It can do configuration management as
well, but if you've already invested in Ansible, there is no reason to not use it. Allow Salt to help Ansible scale to meet
your needs.
diff --git a/salt/log/setup.py b/salt/log/setup.py
index 4c6d5dd8fd..6d74ee0274 100644
--- a/salt/log/setup.py
+++ b/salt/log/setup.py
@@ -48,6 +48,7 @@ from salt.log.handlers import (TemporaryLoggingHandler,
QueueHandler)
from salt.log.mixins import LoggingMixInMeta, NewStyleClassMixIn
+from salt.utils.ctx import RequestContext
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: 1 actions failed.
>>>>>> Failed to complete #converge action: [scp: /tmp/kitchen/srv/salt/.git/objects/pack/pack-364f76c88f1fbdb840c0e00741df11df2e43bbe8.idx: Permission denied
] on py2-debian-8
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration
C[INFO ] MWorkerQueue under PID 20071 is closing
[INFO ] MWorkerQueue under PID 20072 is closing
[INFO ] MWorkerQueue under PID 20075 is closing
[INFO ] MWorkerQueue under PID 20073 is closing
--- Logging error ---
diff --git a/salt/config/__init__.py b/salt/config/__init__.py
index 9c4e6bd7c4..38494079e3 100644
--- a/salt/config/__init__.py
+++ b/salt/config/__init__.py
@@ -518,6 +518,7 @@ VALID_OPTS = {
# The number of seconds to sleep between retrying an attempt to resolve the hostname of a
# salt master
'retry_dns': float,
+ 'retry_dns_count': float,