Add a host operation successfully with warning message on the UI.
Add a host operation successfully with warning message on UI.
When adding a host successfully some warning information may be shown on the UI. It means the deploy VM basic function works except the migration.
Warning: Existing access key files for user 'username' on compute node 'host_name_id' may lead to live migration not work.
This warning information is shown on the UI:
Existing access key files for user 'username' on compute node 'host_name_id' may lead to live migration not work.
'username': the user name to manage the compute node by the IBM®Cloud Infrastructure Center.
'host_name_id': is the host name which is added to the management node. like: kvm4
Resolution to clean up the failed add host action
This message is caused by the existing key files for the user. The conflicting files need to be removed and the host needs to be added again. Follow the steps beneath for a manual clean up.
Remove the host from the UI.
Get the home directory path of the user from command 'echo ~username' like: 'echo ~root'.
Check and remove the conflicting files. First, login to the host and go to the home directory get from step 2, check the item files 'authorized_keys' and remove the information included in 'id_rsa.pub' from 'authorized_keys'. Finally remove the files 'id_rsa' and 'id_rsa.pub' if they are existing.