lp:~raharper/cloud-init

Owned by Ryan Harper
Get this repository:
git clone https://git.launchpad.net/~raharper/cloud-init
Only Ryan Harper can upload to this repository. If you are Ryan Harper please log in for upload directions.

Branches

Name Last Modified Last Commit
fix/cloudtests-pylint-type-hint 2018-04-20 20:38:18 UTC 2018-04-20
cloud_tests: help pylint

Author: Ryan Harper
Author Date: 2018-04-04 17:49:40 UTC

cloud_tests: help pylint

pylint missed finding a typo in the lxd platform because it could not
determine that the variable was being used was a string. The variable
was set by loading a yaml file which pylint couldn't know that it
would be a string. In these cases, we can be more explicit.

feature/bash-completion 2018-04-17 14:16:44 UTC 2018-04-17
Add base_params, remove positional params, combine dhclient,features case

Author: Ryan Harper
Author Date: 2018-04-17 14:16:44 UTC

Add base_params, remove positional params, combine dhclient,features case

fix/azure-ds-activate-events 2018-04-12 19:40:30 UTC 2018-04-12
Add reporting events and log_time around early source of blocking time

Author: Ryan Harper
Author Date: 2018-04-10 15:49:59 UTC

Add reporting events and log_time around early source of blocking time

