Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

how to change host name of openstack nova service?

I try to make instance on openstack private cloud web UI. But it fails.The error code is Failed to launch instance "test": Please try again later [Error: No valid host was found. ]. So i executed the following command

$ nova-manage service list

and found the nova service worked well but hosts were different.

Binary           Host                      Zone             Status     State Updated_At
nova-consoleauth localhost.localdomain    internal         enabled    :-)   2015-03-14 20:42:58
nova-scheduler   localhost.localdomain    internal         enabled    :-)   2015-03-14 20:42:58
nova-conductor   localhost.localdomain    internal         enabled    :-)   2015-03-14 20:42:57
nova-cert        localhost.localdomain    internal         enabled    :-)   2015-03-14 20:42:58
nova-compute     localhost.localdomain     nova            enabled    :-)   2015-03-14 20:42:58

This is /etc/hosts

192.168.200.51   publiccloud
# openstack configuration ip and hostname
10.0.15.11       privatecloud

How can i modify host name of nova service? Your advice will be deeply appreciated. Thanks