← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1590104] [NEW] network config from datasource overrides network config from system

 

Public bug reported:

network configuration in system config should override that found as provided by a datasource.
The order of precedence should be:
  datasource
  system config
  kernel command line

When juju creates lxc containers they want to be in control of networking and do not want cloud-init to configure networking either from the datasource (lxc's template provided nocloud) or from fallback.
They are specifying that configuration directly in /etc/network/interfaces.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: cloud-init 0.7.7~bzr1212-0ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-23.41-generic 4.4.10
Uname: Linux 4.4.0-23-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Tue Jun  7 18:16:09 2016
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
SourcePackage: cloud-init
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: cloud-init
     Importance: High
         Status: Confirmed

** Affects: cloud-init (Ubuntu)
     Importance: High
         Status: Confirmed

** Affects: cloud-init (Ubuntu Xenial)
     Importance: High
         Status: Confirmed

** Affects: cloud-init (Ubuntu Yakkety)
     Importance: High
         Status: Confirmed


** Tags: amd64 apport-bug uec-images xenial

** Attachment added: "script to reproduce issue and patch the container"
   https://bugs.launchpad.net/bugs/1590104/+attachment/4679073/+files/test-no-networking

** Also affects: cloud-init
   Importance: Undecided
       Status: New

** Changed in: cloud-init
       Status: New => Confirmed

** Changed in: cloud-init (Ubuntu)
       Status: New => Confirmed

** Changed in: cloud-init
   Importance: Undecided => High

** Changed in: cloud-init (Ubuntu)
   Importance: Undecided => High

** Also affects: cloud-init (Ubuntu Yakkety)
   Importance: High
       Status: Confirmed

** Also affects: cloud-init (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: cloud-init (Ubuntu Xenial)
       Status: New => Confirmed

** Changed in: cloud-init (Ubuntu Xenial)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1590104

Title:
  network config from datasource overrides network config from system

Status in cloud-init:
  Confirmed
Status in cloud-init package in Ubuntu:
  Confirmed
Status in cloud-init source package in Xenial:
  Confirmed
Status in cloud-init source package in Yakkety:
  Confirmed

Bug description:
  network configuration in system config should override that found as provided by a datasource.
  The order of precedence should be:
    datasource
    system config
    kernel command line

  When juju creates lxc containers they want to be in control of networking and do not want cloud-init to configure networking either from the datasource (lxc's template provided nocloud) or from fallback.
  They are specifying that configuration directly in /etc/network/interfaces.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: cloud-init 0.7.7~bzr1212-0ubuntu1
  ProcVersionSignature: Ubuntu 4.4.0-23.41-generic 4.4.10
  Uname: Linux 4.4.0-23-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: amd64
  Date: Tue Jun  7 18:16:09 2016
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
  SourcePackage: cloud-init
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1590104/+subscriptions


Follow ups