Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eni rendering broken for bridge params that require repeated key for values #2961

Closed
ubuntu-server-builder opened this issue May 11, 2023 · 8 comments
Labels
launchpad Migrated from Launchpad

Comments

@ubuntu-server-builder
Copy link
Collaborator

This bug was originally filed in Launchpad as LP: #1706752

Launchpad details
affected_projects = ['cloud-init (Ubuntu)', 'cloud-init (Ubuntu Xenial)', 'cloud-init (Ubuntu Zesty)', 'cloud-init (Ubuntu Artful)']
assignee = None
assignee_name = None
date_closed = 2017-09-22T21:09:47.294756+00:00
date_created = 2017-07-26T19:36:12.004904+00:00
date_fix_committed = 2017-07-26T19:36:58.822351+00:00
date_fix_released = 2017-09-22T21:09:47.294756+00:00
id = 1706752
importance = medium
is_complete = True
lp_url = https://bugs.launchpad.net/cloud-init/+bug/1706752
milestone = None
owner = smoser
owner_name = Scott Moser
private = False
status = fix_released
submitter = smoser
submitter_name = Scott Moser
tags = ['amd64', 'apport-bug', 'uec-images', 'verification-done-xenial', 'verification-done-zesty', 'zesty']
duplicates = []

Launchpad user Scott Moser(smoser) wrote on 2017-07-26T19:36:12.004904+00:00

=== Begin SRU Template ===
[Impact]
ENI rendering of bridge configuration options for bridge_pathcost, bridge_portprio and bridge_waitport would be limited to a single key/val pair. Now support multi-line key values for these configuration options.

[Test Case]
if [ ! -f lxc-proposed-snapshot ]; then
  wget https://git.launchpad.net/~smoser/cloud-init/+git/sru-info/plain/bin/lxc-proposed-snapshot -O lxc-proposed-snapshot
  chmod 755 lxc-proposed-snapshot
fi

get render tool

$ wget https://git.launchpad.net/~cloud-init-dev/cloud-init/plain/tools/net-convert.py -O net-convert.py

write the network_data.json

$ cat >network_data.yaml <<EOF
version: 1
config:
    - type: physical
      name: eth0
      mac_address: "c0:d6:9f:2c:e8:80"
    - type: physical
      name: eth1
      mac_address: "aa:d6:9f:2c:e8:80"
    - type: bridge
      name: br0
      bridge_interfaces:
        - eth0
        - eth1
      params:
        bridge_ageing: 250
        bridge_bridgeprio: 22
        bridge_fd: 1
        bridge_gcint: 2
        bridge_hello: 1
        bridge_maxage: 10
        bridge_maxwait: 0
        bridge_pathcost:
          - eth0 50
          - eth1 75
        bridge_portprio:
          - eth0 28
          - eth1 14
        bridge_stp: 'off'
        bridge_waitport:
          - 1 eth0
          - 2 eth1
EOF

for release in xenial zesty; do
        ref=$release-proposed;
        echo "$release START --------------";
        ./lxc-proposed-snapshot --proposed --publish $release $ref;
        lxc start test-$release;
        lxc file push net-convert.py test-$release/net-convery.py;
        lxc file push network_data.yaml test-$release/network_data.yaml;
        for k in eni netplan; do
            lxc exec test-$release -- python3 /net-convert.py
            --network-data=net-config.yaml --kind=yaml
            --output-kind=$k --mac=eth0,c0:d6:9f:2c:e8:80
            --directory=out.d ;
        done
        lxc exec test-$release -- cat out.d/etc/network/interfaces
        lxc exec test-$release -- cat out.d/etc/netplan/50-cloud-init.yaml
done

[Regression Potential]
Fairly low, this feature adds support for multi-line keys for 3 specific bridge configuration options bridge_pathcost, bridge_portprio and bridge_waitport.
Prior releases didn't have this support and would have only allowed for a single configuration value for the key. Now the configuration is properly rendered for multiple-interfaces.

