A host authorized with Platform9 is displaying as "localhost" instead of its actual hostname.
- Platform9 Managed OpenStack - All Versions
- Platform9 Managed Kubernetes - All Versions
The hostname is obtained from the entry for the localhost IP in the /etc/hosts file on the host. By default, only "localhost" is specified.
- Modify the entry for the localhost IP (127.0.0.1) in /etc/hosts to include the actual hostname of the host.
127.0.0.1 <hostname.domain.tld> localhost
If using pf9-express, ensure the Manage Hostname option is set to true during the configuration process to automatically add the hostname entry for localhost on deployment.
# ./pf9-express -s
Manage Hostname [true false] [false]:
--> accepted: true
The option may be set directly in pf9-express.conf. file as well.