lp:cloud-init

Get this repository:
git clone https://git.launchpad.net/cloud-init
Members of cloud-init commiters can upload to this repository. Log in for directions.

Branches

Name Last Modified Last Commit
master 2019-02-14 20:37:32 UTC 2019-02-14
EC2: Rewrite network config on AWS Classic instances every boot

Author: Guilherme G. Piccoli
Author Date: 2019-02-14 20:37:32 UTC

EC2: Rewrite network config on AWS Classic instances every boot

AWS EC2 instances' network come in 2 basic flavors: Classic and VPC
(Virtual Private Cloud). The former has an interesting behavior of having
its MAC address changed whenever the instance is stopped/restarted. This
behavior is not observed in VPC instances.

In Ubuntu 18.04 (Bionic) the network "management" changed from ENI-style
(etc/network/interfaces) to netplan, and when using netplan we observe
the following block present in /etc/netplan/50-cloud-init.yaml:

match:
  macaddress: aa:bb:cc:dd:ee:ff

Jani Ollikainen noticed in Launchpad bug #1802073 that the EC2 Classic
instances were booting without network access in Bionic after stop/restart
procedure, due to their MAC address change behavior. It was narrowed down
to the netplan MAC match block, that kept the old MAC address after
stopping and restarting an instance, since the network configuration
writing happens by default only once in EC2 instances, in the first boot.

This patch changes the network configuration write to every boot in EC2
Classic instances, by checking against the "vpc-id" metadata information
provided only in the VPC instances - if we don't have this metadata value,
cloud-init will rewrite the network configuration file in every boot.

This was tested in an EC2 Classic instance and proved to fix the issue;
unit tests were also added for the new method is_classic_instance().

LP: #1802073

Reported-by: Jani Ollikainen <jani.ollikainen@ik.fi>
Suggested-by: Ryan Harper <ryan.harper@canonical.com>
Co-developed-by: Chad Smith <chad.smith@canonical.com>
Signed-off-by: Guilherme G. Piccoli <gpiccoli@canonical.com>

ubuntu/xenial 2019-01-29 03:28:04 UTC 2019-01-29
releasing cloud-init version 18.5-21-g8ee294d5-0ubuntu1~16.04.1

Author: Chad Smith
Author Date: 2019-01-29 03:28:04 UTC

releasing cloud-init version 18.5-21-g8ee294d5-0ubuntu1~16.04.1

ubuntu/bionic 2019-01-29 03:26:05 UTC 2019-01-29
releasing cloud-init version 18.5-21-g8ee294d5-0ubuntu1~18.04.1

Author: Chad Smith
Author Date: 2019-01-29 03:26:05 UTC

releasing cloud-init version 18.5-21-g8ee294d5-0ubuntu1~18.04.1

ubuntu/cosmic 2019-01-29 03:20:23 UTC 2019-01-29
releasing cloud-init version 18.5-21-g8ee294d5-0ubuntu1~18.10.1

Author: Chad Smith
Author Date: 2019-01-29 03:20:23 UTC

releasing cloud-init version 18.5-21-g8ee294d5-0ubuntu1~18.10.1

ubuntu/devel 2019-01-29 00:02:15 UTC 2019-01-29
releasing cloud-init version 18.5-21-g8ee294d5-0ubuntu1

Author: Chad Smith
Author Date: 2019-01-29 00:02:15 UTC

releasing cloud-init version 18.5-21-g8ee294d5-0ubuntu1

ubuntu/trusty 2018-09-10 21:10:22 UTC 2018-09-10
update changelog content/formatting

Author: Scott Moser
Author Date: 2018-09-10 21:10:22 UTC

update changelog content/formatting

ubuntu/artful 2018-07-10 19:47:47 UTC 2018-07-10
update changelog: add sru bug ref in changelog, remove individual ref.

Author: Scott Moser
Author Date: 2018-07-10 19:45:31 UTC

update changelog: add sru bug ref in changelog, remove individual ref.

Just remove the reference to bug 1780481 that was added to
debian/changelog. Also, add a reference (re-using) the SRU bug 1777912.

(cherry picked from commit b07ebf52e94fa5f94708f86937af4dba382168ba)

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/yakkety 2017-06-29 21:24:23 UTC 2017-06-29
debian/patches/azure-use-walinux-agent.patch: refresh patch.

Author: Scott Moser
Author Date: 2017-06-29 21:07:29 UTC

debian/patches/azure-use-walinux-agent.patch: refresh patch.

ubuntu/precise 2016-08-23 20:48:37 UTC 2016-08-23
Import version 0.6.3-0ubuntu1.25

Author: Scott Moser
Author Date: 2016-08-23 20:48:37 UTC

Import version 0.6.3-0ubuntu1.25

Imported using git-dsc-commit.

110 of 10 results
This repository contains Public information 
Everyone can see this information.