[Other Info]
Upstream commit at
  https://git.launchpad.net/cloud-init/commit/?id=00b678c61

This is fixed in cloud-init via commit 00b678c.

 Fix eni rendering for bridge params that 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.

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: cloud-init 0.7.9-90-g61eb03fe-0ubuntu1
ProcVersionSignature: Ubuntu 4.10.0-26.30-generic 4.10.17
Uname: Linux 4.10.0-26-generic x86_64
NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
ApportVersion: 2.20.4-0ubuntu4.5
Architecture: amd64
Date: Wed Jul 26 19:33:36 2017
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=C.UTF-8
SourcePackage: cloud-init
UpgradeStatus: No upgrade log present (probably fresh install)

@ubuntu-server-builder ubuntu-server-builder added the launchpad Migrated from Launchpad label May 11, 2023
@ubuntu-server-builder
Copy link
Collaborator Author

Launchpad user Scott Moser(smoser) wrote on 2017-07-26T19:36:12.004904+00:00

Launchpad attachments: Dependencies.txt,JournalErrors.txt,ProcCpuinfoMinimal.txt

@ubuntu-server-builder
Copy link
Collaborator Author

Launchpad user Chris J Arges(arges) wrote on 2017-08-23T12:29:15.668498+00:00

Hello Scott, or anyone else affected,

Accepted cloud-init into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud-init/0.7.9-233-ge586fe35-0ubuntu1~16.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

@ubuntu-server-builder
Copy link
Collaborator Author

Launchpad user Chris J Arges(arges) wrote on 2017-08-23T12:32:18.188759+00:00

Hello Scott, or anyone else affected,

Accepted cloud-init into zesty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud-init/0.7.9-233-ge586fe35-0ubuntu1~17.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-zesty to verification-done-zesty. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-zesty. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

@ubuntu-server-builder
Copy link
Collaborator Author

Launchpad user Chad Smith(chad.smith) wrote on 2017-08-28T22:09:16.262435+00:00

validated xenial and zesty network configuration output with net-convert.py

csmith@fringe:~$ for release in xenial zesty; do

    echo "$release START --------------";
    lxc exec test-$release -- grep CODENAME /etc/lsb-release;
    lxc exec test-$release -- dpkg-query --show cloud-init;
    lxc file push net-convert.py test-$release/net-convert.py;
    lxc file push network_data.yaml test-$release/network_data.yaml;
    for k in eni netplan; do
       lxc exec test-$release -- python3 /net-convert.py \
       --network-data=/network_data.yaml --kind=yaml \
       --output-kind=$k --mac=eth0,c0:d6:9f:2c:e8:80 \
       --directory=out.d ;
    done;
    lxc exec test-$release -- cat out.d/etc/network/interfaces;
    lxc exec test-$release -- cat out.d/etc/netplan/50-cloud-init.yaml

    echo "$release FINISH --------------";

done
xenial START --------------

DISTRIB_CODENAME=xenial
cloud-init 0.7.9-233-ge586fe35-0ubuntu1~16.04.1
Input YAML
config:

  • mac_address: c0:d6:9f:2c:e8:80
    name: eth0
    type: physical
  • mac_address: aa:d6:9f:2c:e8:80
    name: eth1
    type: physical
  • bridge_interfaces:
    • eth0
    • eth1
      name: br0
      params:
      bridge_ageing: 250
      bridge_bridgeprio: 22
      bridge_fd: 1
      bridge_gcint: 2
      bridge_hello: 1
      bridge_maxage: 10
      bridge_maxwait: 0
      bridge_pathcost:
      • eth0 50
      • eth1 75
        bridge_portprio:
      • eth0 28
      • eth1 14
        bridge_stp: 'off'
        bridge_waitport:
      • 1 eth0
      • 2 eth1
        type: bridge
        version: 1

