--- tags: cloud-init, sru --- SRU verification ===== # 2019-02-04 SRU (Xenial, Bionic, Cosmic) [#1813346](https://bugs.launchpad.net/bugs/1813346) - ~~NOTEST: [LP: #1813641](https://pad.lv/#1813641) opennebula: also exclude epochseconds from changed environment vars \[[8ee294d5](https://git.launchpad.net/cloud-init/commit/?id=8ee294d5)\]~~ - NOTIFY AUTHOR Scaleway: Support ssh keys provided inside an instance tag. \[[a809b25c](https://git.launchpad.net/cloud-init/commit/?id=a809b25c)\] ~~[NOTEST/SUSE]- systemd: Render generator from template to account for system differences. \[[09dcecf3](https://git.launchpad.net/cloud-init/commit/?id=09dcecf3)\]~~ ~~[NOTEST/REDHAT]net: Make sysconfig renderer compatible with Network Manager. \[[3861102f](https://git.launchpad.net/cloud-init/commit/?id=3861102f)\]~~ - ~~[Ryan Harper][LP: #1805871](https://pad.lv/#1805871) net: render 'metric' values in per-subnet routes \[[6aef6c7d](https://git.launchpad.net/cloud-init/commit/?id=6aef6c7d)\]~~ - [Ryan Harper][LP: #1796917](https://pad.lv/#1796917) net: ignore nics that have "zero" mac address. \[[00e36d3d](https://git.launchpad.net/cloud-init/commit/?id=00e36d3d)\] ~~- [OVF/VMWARE] ds-identify: fix wrong variable name in ovf_vmware_transport_guestinfo. \[[12bc76ce](https://git.launchpad.net/cloud-init/commit/?id=12bc76ce)\]~~ ~~- [OVF/VMWARE] OVF: simplify expected return values of transport functions. \[[d4d11c78](https://git.launchpad.net/cloud-init/commit/?id=d4d11c78)\]~~ ~~- [Daniel Watkins][OVF/VMWARE] [LP: #1807466](https://pad.lv/#1807466) Vmware: Add support for the com.vmware.guestInfo OVF transport. \[[f55bb17d](https://git.launchpad.net/cloud-init/commit/?id=f55bb17d)\]~~ ~~- [OVF/VMWARE] [LP: #1806103](https://pad.lv/#1806103) ovf: Fix ovf network config generation gateway/routes \[[cb44ad6f](https://git.launchpad.net/cloud-init/commit/?id=cb44ad6f)\]~~ ~~- [OVF/VMWARE] OVF: identify label iso9660 filesystems with label 'OVF ENV'. \[[530850f9](https://git.launchpad.net/cloud-init/commit/?id=530850f9)\]~~ - ~~[Ryan Harper] write_files: add support for appending to files. \[[a4007d06](https://git.launchpad.net/cloud-init/commit/?id=a4007d06)\]~~ - ~~[Daniel Watkins ][LP: #1805854](https://pad.lv/#1805854) config: On ubuntu select cloud archive mirrors for armel, armhf, arm64. \[[a582a2d2](https://git.launchpad.net/cloud-init/commit/?id=a582a2d2)\]~~ - ~~dhclient-hook: cleanups, tests and fix a bug on 'down' event. \[[230e67eb](https://git.launchpad.net/cloud-init/commit/?id=230e67eb)\]~~ - [AZURE] Increase retries when talking to Wireserver during metadata walk \[[f19dc8fa](https://git.launchpad.net/cloud-init/commit/?id=f19dc8fa)\] - [AZURE] azure: detect vnet migration via netlink media change event \[[bf791715](https://git.launchpad.net/cloud-init/commit/?id=bf791715)\] - [AZURE] Azure: fix copy/paste error in error handling when reading azure ovf. \[[c7c395ce](https://git.launchpad.net/cloud-init/commit/?id=c7c395ce)\] - [AZURE] [LP: #1803598](https://pad.lv/#1803598) azure: _poll_imds only retry on 404. Fail on Timeout \[[8f812a15](https://git.launchpad.net/cloud-init/commit/?id=8f812a15)\] - [AZURE] [LP: #1800223](https://pad.lv/LP:1800223) azure: retry imds polling on requests.Timeout \[[6062595b](https://git.launchpad.net/cloud-init/commit/?id=6062595b)\] - ~~NOTEST [LP: #1799338](https://pad.lv/#1799338) azure: Accept variation in error msg from mount for ntfs volumes \[[6f951204](https://git.launchpad.net/cloud-init/commit/?id=6f951204)\]~~ - [AZURE] azure: fix regression introduced when persisting ephemeral dhcp lease \[[d910ecd1](https://git.launchpad.net/cloud-init/commit/?id=d910ecd1)\] - ~~[Daniel Watkins][LP: #1797480](https://pad.lv/#1797480) azure: add udev rules to create cloud-init Gen2 disk name symlinks \[[3b332c93](https://git.launchpad.net/cloud-init/commit/?id=3b332c93)\]~~ - ~~[Daniel Watkinsa]azure: remove /etc/netplan/90-hotplug-azure.yaml when net from IMDS \[[58476e71](https://git.launchpad.net/cloud-init/commit/?id=58476e71)\]~~ - [AZURE] [LP: #1799594](https://pad.lv/#1799594) azure: report ready to fabric after reprovision and reduce logging \[[90739510](https://git.launchpad.net/cloud-init/commit/?id=90739510)\] - ~~[LP: #1799709](https://pad.lv/#1799709) systemd: On SUSE ensure cloud-init.service runs before wicked \[[e0084a59](https://git.launchpad.net/cloud-init/commit/?id=e0084a59)\]~~ - ~~update detection of openSUSE variants \[[4ea64f15](https://git.launchpad.net/cloud-init/commit/?id=4ea64f15)\]~~ - ~~[Daniel Watkins][LP: #1798424](https://pad.lv/#1798424) azure: Add apply_network_config option to disable network from IMDS \[[1d5e9aef](https://git.launchpad.net/cloud-init/commit/?id=1d5e9aef)\]~~ - ~~Correct spelling in an error message (udevadm). \[[635fec38](https://git.launchpad.net/cloud-init/commit/?id=635fec38)\]~~ - ~~[Daniel Watkins] [LP: #74747](https://pad.lv/#74747) Ubuntu: update sources.list to comment out deb-src entries. \[[d3e803ad](https://git.launchpad.net/cloud-init/commit/?id=d3e803ad)\]~~ - ~~releasing cloud-init version 18.5-21-g8ee294d5-0ubuntu1~16.04.1 \[[44066f46](https://git.launchpad.net/cloud-init/commit/?id=44066f46)\]~~ - ~~NOTEST [LP: #1799540](https://pad.lv/#1799540) sysconfig: On SUSE, use STARTMODE instead of ONBOOT \[[3f12012e](https://git.launchpad.net/cloud-init/commit/?id=3f12012e)\]~~ - ~~NOTEST flake8: use ==/!= to compare str, bytes, and int literals \[[7a6ed1a2](https://git.launchpad.net/cloud-init/commit/?id=7a6ed1a2)\]~~ - ~~NOTEST releasing cloud-init version 18.5-17-gd1a2fe73-0ubuntu1~16.04.1 \[[21d03ffe](https://git.launchpad.net/cloud-init/commit/?id=21d03ffe)\]~~ - ~~NOTEST update changelog (New upstream snapshot 18.5-17-gd1a2fe73). \[[dcf1e199](https://git.launchpad.net/cloud-init/commit/?id=dcf1e199)\]~~ - ~~NOTEST update changelog. \[[9e691a21](https://git.launchpad.net/cloud-init/commit/?id=9e691a21)\]~~ - ~~NOTEST refresh patches against origin/master commit d1a2fe73 \[[54b86c78](https://git.launchpad.net/cloud-init/commit/?id=54b86c78)\]~~ - ~~NOTEST merge from origin/master at 18.5-17-gd1a2fe73 \[[3519dc28](https://git.launchpad.net/cloud-init/commit/?id=3519dc28)\]~~ - ~~NOTEST [LP: #1813383](https://pad.lv/#1813383) opennebula: exclude EPOCHREALTIME as known bash env variable with a delta \[[d1a2fe73](https://git.launchpad.net/cloud-init/commit/?id=d1a2fe73)\]~~ - ~~NOTEST [LP: #1813361](https://pad.lv/#1813361) tox: fix disco httpretty dependencies for py37 \[[c7248059](https://git.launchpad.net/cloud-init/commit/?id=c7248059)\]~~ - ~~NOTEST run-container: uncomment baseurl in yum.repos.d/*.repo when using a proxy \[[7a469659](https://git.launchpad.net/cloud-init/commit/?id=7a469659)\]~~ - ~~[LP: #1799779](https://pad.lv/#1799779) lxd: install zfs-linux instead of zfs meta package \[[c283321b](https://git.launchpad.net/cloud-init/commit/?id=c283321b)\]~~ - ~~NOTEST net/sysconfig: do not write a resolv.conf file with only the header. \[[b74ebca5](https://git.launchpad.net/cloud-init/commit/?id=b74ebca5)\]~~ - ~~[LP: #1811446](https://pad.lv/#1811446) cc_set_passwords: Fix regex when parsing hashed passwords \[[ad170db9](https://git.launchpad.net/cloud-init/commit/?id=ad170db9)\]~~ - ~~[LP: #1794399](https://pad.lv/#1794399) net: Wait for dhclient to daemonize before reading lease file \[[fdadcb5f](https://git.launchpad.net/cloud-init/commit/?id=fdadcb5f)\]~~ - ~~NOTEST Add documentation on adding a datasource. \[[5f49ee0f](https://git.launchpad.net/cloud-init/commit/?id=5f49ee0f)\]~~ - ~~NOTEST doc: clean up some datasource documentation. \[[3984726a](https://git.launchpad.net/cloud-init/commit/?id=3984726a)\]~~ - ~~NOTEST HACKING.rst: change contact info to Josh Powers \[[26e95e95](https://git.launchpad.net/cloud-init/commit/?id=26e95e95)\]~~ - ~~NOTEST Update to pylint 2.2.2. \[[5b065316](https://git.launchpad.net/cloud-init/commit/?id=5b065316)\]~~ - ~~NOTEST [LP: #1808380](https://pad.lv/#1808380) Release 18.5 \[[45d731a6](https://git.launchpad.net/cloud-init/commit/?id=45d731a6)\]~~ - ~~NOTEST tests: add Disco release \[[e1da348a](https://git.launchpad.net/cloud-init/commit/?id=e1da348a)\]~~ - ~~[LP: #1798117](https://pad.lv/#1798117) NoCloud: Allow top level 'network' key in network-config. \[[adbd950a](https://git.launchpad.net/cloud-init/commit/?id=adbd950a)\]~~ - ~~NOTEST tests: fix incorrect order of mocks in test_handle_zfs_root. \[[4ce8a285](https://git.launchpad.net/cloud-init/commit/?id=4ce8a285)\]~~ - ~~NOTEST doc: Change dns_nameserver property to dns_nameservers. \[[2e93cc62](https://git.launchpad.net/cloud-init/commit/?id=2e93cc62)\]~~ - ~~[LP: #1805201](https://pad.lv/#1805201) logs: collect-logs ignore instance-data-sensitive.json on non-root user \[[e9d57b80](https://git.launchpad.net/cloud-init/commit/?id=e9d57b80)\]~~ - ~~NOTEST: net: Ephemeral*Network: add connectivity check via URL \[[ef0611a5](https://git.launchpad.net/cloud-init/commit/?id=ef0611a5)\]~~ - No callsites yet - ~~NOTEST resizefs: Prefix discovered devpath with '/dev/' when path does not exist \[[a3812a4a](https://git.launchpad.net/cloud-init/commit/?id=a3812a4a)\]~~ - ~~NOTEST tests: ec2 mock missing httpretty user-data and instance-identity routes \[[093f9680](https://git.launchpad.net/cloud-init/commit/?id=093f9680)\]~~ - ~~NOTEST query: better error when missing read permission on instance-data \[[d74d3f0f](https://git.launchpad.net/cloud-init/commit/?id=d74d3f0f)\]~~ - upgrade case for cloud-init using net cloud-init query cmd. Corner case only affecting CLI - ~~[LP: #1798189](https://pad.lv/#1798189) instance-data: fallback to instance-data.json if sensitive is absent. \[[dc0be9c5](https://git.launchpad.net/cloud-init/commit/?id=dc0be9c5)\]~~ - ~~NOTEST docs: remove colon from network v1 config example. \[[532ff0f0](https://git.launchpad.net/cloud-init/commit/?id=532ff0f0)\]~~ - ~~NOTEST Add cloud-id binary to packages for SUSE \[[744c4236](https://git.launchpad.net/cloud-init/commit/?id=744c4236)\]~~ - ~~NOTEST update changelog. \[[71c249f8](https://git.launchpad.net/cloud-init/commit/?id=71c249f8)\]~~ - ~~NOTEST refresh patches against origin/master commit 1d5e9aef \[[f4374a35](https://git.launchpad.net/cloud-init/commit/?id=f4374a35)\]~~ - ~~NOTEST update changelog. \[[40733059](https://git.launchpad.net/cloud-init/commit/?id=40733059)\]~~ - ~~NOTEST drop cherry picks included in origin/master commit 1d5e9aef \[[0461bbcb](https://git.launchpad.net/cloud-init/commit/?id=0461bbcb)\]~~ - ~~[LP: #1797199](https://pad.lv/#1797199) tests: fix kvm integration test to assert flexible config-disk path \[[9f88125a](https://git.launchpad.net/cloud-init/commit/?id=9f88125a)\]~~ - ~~tools: Add cloud-id command line utility \[[6ee8a2c5](https://git.launchpad.net/cloud-init/commit/?id=6ee8a2c5)\]~~ - ~~instance-data: Add standard keys platform and subplatform. Refactor ec2. \[[f0bc02d7](https://git.launchpad.net/cloud-init/commit/?id=f0bc02d7)\]~~ - ~~[LP: #1797231](https://pad.lv/#1797231) tests: meta_data key changed to meta-data in ec2 instance-data.json \[[4652b196](https://git.launchpad.net/cloud-init/commit/?id=4652b196)\]~~ - ~~NOTEST tests: fix apt_configure_primary to be more flexible \[[638f09e8](https://git.launchpad.net/cloud-init/commit/?id=638f09e8)\]~~ # 2018-04-10 SRU (Xenial, Bionic) [#1795953](https://bugs.launchpad.net/bugs/1795953) \# obtained from: git log ubuntu/18.3-9-g2e62cb8a-0ubuntu1_18.04.2..ubuntu/18.4-0ubuntu1_18.04.1 | log2dch --hackmd - ~~[LP: #1795741](https://pad.lv/#1795741) release 18.4 \[[e2800045](https://git.launchpad.net/cloud-init/commit/?id=e2800045)\]~~ - ~~tests: allow skipping an entire cloud_test without running. \[[40768bad](https://git.launchpad.net/cloud-init/commit/?id=40768bad)\]~~ - ~~tests: disable lxd tests on cosmic \[[c239eb82](https://git.launchpad.net/cloud-init/commit/?id=c239eb82)\]~~ - ~~cii-tests: use unittest2.SkipTest in ntp_chrony due to new deps \[[fb5015fe](https://git.launchpad.net/cloud-init/commit/?id=fb5015fe)\]~~ - lxd: adjust to snap installed lxd. \[[facb92c5](https://git.launchpad.net/cloud-init/commit/?id=facb92c5)\] - ~~docs: surface experimental doc in instance-data.json \[[fd873fa8](https://git.launchpad.net/cloud-init/commit/?id=fd873fa8)\]~~ - ~~tests: fix ec2 integration tests. process meta_data instead of meta-data \[[27ff9c45](https://git.launchpad.net/cloud-init/commit/?id=27ff9c45)\]~~ - Add support for Infiniband network interfaces (IPoIB). \[[e7b0e5f7](https://git.launchpad.net/cloud-init/commit/?id=e7b0e5f7)\] - ~~cli: add cloud-init query subcommand to query instance metadata \[[fc4b966b](https://git.launchpad.net/cloud-init/commit/?id=fc4b966b)\]~~ - ~~tools/tox-venv: update for new features. \[[0b0378dd](https://git.launchpad.net/cloud-init/commit/?id=0b0378dd)\]~~ - ~~pylint: ignore warning assignment-from-no-return for _write_network \[[1c63a4f5](https://git.launchpad.net/cloud-init/commit/?id=1c63a4f5)\]~~ - [LP: #1787459](https://pad.lv/#1787459) stages: Fix bug causing datasource to have incorrect sys_cfg. \[[f0ff1940](https://git.launchpad.net/cloud-init/commit/?id=f0ff1940)\] - Remove dead-code _write_network distro implementations. \[[c3680475](https://git.launchpad.net/cloud-init/commit/?id=c3680475)\] - [LP: #1792454](https://pad.lv/#1792454) net_util: ensure static configs have netmask in translate_network result \[[98d18c31](https://git.launchpad.net/cloud-init/commit/?id=98d18c31)\] - Fall back to root:root on syslog permissions if other options fail. \[[c714651c](https://git.launchpad.net/cloud-init/commit/?id=c714651c)\] - ~~[LP: #1792799](https://pad.lv/#1792799) tests: Add mock for util.get_hostname. \[[37078046](https://git.launchpad.net/cloud-init/commit/?id=37078046)\]~~ - ~~ds-identify: doc string cleanup. \[[bb60f61b](https://git.launchpad.net/cloud-init/commit/?id=bb60f61b)\]~~ - [LP: #1682064](https://pad.lv/#1682064) OpenStack: Support setting mac address on bond. \[[c6cfed7f](https://git.launchpad.net/cloud-init/commit/?id=c6cfed7f)\] - ~~bash_completion/cloud-init: fix shell syntax error. \[[84bf2482](https://git.launchpad.net/cloud-init/commit/?id=84bf2482)\]~~ - [LP: #1792415](https://pad.lv/#1792415) EphemeralIPv4Network: Be more explicit when adding default route. \[[12066fc8](https://git.launchpad.net/cloud-init/commit/?id=12066fc8)\] - OpenStack: support reading of newer versions of metdata. \[[4361e0e4](https://git.launchpad.net/cloud-init/commit/?id=4361e0e4)\] - [LP: #1792157](https://pad.lv/#1792157) OpenStack: fix bug causing 'latest' version to be used from network. \[[c75c582e](https://git.launchpad.net/cloud-init/commit/?id=c75c582e)\] - [LP: #1791781](https://pad.lv/#1791781) user-data: jinja template to render instance-data.json in cloud-config \[[c7555762](https://git.launchpad.net/cloud-init/commit/?id=c7555762)\] - config: disable ssh access to a configured user account \[[757247f9](https://git.launchpad.net/cloud-init/commit/?id=757247f9)\] - ~~tests: print failed testname instead of docstring upon failure \[[d47d404e](https://git.launchpad.net/cloud-init/commit/?id=d47d404e)\]~~ - ~~tests: Disallow use of util.subp except for where needed. \[[a8dcad9a](httpstri//git.launchpad.net/cloud-init/commit/?id=a8dcad9a)\]~~ - sysconfig: refactor sysconfig to accept distro specific templates paths \[[db50bc0d](https://git.launchpad.net/cloud-init/commit/?id=db50bc0d)\] - ~~Add unit tests for config/cc_ssh.py \[[3f6d0972](https://git.launchpad.net/cloud-init/commit/?id=3f6d0972)\]~~ - ~~Fix the built-in cloudinit/tests/helpers:skipIf \[[2d0ca72c](https://git.launchpad.net/cloud-init/commit/?id=2d0ca72c)\]~~ - ~~read-version: enhance error message \[[8d9d4c84](https://git.launchpad.net/cloud-init/commit/?id=8d9d4c84)\]~~ - hyperv_reporting_handler: simplify threaded publisher \[[43e51a04](https://git.launchpad.net/cloud-init/commit/?id=43e51a04)\] - [LP: #1766538](https://pad.lv/#1766538) VMWare: Fix a network config bug in vm with static IPv4 and no gateway. \[[9c35f976](https://git.launchpad.net/cloud-init/commit/?id=9c35f976)\] - logging: Add logging config type hyperv for reporting via Azure KVP \[[2320c3de](https://git.launchpad.net/cloud-init/commit/?id=2320c3de)\] - ~~tests: disable other snap test as well \[[dab59087](https://git.launchpad.net/cloud-init/commit/?id=dab59087)\]~~ - ~~tests: disable snap, fix write_files binary \[[a03ed8bf](https://git.launchpad.net/cloud-init/commit/?id=a03ed8bf)\]~~ - Add datasource Oracle Compute Infrastructure (OCI). \[[aaffd594](https://git.launchpad.net/cloud-init/commit/?id=aaffd594)\] - azure: allow azure to generate network configuration from IMDS per boot. \[[47548df9](https://git.launchpad.net/cloud-init/commit/?id=47548df9)\] - Scaleway: Add network configuration to the DataSource \[[51f49dc1](https://git.launchpad.net/cloud-init/commit/?id=51f49dc1)\] - ~~docs: Fix example cloud-init analyze command to match output. \[[f6249277](https://git.launchpad.net/cloud-init/commit/?id=f6249277)\]~~ - [LP: #1784699](https://pad.lv/#1784699) netplan: Correctly render macaddress on a bonds and bridges when provided. \[[41f508da](https://git.launchpad.net/cloud-init/commit/?id=41f508da)\] - ~~tools: Add 'net-convert' subcommand command to 'cloud-init devel'. \[[a6f95c72](https://git.launchpad.net/cloud-init/commit/?id=a6f95c72)\]~~ - ~~[LP: #1781094](https://pad.lv/#1781094) redhat: remove ssh keys on new instance. \[[e218c597](https://git.launchpad.net/cloud-init/commit/?id=e218c597)\]~~ - [LP: #1784713](https://pad.lv/#1784713) Use typeset or local in profile.d scripts. \[[538af8e6](https://git.launchpad.net/cloud-init/commit/?id=538af8e6)\] - [LP: #1768547](https://pad.lv/#1768547) OpenNebula: Fix null gateway6 \[[01cfa711](https://git.launchpad.net/cloud-init/commit/?id=01cfa711)\] - ~~[LP: #1784685](https://pad.lv/#1784685) oracle: fix detect_openstack to report True on OracleCloud.com DMI data \[[3cee0bf8](https://git.launchpad.net/cloud-init/commit/?id=3cee0bf8)\]~~ - ~~tests: improve LXDInstance trying to workaround or catch bug. \[[361ae34d](https://git.launchpad.net/cloud-init/commit/?id=361ae34d)\]~~ - update_metadata re-config on every boot comments and tests not quite right \[[3146c96a](https://git.launchpad.net/cloud-init/commit/?id=3146c96a)\] - ~~tests: Collect build_info from system if available. \[[6a9e576a](https://git.launchpad.net/cloud-init/commit/?id=6a9e576a)\]~~ - ~~pylint: Fix pylint warnings reported in pylint 2.0.0. \[[2a9d6203](https://git.launchpad.net/cloud-init/commit/?id=2a9d6203)\]~~ - ~~get_linux_distro: add support for rhel via redhat-release. \[[e3e05e76](https://git.launchpad.net/cloud-init/commit/?id=e3e05e76)\]~~ - ~~[LP: #1781229](https://pad.lv/#1781229) get_linux_distro: add support for centos6 and rawhide flavors of redhat \[[d41cc82d](https://git.launchpad.net/cloud-init/commit/?id=d41cc82d)\]~~ - ~~tools: add '--debug' to tools/net-convert.py \[[b07e491d](https://git.launchpad.net/cloud-init/commit/?id=b07e491d)\]~~ - ~~tests: bump the version of paramiko to 2.4.1. \[[90e3ade7](https://git.launchpad.net/cloud-init/commit/?id=90e3ade7)\]~~ Ubuntu SRU cloud-init 06/20/2018 (Xenial, Artful, Bionic) ===== \# obtained from: git log ubuntu/18.3-9-g2e62cb8a-0ubuntu1..HEAD | log2dch - ~~NOTEST: release 18.4 (LP: #1795741)~~ - ~~NOTEST: tests: allow skipping an entire cloud_test without running.~~ - ~~NOTEST: tests: disable lxd tests on cosmic~~ - ~~NOTEST: cii-tests: use unittest2.SkipTest in ntp_chrony due to new deps~~ - lxd: adjust to snap installed lxd. - ~~NOTEST: docs: surface experimental doc in instance-data.json~~ - ~~NOTEST: tests: fix ec2 integration tests. process meta_data instead of meta-data~~ - Add support for Infiniband network interfaces (IPoIB). [Mark Goddard] - cli: add cloud-init query subcommand to query instance metadata - ~~NOTEST: tools/tox-venv: update for new features.~~ - ~~NOTEST: pylint: ignore warning assignment-from-no-return for _write_network~~ - stages: Fix bug causing datasource to have incorrect sys_cfg. (LP: #1787459) - ~~NOTEST: Remove dead-code _write_network distro implementations.~~ - net_util: ensure static configs have netmask in translate_network result [Thomas Berger] (LP: #1792454) - Fall back to root:root on syslog permissions if other options fail. [Robert Schweikert] - ~~NOTEST: tests: Add mock for util.get_hostname. [Robert Schweikert] (LP: #1792799)~~ - ~~NOTEST: ds-identify: doc string cleanup. - OpenStack: Support setting mac address on bond. [Fabian Wiesel] (LP: #1682064) - bash_completion/cloud-init: fix shell syntax error. - EphemeralIPv4Network: Be more explicit when adding default route. (LP: #1792415) - OpenStack: support reading of newer versions of metdata. - OpenStack: fix bug causing 'latest' version to be used from network. (LP: #1792157) - user-data: jinja template to render instance-data.json in cloud-config (LP: #1791781) - config: disable ssh access to a configured user account - ~~NOTEST: tests: print failed testname instead of docstring upon failure~~ - ~~NOTEST: tests: Disallow use of util.subp except for where needed.~~ - sysconfig: refactor sysconfig to accept distro specific templates paths - ~~NOTEST: Add unit tests for config/cc_ssh.py [Francis Ginther]~~ - ~~NOTEST: Fix the built-in cloudinit/tests/helpers:skipIf~~ - read-version: enhance error message [Joshua Powers] - hyperv_reporting_handler: simplify threaded publisher - VMWare: Fix a network config bug in vm with static IPv4 and no gateway. [Pengpeng Sun] (LP: #1766538) - logging: Add logging config type hyperv for reporting via Azure KVP [Andy Liu] - ~~NOTEST: tests: disable other snap test as well [Joshua Powers]~~ - ~~NOTEST: tests: disable snap, fix write_files binary [Joshua Powers]~~ - Add oracle datasource to debian/cloud-init.templates - Add datasource Oracle Compute Infrastructure (OCI). - azure: allow azure to generate network configuration from IMDS per boot. - Scaleway: Add network configuration to the DataSource [Louis Bouchard] - ~~NOTEST: docs: Fix example cloud-init analyze command to match output.~~ [Wesley Gao] - netplan: Correctly render macaddress on a bonds and bridges when provided. (LP: #1784699) - tools: Add 'net-convert' subcommand command to 'cloud-init devel'. - ~~NOTEST: redhat: remove ssh keys on new instance. (LP: #1781094)~~ - Use typeset or local in profile.d scripts. (LP: #1784713) - OpenNebula: Fix null gateway6 [Akihiko Ota] (LP: #1768547) - oracle: fix detect_openstack to report True on OracleCloud.com DMI data (LP: #1784685) - ~~NOTEST: tests: improve LXDInstance trying to workaround or catch bug.~~ - update_metadata re-config on every boot comments and tests not quite right [Mike Gerdts] - ~~NOTEST: tests: Collect build_info from system if available.~~ - ~~NOTEST: pylint: Fix pylint warnings reported in pylint 2.0.0.~~ - get_linux_distro: add support for rhel via redhat-release. - get_linux_distro: add support for centos6 and rawhide flavors of redhat (LP: #1781229) - ~~NOTEST: tools: add '--debug' to tools/net-convert.py~~ - ~~NOTEST: tests: bump the version of paramiko to 2.4.1.~~ Ubuntu SRU cloud-init 06/20/2018 (Xenial, Artful, Bionic) ===== \# obtained from Changelog [SRU Bug 1777912](https://bugs.launchpad.net/bugs/1777912) - ~~NOTEST: update changelog: remove refresh of added patch \[[bea500a3](https://git.launchpad.net/cloud-init/commit/?id=bea500a3)\] - ~~NOTEST: releasing cloud-init version 18.3-0ubuntu1~16.04.1 \[[5aece632](https://git.launchpad.net/cloud-init/commit/?id=5aece632)\] - ~~NOTEST: update changelog (New upstream release 18.3). \[[c6cb766c](https://git.launchpad.net/cloud-init/commit/?id=c6cb766c)\] - ~~NOTEST: refresh patches against master commit 2d6e4219 \[[606f75aa](https://git.launchpad.net/cloud-init/commit/?id=606f75aa)\] - ~~NOTEST: merge from master at 18.3 \[[ba53ceb5](https://git.launchpad.net/cloud-init/commit/?id=ba53ceb5)\] - ~~NOTEST: changelog update \[[7d1e8976](https://git.launchpad.net/cloud-init/commit/?id=7d1e8976)\] - ~~Fallback network config instead of network_data.json for OpenStack \[[b4e77335](https://git.launchpad.net/cloud-init/commit/?id=b4e77335)\]~~ - ~~OpenStack manual test: Xenial, Artful, Bionic~~ - ~~NOTEST: [LP: #1777743](https://pad.lv/#1777743) release 18.3 \[[2d6e4219](https://git.launchpad.net/cloud-init/commit/?id=2d6e4219)\] - ~~NOTEST: docs: represent sudo:false in docs for user_groups config module \[[a670eb81](https://git.launchpad.net/cloud-init/commit/?id=a670eb81)\] - [LP: #1771468](https://pad.lv/#1771468) Explicitly prevent `sudo` access for user module \[[4d69fb44](https://git.launchpad.net/cloud-init/commit/?id=4d69fb44)\] - lxd, manual test - [LP: #1776958](https://pad.lv/#1776958) lxd: Delete default network and detach device if lxd-init created them. \[[4ce67201](https://git.launchpad.net/cloud-init/commit/?id=4ce67201)\] - lxd, manual test - ~~[LP: #1776701](https://pad.lv/#1776701) openstack: avoid unneeded metadata probe on non-openstack platforms \[[1efa8a0a](https://git.launchpad.net/cloud-init/commit/?id=1efa8a0a)\]~~ - ~~[LP: #1770462](https://pad.lv/#1770462) stages: fix tracebacks if a module stage is undefined or empty \[[fef2616b](https://git.launchpad.net/cloud-init/commit/?id=fef2616b)\]~~ - ~~lxd, manual test remove all config_modules from cloud.cfg~~ - [LP: #1768600](https://pad.lv/#1768600) Be more safe on string/bytes when writing multipart user-data to disk. \[[faa6f07e](https://git.launchpad.net/cloud-init/commit/?id=faa6f07e)\] - lxd, manual test - [LP: #1775371](https://pad.lv/#1775371) Fix get_proc_env for pids that have non-utf8 content in environment. \[[17137861](https://git.launchpad.net/cloud-init/commit/?id=17137861)\] - ~~NOTEST: tests: fix salt_minion integration test on bionic and later \[[27283c31](https://git.launchpad.net/cloud-init/commit/?id=27283c31)\] - ~~NOTEST: tests: provide human-readable integration test summary when --verbose \[[d0f6c460](https://git.launchpad.net/cloud-init/commit/?id=d0f6c460)\] - ~~NOTEST: tests: skip chrony integration tests on lxd running artful or older \[[5ffcb511](https://git.launchpad.net/cloud-init/commit/?id=5ffcb511)\] - ~~NOTEST: test: add optional --preserve-instance arg to integraiton tests \[[7b3c2161](https://git.launchpad.net/cloud-init/commit/?id=7b3c2161)\] - [LP: #1774666](https://pad.lv/#1774666) netplan: fix mtu if provided by network config for all rendered types \[[c3f1ad9a](https://git.launchpad.net/cloud-init/commit/?id=c3f1ad9a)\] - kvm: manual test - ~~NOTEST: tests: remove pip install workarounds for pylxd, take upstream fix. \[[fc23ccc9](https://git.launchpad.net/cloud-init/commit/?id=fc23ccc9)\] - subp: support combine_capture argument. \[[9a41fce0](https://git.launchpad.net/cloud-init/commit/?id=9a41fce0)\] - ~~NOTEST: tests: ordered tox dependencies for pylxd install \[[4c568f22](https://git.launchpad.net/cloud-init/commit/?id=4c568f22)\] - ~~NOTEST: update changelog \[[b6562857](https://git.launchpad.net/cloud-init/commit/?id=b6562857)\] - [LP: #1770712](https://pad.lv/#1770712) debian/rules: update version.version_string to contain packaged version. \[[525a9e8f](https://git.launchpad.net/cloud-init/commit/?id=525a9e8f)\] - bugs/lp-1770712.txt - [LP: #1745235](https://pad.lv/#1745235) util: add get_linux_distro function to replace platform.dist \[[bbcc5e82](https://git.launchpad.net/cloud-init/commit/?id=bbcc5e82)\] - lxd: manual test - ~~NOTEST: pyflakes: fix unused variable references identified by pyflakes 2.0.0. \[[4ba4639b](https://git.launchpad.net/cloud-init/commit/?id=4ba4639b)\] - ~~NOTEST: Do not use the systemd_prefix macro, not available in this environment \[[ae02c367](https://git.launchpad.net/cloud-init/commit/?id=ae02c367)\] - ~~NOTEST: doc: Add config info to ec2, openstack and cloudstack datasource docs \[[f1cff69c](https://git.launchpad.net/cloud-init/commit/?id=f1cff69c)\] - ~~NOTIFY AUTHOR: [LP: #1763512](https://pad.lv/#1763512) Enable SmartOS network metadata to work with netplan via per-subnet routes \[[3f99f4ab](https://git.launchpad.net/cloud-init/commit/?id=3f99f4ab)\] - ~~[LP: #1749717](https://pad.lv/#1749717) openstack: Allow discovery in init-local using dhclient in a sandbox. \[[cd1de5f4](https://git.launchpad.net/cloud-init/commit/?id=cd1de5f4)\]~~ - ~~manual openstack test~~ - ~~NOTEST: [LP: #1771659](https://pad.lv/#1771659) tests: Avoid using https in httpretty, improve HttPretty test case. \[[12799d96](https://git.launchpad.net/cloud-init/commit/?id=12799d96)\] - yaml_load/schema: Add invalid line and column nums to error message \[[3b28bdc6](https://git.launchpad.net/cloud-init/commit/?id=3b28bdc6)\] - manual lxd test - Azure: Ignore NTFS mount errors when checking ephemeral drive \[[aa4eeb80](https://git.launchpad.net/cloud-init/commit/?id=aa4eeb80)\] - ~~NOTEST: packages/brpm: Get proper dependencies for cmdline distro. \[[32c485bd](https://git.launchpad.net/cloud-init/commit/?id=32c485bd)\] - ~~NOTEST: packages: Make rpm spec files patch in package version like in debs. \[[2ab89604](https://git.launchpad.net/cloud-init/commit/?id=2ab89604)\] - ~~NOTEST: tools/run-container: replace tools/run-centos with more generic. \[[a821cde1](https://git.launchpad.net/cloud-init/commit/?id=a821cde1)\] - ~~NOTEST: [LP: #1770712](https://pad.lv/#1770712) Update version.version_string to contain packaged version. \[[5446c788](https://git.launchpad.net/cloud-init/commit/?id=5446c788)\] - cc_mounts: Do not add devices to fstab that are already present. \[[529d48f6](https://git.launchpad.net/cloud-init/commit/?id=529d48f6)\] - [LP: #1771382](https://pad.lv/#1771382) ds-identify: ensure that we have certain tokens in PATH. \[[b4ae0e1f](https://git.launchpad.net/cloud-init/commit/?id=b4ae0e1f)\] - ~~NOTEST: tests: enable Ubuntu Cosmic in integration tests \[[327af4a7](https://git.launchpad.net/cloud-init/commit/?id=327af4a7)\] - ~~NOTEST: drop cherry picks. \[[b7cca5fa](https://git.launchpad.net/cloud-init/commit/?id=b7cca5fa)\] - read_file_or_url: move to url_helper, fix bug in its FileResponse. \[[30e730f7](https://git.launchpad.net/cloud-init/commit/?id=30e730f7)\] - ~~NOTEST: cloud_tests: help pylint \[[2dab7046](https://git.launchpad.net/cloud-init/commit/?id=2dab7046)\] - ~~NOTEST: flake8: fix flake8 errors in previous commit. \[[13f7f4e8](https://git.launchpad.net/cloud-init/commit/?id=13f7f4e8)\] - ~~NOTEST: typos: Fix spelling mistakes in cc_mounts.py log messages \[[c2494322](https://git.launchpad.net/cloud-init/commit/?id=c2494322)\] - ~~NOTEST: tests: restructure SSH and initial connections \[[589b542b](https://git.launchpad.net/cloud-init/commit/?id=589b542b)\] - ~~NOTIFY AUTHOR: ds-identify: recognize container-other as a container, test SmartOS. \[[0d7ee559](https://git.launchpad.net/cloud-init/commit/?id=0d7ee559)\] - [LP: #1767131](https://pad.lv/#1767131) cloud-config.service: run After snap.seeded.service. \[[d5374bba](https://git.launchpad.net/cloud-init/commit/?id=d5374bba)\] - manual ec2: journalctl -o short-monotonic -b -u *.service - ~~NOTEST: [LP: #1769952](https://pad.lv/#1769952) tests: do not rely on host /proc/cmdline in test_net.py \[[3b712fce](https://git.launchpad.net/cloud-init/commit/?id=3b712fce)\] - ~~NOTEST: ds-identify: Remove dupe call to is_ds_enabled, improve debug message. \[[bde30070](https://git.launchpad.net/cloud-init/commit/?id=bde30070)\] - ~~NOTIFY AUTHOR: SmartOS: fix get_interfaces for nics that do not have addr_assign_type. \[[23a84d2c](https://git.launchpad.net/cloud-init/commit/?id=23a84d2c)\] - ~~NOTEST: [LP: #1769985](https://pad.lv/#1769985) tests: fix package and ca_cert cloud_tests on bionic \[[323eb309](https://git.launchpad.net/cloud-init/commit/?id=323eb309)\] - ds-identify: make shellcheck 0.4.6 happy with ds-identify. \[[4c1af5c7](https://git.launchpad.net/cloud-init/commit/?id=4c1af5c7)\] - ~~NOTEST pycodestyle: Fix deprecated string literals, move away from flake8. \[[80dfb3b0](https://git.launchpad.net/cloud-init/commit/?id=80dfb3b0)\] - [LP: #1765214](https://pad.lv/#1765214) azure: Add reported ready marker file. \[[aae494c3](https://git.launchpad.net/cloud-init/commit/?id=aae494c3)\] - manual azure test - ~~NOTEST: tools: Support adding a release suffix through packages/bddeb. \[[d24057ad](https://git.launchpad.net/cloud-init/commit/?id=d24057ad)\] - ~~NOTIFY AUTHOR: [LP: #1404745](https://pad.lv/#1404745) FreeBSD: Invoke growfs on ufs filesystems such that it does not prompt. \[[fed07fc6](https://git.launchpad.net/cloud-init/commit/?id=fed07fc6)\] - ~~NOTEST: tools: Re-use the orig tarball in packages/bddeb if it is around. \[[26fbb1a0](https://git.launchpad.net/cloud-init/commit/?id=26fbb1a0)\] - ~~NOTEST: [LP: #1766302](https://pad.lv/#1766302) netinfo: fix netdev_pformat when a nic does not have an address assigned. \[[14cb4924](https://git.launchpad.net/cloud-init/commit/?id=14cb4924)\] - [LP: #1766335](https://pad.lv/#1766335) collect-logs: add -v flag, write to stderr, limit journal to single boot. \[[9f5907e1](https://git.launchpad.net/cloud-init/commit/?id=9f5907e1)\] - manual lxd test - [LP: #1766401](https://pad.lv/#1766401) IBMCloud: Disable config-drive and nocloud only if IBMCloud is enabled. \[[11172924](https://git.launchpad.net/cloud-init/commit/?id=11172924)\] - manual softlayer test - Add reporting events and log_time around early source of blocking time \[[4bd5870f](https://git.launchpad.net/cloud-init/commit/?id=4bd5870f)\] - manual tests: grep 'setting up datasource' /var/log/cloud-init.log - [LP: #1767166](https://pad.lv/#1767166) IBMCloud: recognize provisioning environment during debug boots. \[[6ef92c98](https://git.launchpad.net/cloud-init/commit/?id=6ef92c98)\] - manual softlayer test - [LP: #1766287](https://pad.lv/#1766287) net: detect unstable network names and trigger a settle if needed \[[4731c8da](https://git.launchpad.net/cloud-init/commit/?id=4731c8da)\] - egrep -i 'stable|udev' /var/log/cloud-init.log - ~~NOTEST: IBMCloud: improve documentation in datasource. \[[b73559e2](https://git.launchpad.net/cloud-init/commit/?id=b73559e2)\] - ~~NOTEST: sysconfig: dhcp6 subnet type should not imply dhcpv4 \[[a57928d3](https://git.launchpad.net/cloud-init/commit/?id=a57928d3)\] - [LP: #1766711](https://pad.lv/#1766711) packages/debian/control.in: add missing dependency on iproute2. \[[00d7b9c5](https://git.launchpad.net/cloud-init/commit/?id=00d7b9c5)\] - manual lxd/ec2: apt-cache showpkg | grep iproute2 - ~~NOTIFY AUTHOR [LP: #1746605](https://pad.lv/#1746605) DataSourceSmartOS: add locking of serial device. \[[4ed16459](https://git.launchpad.net/cloud-init/commit/?id=4ed16459)\] - ~~NOTIFY AUTHOR [LP: #1765085](https://pad.lv/#1765085) DataSourceSmartOS: sdc:hostname is ignored \[[23479881](https://git.launchpad.net/cloud-init/commit/?id=23479881)\] - ~~NOTIFY AUTHOR: [LP: #1763480](https://pad.lv/#1763480) DataSourceSmartOS: list() should always return a list \[[8e111502](https://git.launchpad.net/cloud-init/commit/?id=8e111502)\] - ~~NOTEST: schema: in validation, raise ImportError if strict but no jsonschema. \[[5037252c](https://git.launchpad.net/cloud-init/commit/?id=5037252c)\] - [LP: #1677205](https://pad.lv/#1677205) set_passwords: Add newline to end of sshd config, only restart if updated. \[[4952a854](https://git.launchpad.net/cloud-init/commit/?id=4952a854)\] - manual lxd test - ~~NOTEST: pylint: pay attention to unused variable warnings. \[[1081962e](https://git.launchpad.net/cloud-init/commit/?id=1081962e)\] - ~~NOTEST: doc: Add documentation for AliYun datasource. \[[53f3f551](https://git.launchpad.net/cloud-init/commit/?id=53f3f551)\] - [LP: #1764264](https://pad.lv/#1764264) Schema: do not warn on duplicate items in commands. \[[6811926f](https://git.launchpad.net/cloud-init/commit/?id=6811926f)\] - manual lxd test - net: Depend on iproute2's ip instead of net-tools ifconfig or route \[[6d48d265](https://git.launchpad.net/cloud-init/commit/?id=6d48d265)\] - manual lxd test - ~~NOTIFY AUTHOR: \[[025ddc03](https://git.launchpad.net/cloud-init/commit/?id=025ddc03)\] - ~~NOTEST: pycodestyle: Fix invalid escape sequences in string literals. \[[acca826a](https://git.launchpad.net/cloud-init/commit/?id=acca826a)\] - Implement bash completion script for cloud-init command line \[[6a979bb2](https://git.launchpad.net/cloud-init/commit/?id=6a979bb2)\] - manual lxd test - ~~NOTEST: tools: Fix make-tarball cli tool usage for development \[[49b562c9](https://git.launchpad.net/cloud-init/commit/?id=49b562c9)\] - renderer: support unicode in render_from_file. \[[4b86ab9a](https://git.launchpad.net/cloud-init/commit/?id=4b86ab9a)\] - manual lxd test - [LP: #1749722](https://pad.lv/#1749722) Implement ntp client spec with auto support for distro selection \[[c6dff581](https://git.launchpad.net/cloud-init/commit/?id=c6dff581)\] - manual lxd test - Apport: add Brightbox, IBM, LXD, and OpenTelekomCloud to list of clouds. \[[0f774561](https://git.launchpad.net/cloud-init/commit/?id=0f774561)\] - manual lxd test - ~~NOTEST: tests: fix ec2 integration network metadata validation \[[01ff5c2e](https://git.launchpad.net/cloud-init/commit/?id=01ff5c2e)\] Ubuntu SRU cloud-init 04-27-2018 (Bionic) 18.2.14 -> 18.2.27 ===== \# obtained using the following: \# git checkout master \# git log 6d48d265a0548a2dc23e587f2a335d4e38e8db90..HEAD | log2dch - ~~[LP: #1766711](https://bugs.launchpad.net/bugs/1766711) debian/control: add missing dependency on iproute2.~~[verified](http://paste.ubuntu.com/p/fksJwYjFVZ/) has iproute2 - ~~[LP: #1766714](https://bugs.launchpad.net/bugs/1766714) debian/control: add missing dependency on isc-dhcp-client.~~[verified](http://paste.ubuntu.com/p/fksJwYjFVZ/) has isc-dhcp-client - IBMCloud: recognize provisioning environment during debug boots. (LP: #1767166) - launch-softlayer, update to proposed, cloud-init clean --logs --reboot - net: detect unstable network names and trigger a settle if needed [Ryan Harper] (LP: #1766287) - during manual tests on clouds cloud-init analyze to confirm not huge slowdown in boot, grep 'Found unstable nic names' /var/log/cloud-init.log - ~~[NOTEST] IBMCloud: improve documentation in datasource.~~ - sysconfig: dhcp6 subnet type should not imply dhcpv4 [Vitaly Kuznetsov] - ~~[NOTEST] packages/debian/control.in: add missing dependency on iproute2.~~ ~~(LP: #1766711)~~ - DataSourceSmartOS: add locking of serial device. [Mike Gerdts] (LP: #1746605) - DataSourceSmartOS: sdc:hostname is ignored [Mike Gerdts] (LP: #1765085) - DataSourceSmartOS: list() should always return a list [Mike Gerdts] (LP: #1763480) - [TEST] schema: in validation, raise ImportError if strict but no jsonschema. - [TEST] set_passwords: Add newline to end of sshd config, only restart if updated. (LP: #1677205) - Validate behvior of sshd w/ restart to ensure we can access the machine w/ correct config - ~~NOTEST: pylint: pay attention to unused variable warnings.~~ - ~~NOTEST doc: Add documentation for AliYun datasource. [Junjie Wang]~~ - [TEST] Schema: do not warn on duplicate items in commands. (LP: #1764264) - test in lxc cloud-init devel schema test Ubuntu SRU cloud-init 03-27-2018 (Xenial/Artful) ===== \# obtained on ubuntu/devel branch using the following: \# sru-changelog-to-trello.py -c debian/changelog --num-sections 9 - ~~NOTEST [LP: #1420018](http://pad.lv/1420018) correct documentation to match correct attribute name usage. [Dominic Schlegel]~~ - ~~NOTEST [LP: #1721660](http://pad.lv/1721660) doc: Fix links in OpenStack datasource documentation. [Dominic Schlegel]~~ - ~~NOTEST [LP: #1759318](http://pad.lv/1759318) release 18.2~~ - ~~NOTEST [LP: #1759307](http://pad.lv/1759307) Add missing dependency on isc-dhcp-client to trunk ubuntu packaging.~~ - ~~TEST (rharper) [LP: #1721243](http://pad.lv/1721243) FreeBSD: resizefs module now able to handle zfs/zpool. [Dominic Schlegel]~~ - ~~TEST (blackboxsw) [LP: #1752977](http://pad.lv/1752977) Reduce AzurePreprovisioning HTTP timeouts. [Douglas Jordan]~~ - ~~Need a separate bug verification of this behavior on azure as it also touches recent exception_cb changes.~~ - ~~MANUALTEST (ec2, openstack) [LP: #1702160](http://pad.lv/1702160) [LP: #1298921](http://pad.lv/1298921) Revert the logic of exception_cb in read_url. [Kurt Garloff]~~ - ~~Can validate this on ec2 by adding a non-existent extended_metadata_versions item to DataSourceEc2.py. Polling will hit it and should giveup after 1 attempt on 404.~~ - Need some coverage on openstack here - ~~TEST (rharper) [LP: #1750884](http://pad.lv/1750884) Handle global dns entries in netplan~~ - ~~NOTIFY AUTHOR: [LP: #1756471](http://pad.lv/1756471) Identify OpenTelekomCloud Xen as OpenStack DS. [Kurt Garloff]~~ - ~~Add comment on bug for the author to test if desired~~ - - ~~MANUALTEST [LP: #1757176](http://pad.lv/1757176) datasources: fix DataSource subclass get_hostname method signature~~ - ~~Validated on GCE manual test w/ a grep hostname~~ - [LP: #1752391](http://pad.lv/1752391) net: recognize iscsi root cases without ip= on kernel command line. - ~~TEST (rharper) [LP: #1735821](http://pad.lv/1735821) netplan: render bridge port-priority values~~ - ~~NOTEST:[LP: #1755965](http://pad.lv/1755965) util: Fix subp regression. Allow specifying subp command as a string.~~ - ~~Our Traceback grep of /var/log/cloud-init.log would see this in manual tests~~ - ~~NOTEST: [LP: #1754495](http://pad.lv/1754495) This commit fixes get_hostname on the AzureDataSource. [Douglas Jordan]~~ - ~~Our Traceback grep of /var/log/cloud-init.log covers this in Azure~~ - ~~[LP: #1751051](http://pad.lv/1751051) subp: Fix subp usage with non-ascii characters when no system locale.~~ - ~~NOTEST: [LP: #1753499](http://pad.lv/1753499) FreeBSD: Set hostname to FQDN. [Dominic Schlegel]~~ - ~~FreeBSD path only~~ - ~~MANUALTEST(gce/ec2/azure/vsphere) LP: #1746455](http://pad.lv/1746455) set_hostname: When present in metadata, set it before network bringup.~~ - ~~testcase: grep hostname /var/log/cloud-init.log to see a set with metadata content and a set again with user-data provided meta-data~~ - ~~[LP: #1721503](http://pad.lv/1721503) Make salt minion module work on FreeBSD. [Dominic Schlegel]~~ - ~~MANUALTEST: [LP: #1752711](http://pad.lv/1752711) GCE: fix reading of user-data that is not base64 encoded.~~ - ~~Covered by GCE-manual grep user-data /run/cloud-init/instance-data.json # Don't see user-data: None~~ - ~~TEST(bbsw) [LP: #1446804](http://pad.lv/1446804) Implement puppet 4 support [Romanos Skiadas]~~ - ~~Test with lxc #cloud-config deployment~~ - ~~[LP: #1751145](http://pad.lv/1751145) release 18.1~~ - TEST (vSphere maybe?) [LP: #1749980](http://pad.lv/1749980) ds-identify: Fix searching for iso9660 OVF cdroms. - [LP: #1747070](http://pad.lv/1747070) ds-identify: check /writable/system-data/ for nocloud seed. - ~~NOTEST [LP: #1745663](http://pad.lv/1745663) tests: add support for logs with lxd from snap and future lxd 3.~~ Ubuntu SRU cloud-init 17.2-30-g7axx9e86 02-02-2018 (Xenial/Artful) ===== - ~~docs: Update RTD content for cloud-init subcommands. \[[f7deaf15](https://git.launchpad.net/cloud-init/commit/?id=f7deaf15)\]~~ - ~~[LP: #1698669](https://pad.lv/#1698669) OVF: Extend well-known labels to include OVFENV. \[[5e5dc973](https://git.launchpad.net/cloud-init/commit/?id=5e5dc973)\]~~ - ~~[LP: #1744796](https://pad.lv/#1744796) Fix potential cases of uninitialized variables. \[[1d8c3271](https://git.launchpad.net/cloud-init/commit/?id=1d8c3271)\]~~ ~~- tests: Collect script output as binary, collect systemd journal, fix lxd. \[[bc84f502](https://git.launchpad.net/cloud-init/commit/?id=bc84f502)\]~~ - ~~HACKING.rst: mention setting user name and email via git config. \[[bccee93d](https://git.launchpad.net/cloud-init/commit/?id=bccee93d)\]~~ - [LP: #1734991](https://pad.lv/#1734991) Azure VM Preprovisioning support. \[[c03bdd3d](https://git.launchpad.net/cloud-init/commit/?id=c03bdd3d)\] - ~~tools/read-version: Fix read-version when in a git worktree. \[[30597f28](https://git.launchpad.net/cloud-init/commit/?id=30597f28)\]~~ - ~~docs: Fix typos in docs and one debug message. \[[df182de4](https://git.launchpad.net/cloud-init/commit/?id=df182de4)\]~~ - ~~[LP: #1734787](https://pad.lv/#1734787) btrfs: support resizing if root is mounted ro. \[[b28ab780](https://git.launchpad.net/cloud-init/commit/?id=b28ab780)\]~~ - [PING AUTHOR] [LP: #1719157](https://pad.lv/#1719157),[LP: #1716397](https://pad.lv/#1716397),[LP: #1736750](https://pad.lv/#1736750) OpenNebula: Improve network configuration support. \[[8a942142](https://git.launchpad.net/cloud-init/commit/?id=8a942142)\] - ~~tests: Fix EC2 Platform to return console output as bytes. \[[32a6a176](https://git.launchpad.net/cloud-init/commit/?id=32a6a176)\]~~ - ~~tests: Fix attempted use of /run in a test case. \[[ccbe7f6e](https://git.launchpad.net/cloud-init/commit/?id=ccbe7f6e)\]~~ - [PING AUTHOR] [LP: #1670456](https://pad.lv/#1670456),[LP: #1707033](https://pad.lv/#1707033),[LP: #1707037](https://pad.lv/#1707037),[LP: #1707039](https://pad.lv/#1707039) GCE: Improvements and changes to ssh key behavior for default user. \[[2d781c6a](https://git.launchpad.net/cloud-init/commit/?id=2d781c6a)\] - ~~subp: make ProcessExecutionError have expected types in stderr, stdout. \[[183d5785](https://git.launchpad.net/cloud-init/commit/?id=183d5785)\]~~ - ~~tests: when querying ntp server, do not do dns resolution. \[[c02a4d4c](https://git.launchpad.net/cloud-init/commit/?id=c02a4d4c)\]~~ - [PING AUTHOR] [LP: #1742479](https://pad.lv/#1742479) Do not log warning on config files that represent None. \[[6299e8d0](https://git.launchpad.net/cloud-init/commit/?id=6299e8d0)\] - ~~tests: Use git hash pip dependency format for pylxd. \[[78372f16](https://git.launchpad.net/cloud-init/commit/?id=78372f16)\]~~ - ~~tests: add integration requirements text file \[[765d2a7e](https://git.launchpad.net/cloud-init/commit/?id=765d2a7e)\]~~ - [LP: #1712680](https://pad.lv/#1712680) MAAS: add check_instance_id based off oauth tokens. \[[5f550420](https://git.launchpad.net/cloud-init/commit/?id=5f550420)\] - ~~tests: update apt sources list test \[[df24daa8](https://git.launchpad.net/cloud-init/commit/?id=df24daa8)\]~~ - ~~tests: clean up image properties \[[72270e8c](https://git.launchpad.net/cloud-init/commit/?id=72270e8c)\]~~ - ~~tests: rename test ssh keys to avoid appearance of leaking private keys. \[[f794708f](https://git.launchpad.net/cloud-init/commit/?id=f794708f)\]~~ - ~~tests: Enable AWS EC2 Integration Testing \[[34595e9b](https://git.launchpad.net/cloud-init/commit/?id=34595e9b)\]~~ - [LP: #1741093](https://pad.lv/#1741093) cli: cloud-init clean handles symlinks \[[0b5bacb1](https://git.launchpad.net/cloud-init/commit/?id=0b5bacb1)\] - ~~SUSE: Add a basic test of network config rendering. \[[25ddc98e](https://git.launchpad.net/cloud-init/commit/?id=25ddc98e)\]~~ - [LP: #1722668](https://pad.lv/#1722668) Azure: Only bounce network when necessary. \[[b05b9972](https://git.launchpad.net/cloud-init/commit/?id=b05b9972)\] - ~~lint: Fix lints seen by pylint version 1.8.1. \[[c6a6f59e](https://git.launchpad.net/cloud-init/commit/?id=c6a6f59e)\]~~ - ~~[LP: #1736600](https://pad.lv/#1736600) cli: Fix error in cloud-init modules --mode=init. \[[4089e20c](https://git.launchpad.net/cloud-init/commit/?id=4089e20c)\]~~ - ~~release 17.2 \[[c87588bf](https://git.launchpad.net/cloud-init/commit/?id=c87588bf)\]~~ - [LP: #1737704](https://pad.lv/#1737704) ds-identify: failure in NoCloud due to unset variable usage. \[[a30a3bb5](https://git.launchpad.net/cloud-init/commit/?id=a30a3bb5)\] - ~~tests: fix collect_console when not implemented \[[b63ee73d](https://git.launchpad.net/cloud-init/commit/?id=b63ee73d)\]~~ - [PING AUTHOR] ec2: Use instance-identity doc for region and instance-id \[[703241a3](https://git.launchpad.net/cloud-init/commit/?id=703241a3)\] - ~~tests: remove leaked tmp files in config drive tests. \[[bd0ffd1e](https://git.launchpad.net/cloud-init/commit/?id=bd0ffd1e)\]~~ - ~~setup.py: Do not include rendered files in SOURCES.txt \[[8f162b66](https://git.launchpad.net/cloud-init/commit/?id=8f162b66)\]~~ - ~~SUSE: remove delta in systemd local template for SUSE \[[022e8688](https://git.launchpad.net/cloud-init/commit/?id=022e8688)\]~~ - ~~tests: move to using tox 1.7.5 \[[1d1c3129](https://git.launchpad.net/cloud-init/commit/?id=1d1c3129)\]~~ - [LP: #1731868](https://pad.lv/#1731868) OVF: improve ds-identify to support finding OVF iso transport. \[[a5dc0f42](https://git.launchpad.net/cloud-init/commit/?id=a5dc0f42)\] - [PING AUTHOR] VMware: Support for user provided pre and post-customization scripts \[[ce33e423](https://git.launchpad.net/cloud-init/commit/?id=ce33e423)\] - ~~citest: In NoCloudKVM provide keys via metadata not userdata. \[[05b2308a](https://git.launchpad.net/cloud-init/commit/?id=05b2308a)\]~~ - ~~pylint: Update pylint to 1.7.1, run on tests/ and tools and fix complaints. \[[a110e483](https://git.launchpad.net/cloud-init/commit/?id=a110e483)\]~~ - Datasources: Formalize DataSource get_data and related properties. \[[0cf6db36](https://git.launchpad.net/cloud-init/commit/?id=0cf6db36)\] - cli: Add clean and status subcommands \[[30b4d157](https://git.launchpad.net/cloud-init/commit/?id=30b4d157)\] - ~~tests: consolidate platforms into specific dirs \[[47016791](https://git.launchpad.net/cloud-init/commit/?id=47016791)\]~~ Ubuntu SRU cloud-init 17.1-46-g7acc9e68 12-01-2017 (Xenial/Zesty/Artful) ===== > [name=Scott Moser] git log ubuntu/17.1-41-g76243487-0ubuntu1_16.04.1..7acc9e68 | log2dch --hackio - [LP: #1735331](https://pad.lv/#1735331) ec2: Fix sandboxed dhclient background process cleanup. \[[7acc9e68](https://git.launchpad.net/cloud-init/commit/?id=7acc9e68)\] - tests: NoCloudKVMImage do not modify the original local cache image. \[[88368f98](https://git.launchpad.net/cloud-init/commit/?id=88368f98)\] - tests: Enable bionic in integration tests. \[[4964fb38](https://git.launchpad.net/cloud-init/commit/?id=4964fb38)\] - tests: Use apt-get to install a deb so that depends get resolved. \[[9ac735bb](https://git.launchpad.net/cloud-init/commit/?id=9ac735bb)\] - [LP: #1705804](https://pad.lv/#1705804) sysconfig: Correctly render dns and dns search info. \[[bbe91cdc](https://git.launchpad.net/cloud-init/commit/?id=bbe91cdc)\] Ubuntu SRU cloud-init 17.1.41-g76243487 11-21-2017 (Xenial/Zesty/Artful) ===== Metabug [LP: #1733653](https://pad.lv/1733653) - [LP: #1728186](https://pad.lv/#1728186) debian/cloud-init.templates: Fix capitilazation in 'AliYun' name. \[[c9c7ff70](https://git.launchpad.net/cloud-init/commit/?id=c9c7ff70)\] - [LP: #1732917](https://pad.lv/#1732917) EC2: Fix bug using fallback_nic and metadata when restoring from cache. \[[281a8218](https://git.launchpad.net/cloud-init/commit/?id=281a8218)\] - [LP: #1732964](https://pad.lv/#1732964) EC2: Kill dhclient process used in sandbox dhclient. \[[d3a0958c](https://git.launchpad.net/cloud-init/commit/?id=d3a0958c)\] - [LP: #1726572](https://pad.lv/#1726572) ntp: fix configuration template rendering for openSUSE and SLES \[[d90318b2](https://git.launchpad.net/cloud-init/commit/?id=d90318b2)\] - [LP: #1731022](https://pad.lv/#1731022) hosts: Fix openSUSE and SLES setup for /etc/hosts and clarify docs. \[[22a14a6a](https://git.launchpad.net/cloud-init/commit/?id=22a14a6a)\] - [LP: #1731035](https://pad.lv/#1731035) Improve warning message when a template is not found. \[[420c3452](https://git.launchpad.net/cloud-init/commit/?id=420c3452)\] - [LP: #1721579](https://pad.lv/#1721579) Azure: don't generate network configuration for SRIOV devices \[[8c2caad4](https://git.launchpad.net/cloud-init/commit/?id=8c2caad4)\] - [LP: #1727126](https://pad.lv/#1727126) Gentoo: chmod +x on all files in sysvinit/gentoo/ \[[be8e3d3c](https://git.launchpad.net/cloud-init/commit/?id=be8e3d3c)\] Ubuntu SRU cloud-init 17.1 10-06-2017 (Xenial/Zesty/Artful) ===== - TEST: [cf10a2ff](https://git.launchpad.net/cloud-init/commit/?id=cf10a2ff) [#1462693](http://pad.lv/#1462693) chef: Add option to pin chef omnibus install version see test in [bug 1583837](http://pad.lv/1583837) - TEST: - [afbbd39a](https://git.launchpad.net/cloud-init/commit/?id=afbbd39a) [#1607345](http://pad.lv/#1607345) debian/rules, debian/apport-launche- [afbbd39a](https://git.launchpad.net/cloud-init/commit/?id=afbbd39a) [#1607345](http://pad.lv/#1607345) debian/rules, debian/apport-launcher.py: add an apport hook. lets just install the -proposed package and run ubuntu-bug. File a bug and close it (or at least go lp url). - TEST: [3c45330a](https://git.launchpad.net/cloud-init/commit/?id=3c45330a) [#1639030](http://pad.lv/#1639030) ec2: Add IPv6 dhcp support to Ec2DataSource. launch an instance with ipv6 and without. verify sanity and use of /var/tmp and /run/cloud-init for tempfile operation. [d5f855dd](https://git.launchpad.net/cloud-init/commit/?id=d5f855dd) [#1709772](http://pad.lv/#1709772) ec2: Allow Ec2 to run in init-local using dhclient in a sandbox. - TEST: [89579a68](https://git.launchpad.net/cloud-init/commit/?id=89579a68) [#1712676](http://pad.lv/#1712676) cli: Fix command line parsing of coniditionally loaded subcommands. run cloud-init analyze - SKIP: [512145cd](https://git.launchpad.net/cloud-init/commit/?id=512145cd) [#1663045](http://pad.lv/#1663045) [#1706593](http://pad.lv/#1706593) archlinux: Fix bug with empty dns, do not render 'lo' devices. - SKIP: [a1dfdda2](https://git.launchpad.net/cloud-init/commit/?id=a1dfdda2) [#1675063](http://pad.lv/#1675063) vmware customization: return network config format - TEST: [5bba5db2](https://git.launchpad.net/cloud-init/commit/?id=5bba5db2) [#1686485](http://pad.lv/#1686485) cc_ntp: fallback on timesyncd configuration if ntp is not installable test against regression.. test a ntp config that it does the right thing on Ubuntu. - TEST: [f831a874](https://git.launchpad.net/cloud-init/commit/?id=f831a874) [#1699282](http://pad.lv/#1699282) [#1710932](http://pad.lv/#1710932) cc_landscape & cc_puppet: Fix six.StringIO use in writing configs come up with minimal config to show puppet and landscape, package installed and not fall over with trace. - SKIP: [3395a331](https://git.launchpad.net/cloud-init/commit/?id=3395a331) [#1700091](http://pad.lv/#1700091) Debian: Remove non-free repositories from apt sources template. - SKIP: [56103567](https://git.launchpad.net/cloud-init/commit/?id=56103567) [#1701420](http://pad.lv/#1701420) sysconfig: Dont repeat header when rendering resolv.conf redhat specific path... and a comment, not that important. - SKIP: [409918f9](https://git.launchpad.net/cloud-init/commit/?id=409918f9) [#1707222](http://pad.lv/#1707222) Use /run/cloud-init for tempfile operations. this was hard to catch in a failure. - TEST: [dc2bd799](https://git.launchpad.net/cloud-init/commit/?id=dc2bd799) [#1709180](http://pad.lv/#1709180) network: add v2 passthrough and fix parsing v2 config with bonds/bridge params bug has a test case v2 config, use `net-convert.py` to verify. See [bug 1706752](http://pad.lv/1706752) for example. * SKIP: [af4630c9](https://git.launchpad.net/cloud-init/commit/?id=af4630c9) [#1713760](http://pad.lv/#1713760) url_helper: fail gracefully if oauthlib is not available Oauthlib is listed as explicit package dependency * TEST: [e74d7752](https://git.launchpad.net/cloud-init/commit/?id=e74d7752) [#1709761](http://pad.lv/#1709761) tools: Add tooling for basic cloud-init performance analysis. cloud-init analyze on commandline - SKIP: [1770a1eb](https://git.launchpad.net/cloud-init/commit/?id=1770a1eb) [#1714117](http://pad.lv/#1714117) tests: Stop leaking calls through unmocked metadata addresses - SKIP: [5582e4a2](https://git.launchpad.net/cloud-init/commit/?id=5582e4a2) [#1714376](http://pad.lv/#1714376) tests: mock missed openstack metadata uri network_data.json - TEST: [556a0220](https://git.launchpad.net/cloud-init/commit/?id=556a0220) [#1713158](http://pad.lv/#1713158) Configure logging module to always use UTC time. run a cloud-config that sets timezone and then just look at logs. - SKIP: [922c3c5c] (https://git.launchpad.net/cloud-init/commit/?id=922c3c5c) [#1715128](http://pad.lv/#1715128) Ec2: only attempt to operate at local mode on known platforms. only affects ppc64 openstack platforms on zesty - TEST: [f761f2b5](https://git.launchpad.net/cloud-init/commit/?id=f761f2b5) [#1715738](http://pad.lv/#1715738) [#1715690](http://pad.lv/#1715690) cloud-config modules: honor distros definitions in each module Provide spacewalk #cloud-config in an ubuntu deployment and grep /var/log/cloud-init.log for skipped because invalid distro message for cc_spacewalk - **????**: [dcbb901c](https://git.launchpad.net/cloud-init/commit/?id=dcbb901c) [#1715241](http://pad.lv/#1715241) ds-identify: Make OpenStack return maybe on arch other than intel. not sure what to do. Note that ds-identify runs in warn mode in xenial, so this wouldn't affect there anyway. - SKIP: [da1db792](https://git.launchpad.net/cloud-init/commit/?id=da1db792) [#1717147](http://pad.lv/#1717147) CloudStack: consider dhclient lease files named with a hyphen. unit tests push code through here now, this only failed on RH - SKIP: [a2f8ce9c](https://git.launchpad.net/cloud-init/commit/?id=a2f8ce9c) [#1717477](http://pad.lv/#1717477) Do not provide systemd-fsck drop-in which could cause ordering cycles. this was already tested, not actually new fix in this SRU. - TEST: [10f067d8](https://git.launchpad.net/cloud-init/commit/?id=10f067d8) [#1717598](http://pad.lv/#1717598) GCE: Fix usage of user-data. launch an instance with some user data on GCE verify you can get in. then upgrade, clean and reboot. and verify user-data ran again. - SKIP: [eaadf52b](https://git.launchpad.net/cloud-init/commit/?id=eaadf52b) [#1717611](http://pad.lv/#1717611) Azure: wait longer for SSH pub keys to arrive. request Azure to give us feedback, dont' wait on nit. - TEST: [7fd04255](https://git.launchpad.net/cloud-init/commit/?id=7fd04255) [#1717969](http://pad.lv/#1717969) systemd: remove limit on tasks created by cloud-init-final.service. run a basic user-data script, verify it can spawn a dozen processes. for((i=0;i<10;i++)); do sleep 1 ; kids="${kids} $!"; done for k in "$kids"; do wait $k r=$? [ $r -eq 0 ] || { echo "FAIL: $k returned $r"; exit 1; } done exit 0 - TEST in artful: [9d2a87dc](https://git.launchpad.net/cloud-init/commit/?id=9d2a87dc) [#1718029](http://pad.lv/#1718029) Azure, CloudStack: Support reading dhcp options from systemd-networkd. skip in SRU as this isn't relevant. test in artful. - TEST: [da6562e2](https://git.launchpad.net/cloud-init/commit/?id=da6562e2) [#1718287](http://pad.lv/#1718287) DataSourceOVF: use util.find_devs_with(TYPE=iso9660) testcase exists in bug. even though with 50 volumes attached. - SKIP: [0451a9f6](https://git.launchpad.net/cloud-init/commit/?id=0451a9f6) [#1718640](http://pad.lv/#1718640) suse: updates to templates to support openSUSE and SLES. - SKIP: [243ec59f](https://git.launchpad.net/cloud-init/commit/?id=243ec59f) [#1718649](http://pad.lv/#1718649) suse: Copy sysvinit files from redhat with slight changes. - SKIP: [cc1475d0](https://git.launchpad.net/cloud-init/commit/?id=cc1475d0) [#1718675](http://pad.lv/#1718675) suse: Support addition of zypper repos via cloud-config. suse only. - SKIP: [95cd0fe6](https://git.launchpad.net/cloud-init/commit/?id=95cd0fe6) [#1718681](http://pad.lv/#1718681) debian/copyright: dep5 updates, reorganize, add Apache 2.0 license. - SKIP: [d3204999](https://git.launchpad.net/cloud-init/commit/?id=d3204999) [#1718681](http://pad.lv/#1718681) debian/copyright: dep5 updates, reorganize, add Apache 2.0 license. - SKIP: [57e2e01c](https://git.launchpad.net/cloud-init/commit/?id=57e2e01c) [#1721157](http://pad.lv/#1721157) network: bridge_stp value not always correct unit tests changed due to change, seems good. - TEST: [d4f70470](https://git.launchpad.net/cloud-init/commit/?id=d4f70470) [#1722566](http://pad.lv/#1722566) simpletable: Fix get_string method to return table-formatted string look at console log (or `/var/log/cloud-init-output.log`) it should have the network settings. https://hackmd.io/BwUwrAhgRg7ADFAtMCBOJAWCDHQGwyIBmcAJqiBnhiAExRRA?both - Improve warning message when templates aren't found [Robert Schweikert] (LP: #[1730135](http://pad.lv/1731035/)) - Perform null checks for enabled/disabled Redhat repos [Dave Mulford] - Fix openSUSE and SLES setup of /etc/hosts [Robert Schweikert] (LP: #[1731022](http://pad.lv/1731022/)) - Catch UrlError when #include'ing URLs [Andrew Jorgensen]