Resolve hostname or service not known

I want create host : host01
onehost create host01 --im kvm --vm kvm
then it show this error in /var/log/one/oned.log

ssh: Could not resolve hostname host01: Name or service not known

Anybody can help me???

Did you find a solution to this? I’m running a single server with both frontend and host. Thanks.

check your DNS configuration or /etc/hosts file, your system is unable to resolve hostname “host01”

Hi, I solved this by using host01.localhost