Internal State
!!python/object:cloudinit.net.network_state.NetworkState
_network_state:
dns:
nameservers: []
search: []
interfaces:
br0:
address: null
bridge_ageing: 250
bridge_bridgeprio: 22
bridge_fd: 1
bridge_gcint: 2
bridge_hello: 1
bridge_maxage: 10
bridge_maxwait: 0
bridge_pathcost:
- eth0 50
- eth1 75
bridge_portprio:
- eth0 28
- eth1 14
bridge_ports:
- eth0
- eth1
bridge_stp: 'off'
bridge_waitport:
- 1 eth0
- 2 eth1
gateway: null
inet: inet
mac_address: null
mode: manual
mtu: null
name: br0
subnets: []
type: bridge
eth0:
address: null
gateway: null
inet: inet
mac_address: c0:d6:9f:2c:e8:80
mode: manual
mtu: null
name: eth0
subnets: []
type: physical
eth1:
address: null
gateway: null
inet: inet
mac_address: aa:d6:9f:2c:e8:80
mode: manual
mtu: null
name: eth1
subnets: []
type: physical
routes: []
use_ipv6: false
_version: 1
use_ipv6: false

Input YAML
config:

  • mac_address: c0:d6:9f:2c:e8:80
    name: eth0
    type: physical
  • mac_address: aa:d6:9f:2c:e8:80
    name: eth1
    type: physical
  • bridge_interfaces:
    • eth0
    • eth1
      name: br0
      params:
      bridge_ageing: 250
      bridge_bridgeprio: 22
      bridge_fd: 1
      bridge_gcint: 2
      bridge_hello: 1
      bridge_maxage: 10
      bridge_maxwait: 0
      bridge_pathcost:
      • eth0 50
      • eth1 75
        bridge_portprio:
      • eth0 28
      • eth1 14
        bridge_stp: 'off'
        bridge_waitport:
      • 1 eth0
      • 2 eth1
        type: bridge
        version: 1

Internal State
!!python/object:cloudinit.net.network_state.NetworkState
_network_state:
dns:
nameservers: []
search: []
interfaces:
br0:
address: null
bridge_ageing: 250
bridge_bridgeprio: 22
bridge_fd: 1
bridge_gcint: 2
bridge_hello: 1
bridge_maxage: 10
bridge_maxwait: 0
bridge_pathcost:
- eth0 50
- eth1 75
bridge_portprio:
- eth0 28
- eth1 14
bridge_ports:
- eth0
- eth1
bridge_stp: 'off'
bridge_waitport:
- 1 eth0
- 2 eth1
gateway: null
inet: inet
mac_address: null
mode: manual
mtu: null
name: br0
subnets: []
type: bridge
eth0:
address: null
gateway: null
inet: inet
mac_address: c0:d6:9f:2c:e8:80
mode: manual
mtu: null
name: eth0
subnets: []
type: physical
eth1:
address: null
gateway: null
inet: inet
mac_address: aa:d6:9f:2c:e8:80
mode: manual
mtu: null
name: eth1
subnets: []
type: physical
routes: []
use_ipv6: false
_version: 1
use_ipv6: false

auto lo
iface lo inet loopback

iface eth0 inet manual

iface eth1 inet manual

iface br0 inet manual
bridge_ageing 250
bridge_bridgeprio 22
bridge_fd 1
bridge_gcint 2
bridge_hello 1
bridge_maxage 10
bridge_pathcost eth0 50
bridge_pathcost eth1 75
bridge_portprio eth0 28
bridge_portprio eth1 14
bridge_ports eth0 eth1
bridge_stp off
bridge_waitport 1 eth0
bridge_waitport 2 eth1

