lp:~smoser/cloud-init

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

Branches

Name Last Modified Last Commit
fix/1836949-mtu-lost-in-translation 2019-07-17 20:53:41 UTC 2019-07-17
Fix bug rendering MTU on bond or vlan when input was netplan.

Author: Scott Moser
Author Date: 2019-07-17 20:48:29 UTC

Fix bug rendering MTU on bond or vlan when input was netplan.

If input to network_state.parse_net_config_data was netplan (v2 yaml)
then the network state would lose the mtu information on bond or vlan.

LP: #1836949

fix/1788915-vlan-sysconfig-rendering 2019-04-26 21:42:47 UTC 2019-04-26
network: Fix type and respect name when rendering vlan in sysconfig.

Author: Scott Moser
Author Date: 2019-04-26 21:00:23 UTC

network: Fix type and respect name when rendering vlan in sysconfig.

Prior to this change, vlans were rendered in sysconfig with
'TYPE=Ethernet', and incorrectly renders the PHYSDEV based on
the name of the vlan device rather than the 'link' provided
in the network config.

The change here fixes:
 * rendering of TYPE=Ethernet for a vlan
 * adds a warning if the configured device name is not supported
   per the RHEL 7 docs "11.5. Naming Scheme for VLAN Interfaces"

LP: #1788915
LP: #1826608

fix/no-tox-yaml-warnings 2019-04-26 21:41:14 UTC 2019-04-26
tests: no longer show warning about safe yaml.

Author: Scott Moser
Author Date: 2019-04-26 21:39:36 UTC

tests: no longer show warning about safe yaml.

Currently on 18.04, running tox -e py27 will spew errors like:
.tests/unittests/test_net.py:2649: YAMLLoadWarning: calling yaml.load()
without Loader=... is deprecated, as the default Loader is unsafe.
Please read https://msg.pyyaml.org/load for full details.

The change here just uses cloud-init's yaml, which does safeloading
by default.

feature/usermod-if-no-passwd 2019-03-06 19:38:32 UTC 2019-03-06
Move comment per review.

Author: Scott Moser
Author Date: 2019-03-06 19:38:32 UTC

Move comment per review.

cleanup/openssl-manager-no-cleanup 2019-02-28 14:30:48 UTC 2019-02-28
fix lints

Author: Scott Moser
Author Date: 2019-02-28 14:30:48 UTC

fix lints

doc/add-new-datasource-doc 2019-01-08 17:50:22 UTC 2019-01-08
take Ryan's feedback

Author: Scott Moser
Author Date: 2019-01-08 17:50:22 UTC

take Ryan's feedback

doc/cleanup-doc-errors 2019-01-07 22:03:14 UTC 2019-01-07
doc: clean up some datasource documentation.

Author: Scott Moser
Author Date: 2019-01-07 22:03:14 UTC

doc: clean up some datasource documentation.

The change to datasources.rst here is obvious typo fix.
The change to azure is to reduce the two 'Customization' sections
to a single and clean up some other duplicate text.

fix/ds-identify-vmware-detection 2018-12-20 21:57:45 UTC 2018-12-20
ds-identify: fix wrong variable name in ovf_vmware_transport_guestinfo.

Author: Scott Moser
Author Date: 2018-12-20 21:57:45 UTC

ds-identify: fix wrong variable name in ovf_vmware_transport_guestinfo.

ovf_vmware_transport_guestinfo is not currently tested.
It used '$1' instead of '$out' when checking for xml content in
the output of vmware-rpctool.

cleanup/ovf-transport-signatures 2018-12-20 18:04:35 UTC 2018-12-20
fix lints and flakes

Author: Scott Moser
Author Date: 2018-12-20 18:04:35 UTC

fix lints and flakes

feature/1807466-ovf-guestinfo-transport 2018-12-20 02:57:53 UTC 2018-12-20
show output of vmware-rpctool when it fails

Author: Scott Moser
Author Date: 2018-12-20 02:57:53 UTC

show output of vmware-rpctool when it fails

