lp:~xiaoxin-yang/cloud-init

Owned by xiaoxin yang
Get this repository:
git clone https://git.launchpad.net/~xiaoxin-yang/cloud-init
Only xiaoxin yang can upload to this repository. If you are xiaoxin yang please log in for upload directions.

Branches

Name Last Modified Last Commit
master 2017-12-01 02:51:14 UTC
ec2: Fix sandboxed dhclient background process cleanup.

Author: Chad Smith
Author Date: 2017-11-30 20:09:30 UTC

ec2: Fix sandboxed dhclient background process cleanup.

There is a race condition where our sandboxed dhclient properly writes a
lease file but has not yet written a pid file. If the sandbox temporary
directory is torn down before the dhclient subprocess writes a pidfile
DataSourceEc2Local gets a traceback and the instance will fallback to
DataSourceEc2 in the init-network stage. This wastes boot cycles we'd
rather not spend.

Fix handling of sandboxed dhclient to wait for both pidfile and leasefile
before proceding. If either file doesn't show in 5 seconds, log a warning
and return empty lease results {}.

LP: #1735331

11 of 1 result
This repository contains Public information 
Everyone can see this information.

Subscribers