network:
version: 2
ethernets:
eth0:
match:
macaddress: c0:d6:9f:2c:e8:80
set-name: eth0
eth1:
match:
macaddress: aa:d6:9f:2c:e8:80
set-name: eth1
bridges:
br0:
interfaces:
- eth0
- eth1
parameters:
ageing-time: 250
forward-delay: 1
hello-time: 1
max-age: 10
path-cost:
eth0: 50
eth1: 75
priority: 22
xenial FINISH --------------
zesty START --------------
DISTRIB_CODENAME=zesty
cloud-init 0.7.9-233-ge586fe35-0ubuntu1~17.04.1
Input YAML
config:

  • mac_address: c0:d6:9f:2c:e8:80
    name: eth0
    type: physical
  • mac_address: aa:d6:9f:2c:e8:80
    name: eth1
    type: physical
  • bridge_interfaces:
    • eth0
    • eth1
      name: br0
      params:
      bridge_ageing: 250
      bridge_bridgeprio: 22
      bridge_fd: 1
      bridge_gcint: 2
      bridge_hello: 1
      bridge_maxage: 10
      bridge_maxwait: 0
      bridge_pathcost:
      • eth0 50
      • eth1 75
        bridge_portprio:
      • eth0 28
      • eth1 14
        bridge_stp: 'off'
        bridge_waitport:
      • 1 eth0
      • 2 eth1
        type: bridge
        version: 1

Internal State
!!python/object:cloudinit.net.network_state.NetworkState
_network_state:
dns:
nameservers: []
search: []
interfaces:
br0:
address: null
bridge_ageing: 250
bridge_bridgeprio: 22
bridge_fd: 1
bridge_gcint: 2
bridge_hello: 1
bridge_maxage: 10
bridge_maxwait: 0
bridge_pathcost:
- eth0 50
- eth1 75
bridge_portprio:
- eth0 28
- eth1 14
bridge_ports:
- eth0
- eth1
bridge_stp: 'off'
bridge_waitport:
- 1 eth0
- 2 eth1
gateway: null
inet: inet
mac_address: null
mode: manual
mtu: null
name: br0
subnets: []
type: bridge
eth0:
address: null
gateway: null
inet: inet
mac_address: c0:d6:9f:2c:e8:80
mode: manual
mtu: null
name: eth0
subnets: []
type: physical
eth1:
address: null
gateway: null
inet: inet
mac_address: aa:d6:9f:2c:e8:80
mode: manual
mtu: null
name: eth1
subnets: []
type: physical
routes: []
use_ipv6: false
_version: 1
use_ipv6: false

Input YAML
config:

  • mac_address: c0:d6:9f:2c:e8:80
    name: eth0
    type: physical
  • mac_address: aa:d6:9f:2c:e8:80
    name: eth1
    type: physical
  • bridge_interfaces:
    • eth0
    • eth1
      name: br0
      params:
      bridge_ageing: 250
      bridge_bridgeprio: 22
      bridge_fd: 1
      bridge_gcint: 2
      bridge_hello: 1
      bridge_maxage: 10
      bridge_maxwait: 0
      bridge_pathcost:
      • eth0 50
      • eth1 75
        bridge_portprio:
      • eth0 28
      • eth1 14
        bridge_stp: 'off'
        bridge_waitport:
      • 1 eth0
      • 2 eth1
        type: bridge
        version: 1

Internal State
!!python/object:cloudinit.net.network_state.NetworkState
_network_state:
dns:
nameservers: []
search: []
interfaces:
br0:
address: null
bridge_ageing: 250
bridge_bridgeprio: 22
bridge_fd: 1
bridge_gcint: 2
bridge_hello: 1
bridge_maxage: 10
bridge_maxwait: 0
bridge_pathcost:
- eth0 50
- eth1 75
bridge_portprio:
- eth0 28
- eth1 14
bridge_ports:
- eth0
- eth1
bridge_stp: 'off'
bridge_waitport:
- 1 eth0
- 2 eth1
gateway: null
inet: inet
mac_address: null
mode: manual
mtu: null
name: br0
subnets: []
type: bridge
eth0:
address: null
gateway: null
inet: inet
mac_address: c0:d6:9f:2c:e8:80
mode: manual
mtu: null
name: eth0
subnets: []
type: physical
eth1:
address: null
gateway: null
inet: inet
mac_address: aa:d6:9f:2c:e8:80
mode: manual
mtu: null
name: eth1
subnets: []
type: physical
routes: []
use_ipv6: false
_version: 1
use_ipv6: false

