~mgerdts/cloud-init:lp1667735

Last commit made on 2018-04-17
Get this branch:
git clone -b lp1667735 https://git.launchpad.net/~mgerdts/cloud-init
Only Mike Gerdts can upload to this branch. If you are Mike Gerdts please log in for upload directions.

Branch merges

Branch information

Name:
lp1667735
Repository:
lp:~mgerdts/cloud-init

Recent commits

076968c... by Mike Gerdts

smoser final feedback: redundant flush

2e968f1... by Mike Gerdts

smoser fixes #2

5a78cc5... by Mike Gerdts

blist from smoser

62cafc5... by Mike Gerdts

smoser and CI feedback

deffcd4... by Mike Gerdts

DataSourceSmartOS: hang when metadata service is down

    If the metadata service in the host is down while a guest that uses
    DataSourceSmartOS is booting, the request from the guest falls into the bit
    bucket. When the metadata service is eventually started, the guest has no
    awareness of this and does not resend the request. This results in
    cloud-init hanging forever with a guest reboot as the only recovery option.

    This fix updates the metadata protocol to implement the initialization
    phase, just as is implemented by mdata-get and related utilities. The
    initialization phase includes draining all pending data from the serial
    port, writing an empty command and getting an expected error message in
    reply. If the initialization phase times out, it is retried every five
    seconds. Each timeout results in a warning message: "Timeout while
    initializing metadata client. Is the host metadata service running?" By
    default, warning messages are logged to the console, thus the reason for a
    hung boot is readily apparent.

    LP: #1667735

01ff5c2... by Chad Smith

tests: fix ec2 integration network metadata validation

Fix integraiton test logic for ec2 to look for network and
availability-zone data under the key path
'ds'=>'meta-data' instead of just 'ds' when parsing instance-data.json.

05926e4... by Chad Smith

tests: fix integration tests to support lxd 3.0 release

Integration tests previously had a logic path that was unexercised on
jenkins because we were on an older version of lxc. With an upgrade to lxd
version 3.0 we need to bump pylxd dependency pin and fix a typo in
integration tests which checked the lxd version.

b27f713... by do3meli

correct documentation to match correct attribute name usage.

LP: #1420018

c436e17... by Ryan Harper

cc_resizefs, util: handle no /dev/zfs

The zfs/zpool commands will hang for 10 seconds if /dev/zfs is not
present (bug 1760173). This is a common occurence for containers
using zfs as rootfs. Additionally handle missing zpool command or
other errors that may occur while executing the zpool command.

a510726... by do3meli

doc: Fix links in OpenStack datasource documentation.

Fix link to external openstack resource and to internal vendor data.

LP: #1721660