migrate_platform_certificates_to_certmanager playbook fails when trying to ssh to subcloud after subcloud is re-deployed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Marcelo de Castro Loebens |
Bug Description
Brief Description
-----------------
When subclouds are redeployed, the cert-manager migration playbook fails when attempting to SSH into the subclouds.
Severity
--------
Minor.
Steps to Reproduce
------------------
Deploy a subcloud.
SSH to it.
Delete the subcloud.
Redeploy the subcloud.
Run cert-manager migration playbook targeting the subcloud and observe the error.
Expected Behavior
------------------
SSH should work.
Actual Behavior
----------------
Playbook fails with the warning:
...
Failed to connect to the host via ssh: @@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
...
Reproducibility
---------------
100%.
System Configuration
-------
DC.
Branch/Pull Time/Commit
-------
Master.
Last Pass
---------
NA
Timestamp/Logs
--------------
NA
Test Activity
-------------
Developer Testing.
Workaround
----------
Append this line to the local ansible.cfg
ssh_args = -o UserKnownHostsF
Changed in starlingx: | |
assignee: | nobody → Marcelo de Castro Loebens (mdecastr) |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.9.0 stx.security |
Fix proposed to branch: master /review. opendev. org/c/starlingx /ansible- playbooks/ +/899317
Review: https:/