fix/hacking-contact-to-powersj 2018-12-18 21:43:13 UTC 2018-12-18
HACKING.rst: change contact info to Josh Powers

Author: Scott Moser
Author Date: 2018-12-18 20:38:17 UTC

HACKING.rst: change contact info to Josh Powers

In the Hacking doc, change the contact information for the contributors
agreement to reference Josh Powers rather than Scott Moser.

fix/cent-6-jinja2 2018-12-12 18:47:59 UTC 2018-12-12
Take Chad's good fix

Author: Scott Moser
Author Date: 2018-12-12 18:47:49 UTC

Take Chad's good fix

fix/tip-pylint-20181210 2018-12-10 22:14:41 UTC 2018-12-10
fix pycodestyle

Author: Scott Moser
Author Date: 2018-12-10 22:14:41 UTC

fix pycodestyle

fix/fix-dhclient-hook-down 2018-12-03 21:10:21 UTC 2018-12-03
per chad feedback update dhclient-hook bash completion

Author: Scott Moser
Author Date: 2018-12-03 21:10:21 UTC

per chad feedback update dhclient-hook bash completion

fix/1798117-allow-toplevel-network-in-network-config 2018-12-03 20:46:24 UTC 2018-12-03
Adjust to chad's suggestions.

Author: Scott Moser
Author Date: 2018-10-30 19:59:38 UTC

Adjust to chad's suggestions.

only shift if both config and version are present or the
config element == "disabled"

feature/1805854-add-non-x86-mirrors 2018-11-30 18:15:15 UTC 2018-11-30
config: On ubuntu select cloud archive mirrors for armel, armhf, arm64.

Author: Scott Moser
Author Date: 2018-11-30 18:07:15 UTC

config: On ubuntu select cloud archive mirrors for armel, armhf, arm64.

Infrastructure is now set up for Ubuntu to handle Amazon instances
hitting a ports archive at:
   - http://%(ec2_region)s.ec2.ports.ubuntu.com/ubuntu-ports/

And additionally, generic mirrors at
   *.clouds.ports.ubuntu.com/ubuntu-ports

The change here will utilize those mirrors for the arm64, armel and
armhf arches.

We've decided to limit the auto-selection of those
mirrors to arm, where we know a use case. That way new instances
of ppc64el or other arches will not select them. Such a behavior change
could be problematic for a user in a firewalled environment.

LP: #1805854

fix/test-mock-order 2018-11-28 13:56:30 UTC 2018-11-28
tests: fx incorrect order of mocks in test_handle_zfs_root.

Author: Scott Moser
Author Date: 2018-11-28 13:56:30 UTC

tests: fx incorrect order of mocks in test_handle_zfs_root.

The order of parameters to test_handle_zfs_root did not match
the order of the mocks applied.

Thanks to Jason Zions for pointing this out.

fix/ovf-id-env-vmware 2018-11-27 19:32:07 UTC 2018-11-27
OVF: identify label iso9660 filesystems with label 'OVF ENV'.

Author: Scott Moser
Author Date: 2018-11-27 19:32:07 UTC

OVF: identify label iso9660 filesystems with label 'OVF ENV'.

When deploying an OVA, at least some versions of vmware
attach a cdrom with an ISO9660 filesystem label of 'OVF ENV'.
This was seen on Vmware vCenter Server, 6.0.0, 2776510.

fix/1796917-ignore-all-zero-macs 2018-10-09 17:03:06 UTC 2018-10-09
change the comparison.

Author: Scott Moser
Author Date: 2018-10-09 17:03:06 UTC

change the comparison.

This should be slightly faster. Compute the string once and then
just do substring matching rather than computing the "zero mac"
for the given length each time.

release/18.4 2018-10-02 20:52:24 UTC 2018-10-02
release 18.4

Author: Scott Moser
Author Date: 2018-10-02 20:49:38 UTC

release 18.4

Bump the version in cloudinit/version.py to be 18.4 and update ChangeLog.

LP: #1795741

bug/74747-no-deb-src-in-sources-list 2018-10-02 16:56:01 UTC 2018-10-02
Ubuntu: update sources.list to comment out deb-src entries.

Author: Scott Moser
Author Date: 2018-10-02 16:56:01 UTC

Ubuntu: update sources.list to comment out deb-src entries.

Other installation modes began to comment out the deb-src lines in
/etc/apt/sources.list sometime in 16.04 time frame.

This makes the cloud-init rendered sources.list the same as that
currently present in the lxd images.

The changes here are:
 a.) comment out all 'deb-src' lines.
 b.) move security to the bottom of the file.
 c.) trim trailing white space from 3 comment lines.

LP: #74747

feature/skip-better 2018-10-01 17:12:15 UTC 2018-10-01
rename discover_tests to discover_test

Author: Scott Moser
Author Date: 2018-10-01 17:12:15 UTC

rename discover_tests to discover_test

fix/disable-lxd-cosmic-tests-1795036 2018-09-28 19:48:44 UTC 2018-09-28
tests: disable lxd tests on cosmic

Author: Scott Moser
Author Date: 2018-09-28 19:48:44 UTC

tests: disable lxd tests on cosmic

Skip lxd tests on cosmic for two reasons:
a.) LP: #1795036 - 'lxd init' fails on cosmic kernel.
b.) apt install lxd installs via snap which can be slow
    as that will download core snap and lxd.

fix/lxd-may-come-in-snap 2018-09-26 19:53:48 UTC 2018-09-26
try to make better

Author: Scott Moser
Author Date: 2018-09-26 19:53:48 UTC

try to make better

fix/1793193-suse-handle-locked-user 2018-09-26 16:18:49 UTC 2018-09-26
small formatting changes.

Author: Scott Moser
Author Date: 2018-09-26 16:16:55 UTC

small formatting changes.

feature/better-tox-venv 2018-09-19 11:44:44 UTC 2018-09-19
tools/tox-venv: update for new features.

Author: Scott Moser
Author Date: 2018-09-19 11:44:44 UTC

tools/tox-venv: update for new features.

This update to tox-venv allows you to do:
 ./tools/tox-venv py3 - tests/unittests/test_util.py

fix/1787459-fix-ds-sys_cfg 2018-09-18 14:18:13 UTC 2018-09-18
stages: Fix bug causing datasource to have incorrect sys_cfg.

Author: Scott Moser
Author Date: 2018-09-16 10:15:59 UTC

stages: Fix bug causing datasource to have incorrect sys_cfg.

The Init object had a bug/odd side effect where when retrieving a distro
object it would update the datasources's sys_cfg. That was probably
intended to refresh the possibly stale config stored there. Unfortunately
what it actually did limit the config there to the 'system_info' top level
key where initially it had the whole config.

LP: #1787459

cleanup/drop-dead-write-network-methods 2018-09-14 17:16:04 UTC 2018-09-14
Remove dead-code _write_network distro implementations.

Author: Scott Moser
Author Date: 2018-09-14 16:16:44 UTC

Remove dead-code _write_network distro implementations.

Any distro that has a '_write_nework_config' method should no
longer get their _write_network called at all. So lets drop
that code and raise a RuntimeError any time we got there.

Replace the one caller of 'apply_network' (legacy openstack path)
with a call to apply_network_config after converting the ENI to
network config.

fix/1788487-openstack-local 2018-09-05 17:31:23 UTC 2018-09-05
tests: print failed testname instead of docstring upon failure

Author: Chad Smith
Author Date: 2018-09-05 17:31:23 UTC

tests: print failed testname instead of docstring upon failure

feature/builtin-dhcp-client-scapy 2018-08-28 15:01:28 UTC 2018-08-28
add dhcp_scapy.py.

Author: Scott Moser
Author Date: 2018-08-28 15:01:28 UTC

add dhcp_scapy.py.

This depends on python scapy, but implements the interface function:
 maybe_perform_dhcp_discovery
that is implemented in dhcp.py.

feature/driver-enablement 2018-08-21 18:02:24 UTC 2018-08-21
address Ryan's feedback.

Author: Scott Moser
Author Date: 2018-03-23 19:02:31 UTC

address Ryan's feedback.

fix/redhat-py3-spec 2018-07-10 20:48:36 UTC 2018-07-10
make requires available in template for py2 and py3

Author: Scott Moser
Author Date: 2018-07-10 20:29:26 UTC

make requires available in template for py2 and py3

cleanup/consistent-exception_cb 2018-03-23 21:25:00 UTC 2018-03-23
Make exception_cb consistent in readurl and wait_for_url.

Author: Scott Moser
Author Date: 2018-03-23 21:25:00 UTC

Make exception_cb consistent in readurl and wait_for_url.

This message needs improving.

master 2018-01-25 15:38:48 UTC 2018-01-25
HACKING.rst: mention setting user name and email via git config.

Author: Scott Moser
Author Date: 2018-01-25 15:36:36 UTC

HACKING.rst: mention setting user name and email via git config.

Just include mention of setting user name and email when first
setting up git.

ubuntu/devel 2017-12-15 17:12:05 UTC 2017-12-15
releasing package cloud-init version 17.2-1-g4089e20c-0ubuntu1

Author: Chad Smith
Author Date: 2017-12-15 17:12:05 UTC

releasing package cloud-init version 17.2-1-g4089e20c-0ubuntu1

ubuntu/xenial 2017-12-12 19:30:40 UTC 2017-12-12
update changelog

Author: Scott Moser
Author Date: 2017-12-12 19:30:40 UTC

update changelog

ubuntu/zesty 2017-12-01 17:02:33 UTC 2017-12-01
releasing package cloud-init version 17.1-46-g7acc9e68-0ubuntu1~17.04.1

Author: Chad Smith
Author Date: 2017-12-01 17:02:33 UTC

releasing package cloud-init version 17.1-46-g7acc9e68-0ubuntu1~17.04.1

ubuntu/artful 2017-12-01 16:58:53 UTC 2017-12-01
releasing package cloud-init version 17.1-46-g7acc9e68-0ubuntu1~17.10.1

Author: Chad Smith
Author Date: 2017-12-01 16:58:53 UTC

releasing package cloud-init version 17.1-46-g7acc9e68-0ubuntu1~17.10.1

feature/json-socket-server 2017-11-03 16:44:31 UTC 2017-11-03
somewhat functional.

Author: Scott Moser
Author Date: 2017-11-03 16:44:31 UTC

somewhat functional.

server run with:
 python3 -m tests.cloud_tests.jsoncket --port 9799

Then run a client like:
 python -m tests.cloud_tests.jsoncket.client localhost 9799 ls

bug/before-fsck 2017-07-25 19:41:23 UTC 2017-07-25
systemd: make systemd-fsck run after cloud-init.service

Author: Scott Moser
Author Date: 2016-12-08 12:27:53 UTC

systemd: make systemd-fsck run after cloud-init.service

cloud-init.service may write filesystems (fs_setup) or re-partition
(disk_setup) disks.

If systemd-fsck is running on a device while that is occuring
then the partitioning or mkfs might fail due to the device being busy.
Alternatively, the fsck might fail and cause subsequent mount to fail.

LP: #1691489

ubuntu/yakkety 2017-06-28 18:11:27 UTC 2017-06-28
update changelog

Author: Scott Moser
Author Date: 2017-06-28 18:11:27 UTC

update changelog

bug/1683038-ec2-no-warn-on-explicit 2017-05-31 15:03:31 UTC 2017-05-31
add warning on unexpected situation strict_id=true and platform unknown.

Author: Scott Moser
Author Date: 2017-05-31 15:03:31 UTC

add warning on unexpected situation strict_id=true and platform unknown.

bug/1315501-trusty-openstack-interfaces 2017-01-10 17:44:04 UTC 2017-01-10
update changelog.

Author: Scott Moser
Author Date: 2017-01-10 17:44:04 UTC

update changelog.

143 of 43 results
This repository contains Public information 
Everyone can see this information.

Subscribers