~asakkurr/cloud-init:azure_dhcpfix

Last commit made on 2018-11-10
Get this branch:
git clone -b azure_dhcpfix https://git.launchpad.net/~asakkurr/cloud-init
Only Aswin Rajamannar can upload to this branch. If you are Aswin Rajamannar please log in for upload directions.

Branch merges

Branch information

Name:
azure_dhcpfix
Repository:
lp:~asakkurr/cloud-init

Recent commits

cf1e6f1... by Aswin Rajamannar

Fix the bug that reports ready using torn down lease info

3b332c9... by Chad Smith

azure: add udev rules to create cloud-init Gen2 disk name symlinks

Cloud-init delivers udev rules on Azure to create the following symlinks:
- /dev/disk/cloud/azure_root
- /dev/disk/cloud/azure_root-part#
- /dev/disk/cloud/azure_resource
- /dev/disk/cloud/azure_resource-part#

Cloud-init cc_disk_setup expects presence of these dev links in order to
setup the mounted ephemeral disks. Gen1 instances udev rules match based
only a DEVICE_ID attribute that no longer exists on Gen2 instances.
Supplement existing Gen1 rules with matches on specitic SCSI target/lun
path 0:0:0 and 0:0:1 and generate links for azure_root and azure_resource
respectively.

LP: #1797480

093f968... by Chad Smith

tests: ec2 mock missing httpretty user-data and instance-identity routes

58476e7... by Chad Smith

azure: remove /etc/netplan/90-hotplug-azure.yaml when net from IMDS

There was a typo in the seeded filename s/azure-hotplug/hotplug-azure/.

9073951... by Aswin Rajamannar

azure: report ready to fabric after reprovision and reduce logging

When reusing a preprovisioned VM, report ready to Azure fabric as soon as
we get the reprovision data and the goal state so that we are not delayed
by the cloud-init stage switch, saving 2-3 seconds. Also reduce logging
when polling IMDS for reprovision data.

LP: #1799594

d74d3f0... by Chad Smith

query: better error when missing read permission on instance-data

Emit a permissions error instead of "Missing instance-data.json" when
non-root user doesn't have read-permission on
/run/cloud-init/instance-data.json

dc0be9c... by Chad Smith

instance-data: fallback to instance-data.json if sensitive is absent.

On cloud-init upgrade path from 18.3 to 18.4 cloud-init changed how
instance-data is written. Cloud-init changes instance-data.json from root
read-only to redacted world-readable content, and provided a separate
unredacted instance-data-sensitive.json which is read-only root.
Since instance-data is only rewritten from cache on
reboot, the query and render tools needed fallback to use the 'old'
instance-data.json if the new sensitive file isn't yet present.

This avoids error messages from tools about an absebt
/run/instance-data-sensitive.json file.

LP: #1798189

532ff0f... by Tomer Cohen

docs: remove colon from network v1 config example.

The docs for network v1 config contained a errant ':'. Simply drop it.

744c423... by Jason Zions <email address hidden>

Add cloud-id binary to packages for SUSE

e0084a5... by Robert Schweikert

systemd: On SUSE ensure cloud-init.service runs before wicked

With db50bc0d9 the sysconfig renderer was enabled for
openSUSE and SUSE Linux Enterprise. This requires that
cloud-init.service starts before wicked.

LP: #1799709