SSH connection to a newly upgraded subcloud failed due to Host key verification
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Yuxing |
Bug Description
Brief Description
-----------------
The host key of the subcloud was changed after upgrade, ~/.ssh/known_hosts on System Controller contains the old host key fingerprint. This results the ssh attempt failure from the system controller.
Severity
--------
Minor
Steps to Reproduce
------------------
1. Upgrade the system controller
2. Deploy a subcloud
3. Upgrade a single subcloud using dcmanager upgrade orchestrator
4. SSH to the subcloud
Expected Behavior
------------------
SSH to the subcloud and accept the fingerprint.
Actual Behavior
----------------
SSH Host key verification failed.
Reproducibility
---------------
Reproducible
System Configuration
-------
Distributed cloud
Branch/Pull Time/Commit
-------
2021-05-24_20-00-07
Last Pass
---------
an
Timestamp/Logs
--------------
na
Test Activity
-------------
Developer Testing
Workaround
----------
Delete the key for the host in ~/.ssh/known_hosts
Changed in starlingx: | |
assignee: | nobody → Yuxing (yuxing) |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.6.0 stx.distcloud |
Fix proposed to branch: master /review. opendev. org/c/starlingx /ansible- playbooks/ +/798909
Review: https:/