ansible is unable to remotely configure a system which still has the default password set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Tee Ngo |
Bug Description
Brief Description
-----------------
Ansible is unable to remotely connect and configure a target host if that host still has the default username and password.
Severity
--------
Minor
Steps to Reproduce
------------------
Install a target host.
Run Ansible remotely against that host.
Expected Behavior
------------------
The default password should be changed automatically and the playbook should continue.
Actual Behavior
----------------
The playbook fails with the following error:
TASK [prepare-env : Fail if host is not running the right image] ***************
fatal: [yow-cgcs-
Changing the password manually and rerunning the playbook works as expected.
Reproducibility
---------------
100%
System Configuration
-------
Standard
Branch/Pull Time/Commit
-------
Private load rebased on May 10.
Last Pass
---------
Unknown
Timestamp/Logs
--------------
See above for failure log:
This is my command line:
ANSIBLE_
This is my hosts file:
bootstrap:
hosts:
cpe-0:
ansible_host: redacted
ansible_port: 2223
ansible_
std-0:
ansible_host: redacted
ansible_port: 2226
ansible_
yow-
ansible_host: 128.224.150.220
ansible_port: 22
ansible_
vars:
ansible_
ansible_
ansible_
ansible_become: true
password_
yes/no: 'yes'
wrsroot*: 'wrsroot'
\(current\) UNIX password: 'wrsroot'
(?i)New password: 'Li69nux*'
(?i)Retype new password: 'Li69nux*'
Test Activity
-------------
Developer testing
summary: |
- ansible is unable to remotely configure a system with the default - password + ansible is unable to remotely configure a system which still has the + default password set |
Changed in starlingx: | |
assignee: | nobody → Tee Ngo (teewrs) |
tags: | added: stx.config |
Marking as release gating; related to ansible deployment feature.
Medium priority as this takes away from the zero touch aspect of ansible