Ask Your Question

should hostname be unique in multi-compute-nodes environment?

asked 2016-05-29 02:43:25 -0600

liujiajia gravatar image

I have deployed a 3 nodes OpenStack by packstack(one controller + two compute, kilo), and the two compute nodes have the same hostname.

But I can only see one host by "nova hypervisior-list". And through "nova hypervisor-show", i can see the ip changed between the two compute nodes alternatively.

Is it because the same hostname?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2016-05-30 02:17:49 -0600

MIB gravatar image

please make sure you have set hostname & /etc/hosts entries properly .

edit flag offensive delete link more


I'm a little bit confused:) . Do you mean that the hostname should be unique? Thanks.

liujiajia gravatar imageliujiajia ( 2016-05-31 09:02:49 -0600 )edit

answered 2016-05-31 12:17:54 -0600

ssk gravatar image

No need to set the Host name in same for all node .but its better to set FQN (fully qualified name) for all the node and /etc/hosts entry if u not done than also hyper visor list is show on openstack. may any thing goes wrong in packstack file.


edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2016-05-29 02:43:25 -0600

Seen: 235 times

Last updated: May 31 '16