/etc/hosts file not in sync [closed]

asked 2013-12-09 14:30:17 -0500

bgyako gravatar image

Hi All, I have a set up consisting of one controller, 1 network controller, and multiple compute nodes. I noticed that a small set of compute hosts throws errors when creating volumes and instances. I also noticed errors stating host name not recognized. While troubleshooting I discovered that the /etc/hosts file on the compute nodes that are not working is not complete. What would cause the hosts file to be out of sync, and how would I re-sync it.

edit retag flag offensive reopen merge delete

Closed for the following reason not a real question by bgyako
close date 2013-12-13 12:33:05.792809

1 answer

Sort by ยป oldest newest most voted

answered 2013-12-13 01:08:07 -0500

jtopjian gravatar image

/etc/hosts is not maintained by OpenStack. If you want to keep track of hosts through /etc/hosts, you will need to use a system outside of OpenStack. Configuration Management Systems such as Puppet or Chef are able to do this. You can also maintain your suite of hosts files by hand, but that might become unmanageable quickly.

Depending on what the unresolvable hostnames are, you can also add them to your DNS server(s) if they're available.

edit flag offensive delete link more


Issue resolved was unrelated to hosts, file. Issue with install instructions using tgt instead of iscsi.

bgyako gravatar imagebgyako ( 2013-12-13 12:32:53 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-12-09 14:30:17 -0500

Seen: 674 times

Last updated: Dec 13 '13