lp:~mgerdts/cloud-init

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

Branches

Name Last Modified Last Commit
lp1765801 2019-10-31 17:35:18 UTC
DataSourceSmartOS: reconfigure network on each boot

Author: Mike Gerdts
Author Date: 2018-07-20 13:08:02 UTC

DataSourceSmartOS: reconfigure network on each boot

In typical cases, SmartOS does not use DHCP for network configuration. As such,
if the network configuration changes that is reflected in metadata and will be
picked up during the next boot.

LP: #1765801
Joyent: OS-6902 cloud-init should be able to reconfigure network on each boot

lp1765801.1 2019-10-31 17:35:18 UTC
DataSourceSmartOS: reconfigure network on each boot

Author: Mike Gerdts
Author Date: 2018-07-20 13:08:02 UTC

DataSourceSmartOS: reconfigure network on each boot

In typical cases, SmartOS does not use DHCP for network configuration. As such,
if the network configuration changes that is reflected in metadata and will be
picked up during the next boot.

LP: #1765801
Joyent: OS-6902 cloud-init should be able to reconfigure network on each boot

master 2019-09-18 13:15:25 UTC
Add datasource for ZStack platform.

Author: Steve Ruan
Author Date: 2019-09-18 13:15:25 UTC

Add datasource for ZStack platform.

Zstack platform provides a AWS Ec2 metadata service, and
identifies their platform to the guest by setting the 'chassis asset tag'
to a string that ends with '.zstack.io'.

LP: #1841181

update_metadata 2018-07-20 21:16:53 UTC
fix python 2.6

Author: Mike Gerdts
Author Date: 2018-07-20 21:16:53 UTC

fix python 2.6

lp1763512 2018-05-17 15:29:03 UTC
more feedback from rharper

Author: Mike Gerdts
Author Date: 2018-05-17 15:29:03 UTC

more feedback from rharper

lp1746605 2018-04-21 01:48:35 UTC
feedback from smoser: unused variable

Author: Mike Gerdts
Author Date: 2018-04-21 01:48:35 UTC

feedback from smoser: unused variable

lp1765085 2018-04-20 20:09:51 UTC
remove extraneous debug statements

Author: Mike Gerdts
Author Date: 2018-04-20 20:09:51 UTC

remove extraneous debug statements

lp1763480 2018-04-20 19:26:49 UTC
feedback from smoser: no more magic 16 or 17

Author: Mike Gerdts
Author Date: 2018-04-20 19:26:49 UTC

feedback from smoser: no more magic 16 or 17

lp1763511 2018-04-17 12:59:02 UTC
DataSourceSmartOS: ephemeral drive should default to ext4

Author: Mike Gerdts
Author Date: 2018-04-12 20:51:54 UTC

DataSourceSmartOS: ephemeral drive should default to ext4

    ext3 is not able to support file system sizes that are needed in
    Joyent's cloud. This changes the default file system type from ext3
    to ext4.

    LP: #1763511

queue 2018-04-17 12:49:16 UTC
DataSourceSmartOS: sdc:hostname is ignored

Author: Mike Gerdts
Author Date: 2018-04-12 22:19:31 UTC

DataSourceSmartOS: sdc:hostname is ignored

   There are three potential sources of the hostname, one of which is
   documented SmartOS's vmadm(1M) via the hostname property. That
   property's value is retrieved via the sdc:hostname key. The other
   two sources for the hostname are a hostname key in customer_metadata
   and the VM's uuid (sdc:uuid). Of these three, the sdc:hostname value
   is not used in a meaningful way by DataSourceSmartOS.

   This fix changes the fallback mechanism when hostname is not
   specified in customer_metadata. The order of precedence for setting
   the hostname is now 1) hostname in customer_metadata,
   2) sdc:hostname, then 3) sdc:uuid.

   LP: #1763512

lp1667735 2018-04-17 03:39:35 UTC
smoser final feedback: redundant flush

Author: Mike Gerdts
Author Date: 2018-04-17 03:39:35 UTC

smoser final feedback: redundant flush

bug-1667735 2018-02-07 18:07:50 UTC
DataSourceSmartOS: list() should always return a list

Author: Mike Gerdts
Author Date: 2018-02-07 18:07:50 UTC

DataSourceSmartOS: list() should always return a list

    If customer_metadata has no keys, the KEYS request returns an empty string.
    Callers of the list() method expect a list to be returned and will give a
    stack trace if this expectation is not met.

    LP: #TBD

bug-1746605 2018-02-07 13:56:09 UTC
DataSourceSmartOS: add locking and retries

Author: Mike Gerdts
Author Date: 2018-02-01 14:50:11 UTC

DataSourceSmartOS: add locking and retries

    cloud-init and mdata-get each have their own implementation of the SmartOS
    metadata protocol. If cloud-init and other services that call mdata-get are
    run concurrently, crosstalk on the serial port can cause them both to become
    confused.

    This change makes it so that cloud-init uses the same cooperative locking
    scheme that's used by mdata-get, thus preventing cross-talk between
    mdata-get and cloud-init. To provide some level of protection against
    others that may generate noise on the serial port, a retry mechanism is also
    added.

    For testing, pyserial is required. bddeb was changed to pass the proper
    option to read-dependencies so that the renames in pkg-deps.json are
    recognized.

    LP: #1746605

113 of 13 results
This repository contains Public information 
Everyone can see this information.

Subscribers