David Wilson
d3fe24a4f6
docs: update connection delegation example
7 years ago
David Wilson
2ee727f5c0
docs: typos and clarifications
7 years ago
dw
4f46d8a1e3
Merge pull request #242 from dw/dmw
...
su method, CTRL+C exception handler, real host key checking modes
7 years ago
David Wilson
d4d4f46006
tests: update check_host_keys parameter style in testlib.
7 years ago
David Wilson
e9990eb91c
tests: Disable host key checking for debops.
7 years ago
David Wilson
4d1c6d2101
issue #127 : ssh: reasonable solution to host key checking.
...
Ideally it would be possible to specify a callback function, but this is
not possible for proxied connections. So simply provide the 3 most
useful modes, defaulting to the most secure.
Closes #127 . Closes #134 .
7 years ago
David Wilson
92a2565507
issue #241 : child main thread does not gracefully handle CTRL+C
...
In Ansible, depending on when CTRL+C is triggered, if it occurs after
the connection multiplexer process has forked, and after it has in turn
forked the "connection: local" context and its corresponding "clean fork
parent", since all the broker processes still belong to Ansible's
terminal foreground process group, they are all capable of receiving
SIGINT in response to CTRL+C being pressed on that terminal.
This papers over the problem. Really we want those KeyboardInterrupts to
be logged, to call setsid() frmo the connection multiplexer process to
isolate it from the terminal foreground process group. That way its only
indication of top-level process shutdown is using the graceful
disconnect mechanism that already exists in process.py::worker_main().
7 years ago
David Wilson
9cc8b21a07
ansible: missing mitogen_su module.
7 years ago
David Wilson
b7fe0e09f4
tests: su integration test.
7 years ago
David Wilson
78c401ba4d
ansible: support su become method.
7 years ago
David Wilson
3322eaef45
Basic "su" method.
7 years ago
David Wilson
79346d96db
core: Allow dead messages to be delivered regardless of policy
7 years ago
dw
8702b7521f
Merge pull request #240 from dw/dmw
...
FileService optimizations, more compatible temp dir handling
7 years ago
David Wilson
3203846708
issue #239 : ansible: ignore remote_tmp in new style runner.
7 years ago
David Wilson
94e048a2e5
ansible: ensure FileService uses exact CHUNK_SIZE multiple
...
9.8% throughput increase with sudo.
7 years ago
David Wilson
187e3a3fc1
ansible: support 2.3 too.
7 years ago
David Wilson
dafe12b315
ansible: fix AnsibleUnicode crash when processing "~username".
7 years ago
David Wilson
e1a3cea2f9
ansible: FileService: don't send empty last chunk
7 years ago
David Wilson
2a56c672ca
ansible: FileService docstring updates.
7 years ago
dw
76102927c8
Merge pull request #237 from dw/dmw
...
connection delegation fixes & issue #212
7 years ago
David Wilson
f5d22a3ca1
core: support deleting handlers, make Receiver.close() unregister
7 years ago
David Wilson
58eb9828b0
docs: remove limitation.
7 years ago
David Wilson
69e5902e61
issue #212 : support explicit acknowledgements in FileService.
7 years ago
David Wilson
5e6e56f0c5
issue #212 : service: make call_async kwargs optional.
7 years ago
David Wilson
afe983d6c9
issue #212 : service: support no_reply decorator.
7 years ago
David Wilson
bf6c2fa97c
issue #212 : service: more concise repr
7 years ago
David Wilson
ff7fb00569
parent: return latch to wait() caller to allow graceful timeout
7 years ago
David Wilson
b0309b539c
ansible: disable interpreter recycling for connections.
...
Must explicitly specify enable_lru=True in ContextService.get() to
trigger recycling.
7 years ago
dw
be2954db6f
Merge pull request #235 from dw/dmw
...
docs: more ansible updates
7 years ago
David Wilson
ec22fee7a7
docs: more ansible updates
7 years ago
dw
bd9d9e3600
Merge pull request #234 from dw/dmw
...
Fix one Latch race, one huge leak around fork
7 years ago
David Wilson
c0ced6d04a
core: fix monster fork FD leak
...
_sockets only refers to the idle sockets list, it doesn't refer to every
socket currently in use by a Latch, for example, the 2*16 used by e.g.
Ansible's sleeping service pool.
7 years ago
David Wilson
7316c08237
core: fix _tls_init() race.
...
The GIL could be lost between the check for an empty list and popping a
socket off the list. Previously _tls_init (per its name) used per-thread
storage, hence the bug.
7 years ago
David Wilson
79fd35092b
docs: more links
7 years ago
David Wilson
fdac4ecce8
setns: typos
7 years ago
dw
617f84432d
Merge pull request #233 from dw/dmw
...
Dmw
7 years ago
David Wilson
65e6a44fe7
docs: add links.
7 years ago
David Wilson
e93ac2f3a7
debug: implement some basic helpers to debugger.
7 years ago
David Wilson
baa4e75526
tests: tidy up thread_pileup for use as a toy benchmark.
7 years ago
David Wilson
90f7b4baea
ansible: stub plugin documentation.
7 years ago
David Wilson
c85a5b6446
ansible: make call timing more readable
7 years ago
David Wilson
29f6c46e97
docs: add file transfer safety section.
7 years ago
David Wilson
bba2a42e44
ansible: add mitogen_sudo method, split out connection subclasses.
...
Slowly moving towards real implementations in those files.
7 years ago
David Wilson
0a9126c510
ansible: connection plugins missing from previous commit.
7 years ago
David Wilson
b61c291faf
examples: import mitogen-fuse.py.
7 years ago
dw
0d9d3cfe7b
Merge pull request #232 from dw/dmw
...
Better error messages, support username in setns
7 years ago
David Wilson
7c5bbc5168
setns: support changing user.
...
To match existing third party plugin.
7 years ago
David Wilson
947d35649c
parent: note exception machine's hostname.
...
For dumb situations where user (i.e. me) is trying to fix a problem in
the wrong place.
7 years ago
dw
b99b4eb048
Merge pull request #231 from dw/dmw
...
Many file transfer improvements, docs improvements.
7 years ago
David Wilson
003f30b5a9
issue #226 : test fixes.
7 years ago