In looking at some boot time for Xenial, Artful and Bionic, we noticed
some long amounts of time that appeared to be part of the DataSource
but we related to resolving URLs. In Artful and Bionic, there was an
issue (bug: #1739672) that resulted in slow getaddrinfo() calls when
systemd-resolved was in use. This patch adds two events that track
time for datasource.setup_datasource() and datasource.activate_datasource()
Additionally use log_time() to wrapper util.is_resolvable_url() which
leaves info in cloud-init.log about how much time was spent.

feature/update-ntp-spec 2018-04-12 18:26:11 UTC 2018-04-12
Use /bin/sh where possible in cloud_tests for ntp

Author: Ryan Harper
Author Date: 2018-04-12 18:26:11 UTC

Use /bin/sh where possible in cloud_tests for ntp

ubuntu/artful/sru-20180403-lp1759406 2018-04-03 21:12:55 UTC 2018-04-03
releasing cloud-init version 18.2-3-gb27f713a-0ubuntu1~17.10.1

Author: Ryan Harper
Author Date: 2018-04-03 21:12:55 UTC

releasing cloud-init version 18.2-3-gb27f713a-0ubuntu1~17.10.1

ubuntu/devel/sru-20180403-lp1759406 2018-04-03 21:10:43 UTC 2018-04-03
releasing cloud-init version 18.2-3-gb27f713a-0ubuntu1~16.04.1

Author: Ryan Harper
Author Date: 2018-04-03 21:10:43 UTC

releasing cloud-init version 18.2-3-gb27f713a-0ubuntu1~16.04.1

ubuntu/xenial/sru-20180403-lp1759406 2018-04-03 21:10:43 UTC 2018-04-03
releasing cloud-init version 18.2-3-gb27f713a-0ubuntu1~16.04.1

Author: Ryan Harper
Author Date: 2018-04-03 21:10:43 UTC

releasing cloud-init version 18.2-3-gb27f713a-0ubuntu1~16.04.1

ubuntu/devel/newupstream-20180403 2018-04-03 20:43:59 UTC 2018-04-03
releasing cloud-init version 18.2-3-gb27f713a-0ubuntu1

Author: Ryan Harper
Author Date: 2018-04-03 20:43:59 UTC

releasing cloud-init version 18.2-3-gb27f713a-0ubuntu1

fix/cc_resizefs_on_zfs_root 2018-04-02 18:31:28 UTC 2018-04-02
cc_resizefs, util: handle no /dev/zfs

Author: Ryan Harper
Author Date: 2018-03-30 18:30:07 UTC

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 occurance for containers
using zfs as rootfs. Additionally handle missing zpool command or
other errors that may occur while executing the zpool command.

sysconfig-handle-global-static-routes 2018-03-27 14:53:07 UTC 2018-03-27
Make tox happy

Author: Ryan Harper
Author Date: 2018-03-27 14:52:39 UTC

Make tox happy

fix/lp-1750884-netplan-global-dns 2018-03-22 15:23:24 UTC 2018-03-22
Handle global dns entries in netplan

Author: Ryan Harper
Author Date: 2018-03-19 15:35:05 UTC

Handle global dns entries in netplan

In network config v1 format, there are dns values which are not bound
to a specific interface and do not map to the per-interface format in
netplan. To handle this case we render netplan configuration that duplicates
the DNS configuration on any interface that has a static network config.
We avoiding interfaces which have DHCP configuration which may provide
conflicting DNS values.

LP: #1750884

add-netplan-bridge-port-priority 2018-02-27 20:18:25 UTC 2018-02-27
netplan: render bridge port-priority values

Author: Ryan Harper
Author Date: 2017-12-01 20:06:32 UTC

netplan: render bridge port-priority values

Update netplan renderer to write out bridge port-priority values
now that netplan supports the feature.

LP: #1735821

fix/netplan-accept-ra-off 2018-02-26 23:12:32 UTC 2018-02-26
netplan: disable IPV6 RA mode unless configuring ipv6

Author: Ryan Harper
Author Date: 2018-02-23 21:19:04 UTC

netplan: disable IPV6 RA mode unless configuring ipv6

On distros using netplan and systemd-networkd the default configuration
is to enable solicitation of of IPV6 Router Advertisments. This incurs
a significant delay (up to 10 seconds) during boot if the network
does not contain any IPV6 routers. If the network configuration that
cloud-init renders is not explicitly configuring IPV6, then disable IPV6 RA
on the interfaces in the configuration. Note, this does not affect IPV6
link-local addresses.

fix/cloud-init-network-rename-with-v2 2018-01-31 00:59:34 UTC 2018-01-31
net: accept network-config in netplan format for renaming interfaces

Author: Ryan Harper
Author Date: 2018-01-23 00:33:08 UTC

net: accept network-config in netplan format for renaming interfaces

net.apply_network_config_names currently only accepts network-config
in version 1 format. When users include a netplan format network-config the
rename code does not find any of the 'set-name' directives and does not rename
any of the interfaces. This causes some netplan configurations to fail.

This patch adds support for parsing netplan format and extracts the needed
information (macaddress and set-name values) to allow cloud-init to issue
interface rename commands. We know raise a RuntimeError if presented with
an unknown config format.

LP: #1709715

cloud-test-add-pylint-and-fix 2017-12-08 03:06:40 UTC 2017-12-08
Add pylint v1.7.1 support to tox

Author: Ryan Harper
Author Date: 2017-12-06 22:30:22 UTC

Add pylint v1.7.1 support to tox

- Assign class property accessors a result and use them
- Cast some instance objects with dict()
- Fix Cheetah test import
- Fix missing class member in CepkoResultTests
- Fix up cloud_tests use of platforms
- Handle python2.7 vs 3+ ConfigParser use of readfp (depricated)
- Modify .pylintrc generated-members ignore mocked object members, regex: m_.*
- Remove tools/hacking, it is replaced by 'hacking' in pep8 env
- Remove useless test-class calls to super class
- Replace "dangerous" params defaulting to {} with None
- Replace depricated assertRegexp -> assertRegex using
  workaround for python2.6 missing assertRegex attr
- Update use of assertEqual(<boolean>, value) to assert<Boolean>(value)

ubuntu-devel-new-bionic-release-v1 2017-10-24 15:40:21 UTC 2017-10-24
releasing package cloud-init version 17.1-25-g17a15f9e-0ubuntu1

Author: Ryan Harper
Author Date: 2017-10-24 15:40:21 UTC

releasing package cloud-init version 17.1-25-g17a15f9e-0ubuntu1

azure-network-dont-config-sriov-devices 2017-10-10 12:28:05 UTC 2017-10-10
Azure: don't generate network configuration for SRIOV devices

Author: Ryan Harper
Author Date: 2017-10-10 12:28:05 UTC

Azure: don't generate network configuration for SRIOV devices

Azure kernel now configures the SRIOV devices itself so cloud-init
does not need to provide any SRIOV device configuration or udev
naming rules.

ubuntu-devel-new-artful-release-v8 2017-10-05 21:16:00 UTC 2017-10-05
releasing package cloud-init version 17.1-17-g45d361cb-0ubuntu1

Author: Ryan Harper
Author Date: 2017-10-05 21:16:00 UTC

releasing package cloud-init version 17.1-17-g45d361cb-0ubuntu1

ubuntu-devel-new-artful-release-v7 2017-10-05 18:46:48 UTC 2017-10-05
releasing package cloud-init version 17.1-16-g6eb4dc24-0ubuntu1

Author: Ryan Harper
Author Date: 2017-10-05 18:46:48 UTC

releasing package cloud-init version 17.1-16-g6eb4dc24-0ubuntu1

ubuntu-devel-new-artful-release-v6 2017-10-05 18:18:53 UTC 2017-10-05
releasing package cloud-init version 17.1-15-g57e2e01-0ubuntu1

Author: Ryan Harper
Author Date: 2017-10-05 18:18:53 UTC

releasing package cloud-init version 17.1-15-g57e2e01-0ubuntu1

add-netplan-bridge-stp 2017-10-05 16:10:10 UTC 2017-10-05
network: bridge_stp value not always correct

Author: Ryan Harper
Author Date: 2017-10-03 23:56:52 UTC

network: bridge_stp value not always correct

Update network_state to store the bridge_stp value as a boolean.
The various renderers then can map the boolean value to the correct
output as needed; eni uses 'on/off', sysconfig uses 'yes/no' and
netplan will use the boolean directly.

Update unittest values for sysconfig and netplan. Both contained
the network_state string value which resulted in not correctly enable/disable
STP in the target system.

Update network_state comment (fd -> forward-delay, add stp as boolean) on
bridge commands to match the expected format of a netplan bridge command.

LP: #1721157

ubuntu-devel-new-artful-release-v5 2017-10-03 16:00:09 UTC 2017-10-03
releasing package cloud-init version 17.1-13-g7fd0425-0ubuntu1

Author: Ryan Harper
Author Date: 2017-10-03 16:00:09 UTC

releasing package cloud-init version 17.1-13-g7fd0425-0ubuntu1

ubuntu-devel-new-artful-release-v4 2017-10-03 15:42:25 UTC 2017-10-03
releasing package cloud-init version 17.1-13-g7fd0425-0ubuntu1

Author: Ryan Harper
Author Date: 2017-10-03 15:42:25 UTC

releasing package cloud-init version 17.1-13-g7fd0425-0ubuntu1

ubuntu-devel-new-artful-release-v3 2017-10-03 15:22:32 UTC 2017-10-03
releasing package cloud-init version 17.1-13-g7fd0425-0ubuntu1

Author: Ryan Harper
Author Date: 2017-10-03 15:22:32 UTC

releasing package cloud-init version 17.1-13-g7fd0425-0ubuntu1

ds-ovf-use-util-find-devs-with 2017-09-21 18:45:37 UTC 2017-09-21
DataSourceOVF: use util.find_devs_with(TYPE=iso9660)

Author: Ryan Harper
Author Date: 2017-09-19 16:10:09 UTC

DataSourceOVF: use util.find_devs_with(TYPE=iso9660)

DataSourceOVF attempts to find iso files via walking os.listdir('/dev/')
which is far too wide. This approach is too invasive and can sometimes
race with systemd attempting to fsck and mount devices.

Instead, utilize cloudinit.util.find_devs_with to filter devices by
criteria (which uses blkid under the covers). This results in fewer
attempts to mount block devices which do not contain iso filesystems.

Unittest changes include:
- cloudinit.tests.helpers; introduce add_patch() helper
- Add unittest coverage for DataSourceOVF use of transport_iso9660

default-lang-c-utf8 2017-08-30 21:33:33 UTC 2017-08-30
distro: allow distro to specify a default locale

Author: Ryan Harper
Author Date: 2017-08-16 21:50:07 UTC

distro: allow distro to specify a default locale

Currently the cloud-init default locale (en_US.UTF-8) is set by
the base datasource class. This patch allows a distro to overide
the fallback value with one that's available in the distro but continues
to respect an image which has preconfigured a locale.

- Distro object now has a get_locale method which will return a preconfigure
  locale setting by checking the distros locale system configuration file.
  If not set or not present, return the default locale of en_US.UTF-8 which
  retains behavior of all previous cloud-init releases
- Apply locale now handles regenerating locales or system configuraion files
  as needed.
- Adjust apply_locale logic to skip locale-regen if the specified LANG value is
  C.UTF-8,C, or POSIX; they do not require regeneration.
- Further add unittests to exercise the default paths for Ubuntu and
  non-ubuntu paths to validate they get the LANG expected.

logging-gmtime 2017-08-23 15:40:55 UTC 2017-08-23
Always use UTC for timevalues in logging

Author: Ryan Harper
Author Date: 2017-08-07 18:38:56 UTC

Always use UTC for timevalues in logging

ubuntu/devel-artful 2017-08-21 20:09:49 UTC 2017-08-21
releasing package cloud-init version 0.7.9-243-ge74d775-0ubuntu1

Author: Ryan Harper
Author Date: 2017-08-21 20:09:49 UTC

releasing package cloud-init version 0.7.9-243-ge74d775-0ubuntu1

ubuntu-devel-new-artful-release-v2 2017-08-21 20:09:49 UTC 2017-08-21
releasing package cloud-init version 0.7.9-243-ge74d775-0ubuntu1

Author: Ryan Harper
Author Date: 2017-08-21 20:09:49 UTC

releasing package cloud-init version 0.7.9-243-ge74d775-0ubuntu1

ubuntu-devel-new-artful-release 2017-08-21 18:17:36 UTC 2017-08-21
releasing package cloud-init version 0.7.9-242-gdc2bd79-0ubuntu1

Author: Ryan Harper
Author Date: 2017-08-21 18:17:36 UTC

releasing package cloud-init version 0.7.9-242-gdc2bd79-0ubuntu1

bug-lp-1709180-v2-params 2017-08-15 15:54:52 UTC 2017-08-15
network: add v2 passthrough and fix parsing v2 config with bonds/bridge params

Author: Ryan Harper
Author Date: 2017-08-09 19:44:20 UTC

network: add v2 passthrough and fix parsing v2 config with bonds/bridge params

If the network-config sent to cloud-init is in version: 2 format then
when rendering netplan, we can pass the content through and avoid
consuming network_state elements. This removes the need for trying to
map many v2 features onto network state where other renderers won't be
able to use anyhow (for example match parameters for multi-interface
configuration and wifi configuration support).

Additionally ensure we retain bond/bridge v2 configuration in network
state so when rendering to eni or sysconfig we don't lose the configuration

- Drop the NotImplemented wifi exception, log a warning that it works for
  netplan only
- Adjust unittests to new code path and output
- Fix issue with v2 macaddress values getting dropped
- Add unittests for consuming/validating v2 configurations

LP: #1709180

update-features-doc 2017-08-15 15:42:02 UTC 2017-08-15
doc: update capabilities with features available, link doc reference, cli exa...

Author: Ryan Harper
Author Date: 2017-08-14 16:40:54 UTC

doc: update capabilities with features available, link doc reference, cli example

ntp-configure-timesyncd-fallback-lp-1686485 2017-08-04 14:27:27 UTC 2017-08-04
cc_ntp: fallback on timesyncd configuration if ntp is not installable

Author: Ryan Harper
Author Date: 2017-08-01 23:00:00 UTC

cc_ntp: fallback on timesyncd configuration if ntp is not installable

Some systems like Ubuntu-Core do not provide an ntp package for
installation but do include systemd-timesyncd (an ntp client).
On such systems cloud-init will generate a timesyncd configuration
using the 'servers' and 'pools' values as ntp hosts for timesyncd to use.

LP: #1686485

sysconfig-resolvconf-duplicate-header-lp1701420 2017-07-31 19:04:00 UTC 2017-07-31
sysconfig: Dont repeat header when rendering resolv.conf

Author: Ryan Harper
Author Date: 2017-07-31 18:35:07 UTC

sysconfig: Dont repeat header when rendering resolv.conf

The sysconfig renderer duplicates the cloud-init header string
when rendering resolv.conf file. This leads to resolv.conf file
growing with every reboot of a system. Fix this by checking for
the header when loading content from existing file.

Update one of the sysconfig unittests with multiple render calls
to simulate the reboot to check that we don't repeat the header.

LP: #1701420

curtin-centos 2017-07-20 20:45:45 UTC 2017-07-20
sysconfig: use MACADDR on bonds/bridges to configure mac_address

Author: Ryan Harper
Author Date: 2017-07-20 19:46:30 UTC

sysconfig: use MACADDR on bonds/bridges to configure mac_address

Previously, sysconfig rendered HWADDR for all interface types, but
that value is only used to identify physical devices. Instead use
MACADDR to configure the MAC on virtual devices, like bonds and
bridges.

- Sort bond slave list to ensure consistent ordering in sysconfig
  rendered files.
- Add unittests for sysconfig rendering of bonds/bridges with
  mac_address

LP: #1701417

eni-fix-ipv6-route-gateway 2017-06-28 21:55:49 UTC 2017-06-28
Update network unittest to validate ipv6 gateway route

Author: Ryan Harper
Author Date: 2017-06-28 21:55:49 UTC

Update network unittest to validate ipv6 gateway route

azure_run_local 2017-06-26 19:46:42 UTC 2017-06-26
Fix spelling errors in comment block.

Author: Ryan Harper
Author Date: 2017-06-26 19:46:42 UTC

Fix spelling errors in comment block.

template-systemd-units 2017-06-15 21:34:25 UTC 2017-06-15
Templatize systemd service files

Author: Ryan Harper
Author Date: 2017-06-13 14:06:41 UTC

Templatize systemd service files

Distro specfic changes are needed in the unit file to ensure that
cloud-init behaves the same in different systemd environment.

redhat-fix-spec-systemd 2017-06-09 18:04:29 UTC 2017-06-09
Merge branch 'redhat-fix-spec-systemd' of git.launchpad.net:~raharper/cloud-i...

Author: Ryan Harper
Author Date: 2017-06-09 18:04:29 UTC

Merge branch 'redhat-fix-spec-systemd' of git.launchpad.net:~raharper/cloud-init into redhat-fix-spec-systemd

pregen-locale 2017-06-09 15:46:32 UTC 2017-06-09
Check before attempting to regenerate locales

Author: Ryan Harper
Author Date: 2017-06-08 20:42:12 UTC

Check before attempting to regenerate locales

Avoid unnecessary IO incurred when generating locales by
testing if the system has already configured a LANG setting.
If a user supplied locale or the default locale defined in
in cloud-init differs from what is presently configured
then cloud-init will regenerate locales based on the supplied
value.

redhat-selinux-fixes 2017-06-09 15:23:54 UTC 2017-06-09
Allow restorecon to be non-fatal

Author: Ryan Harper
Author Date: 2017-04-27 20:34:28 UTC

Allow restorecon to be non-fatal

On some systems with python-libselinux a bug[1] related to recursive
restorecon fails but the distro release does not yet include
an update. This change will accept the error and log a warning.

1. https://bugzilla.redhat.com/show_bug.cgi?id=1406520

eni-bridge-multiline-keys 2017-05-26 19:29:24 UTC 2017-05-26
Fix eni rendering for bridge parameters which require repeated key for values

Author: Ryan Harper
Author Date: 2017-05-26 19:29:24 UTC

Fix eni rendering for bridge parameters which require repeated key for values

There are a few bridge parameters which require repeating the key with each
value in the list when rendering eni. Extend the network unittests to cover
all of the known bridge parameters and check we render eni and netplan
correctly.

eni-drop-rendering-systemd-link-files 2017-05-25 20:37:15 UTC 2017-05-25
cloudinit.net: remove generation of systemd .link files when rendering eni ne...

Author: Ryan Harper
Author Date: 2017-05-25 20:37:15 UTC

cloudinit.net: remove generation of systemd .link files when rendering eni network configuration

bug-lp-1645644-ntp 2017-05-12 14:40:06 UTC 2017-05-12
Merge branch 'bug-lp-1645644-ntp' of git.launchpad.net:~raharper/cloud-init i...

Author: Ryan Harper
Author Date: 2017-05-12 14:40:06 UTC

Merge branch 'bug-lp-1645644-ntp' of git.launchpad.net:~raharper/cloud-init into bug-lp-1645644-ntp

network-config-doc 2017-05-03 20:10:26 UTC 2017-05-03
Merge in additional feedback.

Author: Ryan Harper
Author Date: 2017-05-03 20:10:26 UTC

Merge in additional feedback.

fix-net-convert 2017-04-24 21:44:47 UTC 2017-04-24
tools/net-convert: fix argument order for render_network_state

Author: Ryan Harper
Author Date: 2017-04-24 21:40:35 UTC

tools/net-convert: fix argument order for render_network_state

We're calling Renderer.render_network_state() with incorrect args.

% PYTHONPATH=`pwd` ./tools/net-convert.py --network-data simple-v2.yaml \
                                          --kind yaml \
                                          --output-kind netplan \
                                          --directory ./target

Traceback (most recent call last):
  File "./tools/net-convert.py", line 82, in <module>
    main()
  File "./tools/net-convert.py", line 78, in main
    r.render_network_state(ns, target=args.directory)
TypeError: render_network_state() got multiple values for argument 'target'

The method signature requires passing <target dir>, <network_state>.
This patch fixes the call order.

Fixes: LP:#1685944

fix-snap-user-doc 2017-03-28 22:12:31 UTC 2017-03-28
Add missing doc link to snap-config module

Author: Ryan Harper
Author Date: 2017-03-28 22:12:31 UTC

Add missing doc link to snap-config module

net-v2-dont-print-udevadm-commands 2017-03-28 18:44:37 UTC 2017-03-28
netplan: remove debugging prints, add debug logging

Author: Ryan Harper
Author Date: 2017-03-28 18:44:37 UTC

netplan: remove debugging prints, add debug logging

rebased-netconfig-v2-passthrough 2017-03-20 19:34:38 UTC 2017-03-20
netplan: drop textwrap indent module, and reformat some comments/docstrings

Author: Ryan Harper
Author Date: 2017-03-20 19:34:38 UTC

netplan: drop textwrap indent module, and reformat some comments/docstrings

netconfig-v2-passthrough 2017-03-19 19:24:09 UTC 2017-03-19
test_net: Remove duplicate unittests left from merge

Author: Ryan Harper
Author Date: 2017-03-19 19:24:09 UTC

test_net: Remove duplicate unittests left from merge

cloud-init-wait-on-networkd 2017-02-21 21:44:50 UTC 2017-02-21
Cloud-init.service should run after networkd

Author: Ryan Harper
Author Date: 2017-02-21 21:44:50 UTC

Cloud-init.service should run after networkd

Cloud-init.service should run after networkd has brought networking
online. If cloud-init.service does not run after networkd then
cloud-init may fail to fetch network metadata or other resources on
systems using networkd. A system may have one or more networking
service installed and possibly enabled and cloud-init should run after
these services.

LP: #1636912 #1649931

net-dont-use-alias 2017-01-25 21:45:40 UTC 2017-01-25
Fix eni rendering of multiple IPs per interface

Author: Ryan Harper
Author Date: 2017-01-25 21:45:40 UTC

Fix eni rendering of multiple IPs per interface

The iface:alias syntax for eni rendering is brittle with ipv6.
Replace it with using multiple iface stanzas with the same iface
name which is supported. Side-effect is that one can no longer
do 'ifup $iface:$alias' but requires instead use of ip address
{add|delete} instead.

LP: #1657940

ds-identify 2017-01-04 21:33:38 UTC 2017-01-04
Add Z99 profile test for ubuntu-core build

Author: Ryan Harper
Author Date: 2017-01-04 21:33:38 UTC

Add Z99 profile test for ubuntu-core build

Signed-off-by: Ryan Harper <ryan.harper@canonical.com>

fix_cc_user_groups_normalize 2016-10-26 00:05:22 UTC 2016-10-26
cc_users_groups: fix remaing call to ds.normalize_user_groups

Author: Ryan Harper
Author Date: 2016-10-26 00:05:22 UTC

cc_users_groups: fix remaing call to ds.normalize_user_groups

Previous commit f0747c4b4cf073273e11d383f0354257be7276ed relocated
normalize_users_groups to ug_util module, but missed modifying
the cc_users_groups config module. Apply the location change to fix.

snapuser-create 2016-10-20 14:47:06 UTC 2016-10-20
Revert "Merge branch 'fix-lp1619423' into snapuser-create"

Author: Ryan Harper
Author Date: 2016-10-20 14:47:06 UTC

Revert "Merge branch 'fix-lp1619423' into snapuser-create"

This reverts commit 1b964281b506a7c5ba156730fd22d69091be957f, reversing
changes made to 3db49a7a586cab7df957ca0fca979b01431e49b3.

fix-lp1619423 2016-10-18 22:00:59 UTC 2016-10-18
apt is not required; ifupdown is replaced with iproute2

Author: Ryan Harper
Author Date: 2016-10-18 22:00:59 UTC

apt is not required; ifupdown is replaced with iproute2

systemd_export_tz 2016-10-05 14:14:51 UTC 2016-10-05
Export TZ environment variable to systemd units

Author: Ryan Harper
Author Date: 2016-10-05 14:14:51 UTC

Export TZ environment variable to systemd units

When TZ is unset in the execution environment for cloud-init, glibc
behavior of strftime will check if /etc/localtime is available via
a stat syscall. During a normal cloud-init boot, we execute roughly
400+ stat calls to /etc/localtime. Exporting TZ into the environment
prevents these stats syscalls.

fix-unittest-assert-called 2016-10-04 14:56:10 UTC 2016-10-04
unittests: fix use of mock 2.0 'assert_called' when running make check

Author: Ryan Harper
Author Date: 2016-10-04 14:56:10 UTC

unittests: fix use of mock 2.0 'assert_called' when running make check

Some of the new DigitalOcean unittests were written to use 'assert_called',
which is only available in mock versions 2.0. Because of this, the failure
would only occur in releases less than yakkety and not in 'tox'.

nocloud-boottime-improvements 2016-09-29 21:23:40 UTC 2016-09-29
config: don't run disk/filesystem configs if we're in a container

Author: Ryan Harper
Author Date: 2016-09-26 20:08:44 UTC

config: don't run disk/filesystem configs if we're in a container

add-ntp 2016-08-09 16:54:55 UTC 2016-08-09
Merge branch 'add-ntp' of git+ssh://git.launchpad.net/~raharper/cloud-init in...

Author: Ryan Harper
Author Date: 2016-08-09 16:54:55 UTC

Merge branch 'add-ntp' of git+ssh://git.launchpad.net/~raharper/cloud-init into add-ntp

fix-make-check 2016-07-26 14:16:54 UTC 2016-07-26
Adjust mcollective handler test formatting for make check

Author: Ryan Harper
Author Date: 2016-07-26 14:16:54 UTC

Adjust mcollective handler test formatting for make check

Signed-off-by: Ryan Harper <ryan.harper@canonical.com>

161 of 61 results
This repository contains Public information 
Everyone can see this information.

Subscribers