Skip to content

Instantly share code, notes, and snippets.

@dkiser
Last active March 3, 2016 18:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dkiser/42d7e709d5f58bc4e3b9 to your computer and use it in GitHub Desktop.
Save dkiser/42d7e709d5f58bc4e3b9 to your computer and use it in GitHub Desktop.
salt_dev_woes
(venv) [root@salt-dev-x86-64 venv]# salt-call -c ./etc/salt/ config.option iptables.save_filters
[INFO ] Determining pillar cache
local:
(venv) [root@salt-dev-x86-64 venv]# salt-call -c ./etc/salt/ grains.get iptables.save_filters
[INFO ] Determining pillar cache
local:
- 3
- 4
(venv) [root@salt-dev-x86-64 venv]# salt-master -c ./etc/salt
[WARNING ] Key master_tops with value {} has an invalid type of dict, a bool is required for this value
[INFO ] Setting up the Salt Master
[INFO ] Preparing the root key for local communication
[INFO ] The salt master is starting up
[INFO ] salt-master is starting as user 'root'
[INFO ] Current values for max open files soft/hard setting: 1024/4096
[INFO ] The value for the 'max_open_files' setting, 100000, is higher than what the user running salt is allowed to raise to, 4096. Defaulting to 4096.
[INFO ] Raising max open files value to 4096
[INFO ] New values for max open files soft/hard values: 4096/4096
[INFO ] Creating master process manager
[INFO ] Creating master publisher process
[INFO ] Creating master event publisher process
[INFO ] Starting the Salt Publisher on tcp://0.0.0.0:4505
[INFO ] Starting the Salt Puller on ipc:///vagrant/venv/var/run/salt/master/publish_pull.ipc
Process salt.transport.zeromq.<type 'instancemethod'>._publish_daemon:
Traceback (most recent call last):
File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/vagrant/venv/lib/python2.7/site-packages/salt/transport/zeromq.py", line 653, in _publish_daemon
pull_sock.bind(pull_uri)
File "zmq/backend/cython/socket.pyx", line 487, in zmq.backend.cython.socket.Socket.bind (zmq/backend/cython/socket.c:5156)
File "zmq/backend/cython/checkrc.pxd", line 25, in zmq.backend.cython.checkrc._check_rc (zmq/backend/cython/socket.c:7535)
[ERROR ] An un-handled exception from the multiprocessing process 'EventPublisher-3' was caught:
Traceback (most recent call last):
File "/vagrant/venv/lib/python2.7/site-packages/salt/utils/process.py", line 613, in _run
return self._original_run()
File "/vagrant/venv/lib/python2.7/site-packages/salt/utils/event.py", line 969, in run
self.publisher.start()
File "/vagrant/venv/lib/python2.7/site-packages/salt/transport/ipc.py", line 472, in start
self.sock = tornado.netutil.bind_unix_socket(self.socket_path)
File "/vagrant/venv/lib/python2.7/site-packages/tornado/netutil.py", line 227, in bind_unix_socket
sock.bind(file)
File "/usr/lib64/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 1] Operation not permitted
Process EventPublisher-3:
Traceback (most recent call last):
File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/vagrant/venv/lib/python2.7/site-packages/salt/utils/process.py", line 613, in _run
raise ZMQError(errno)
ZMQError: Operation not permitted
return self._original_run()
File "/vagrant/venv/lib/python2.7/site-packages/salt/utils/event.py", line 969, in run
self.publisher.start()
File "/vagrant/venv/lib/python2.7/site-packages/salt/transport/ipc.py", line 472, in start
self.sock = tornado.netutil.bind_unix_socket(self.socket_path)
File "/vagrant/venv/lib/python2.7/site-packages/tornado/netutil.py", line 227, in bind_unix_socket
sock.bind(file)
File "/usr/lib64/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 1] Operation not permitted
[INFO ] Creating master maintenance process
[INFO ] Creating master reactor process
[INFO ] Found minion id from generate_minion_id(): salt-dev-x86-64
[INFO ] Found minion id from generate_minion_id(): salt-dev-x86-64
[INFO ] Creating master request server process
[INFO ] Process <bound method ZeroMQPubServerChannel._publish_daemon of <salt.transport.zeromq.ZeroMQPubServerChannel object at 0x3323910>> (25537) died with exit status 1, restarting...
[INFO ] Process <class 'salt.utils.event.EventPublisher'> (25538) died with exit status 1, restarting...
[INFO ] Starting the Salt Publisher on tcp://0.0.0.0:4505
[INFO ] Starting the Salt Puller on ipc:///vagrant/venv/var/run/salt/master/publish_pull.ipc
Process salt.transport.zeromq.<type 'instancemethod'>._publish_daemon:
Traceback (most recent call last):
File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/vagrant/venv/lib/python2.7/site-packages/salt/transport/zeromq.py", line 653, in _publish_daemon
[INFO ] Setting up the master communication server
pull_sock.bind(pull_uri)
File "zmq/backend/cython/socket.pyx", line 487, in zmq.backend.cython.socket.Socket.bind (zmq/backend/cython/socket.c:5156)
Process salt.transport.zeromq.<type 'instancemethod'>.zmq_device:
Traceback (most recent call last):
File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/vagrant/venv/lib/python2.7/site-packages/salt/transport/zeromq.py", line 468, in zmq_device
File "zmq/backend/cython/checkrc.pxd", line 25, in zmq.backend.cython.checkrc._check_rc (zmq/backend/cython/socket.c:7535)
self.workers.bind(self.w_uri)
File "zmq/backend/cython/socket.pyx", line 487, in zmq.backend.cython.socket.Socket.bind (zmq/backend/cython/socket.c:5156)
raise ZMQError(errno)
ZMQError: Operation not permitted
File "zmq/backend/cython/checkrc.pxd", line 25, in zmq.backend.cython.checkrc._check_rc (zmq/backend/cython/socket.c:7535)
[INFO ] Process <bound method ZeroMQPubServerChannel._publish_daemon of <salt.transport.zeromq.ZeroMQPubServerChannel object at 0x3323910>> (25603) died with exit status None, restarting...
[ERROR ] An un-handled exception from the multiprocessing process 'EventPublisher-8' was caught:
Traceback (most recent call last):
File "/vagrant/venv/lib/python2.7/site-packages/salt/utils/process.py", line 613, in _run
return self._original_run()
File "/vagrant/venv/lib/python2.7/site-packages/salt/utils/event.py", line 969, in run
self.publisher.start()
File "/vagrant/venv/lib/python2.7/site-packages/salt/transport/ipc.py", line 472, in start
self.sock = tornado.netutil.bind_unix_socket(self.socket_path)
File "/vagrant/venv/lib/python2.7/site-packages/tornado/netutil.py", line 227, in bind_unix_socket
sock.bind(file)
File "/usr/lib64/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 1] Operation not permitted
Process EventPublisher-8:
Traceback (most recent call last):
File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/vagrant/venv/lib/python2.7/site-packages/salt/utils/process.py", line 613, in _run
return self._original_run()
File "/vagrant/venv/lib/python2.7/site-packages/salt/utils/event.py", line 969, in run
self.publisher.start()
File "/vagrant/venv/lib/python2.7/site-packages/salt/transport/ipc.py", line 472, in start
self.sock = tornado.netutil.bind_unix_socket(self.socket_path)
File "/vagrant/venv/lib/python2.7/site-packages/tornado/netutil.py", line 227, in bind_unix_socket
raise ZMQError(errno)
ZMQError: Operation not permitted
[WARNING ] Key master_tops with value {} has an invalid type of dict, a bool is required for this value
sock.bind(file)
File "/usr/lib64/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 1] Operation not permitted
[INFO ] Process <bound method ZeroMQReqServerChannel.zmq_device of <salt.transport.zeromq.ZeroMQReqServerChannel object at 0x30607d0>> (25605) died with exit status None, restarting...
[WARNING ] Key master_tops with value {} has an invalid type of dict, a bool is required for this value
[WARNING ] Key master_tops with value {} has an invalid type of dict, a bool is required for this value
[WARNING ] Key master_tops with value {} has an invalid type of dict, a bool is required for this value
[WARNING ] Key master_tops with value {} has an invalid type of dict, a bool is required for this value
[WARNING ] Key master_tops with value {} has an invalid type of dict, a bool is required for this value
[WARNING ] Key master_tops with value {} has an invalid type of dict, a bool is required for this value
[WARNING ] Key master_tops with value {} has an invalid type of dict, a bool is required for this value
[WARNING ] Key master_tops with value {} has an invalid type of dict, a bool is required for this value
[WARNING ] Key master_tops with value {} has an invalid type of dict, a bool is required for this value
[INFO ] Found minion id from generate_minion_id(): salt-dev-x86-64
[INFO ] Found minion id from generate_minion_id(): salt-dev-x86-64
[INFO ] Found minion id from generate_minion_id(): salt-dev-x86-64
[INFO ] Found minion id from generate_minion_id(): salt-dev-x86-64
[INFO ] Found minion id from generate_minion_id(): salt-dev-x86-64
[INFO ] Process <class 'salt.utils.event.EventPublisher'> (25604) died with exit status 1, restarting...
[INFO ] Starting the Salt Publisher on tcp://0.0.0.0:4505
[INFO ] Starting the Salt Puller on ipc:///vagrant/venv/var/run/salt/master/publish_pull.ipc
[INFO ] Setting up the master communication server
Process salt.transport.zeromq.<type 'instancemethod'>._publish_daemon:
Traceback (most recent call last):
File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/vagrant/venv/lib/python2.7/site-packages/salt/transport/zeromq.py", line 653, in _publish_daemon
Process salt.transport.zeromq.<type 'instancemethod'>.zmq_device:
Traceback (most recent call last):
File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/vagrant/venv/lib/python2.7/site-packages/salt/transport/zeromq.py", line 468, in zmq_device
self.workers.bind(self.w_uri)
File "zmq/backend/cython/socket.pyx", line 487, in zmq.backend.cython.socket.Socket.bind (zmq/backend/cython/socket.c:5156)
pull_sock.bind(pull_uri)
File "zmq/backend/cython/socket.pyx", line 487, in zmq.backend.cython.socket.Socket.bind (zmq/backend/cython/socket.c:5156)
[ERROR ] An un-handled exception from the multiprocessing process 'EventPublisher-10' was caught:
Traceback (most recent call last):
File "/vagrant/venv/lib/python2.7/site-packages/salt/utils/process.py", line 613, in _run
return self._original_run()
File "/vagrant/venv/lib/python2.7/site-packages/salt/utils/event.py", line 969, in run
self.publisher.start()
File "/vagrant/venv/lib/python2.7/site-packages/salt/transport/ipc.py", line 472, in start
self.sock = tornado.netutil.bind_unix_socket(self.socket_path)
File "/vagrant/venv/lib/python2.7/site-packages/tornado/netutil.py", line 227, in bind_unix_socket
sock.bind(file)
File "/usr/lib64/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 1] Operation not permitted
File "zmq/backend/cython/checkrc.pxd", line 25, in zmq.backend.cython.checkrc._check_rc (zmq/backend/cython/socket.c:7535)
File "zmq/backend/cython/checkrc.pxd", line 25, in zmq.backend.cython.checkrc._check_rc (zmq/backend/cython/socket.c:7535)
Process EventPublisher-10:
Traceback (most recent call last):
File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/vagrant/venv/lib/python2.7/site-packages/salt/utils/process.py", line 613, in _run
return self._original_run()
File "/vagrant/venv/lib/python2.7/site-packages/salt/utils/event.py", line 969, in run
self.publisher.start()
File "/vagrant/venv/lib/python2.7/site-packages/salt/transport/ipc.py", line 472, in start
self.sock = tornado.netutil.bind_unix_socket(self.socket_path)
File "/vagrant/venv/lib/python2.7/site-packages/tornado/netutil.py", line 227, in bind_unix_socket
sock.bind(file)
File "/usr/lib64/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 1] Operation not permitted
[INFO ] Process <class 'salt.utils.event.EventPublisher'> (25819) died with exit status None, restarting...
raise ZMQError(errno)
ZMQError: Operation not permitted
[INFO ] Process <bound method ZeroMQReqServerChannel.zmq_device of <salt.transport.zeromq.ZeroMQReqServerChannel object at 0x30607d0>> (25838) died with exit status None, restarting...
raise ZMQError(errno)
ZMQError: Operation not permitted
Salt Version:
Salt: 2016.3.0rc1-1704-g4ea5c2a
Dependency Versions:
Jinja2: 2.8
M2Crypto: 0.21.1
Mako: Not Installed
PyYAML: 3.11
PyZMQ: 15.2.0
Python: 2.7.5 (default, Nov 20 2015, 02:00:19)
RAET: Not Installed
Tornado: 4.3
ZMQ: 4.1.2
cffi: Not Installed
cherrypy: Not Installed
dateutil: Not Installed
gitdb: Not Installed
gitpython: Not Installed
ioflo: Not Installed
libgit2: Not Installed
libnacl: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.4.7
mysql-python: Not Installed
pycparser: Not Installed
pycrypto: 2.6.1
pygit2: Not Installed
python-gnupg: Not Installed
smmap: Not Installed
timelib: Not Installed
System Versions:
dist: centos 7.2.1511 Core
machine: x86_64
release: 3.10.0-327.10.1.el7.x86_64
system: CentOS Linux 7.2.1511 Core
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment