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
cleanup/jsonschema-follow-on 2018-04-21 00:25:04 UTC 2018-04-21
fix pylint

Author: Scott Moser
Author Date: 2018-04-21 00:25:04 UTC

fix pylint

fix/smartos-container-nics-have-own-mac 2018-04-21 00:17:11 UTC 2018-04-21
add comment about None as suggested by Mike

Author: Scott Moser
Author Date: 2018-04-21 00:17:11 UTC

add comment about None as suggested by Mike

fix/ds-identify-smartos-is-container 2018-04-20 21:04:50 UTC 2018-04-20
ds-identify: recognize container-other as a container, test SmartOS.

Author: Scott Moser
Author Date: 2018-04-20 21:02:10 UTC

ds-identify: recognize container-other as a container, test SmartOS.

In playing with a SmartOS container I found that ds-identify did
not identify the container there as a container. Systemd-detect-virt
identifies it as 'container-other'.

Also here are tests for ds-identify for the SmartOS platform
identification.

fix/read_file_or_url-contents-should-be-text 2018-04-19 15:26:54 UTC 2018-04-19
read_file_or_url: fix inconsistency with file and url return values.

Author: Scott Moser
Author Date: 2018-04-12 19:45:46 UTC

read_file_or_url: fix inconsistency with file and url return values.

The result of a read_file_or_url on a file and on a url would differ
in behavior.
  str(UrlResponse) would return UrlResponse.contents.decode('utf-8')
while
  str(FileResponse) would return str(FileResponse.contents)

The difference being "b'foo'" versus "foo".

cleanup/schema-raise-import-error-if-validate-strict 2018-04-19 13:58:39 UTC 2018-04-19
Update a test asserting that a warning was logged with strict=true.

Author: Scott Moser
Author Date: 2018-04-19 13:58:39 UTC

Update a test asserting that a warning was logged with strict=true.

fix/1677205-eol-on-sshd_config 2018-04-19 13:54:18 UTC 2018-04-19
change from bool(changed) to len(changed)

Author: Scott Moser
Author Date: 2018-04-19 13:30:11 UTC

change from bool(changed) to len(changed)

bug/1764264-schema-runcmd-is-not-unique 2018-04-19 01:54:41 UTC 2018-04-19
Schema: do not warn on duplicate items in commands.

Author: Scott Moser
Author Date: 2018-04-18 19:49:44 UTC

Schema: do not warn on duplicate items in commands.

runcmd, bootcmd, snap/commands, ubuntu-advantage/commands would
log warning (and fail if strict) on duplicate values in the commands.
But those should be allowed. Example, it is perfectly valid to do:
   runcmd: ['sleep 1', 'sleep 1']

LP: #1764264

doc/add_aliyun_doc 2018-04-18 16:27:03 UTC 2018-04-18
Suggested changes.

Author: Scott Moser
Author Date: 2018-04-18 16:13:46 UTC

Suggested changes.

 - General re-wording and re-formatting.
 - Mention 'AliYun' specifically as that is the datasource name.
 - Add to topics/datasources.rst so it shows up in the list.
 - Make a single subsection 'Alibaba Cloud (AliYun)'.
 - Use subsubsections (^) for 'Versions', 'userdata' 'metadata'
 - use shell code blocks and 'curl' to show grabbing data.
 - converted dos to unix carriage returns
 - removed a non-breaking space (U+FEFF).

cleanup/pylint-respect-W0612-unused-variable 2018-04-17 23:47:55 UTC 2018-04-17
flakes

Author: Scott Moser
Author Date: 2018-04-17 23:47:55 UTC

flakes

fix/templater-with-non-ascii 2018-04-12 20:24:32 UTC 2018-04-12
re-add the unicode curly tick mark in chrony templates.

Author: Scott Moser
Author Date: 2018-04-12 20:20:28 UTC

re-add the unicode curly tick mark in chrony templates.

Ryan had worked around the fix that is here and removed a
curly tick mark from the chrony templates. Here we add it back
to make the files more correct wrt the distro.

bug/1641574-authorizedkeysfile-none 2018-04-11 18:44:25 UTC 2018-04-11
ssh: do not write file named 'none' when AuthorizedKeysFile=none.

Author: Scott Moser
Author Date: 2016-11-21 15:28:55 UTC

ssh: do not write file named 'none' when AuthorizedKeysFile=none.

If AuthorizedKeysFile == "none", then there should not be a file written.
Note, this is only partial support as realisitically to do this, the
user would need to support
  AuthorizedKeysCommandUser
and
  AuthorizedKeysCommand

LP: #1641574

cleanup/fix-tip-pycodestyle-invalid-escape-sequences 2018-04-11 17:18:30 UTC 2018-04-11
pycodestyle: Fix invalid escape sequences in string literals.

Author: Scott Moser
Author Date: 2018-04-11 16:50:01 UTC

pycodestyle: Fix invalid escape sequences in string literals.

Python has deprecated these invalid string literals now
  https://bugs.python.org/issue27364
and pycodestyle is identifying them with a W605 warning.
  https://github.com/PyCQA/pycodestyle/pull/676

So basically, any use of \ not followed by one of [\'"abfnrtv]
or \ooo (octal) \xhh (hex) or a newline is invalid. This is most comomnly
seen for us in regex. To solve, you either:
 a.) use a raw string r'...'
 b.) correctly escape the \ that was not intended to be interpreted.

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.

feature/driver-enablement 2018-03-23 19:02:31 UTC 2018-03-23
address Ryan's feedback.

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

address Ryan's feedback.

fix/shellify-raise-type-errors 2018-03-08 11:36:54 UTC 2018-03-08
fix test

Author: Scott Moser
Author Date: 2018-03-08 11:36:54 UTC

fix test

fix/test-run_tree-fixes 2018-03-07 16:33:45 UTC 2018-03-07
cleanup.

Author: Scott Moser
Author Date: 2018-03-07 16:33:45 UTC

cleanup.

release/18.1 2018-02-22 22:20:24 UTC 2018-02-22
release 18.1

Author: Scott Moser
Author Date: 2018-02-22 21:40:05 UTC

release 18.1

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

LP: #1751145

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

release/17.2 2017-12-14 17:33:52 UTC 2017-12-14
release 17.2

Author: Scott Moser
Author Date: 2017-12-14 17:33:52 UTC

release 17.2

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

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/xenial-refresh-ds-identify-patch 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

fix/cloud-test-add-pylint-and-fix 2017-12-07 19:20:43 UTC 2017-12-07
do not provide trailing / on pylint.

Author: Scott Moser
Author Date: 2017-12-07 19:20:43 UTC

do not provide trailing / on pylint.

this is actually a differen thing:
 pylint tools/
 pylint tools

I only know this because I ran 'pylint tools/' before fixing tools/
and did not see any errors. When running 'pylint tools' would show
errors in tools/*.py files.

cleanup/ci-nocloud-pubkeys-in-metadata 2017-12-05 22:09:29 UTC 2017-12-05
citest: In NoCloudKVM provide keys via metadata not userdata.

Author: Scott Moser
Author Date: 2017-12-05 21:33:56 UTC

citest: In NoCloudKVM provide keys via metadata not userdata.

The NoCloudKVM platform was inserting ssh keys via user-data
rather than through meta-data like it is done on other platforms.
This way we are not forced to change the user-data provided.

Also, provide meta-data including a uuid as the instance-id.

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

ubuntu/sm-proposed-artful 2017-10-03 14:55:58 UTC 2017-10-03
releasing package cloud-init version 17.1-13-g7fd04255-0ubuntu1

Author: Scott Moser
Author Date: 2017-10-03 14:55:58 UTC

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

fix/debian-852564-no-hardcoded-udevadm 2017-09-25 18:29:13 UTC 2017-09-25
AltCloud: Trust PATH for udevadm and modprobe.

Author: Scott Moser
Author Date: 2017-09-25 18:29:13 UTC

AltCloud: Trust PATH for udevadm and modprobe.

Previously we had hard coded paths in /sbin for the udevadm and modprobe
programs invoked by AltCloud. Its more flexible to expect the PATH to
be set correctly.

Debian: #852564

feature/run-opensuse 2017-09-20 15:58:12 UTC 2017-09-20
some updates for run-opensuse networking checking

Author: Scott Moser
Author Date: 2017-09-20 15:32:00 UTC

some updates for run-opensuse networking checking

fix checking for networking

ubuntu/sm-no-cherry-picks 2017-09-18 01:26:55 UTC 2017-09-18
add a debian/patches/series.clean to clean cpick

Author: Scott Moser
Author Date: 2017-09-18 01:13:05 UTC

add a debian/patches/series.clean to clean cpick

ubuntu/sm-xenial 2017-09-18 01:15:21 UTC 2017-09-18
debian/rules: in clean target, run debian/patches/series.clean if present.

Author: Scott Moser
Author Date: 2017-09-18 01:10:34 UTC

debian/rules: in clean target, run debian/patches/series.clean if present.

This will allow recipe based builds of trunk to strip out the 'cpick'
patches which would not apply (because they're already in trunk).

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

bug/1639030-aws-ipv6-network 2017-07-03 20:37:09 UTC 2017-07-03
run at local time frame wit ipv4ll

Author: Scott Moser
Author Date: 2017-07-03 20:37:09 UTC

run at local time frame wit ipv4ll

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/1692087-disk_setup-gpt-improvements 2017-05-22 20:37:40 UTC 2017-05-22
disk_setup: fix several issues with gpt disk partitions.

Author: Scott Moser
Author Date: 2017-05-19 18:57:04 UTC

disk_setup: fix several issues with gpt disk partitions.

This fixes several shortcomings of disk_setup with gpt disks.
 * 'sgdisk -p' was being used to determine the size of a disk.
   this can fail if it believes there is a bad gpt partition table.
   Instead we just use blockdev now for both mbr or gpt disks.
 * parsing of sgdisk -p output assumed that the 'name' of the partition
   type would not have any spaces (Microsoft basic data)
 * interaction with sgdisk did not realize that sgdisk wants input
   of '8300' rather than '83' and will output the same.

LP: #1692087

cl_on_Azure_0.7.9-fixups 2017-05-04 03:36:39 UTC 2017-05-04
requirements.txt: drop change to comment out argparse

Author: Scott Moser
Author Date: 2017-05-04 03:36:39 UTC

requirements.txt: drop change to comment out argparse

Lets leave this in right now, we can investigate further dropping it
later. I think that centos6 needs it, and other environments
do not seem bothered by it. (argparse is builtin in python >= 2.7).

bug/1673818-configdrive-doc-does-read-disk 2017-03-17 16:34:47 UTC 2017-03-17
doc: fix config drive doc with regard to unpartitioned disks.

Author: Scott Moser
Author Date: 2017-03-17 16:34:47 UTC

doc: fix config drive doc with regard to unpartitioned disks.

The ConfigDrive datasource has read un-partitioned disks for quite
a while, but the documentation lagged behind.

LP: #1673818

bug-lp-1645644-ntp 2017-03-09 21:48:09 UTC 2017-03-09
cloud_tests: ntp_pools: remove duplicate test I accidentally left in

Author: Ryan Harper
Author Date: 2017-01-11 15:17:30 UTC

cloud_tests: ntp_pools: remove duplicate test I accidentally left in

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

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.

141 of 41 results
This repository contains Public information 
Everyone can see this information.

Subscribers