add node-xx records in the /etc/hosts on the fuel-master

Registered by Michael Kraynov

SSH from FUEL Server Really slow when using node names ( >10 Sec), Causing the scripts execution really long time.
but ssh to IP address of node (control/compute) from FUEL is instant.
It was immediately suspected to do with reverse DNS lookup so 'UseDNS no' was set in /etc/ssh/sshd_config but problem still persists.
Later it was discovered that no entry where present in Fuels /etc/hosts for the existing nodes. After manually added this node entries ssh worked without >10 sec delay.

We want automatic adding these records after deploying in the /etc/hosts file

Blueprint information

Status:
Not started
Approver:
Andrew Woodward
Priority:
Not
Drafter:
Michael Kraynov
Direction:
Needs approval
Assignee:
None
Definition:
Discussion
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

[Dmitry Borodaenko 2014-10-17] I don't think duplicating IP addressing between DNS and /etc/hosts is a good idea, we should identify and resolve your DNS problem instead.

[Fabrizio Soppelsa 2014-10-20] Such an explosion of names in the hosts file doesn't look as the cleanest workaround... I would instead troubleshoot DNS performances and/or evaluate adding a DNS cache mechanism.

[Dmitry Borodaenko 2014-11-17] A bug created to investigate the DNS problems:
https://bugs.launchpad.net/fuel/+bug/1393605
This blueprint can now be closed.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.