It may be specific to VPC routers. I did some testing and it didn't seem to cause any issues, although I'll revisit in the normal single network case. In any case an entry should only be added if none exists. On Oct 31, 2012 2:38 AM, "Jayapal Reddy Uradi" < [email protected]> wrote:
> In my setup router /etc/hosts contain the following entry. > 10.1.1.1 r-51-TEST > From the VM if I ping to r-51-TEST it is resolved to 10.1.1.1 > > Is your router has the above entry ? > > Thanks, > Jayapal > > > -----Original Message----- > > From: Rohit Yadav [mailto:[email protected]] > > Sent: Wednesday, October 31, 2012 1:39 PM > > To: [email protected] > > Subject: Re: Router command slowness > > > > > > On 31-Oct-2012, at 6:06 AM, Marcus Sorensen <[email protected]> > > wrote: > > > > > Occasionally in the agent logs I see: > > > > > > sudo: unable to resolve host r-410-VM > > > > > > When virtual router commands are run. I decided to dig into it today, > > > and added "127.0.0.1 r-410-VM" to the /etc/hosts file on the router. > > > WOW, what a difference, most of the router commands are far faster > > > now. Adding IPs for example is pretty much instant, rather than 15-20 > > > seconds. I'll push a change to /etc/init.d/cloud-early-config if > > > nobody objects. > > > > Awesome. Before committing please check if there can be any service which > > may fail because of this? > > I don't know of any, ship it! > > > > Regards. >
