Ironic conductor container missing ssh clients needed for ansible deploy interface

Bug #1862079 reported by Antony Messerli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Undecided
Antony Messerli

Bug Description

Ironic conductor container missing ssh clients needed for ansible deploy interface

The full traceback is:
Traceback (most recent call last):
  File "/var/lib/kolla/venv/lib/python3.6/site-packages/ansible/executor/task_executor.py", line 146, in run
    res = self._execute()
  File "/var/lib/kolla/venv/lib/python3.6/site-packages/ansible/executor/task_executor.py", line 645, in _execute
    result = self._handler.run(task_vars=variables)
  File "/var/lib/kolla/venv/lib/python3.6/site-packages/ansible/plugins/action/gather_facts.py", line 79, in run
    res = self._execute_module(module_name=fact_module, module_args=mod_args, task_vars=task_vars, wrap_async=False)
  File "/var/lib/kolla/venv/lib/python3.6/site-packages/ansible/plugins/action/__init__.py", line 923, in _execute_module
    res = self._low_level_execute_command(cmd, sudoable=sudoable, in_data=in_data)
  File "/var/lib/kolla/venv/lib/python3.6/site-packages/ansible/plugins/action/__init__.py", line 1071, in _low_level_execute_command
    rc, stdout, stderr = self._connection.exec_command(cmd, in_data=in_data, sudoable=sudoable)
  File "/var/lib/kolla/venv/lib/python3.6/site-packages/ansible/plugins/connection/ssh.py", line 1192, in exec_command
    (returncode, stdout, stderr) = self._run(cmd, in_data, sudoable=sudoable)
  File "/var/lib/kolla/venv/lib/python3.6/site-packages/ansible/plugins/connection/ssh.py", line 392, in wrapped
    return_tuple = func(self, *args, **kwargs)
  File "/var/lib/kolla/venv/lib/python3.6/site-packages/ansible/plugins/connection/ssh.py", line 1053, in _run
    return self._bare_run(cmd, in_data, sudoable=sudoable, checkrc=checkrc)
  File "/var/lib/kolla/venv/lib/python3.6/site-packages/ansible/plugins/connection/ssh.py", line 800, in _bare_run
    p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
  File "/usr/lib/python3.6/subprocess.py", line 729, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.6/subprocess.py", line 1364, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: b'ssh': b'ssh'

fatal: [e953ff92-45e8-49a1-a39f-f80acb94731c]: FAILED! => {
    "msg": "Unexpected failure during module execution.",
    "stdout": ""
}

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

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

Changed in kolla:
assignee: nobody → Antony Messerli (antonym)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.opendev.org/706149
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=7234e8b2f72275c85caa146a6d9e49d1ab8281b7
Submitter: Zuul
Branch: master

commit 7234e8b2f72275c85caa146a6d9e49d1ab8281b7
Author: Antony Messerli <email address hidden>
Date: Wed Feb 5 16:31:06 2020 -0600

    Add ssh clients to Ironic Conductor container

    Adds ssh clients to Ironic Conductor container for
    ansible deploy interface.

    Change-Id: Ib995c6ebe5ee76ee1a39e4b5918a79bd61b87a01
    Closes-Bug: #1862079

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/712422

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/712423

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.opendev.org/712424

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/stein)

Reviewed: https://review.opendev.org/712423
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=c139ac59163dec120fb57b78ae19b5bce7237d30
Submitter: Zuul
Branch: stable/stein

commit c139ac59163dec120fb57b78ae19b5bce7237d30
Author: Antony Messerli <email address hidden>
Date: Wed Feb 5 16:31:06 2020 -0600

    Add ssh clients to Ironic Conductor container

    Adds ssh clients to Ironic Conductor container for
    ansible deploy interface.

    Change-Id: Ib995c6ebe5ee76ee1a39e4b5918a79bd61b87a01
    Closes-Bug: #1862079
    (cherry picked from commit 7234e8b2f72275c85caa146a6d9e49d1ab8281b7)

tags: added: in-stable-stein
tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/rocky)

Reviewed: https://review.opendev.org/712424
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=1e146739da9254527e4fbb467cd7a503688a0cad
Submitter: Zuul
Branch: stable/rocky

commit 1e146739da9254527e4fbb467cd7a503688a0cad
Author: Antony Messerli <email address hidden>
Date: Wed Feb 5 16:31:06 2020 -0600

    Add ssh clients to Ironic Conductor container

    Adds ssh clients to Ironic Conductor container for
    ansible deploy interface.

    Change-Id: Ib995c6ebe5ee76ee1a39e4b5918a79bd61b87a01
    Closes-Bug: #1862079
    (cherry picked from commit 7234e8b2f72275c85caa146a6d9e49d1ab8281b7)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/train)

Reviewed: https://review.opendev.org/712422
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=158d998e4e31e45b7b9645c26c0c26e10f1ffb5c
Submitter: Zuul
Branch: stable/train

commit 158d998e4e31e45b7b9645c26c0c26e10f1ffb5c
Author: Antony Messerli <email address hidden>
Date: Wed Feb 5 16:31:06 2020 -0600

    Add ssh clients to Ironic Conductor container

    Adds ssh clients to Ironic Conductor container for
    ansible deploy interface.

    Change-Id: Ib995c6ebe5ee76ee1a39e4b5918a79bd61b87a01
    Closes-Bug: #1862079
    (cherry picked from commit 7234e8b2f72275c85caa146a6d9e49d1ab8281b7)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 7.1.1

This issue was fixed in the openstack/kolla 7.1.1 release.

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.