Cannot run remote backup on a server in which ssh is not on port 22
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Thiago Paiva Brito |
Bug Description
Brief Description
-----------------
According to [1], I should be able to configure ansible on any given host and run the backup playbook remotely, but when I configure ansible to run ssh over a port other than port 22, it fails at playbookconfig/
[1]https:/
Severity
--------
Major: System/Feature is usable with restrictions
Steps to Reproduce
------------------
Setup Virtual AIO-SX and configure port forward to port 22 from any other port (say 11100)
Try to run remote backup according to [1]
Expected Behavior
------------------
Backup succeeds
Actual Behavior
----------------
Backup fails due to invalid argument to ssh-keyscan
Reproducibility
---------------
3/3
System Configuration
-------
AIO-SX (should happen on all configurations)
Branch/Pull Time/Commit
-------
2022-08-05
Last Pass
---------
N/A
Timestamp/Logs
--------------
fatal: [lab_vbox_1-debian -> localhost]: FAILED! => {
"attempts": 6,
"changed": true,
"cmd": [
"-T",
"20",
"-t",
"ecdsa",
],
"delta": "0:00:00.004154",
"end": "2022-08-15 14:57:48.355084",
"invocation": {
"argv": null,
"warn": false
}
},
"msg": "non-zero return code",
"rc": 1,
"start": "2022-08-15 14:57:48.350930",
"stderr": "getaddrinfo [10.127.
"stderr_lines": [
],
"stdout": "",
"stdout_lines": []
}
PLAY RECAP *******
lab_vbox_1-debian : ok=6 changed=1 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0
Test Activity
-------------
Developer Testing
Workaround
----------
N/A
Changed in starlingx: | |
assignee: | nobody → Thiago Paiva Brito (outbrito) |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.8.0 stx.update |
Fix proposed to branch: master /review. opendev. org/c/starlingx /ansible- playbooks/ +/853191
Review: https:/