我安装了openstack。所有服务都运行成功。
[root@test ~]# nova-manage service list
Binary Host Zone Status State Updated_At
nova-cert localhost.localdomain nova enabled :-) 2012-11-06 04:25:36.396817
nova-scheduler localhost.localdomain nova enabled :-) 2012-11-06 04:25:41.735192
nova-network compute nova enabled :-) 2012-11-06 04:25:42.109157
nova-compute compute nova enabled :-) 2012-11-06 04:25:43.240902
之后,我更改HOSTNAME
为. 然后重启服务。现在我得到了服务的重复条目。/etc/sysconfig/network
myhost.mydomain
[root@test ~]# nova-manage service list
Binary Host Zone Status State Updated_At
nova-cert localhost.localdomain nova enabled XXX 2012-11-06 04:25:36.396817
nova-cert myhost.mydomain nova enabled :-) 2012-11-06 05:25:36.396817
nova-scheduler localhost.localdomain nova enabled XXX 2012-11-06 04:25:41.735192
nova-scheduler myhost.mydomain nova enabled :-) 2012-11-06 05:25:41.735192
nova-network compute nova enabled :-) 2012-11-06 04:25:42.109157
nova-compute compute nova enabled :-) 2012-11-06 04:25:43.240902
从这些服务中,旧服务没有运行。
我想删除 host 的服务localhost.localdomain
。
我检查了nova-manage service --help
但没有删除选项:(。
[root@test ~]# nova-manage service --help
--help does not match any options:
describe_resource
disable
enable
list