Open stdedos opened 5 years ago
Files identified in the description:
If these files are inaccurate, please update the component name
section of the description or use the !component
bot command.
This information should be returned by running with -vvv
without having to use debug.
To discuss this further, please reach out on IRC or the mailing list:
IRC: #ansible-dev on irc.freenode.net mailing list: https://groups.google.com/forum/#!forum/ansible-devel
needs_info
Same issue in 2.8
@DrHashi Did you try looking at the output of -vvv
and -vvvv
to see if that is easier to use than debug output? I confirmed that ssh connection failure information is in the output of -vvv
and detailed ssh connection messages are in -vvvv
.
@DrHashi Did you try looking at the output of
-vvv
and-vvvv
to see if that is easier to use than debug output? I confirmed that ssh connection failure information is in the output of-vvv
and detailed ssh connection messages are in-vvvv
.
I actually found the problem, it was the IPS killing the ssh tunnel while deploying.
>>>packet_write_wait: Connection to UNKNOWN port 0: Broken pipe
--
<<<
Quote @samdoran:
This information should be returned by running with
-vvv
without having to use debug.To discuss this further, please reach out on IRC or the mailing list:
IRC: #ansible-dev on irc.freenode.net mailing list: groups.google.com/forum/#!forum/ansible-devel
needs_info
I have tried to drop in IRC a couple of times (however, I haven't used an always-running IRC client in years), and I have opened this topic https://groups.google.com/forum/#!topic/ansible-devel/PPZsEoRyZoY with no comments in almost a week
I am not sure what it is that would be preferable to discuss outside of this ticket - I feel that the "default stdout callback" merits numerous small "quality of life" fixes what would have been life-saving for beginners that IMHO they should've been visible and "documented/issue
d" already, if not fixed.
Please advise on how to continue. If it is helpful somehow, I am on the GMT+3 timezone.
bot_status
The output could be more useful but I've found that some Firewall will treat the high data transfer through SSH as an intrusion and kill the connection.
@stdedos This issue is waiting for your response. Please respond or the issue will be closed.
@ansibot No, it is not.
FWIW.
[WARNING]: sftp transfer mechanism failed on [test_01]. Use ANSIBLE_DEBUG=1 to see detailed
information
is caused by missing line
Subsystem sftp /usr/libexec/sftp-server
in /etc/ssh/sshd_config
of the remote host.
Files identified in the description:
If these files are incorrect, please update the component name
section of the description or use the !component
bot command.
We do display the stderr and stdout after attempting all methods, but only for the last one. We should fix this by saving the previous errors and include them in the message if all transfer attempts fail.
Files identified in the description:
lib/ansible/module_utils/facts
If these files are incorrect, please update the component name
section of the description or use the !component
bot command.
SUMMARY
Continuing #22127: I receive:
Whereas, a simple
output would save me the trouble of reading the 205 (!!) lines of the the
ANSIBLE_DEBUG=1
outputISSUE TYPE
COMPONENT NAME
Gathering Facts Transfer Mechanism Stdout callback
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Alpine OS
STEPS TO REPRODUCE
EXPECTED RESULTS
Compliment:
With ssh / command output like:
ACTUAL RESULTS