summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-12-13cherry pick a9d41deScott Moser
LP: #1648380
2016-12-13debian/cherry-pick: use git format-patch rather than git show.Scott Moser
This makes the patches in debian/patches/ dep3 complaint by using git format-patch rather than 'git show'
2016-12-01releasing package cloud-init version 0.7.8-49-g9e904bb-0ubuntu1~16.04.2Scott Moser
2016-12-01cherry pick 2d2ec70Scott Moser
LP: #1642679
2016-12-01cherry pick 8c6878aScott Moser
LP: #1644043
2016-12-01cherry pick 6e92c5fScott Moser
LP: #1639930
2016-12-01cherry pick 18203bfScott Moser
LP: #1460715
2016-12-01debian/cherry-pick: add cherry picking toolScott Moser
* Add a cherry picking tool. * add support for removing cherry picks to new-upstream-snapshot. * remove bzr version of script debian/cherry-pick-rev
2016-11-18releasing package cloud-init version 0.7.8-49-g9e904bb-0ubuntu1~16.04.1Scott Moser
2016-11-18debian/cloud-init.postinst: update /etc/fstab on Azure instances.Scott Moser
The edit consists of replacing comment=cloudconfig with x-systemd.requires,comment=cloudconfig inside of the 4th (fs_mntops) field in fstab. The edits are carefully safeguarded by checks for: a.) existance of /var/lib/cloud/instance/datasource b.) running on Azure per previous datasource run. c.) existance of /etc/fstab d.) upgrading from sufficiently old version Additionally before any write is done, we check that the new and old fstab file differ. LP: #1611074
2016-11-18update changelog (new upstream snapshot 0.7.8-49-g9e904bb).Scott Moser
2016-11-18merge from master at 0.7.8-49-g9e904bbScott Moser
2016-11-18Add activate_datasource, for datasource specific code paths.Scott Moser
This adds a call to 'activate_datasource'. That will be called during init stage (or init-local in the event of a 'local' dsmode). It is present so that the datasource can do platform specific operations that may be necessary. It is passed the fully rendered cloud-config and whether or not the instance is a new instance. The Azure datasource uses this to address formatting of the ephemeral devices. It does so by a.) waiting for the device to come online b.) removing the marker files for the disk_setup and mounts modules if it finds that the ephemeral device has been reset. LP: #1611074
2016-11-15releasing package cloud-init version 0.7.8-47-gb6561a1-0ubuntu1~16.04.1Scott Moser
2016-11-15update changelog (new upstream snapshot 0.7.8-47-gb6561a1).Scott Moser
2016-11-15merge from b6561a134936ba48eaccc447c3fe2526f0b84bb9 at 0.7.8-47-gb6561a1Scott Moser
2016-11-15systemd: cloud-init-local use RequiresMountsFor=/var/lib/cloudScott Moser
While cloud-init writes its data to /var/lib/cloud, we previously lazily added RequiresMountsFor=/var/lib . It is more correct to list the more complete path. LP: #1642062
2016-11-15systemd: cloud-init remove After=systemd-networkd-wait-onlineScott Moser
cloud-init.service cannot currently run After=systemd-networkd-wait-online.service as systemd-networkd.service is After dbus.service, but cloud-init.service is: Before=sysinit.target and sysinit.target is before dbus.service. The result is that we are temporarily preferring for cases where there is systemd-networkd in place to have cloud-init.service run without networking properly configured. See bug 1636912 for more information.
2016-11-15releasing package cloud-init version 0.7.8-45-g584b843-0ubuntu1~16.04.1Scott Moser
2016-11-15debian/changelog: organize for more palatable SRU.Scott Moser
2016-11-15update changelog (new upstream snapshot 0.7.8-45-g584b843).Scott Moser
2016-11-15systemd: cloud-init-local change Before basic to sysinitScott Moser
sysinit.target happens earlier in boot than basic.target. cloud-init-local.service had: Before=basic.target but cloud-init.service had: After=cloud-init-local.service Before=sysinit.target The result was that cloud-init-local.service was indirectly Before sysinit.target anyway, so this change is just to more specifically state that.
2016-11-15merge from master at 0.7.8-45-g584b843Scott Moser
2016-11-10pep8: fix style errors reported by pycodestyle 2.1.0Scott Moser
pycodestyle 2.1.0 is in Ubuntu zesty, and complained about the changes made here. Simple style changes. This makes 'make pep8' pass again when built in a zesty build system with proposed enabled.
2016-11-10systemd: drop both Wants and After local-fs.targetScott Moser
Drop mention of local-fs.target from both cloud-init-local.service and cloud-init.service. This could actually could cause a loop in ordering due to cc_mounts writing mount points with: x-systemd.requires=cloud-init.service Rather, we specifically list /var/lib/ and systemd-remount-fs.service in cloud-init-local.service. cloud-init.service will run after cloud-init-local and thus will have these satisfied.
2016-11-10systemd: networking service adjustments.Scott Moser
Here we drop the Requires=networking.service but keep the After=networking.service. The change there is that we no longer force networking.service to run, as the system may not have it or be configured to use it. Second, we add After=systemd-networkd-wait-online.service. That causes us to run after systemd-networkd has brought networking up. The end result is that we now run after both ifupdown or systemd-networkd (if they were going to run) but do not force either to run. One other change is that by dropping Requires=networking.service cloud-init will now run even if networking failed to come up. LP: #1636912
2016-11-10systemd: replace Before=basic.target, dbus.target with sysinit.targetScott Moser
Per discussion on bug 1636912 and subsequent feedback on bug 1629797, using: Before=sysinit.target is a simpler solution than what we had implemented: Before=basic.target Before=dbus.target LP: #1629797
2016-11-10doc: Add documentation on stages of boot.Scott Moser
This adds long overdue documentation on stages that cloud-init runs during boot.
2016-11-10doc: make the RST files consistently formated and other improvements.Scott Moser
The biggest things here are: * move doc/sources/*/README.rst to doc/rtd/topics/datasources This gives each datasource a page in the rtd docs, which make it easier to read. * consistently use the same header style throughout. As suggested at http://thomas-cokelaer.info/tutorials/sphinx/rest_syntax.html use: # with overline, for parts * with overline, for chapters =, for sections -, for subsections ^, for subsubsections “, for paragraphs Also, move and re-format vendor-data documentation to rtd.
2016-11-09Ec2: fix syntax and tox in previous commit.Scott Moser
Simply fix a commit that should not have been pushed.
2016-11-09update changelog per SRU feedback.Scott Moser
- clarify dmidecode change in changelog message. - add bug for lxd network config change fix. - drop the previously fixed changelog entry for ntp.
2016-11-08Ec2: protect against non-dictionary in block-device-mapping.Scott Moser
Oracle public cloud has the string 'unavailable' in its metadata service for 'block-device-mapping'. The change here is to return None in device_name_to_device if that is the case.
2016-11-08doc: fixed example to not overwrite /etc/hostsChris Glass
Instead, it will simply append the new entry.
2016-11-07Doc: fix spelling / typos in ca_certs and scripts_vendor.Scott Moser
Simple typo fixes.
2016-11-07pyflakes: fix issue with pyflakes 1.3 found in ubuntu zesty-proposed.Scott Moser
An obvious fix for an issue raised by pyflakes 1.3.
2016-11-04releasing package cloud-init version 0.7.8-34-ga1cdebd-0ubuntu1~16.04.1Scott Moser
2016-11-04Merge branch 'ubuntu/devel' into ubuntu/xenialScott Moser
2016-11-04update changelog (new upstream snapshot 0.7.8-34-ga1cdebd).Scott Moser
2016-11-04merge from master at 0.7.8-34-ga1cdebdScott Moser
2016-11-04remove debian/patches in anticipation of new snapshotScott Moser
Drop: debian/patches/ipv6-config debian/patches/ntp-move-to-run-after-apt-configuration.patch Remove the now-empty unnecesary: debian/patches/series
2016-11-04releasing package cloud-init version 0.7.8-34-ga1cdebd-0ubuntu1Scott Moser
2016-11-04update changelog (new upstream snapshot 0.7.8-34-ga1cdebd).Scott Moser
2016-11-04merge from master at 0.7.8-34-ga1cdebdScott Moser
2016-11-03net/cmdline: Further adjustments to ipv6 supportLaMont Jones
The implementation to add ipv6 support to Ubuntu initramfs changed (see bug 1621507). The changes here adjust to handle the new path. Now, the ipv6 route includes using the variable 'DEVICE6' in net6-DEVICE.conf files. LP: #1621615
2016-11-03Add coverage dependency to bddeb to fix package build.Scott Moser
When we added coverage to test-requirements, we need to add the mapping to package name. Without it there, bddeb complains that it cannot translate the dependency. Note, though, that the Makefile does not invoke nose with coverage. So we don't actually use that dependency.
2016-11-01doc: improve HACKING.rst fileScott Moser
Put a bit more information and a few style fixes in HACKING.rst.
2016-11-01dmidecode: Allow dmidecode to be used on aarch64Robert Schweikert
aarch64 systems have functional dmidecode, so allow that to be used. - aarch64 has support for dmidecode as well
2016-11-01AliYun: Add new datasource for Ali-Cloud ECSkaihuan.pkh
Support AliYun(Ali-Cloud ECS). This datasource inherits from EC2, the main difference is the meta-server address is changed to 100.100.100.200. The datasource behaves similarly to EC2 and relies on network polling. As such, it is not enabled by default.
2016-10-28Add coverage collection to tox unit tests.Joshua Powers
First step in increasing coverage is knowing what coverage is currently at. By default, tox only runs coverage on py3 as it is slower to run with coverage.
2016-10-26releasing package cloud-init version 0.7.8-28-gf7a5756-0ubuntu1Scott Moser