auto lo
iface lo inet loopback

iface eth0 inet manual

iface eth1 inet manual

iface br0 inet manual
bridge_ageing 250
bridge_bridgeprio 22
bridge_fd 1
bridge_gcint 2
bridge_hello 1
bridge_maxage 10
bridge_pathcost eth0 50
bridge_pathcost eth1 75
bridge_portprio eth0 28
bridge_portprio eth1 14
bridge_ports eth0 eth1
bridge_stp off
bridge_waitport 1 eth0
bridge_waitport 2 eth1

network:
version: 2
ethernets:
eth0:
match:
macaddress: c0:d6:9f:2c:e8:80
set-name: eth0
eth1:
match:
macaddress: aa:d6:9f:2c:e8:80
set-name: eth1
bridges:
br0:
interfaces:
- eth0
- eth1
parameters:
ageing-time: 250
forward-delay: 1
hello-time: 1
max-age: 10
path-cost:
eth0: 50
eth1: 75
priority: 22
zesty FINISH --------------

@ubuntu-server-builder
Copy link
Collaborator Author

Launchpad user Launchpad Janitor(janitor) wrote on 2017-09-13T01:26:05.837714+00:00

This bug was fixed in the package cloud-init - 0.7.9-233-ge586fe35-0ubuntu1~16.04.1


