[WARNING]: sftp transfer mechanism failed

Bug #1869735 reported by Emilien Macchi
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Low
Kevin Carter

Bug Description

We're now seeing a lot of this in the logs:

[WARNING]: sftp transfer mechanism failed on [XXX]. Use
ANSIBLE_DEBUG=1 to see detailed informatio

Also reported here:
https://github.com/ansible/ansible/issues/22127

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (master)

Fix proposed to branch: master
Review: https://review.opendev.org/715974

Changed in tripleo:
status: Triaged → In Progress
assignee: Emilien Macchi (emilienm) → Kevin Carter (kevin-carter)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (master)

Fix proposed to branch: master
Review: https://review.opendev.org/715977

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.opendev.org/715974
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=36d0f5c3bd3b75d655ebb9449ed8d51fdd406f9d
Submitter: Zuul
Branch: master

commit 36d0f5c3bd3b75d655ebb9449ed8d51fdd406f9d
Author: Emilien Macchi <email address hidden>
Date: Mon Mar 30 10:53:03 2020 -0400

    Set scp_if_ssh to True in ansible.cfg

    To avoid the warning "sftp transfer mechanism failed" during Ansible
    run (also reported here:
    https://github.com/ansible/ansible/issues/22127); let's set scp_if_ssh
    to True.

    The default is False; which means it'll first try sftp (which fails
    since we use pipeline) and fallback on scp. To avoid the warning, let's
    set it to True directly, so we use scp.

    Change-Id: I637d850d0de75e60835d229b36b85e699b037543
    Closes-Bug: #1869735

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (master)

Reviewed: https://review.opendev.org/715977
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=dc719c7cfdc899a1eb79e5f23a2f08b5118a6d9d
Submitter: Zuul
Branch: master

commit dc719c7cfdc899a1eb79e5f23a2f08b5118a6d9d
Author: Kevin Carter <email address hidden>
Date: Mon Mar 30 10:02:02 2020 -0500

    Set scp_if_ssh to True in ansible client configuration

    To avoid the warning "sftp transfer mechanism failed" during Ansible
    run (also reported here:
    https://github.com/ansible/ansible/issues/22127); let's set scp_if_ssh
    to True.

    The default is False; which means it'll first try sftp (which fails
    since we use pipeline) and fallback on scp. To avoid the warning, let's
    set it to True directly, so we use scp.

    Closes-Bug: #1869735

    Change-Id: I5474b45f4bbe15780370a23d587dea7dd811c073
    Signed-off-by: Kevin Carter <email address hidden>

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 13.2.0

This issue was fixed in the openstack/python-tripleoclient 13.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 12.3.0

This issue was fixed in the openstack/tripleo-common 12.3.0 release.

Revision history for this message
Bas Meijer (bbaassssiiee) wrote :

If all mechanisms fail, then look at fapolicyd.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.