Similar bugs were reported for previous versions like #6716, but tagged as fixed however it is not working in 4.18
ISSUE TYPE
UI,
CLOUDSTACK VERSION
4.18
CONFIGURATION
Basic Networking
OS / ENVIRONMENT
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal
SUMMARY
Error 530
Could not add host at [http://192.168.122.1] with zone [2], pod [2] and cluster [2] due to: [ can't setup agent, due to com.cloud.utils.exception.CloudRuntimeException: Failed to setup keystore on the KVM host: 192.168.122.1 - Failed to setup keystore on the KVM host: 192.168.122.1].
STEPS TO REPRODUCE
Fresh install on Ubuntu 20.04
Cloudstack Management server installed successfully and I can add Zone, Pod, Cluster, Network etc but not able to add host on KVM host.
I am using the sudo user and password
EXPECTED RESULTS
Suppose to add host easily
ACTUAL RESULTS
Not able to add KVM host