~chad.smith/cloud-init:bug/1840080-ubuntu-drivers-emit-latelink-v2

Last commit made on 2019-08-22
Get this branch:
git clone -b bug/1840080-ubuntu-drivers-emit-latelink-v2 https://git.launchpad.net/~chad.smith/cloud-init
Only Chad Smith can upload to this branch. If you are Chad Smith please log in for upload directions.

Branch merges

Branch information

Name:
bug/1840080-ubuntu-drivers-emit-latelink-v2
Repository:
lp:~chad.smith/cloud-init

Recent commits

2eb8eee... by Chad Smith on 2019-08-20

ubuntu-drivers: call db_x_loadtemplatefile to accept NVIDIA EULA

Emit a script allowing cloud-init to set linux/nvidia/latelink
debconf selection to true. This avoids having to call
debconf-set-selections and allows cloud-init to pre-confgure
linux-restricted-modules to link NVIDIA drivers to the running kernel.

Cloud-init loads this debconf template and sets the value to true in the
debconf database by sourcing debconf's /usr/share/debconf/confmodule and
uses db_x_loadtemplatefile to register cloud-init's setting for
linux/nvidia/latelink.

LP: #1840080

3e99827... by Florian Müller <email address hidden> on 2019-08-20

Add missing #cloud-config comment on first example in documentation.

Since this is the first code snippet some users might see,
they could end up in the same situation like me today
when they wonder why their yaml user config is not
working at all.

8587870... by Chad Smith on 2019-08-19

ubuntu-drivers: emit latelink=true debconf to accept nvidia eula

To accept NVIDIA EULA, cloud-init needs to emit latelink=true debconf
setting to the linux-restricted-modules package to allow NVIDIA
drivers to properly link to the running kernel.

LP: #1840080

2c52e6e... by Dan Watkins on 2019-08-19

DataSourceOracle: prefer DS network config over initramfs

The Oracle platform provides networking configuration from two sources:

* the primary interface configuration comes from the initramfs, because
  Oracle instance all iSCSI boot
* secondary interface configuration comes from an IMDS accessed over
  HTTP

As we need to combine these two sources of network configuration, the
default "prefer initramfs config over data source config" behaviour
isn't appropriate; we would never get the IMDS interfaces via that
route. Instead, the Oracle data source has code to combine these two
sources, so we prefer its network configuration over the initramfs
configuration.

(This is not appropriate default behaviour, because _in general_ data
sources won't know how to merge initramfs-provided configuration into
their provided configuration, so switching this order for all data
sources would result in initramfs configuration being discarded on any
data source that implements network_config.)

e11b719... by Dan Watkins on 2019-08-19

format.rst: add text/jinja2 to list of content types (+ cleanups)

The cleanups, specifically, are to sort the list of content types, and
remove trailing whitespace.

633f1ea... by Dan Watkins on 2019-08-19

Add GitHub pull request template to point people at hacking doc

This will hopefully avoid people submitting PRs against our mirror repo.

(Thanks to GitHub user @max06 for this suggestion!)

f17c72e... by Dan Watkins on 2019-08-16

cloudinit/distros/parsers/sys_conf: add docstring to SysConf

bcc2c43... by Joshua Powers on 2019-08-15

pyflakes: remove unused variable

2f3bb76... by Anh Vo (MSFT) on 2019-08-14

Azure: Record boot timestamps, system information, and diagnostic events

Collect and record the following information through KVP:
 + timestamps related to kernel initialization and systemd activation
   of cloud-init services
 + system information including cloud-init version, kernel version,
   distro version, and python version
 + diagnostic events for the most common provisioning error issues
   such as empty dhcp lease, corrupted ovf-env.xml, etc.
 + increasing the log frequency of polling IMDS during reprovision.

0e79a1b... by Dan Watkins on 2019-08-14

DataSourceOracle: configure secondary NICs on Virtual Machines

Oracle Cloud Infrastructure's Instance Metadata Service provides network
configuration information for non-primary NICs. This commit introduces
support, on Virtual Machines[0], for fetching that network metadata,
converting it to v1 network-config[1] and combining it into the network
configuration generated for the primary interface.

By default, this behaviour is not enabled. Configuring the Oracle
datasource to `configure_secondary_nics` enables it:

    datasource:
      Oracle:
        configure_secondary_nics: true

Failures to fetch and generate secondary NIC configuration will log a
warning, but otherwise will not affect boot.

[0] The expected use of the IMDS-provided network configuration is
    substantially different on Bare Metal Machines, so support for that
    will be addressed separately.
[1] This is v1 config, because cloudinit.net.cmdline generates v1 config
    and we need to integrate the secondary NICs into that configuration.