cloud-init (0.7.9-233-ge586fe35-0ubuntu1~16.04.1) xenial-proposed; urgency=medium

  • debian/cloud-init.templates: enable Scaleway cloud.
  • debian/cloud-init.templates: enable Aliyun cloud.
  • drop the following cherry picks, now incorporated in snapshot.
    • debian/patches/cpick-5fb49bac-azure-identify-platform...
    • debian/patches/cpick-003c6678-net-remove-systemd-link...
    • debian/patches/cpick-1cd4323b-azure-remove-accidental...
    • debian/patches/cpick-ebc9ecbc-Azure-Add-network-config...
    • debian/patches/cpick-11121fe4-systemd-make-cloud-final...
  • debian/patches/stable-release-no-jsonschema-dep.patch:
    add patch to remove optional dependency on jsonschema.
  • New upstream snapshot.
    • cloudinit.net: add initialize_network_device function and tests
      [Chad Smith]
    • makefile: fix ci-deps-ubuntu target [Chad Smith]
    • tests: adjust locale integration test to parse default locale.
    • tests: remove 'yakkety' from releases as it is EOL.
    • centos: do not package systemd-fsck drop-in.
    • systemd: make systemd-fsck run after cloud-init.service (LP: #1691489)
    • tests: Add initial tests for EC2 and improve a docstring.
    • locale: Do not re-run locale-gen if provided locale is system default.
    • archlinux: fix set hostname usage of write_file. [Joshua Powers]
    • sysconfig: support subnet type of 'manual'.
    • tools/run-centos: make running with no argument show help.
    • Drop rand_str() usage in DNS redirection detection
      [Bob Aman] (LP: #1088611)
    • sysconfig: use MACADDR on bonds/bridges to configure mac_address
      [Ryan Harper]
    • net: eni route rendering missed ipv6 default route config
      [Ryan Harper] (LP: #1701097)
    • sysconfig: enable mtu set per subnet, including ipv6 mtu
      [Ryan Harper]
    • sysconfig: handle manual type subnets [Ryan Harper]
    • sysconfig: fix ipv6 gateway routes [Ryan Harper]
    • sysconfig: fix rendering of bond, bridge and vlan types.
      [Ryan Harper]
    • Templatize systemd unit files for cross distro deltas. [Ryan Harper]
    • sysconfig: ipv6 and default gateway fixes. [Ryan Harper]
    • net: fix renaming of nics to support mac addresses written in upper
      case. (LP: #1705147)
    • tests: fixes for issues uncovered when moving to python 3.6.
    • sysconfig: include GATEWAY value if set in subnet
      [Ryan Harper]
    • Scaleway: add datasource with user and vendor data for Scaleway.
      [Julien Castets]
    • Support comments in content read by load_shell_content.
    • cloudinitlocal fail to run during boot [Hongjiang Zhang]
    • doc: fix disk setup example table_type options [Sandor Zeestraten]
    • tools: Fix exception handling. [Joonas Kylmälä]
    • tests: fix usage of mock in GCE test.
    • test_gce: Fix invalid mock of platform_reports_gce to return False
      [Chad Smith]
    • test: fix incorrect keyid for apt repository. [Joshua Powers]
    • tests: Update version of pylxd [Joshua Powers]
    • write_files: Remove log from helper function signatures.
      [Andrew Jorgensen]
    • doc: document the cmdline options to NoCloud [Brian Candler]
    • read_dmi_data: always return None when inside a container. (LP: #1701325)
    • requirements.txt: remove trailing white space.
    • Tests: Simplify the check on ssh-import-id [Joshua Powers]
    • tests: update ntp tests after sntp added [Joshua Powers]
    • FreeBSD: Make freebsd a variant, fix unittests and
      tools/build-on-freebsd.
    • FreeBSD: fix test failure
    • FreeBSD: replace ifdown/ifup with "ifconfig down" and "ifconfig up".
      [Hongjiang Zhang]
    • FreeBSD: fix cdrom mounting failure if /mnt/cdrom/secure did not exist.
      [Hongjiang Zhang]
    • main: Don't use templater to format the welcome message
      [Andrew Jorgensen]
    • docs: Automatically generate module docs form schema if present.
      [Chad Smith]
    • debian: fix path comment in /etc/hosts template. [Jens Sandmann]
    • suse: add hostname and fully qualified domain to template.
      [Jens Sandmann]
    • write_file(s): Print permissions as octal, not decimal [Andrew Jorgensen]
    • ci deps: Add --test-distro to read-dependencies to install all deps
      [Chad Smith]
    • tools/run-centos: cleanups and move to using read-dependencies
    • pkg build ci: Add make ci-deps- target to install pkgs
      [Chad Smith]
    • selinux: Allow restorecon to be non-fatal. [Ryan Harper]
    • net: Allow netinfo subprocesses to return 0 or 1 due to selinux.
      [Ryan Harper]
    • net: Allow for NetworkManager configuration [Ryan McCabe]
    • Use distro release version to determine if we use systemd in redhat spec
      [Ryan Harper]
    • net: normalize data in network_state object
    • Integration Testing: tox env, pyxld 2.2.3, and revamp framework
      [Wesley Wiedenmeier]
    • Chef: Update omnibus url to chef.io, minor doc changes. [JJ Asghar]
    • tools: add centos scripts to build and test [Joshua Powers]
    • Drop cheetah python module as it is not needed by trunk [Ryan Harper]
    • rhel/centos spec cleanups.
    • cloud.cfg: move to a template. setup.py changes along the way.
    • Makefile: add deb-src and srpm targets. use PYVER more places.
    • makefile: fix python 2/3 detection in the Makefile [Chad Smith]
    • snap: Removing snapcraft plug line [Joshua Powers]
    • RHEL/CentOS: Fix default routes for IPv4/IPv6 configuration.
      [Andreas Karis]
    • test: Fix pyflakes complaint of unused import. [Joshua Powers]
    • NoCloud: support seed of nocloud from smbios information
      [Vladimir Pouzanov] (LP: #1691772)
    • net: when selecting a network device, use natural sort order
      [Marc-Aurèle Brothier]
    • fix typos and remove whitespace in various docs [Stephan Telling]
    • systemd: Fix typo in comment in cloud-init.target. [Chen-Han Hsiao]
    • Tests: Skip jsonschema related unit tests when dependency is absent.
      [Chad Smith]
    • tools/net-convert.py: support old cloudinit versions by using kwargs.
    • ntp: Add schema definition and passive schema validation.
      [Chad Smith] (LP: #1692916)
    • Fix eni rendering for bridge params that require repeated key for
      values. [Ryan Harper] (LP: #1706752)
    • AliYun: Enable platform identification and enable by default.
      [Junjie Wang] (LP: #1638931)

-- Scott Moser smoser@ubuntu.com Mon, 31 Jul 2017 16:36:16 -0400

@ubuntu-server-builder
Copy link
Collaborator Author

Launchpad user Chris Halse Rogers(raof) wrote on 2017-09-13T01:27:07.724615+00:00

The verification of the Stable Release Update for cloud-init has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

@ubuntu-server-builder
Copy link
Collaborator Author

Launchpad user Launchpad Janitor(janitor) wrote on 2017-09-13T01:27:27.937540+00:00

This bug was fixed in the package cloud-init - 0.7.9-233-ge586fe35-0ubuntu1~17.04.1


cloud-init (0.7.9-233-ge586fe35-0ubuntu1~17.04.1) zesty; urgency=medium

  • debian/cloud-init.templates: enable Scaleway cloud.
  • debian/cloud-init.templates: enable Aliyun cloud.
  • drop the following cherry picks, now incorporated in snapshot.
    • debian/patches/cpick-5fb49bac-azure-identify-platform...
    • debian/patches/cpick-003c6678-net-remove-systemd-link...
    • debian/patches/cpick-1cd4323b-azure-remove-accidental...
    • debian/patches/cpick-ebc9ecbc-Azure-Add-network-config...
    • debian/patches/cpick-11121fe4-systemd-make-cloud-final...
  • debian/patches/stable-release-no-jsonschema-dep.patch:
    add patch to remove optional dependency on jsonschema.
  • New upstream snapshot.
    • cloudinit.net: add initialize_network_device function and tests
      [Chad Smith]
    • makefile: fix ci-deps-ubuntu target [Chad Smith]
    • tests: adjust locale integration test to parse default locale.
    • tests: remove 'yakkety' from releases as it is EOL.
    • centos: do not package systemd-fsck drop-in.
    • systemd: make systemd-fsck run after cloud-init.service (LP: #1691489)
    • tests: Add initial tests for EC2 and improve a docstring.
    • locale: Do not re-run locale-gen if provided locale is system default.
    • archlinux: fix set hostname usage of write_file. [Joshua Powers]
    • sysconfig: support subnet type of 'manual'.
    • tools/run-centos: make running with no argument show help.
    • Drop rand_str() usage in DNS redirection detection
      [Bob Aman] (LP: #1088611)
    • sysconfig: use MACADDR on bonds/bridges to configure mac_address
      [Ryan Harper]
    • net: eni route rendering missed ipv6 default route config
      [Ryan Harper] (LP: #1701097)
    • sysconfig: enable mtu set per subnet, including ipv6 mtu
      [Ryan Harper]
    • sysconfig: handle manual type subnets [Ryan Harper]
    • sysconfig: fix ipv6 gateway routes [Ryan Harper]
    • sysconfig: fix rendering of bond, bridge and vlan types.
      [Ryan Harper]
    • Templatize systemd unit files for cross distro deltas. [Ryan Harper]
    • sysconfig: ipv6 and default gateway fixes. [Ryan Harper]
    • net: fix renaming of nics to support mac addresses written in upper
      case. (LP: #1705147)
    • tests: fixes for issues uncovered when moving to python 3.6.
    • sysconfig: include GATEWAY value if set in subnet
      [Ryan Harper]
    • Scaleway: add datasource with user and vendor data for Scaleway.
      [Julien Castets]
    • Support comments in content read by load_shell_content.
    • cloudinitlocal fail to run during boot [Hongjiang Zhang]
    • doc: fix disk setup example table_type options [Sandor Zeestraten]
    • tools: Fix exception handling. [Joonas Kylmälä]
    • tests: fix usage of mock in GCE test.
    • test_gce: Fix invalid mock of platform_reports_gce to return False
      [Chad Smith]
    • test: fix incorrect keyid for apt repository. [Joshua Powers]
    • tests: Update version of pylxd [Joshua Powers]
    • write_files: Remove log from helper function signatures.
      [Andrew Jorgensen]
    • doc: document the cmdline options to NoCloud [Brian Candler]
    • read_dmi_data: always return None when inside a container. (LP: #1701325)
    • requirements.txt: remove trailing white space.
    • Tests: Simplify the check on ssh-import-id [Joshua Powers]
    • tests: update ntp tests after sntp added [Joshua Powers]
    • FreeBSD: Make freebsd a variant, fix unittests and
      tools/build-on-freebsd.
    • FreeBSD: fix test failure
    • FreeBSD: replace ifdown/ifup with "ifconfig down" and "ifconfig up".
      [Hongjiang Zhang]
    • FreeBSD: fix cdrom mounting failure if /mnt/cdrom/secure did not exist.
      [Hongjiang Zhang]
    • main: Don't use templater to format the welcome message
      [Andrew Jorgensen]
    • docs: Automatically generate module docs form schema if present.
      [Chad Smith]
    • debian: fix path comment in /etc/hosts template. [Jens Sandmann]
    • suse: add hostname and fully qualified domain to template.
      [Jens Sandmann]
    • write_file(s): Print permissions as octal, not decimal [Andrew Jorgensen]
    • ci deps: Add --test-distro to read-dependencies to install all deps
      [Chad Smith]
    • tools/run-centos: cleanups and move to using read-dependencies
    • pkg build ci: Add make ci-deps- target to install pkgs
      [Chad Smith]
    • selinux: Allow restorecon to be non-fatal. [Ryan Harper]
    • net: Allow netinfo subprocesses to return 0 or 1 due to selinux.
      [Ryan Harper]
    • net: Allow for NetworkManager configuration [Ryan McCabe]
    • Use distro release version to determine if we use systemd in redhat spec
      [Ryan Harper]
    • net: normalize data in network_state object
    • Integration Testing: tox env, pyxld 2.2.3, and revamp framework
      [Wesley Wiedenmeier]
    • Chef: Update omnibus url to chef.io, minor doc changes. [JJ Asghar]
    • tools: add centos scripts to build and test [Joshua Powers]
    • Drop cheetah python module as it is not needed by trunk [Ryan Harper]
    • rhel/centos spec cleanups.
    • cloud.cfg: move to a template. setup.py changes along the way.
    • Makefile: add deb-src and srpm targets. use PYVER more places.
    • makefile: fix python 2/3 detection in the Makefile [Chad Smith]
    • snap: Removing snapcraft plug line [Joshua Powers]
    • RHEL/CentOS: Fix default routes for IPv4/IPv6 configuration.
      [Andreas Karis]
    • test: Fix pyflakes complaint of unused import. [Joshua Powers]
    • NoCloud: support seed of nocloud from smbios information
      [Vladimir Pouzanov] (LP: #1691772)
    • net: when selecting a network device, use natural sort order
      [Marc-Aurèle Brothier]
    • fix typos and remove whitespace in various docs [Stephan Telling]
    • systemd: Fix typo in comment in cloud-init.target. [Chen-Han Hsiao]
    • Tests: Skip jsonschema related unit tests when dependency is absent.
      [Chad Smith]
    • tools/net-convert.py: support old cloudinit versions by using kwargs.
    • ntp: Add schema definition and passive schema validation.
      [Chad Smith] (LP: #1692916)
    • Fix eni rendering for bridge params that require repeated key for
      values. [Ryan Harper] (LP: #1706752)
    • AliYun: Enable platform identification and enable by default.
      [Junjie Wang] (LP: #1638931)

-- Scott Moser smoser@ubuntu.com Mon, 31 Jul 2017 16:33:24 -0400

@ubuntu-server-builder
Copy link
Collaborator Author

Launchpad user Scott Moser(smoser) wrote on 2017-09-22T21:09:46.021731+00:00

This is believed fixed in 17.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
launchpad Migrated from Launchpad
Projects
None yet
Development

No branches or pull requests

1 participant