mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here:
11a951985b
This timeout seems to attempt to retry in the event that the master returns nothing-- but the channel should be responsible for that. In addition this would retry infinitely since the retry counter was re-initialized on every loop iteration. This meant you spun with an strace that looks something like: ``` read(12, "e\351\r\6y\357\331\313a0\233t\256\16qP", 16) = 16 close(12) = 0 poll([{fd=10, events=POLLIN}], 1, 0) = 0 (Timeout) write(8, "\1\0\0\0\0\0\0\0", 8) = 8 poll([{fd=10, events=POLLIN}], 1, 0) = 0 (Timeout) poll([{fd=10, events=POLLIN}], 1, 0) = 0 (Timeout) poll([{fd=10, events=POLLIN}], 1, 60000) = 1 ([{fd=10, revents=POLLIN}]) poll([{fd=10, events=POLLIN}], 1, 0) = 1 ([{fd=10, revents=POLLIN}]) read(10, "\1\0\0\0\0\0\0\0", 8) = 8 poll([{fd=10, events=POLLIN}], 1, 0) = 0 (Timeout) write(1, "('foo here', 'top.sls')\n", 24) = 24 select(0, NULL, NULL, NULL, {0, 20000}) = 0 (Timeout) open("/dev/urandom", O_RDONLY) = 12 read(12, "\207L\210\340\314\203\353\207\236\231B{\304$\320\227", 16) = 16 close(12) = 0 poll([{fd=10, events=POLLIN}], 1, 0) = 0 (Timeout) write(8, "\1\0\0\0\0\0\0\0", 8) = 8 poll([{fd=10, events=POLLIN}], 1, 0) = 0 (Timeout) poll([{fd=10, events=POLLIN}], 1, 0) = 0 (Timeout) poll([{fd=10, events=POLLIN}], 1, 60000) = 1 ([{fd=10, revents=POLLIN}]) poll([{fd=10, events=POLLIN}], 1, 0) = 1 ([{fd=10, revents=POLLIN}]) read(10, "\1\0\0\0\0\0\0\0", 8) = 8 poll([{fd=10, events=POLLIN}], 1, 0) = 0 (Timeout) write(1, "('foo here', 'top.sls')\n", 24) = 24 select(0, NULL, NULL, NULL, {0, 20000}) = 0 (Timeout) open("/dev/urandom", O_RDONLY) = 12 read(12, "\3\253\250\326w~\325\277\306\233'\355\300\225\202=", 16) = 16 close(12) = 0 poll([{fd=10, events=POLLIN}], 1, 0) = 0 (Timeout) write(8, "\1\0\0\0\0\0\0\0", 8) = 8 poll([{fd=10, events=POLLIN}], 1, 0) = 0 (Timeout) poll([{fd=10, events=POLLIN}], 1, 0) = 0 (Timeout) poll([{fd=10, events=POLLIN}], 1, 60000) = 1 ([{fd=10, revents=POLLIN}]) poll([{fd=10, events=POLLIN}], 1, 0) = 1 ([{fd=10, revents=POLLIN}]) read(10, "\1\0\0\0\0\0\0\0", 8) = 8 poll([{fd=10, events=POLLIN}], 1, 0) = 0 (Timeout) write(1, "('foo here', 'top.sls')\n", 24) = 24 select(0, NULL, NULL, NULL, {0, 20000}) = 0 (Timeout) open("/dev/urandom", O_RDONLY) = 12 read(12, "\250\371\205\375\310\257\30\254\376\261\250o\177\357C6", 16) = 16 close(12) = 0 poll([{fd=10, events=POLLIN}], 1, 0) = 0 (Timeout) write(8, "\1\0\0\0\0\0\0\0", 8) = 8 poll([{fd=10, events=POLLIN}], 1, 0) = 0 (Timeout) poll([{fd=10, events=POLLIN}], 1, 0) = 0 (Timeout) poll([{fd=10, events=POLLIN}], 1, 60000) = 1 ([{fd=10, revents=POLLIN}]) poll([{fd=10, events=POLLIN}], 1, 0) = 1 ([{fd=10, revents=POLLIN}]) read(10, "\1\0\0\0\0\0\0\0", 8) = 8 poll([{fd=10, events=POLLIN}], 1, 0) = 0 (Timeout) write(1, "('foo here', 'top.sls')\n", 24) = 24 select(0, NULL, NULL, NULL, {0, 20000}) = 0 (Timeout) open("/dev/urandom", O_RDONLY) = 12 read(12, "\322\0276\\\231\214v\5@pp\36\211\277\360\207", 16) = 16 close(12) = 0 poll([{fd=10, events=POLLIN}], 1, 0) = 0 (Timeout) write(8, "\1\0\0\0\0\0\0\0", 8) = 8 poll([{fd=10, events=POLLIN}], 1, 0) = 0 (Timeout) poll([{fd=10, events=POLLIN}], 1, 0) = 0 (Timeout) poll([{fd=10, events=POLLIN}], 1, 60000) = 1 ([{fd=10, revents=POLLIN}]) poll([{fd=10, events=POLLIN}], 1, 0) = 1 ([{fd=10, revents=POLLIN}]) read(10, "\1\0\0\0\0\0\0\0", 8) = 8 poll([{fd=10, events=POLLIN}], 1, 0) = 0 (Timeout ``` Lastly, this retry attempt counter did nothing in the event of 10 failures (assuming it could get one) so it should be safe to remove it all together |
||
---|---|---|
conf | ||
debian | ||
doc | ||
pkg | ||
salt | ||
scripts | ||
tests | ||
_requirements.txt | ||
.gitignore | ||
.pylintrc | ||
.testing.pylintrc | ||
.travis.yml | ||
AUTHORS | ||
cloud-requirements.txt | ||
Contributing.rst | ||
COPYING | ||
dev_requirements_python26.txt | ||
dev_requirements_python27.txt | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
opt_requirements.txt | ||
raet-requirements.txt | ||
README.rst | ||
setup.py | ||
tox.ini | ||
zeromq-requirements.txt |
================== What is SaltStack? ================== Salt is a new approach to infrastructure management. Easy enough to get running in minutes, scalable enough to manage tens of thousands of servers, and fast enough to communicate with them in *seconds*. Salt delivers a dynamic communication bus for infrastructures that can be used for orchestration, remote execution, configuration management and much more. Documentation ============= Installation instructions, getting started guides, and in-depth API documention. http://docs.saltstack.com IRC Chat ======== Join the vibrant, helpful and positive SaltStack chat room in Freenode at #salt. There is no need to introduce yourself, or ask permission to join in, just help and be helped! Make sure to wait for an answer, sometimes it may take a few moments for someone to reply. http://webchat.freenode.net/?channels=salt&uio=Mj10cnVlJjk9dHJ1ZSYxMD10cnVl83 Salt Air ======== The SaltStack YouTube channel is filled with Salt videos and presentations. Watch the latest Salt Air episodes for updates from Thomas on development, catch tutorials, and stay on the cutting edge of Salt. http://www.youtube.com/user/saltstack Mailing List ============ The SaltStack community users mailing list is hosted by Google groups. Anyone can post to ask questions about SaltStack products and anyone can help answer. Join the conversation! https://groups.google.com/forum/#!forum/salt-users You may subscribe to the list without a Google account by emailing salt-users+subscribe@googlegroups.com and you may post to the list by emailing salt-users@googlegroups.com Developing Salt =============== The Salt development team is welcoming, positive, and dedicated to helping people get new code and fixes into SaltStack projects. Log into GitHub and get started with one of the largest developer communities in the world. The following links should get you started: * https://github.com/saltstack * http://docs.saltstack.com/en/latest/topics/development/index.html