← Back to team overview

cloud-init-dev team mailing list archive

Re: [Merge] ~smoser/cloud-init:cleanup/cii-cleanup into cloud-init:master

 

Per the issue JoshPowers brought up on Friday, sudo times out after 20 seconds on the kvm instances due to the inability to resolve the 'ubuntu' hostname. That 20 second timeout affects every single instance.execute which runs 'sudo'.    

I think smoser & rharper brought up the possible solution to
   1. reuse ssh connection
   2. Possibly add ubuntu to /etc/hosts so we don't hit DNS resolution errors for nocloud.


Here is a patch which takes smoser's ssh connection caching/reuse   + my changes to update etc_hosts on nocloudkvm images
http://pastebin.ubuntu.com/25881811/
-- 
https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/333059
Your team cloud-init commiters is requested to review the proposed merge of ~smoser/cloud-init:cleanup/cii-cleanup into cloud-init:master.


References