← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1910408] [NEW] Cubic appends characters to /etc/os-release and /etc/lsb-release breaking the new automated installation method for Ubuntu

 

Public bug reported:

During the automated installation of an iso, if cloud-init uses the
DataSourceNoCloud, then it will check for block devices and read the
/etc/os-release and /etc/lsb-release files, parsing them for
distribution specific information. However, Cubic appends its own
information onto the PRETTY_NAME and DISTRIB_DESCRIPTION lines for those
two files, causing cloud-init to break, and any automated provisioning
to fail. This can be fixed in cloud-init by using proper os.path.join,
or os.sep, etc., but this is unlikely to happen soon. Cubic should
provided better documentation about any cute characters it writes into
the distribution.

** Affects: cloud-init
     Importance: Undecided
         Status: New

** Affects: cubic
     Importance: Undecided
         Status: New


** Tags: autoinstall cloud-init

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

-- 
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/1910408

Title:
  Cubic appends characters to /etc/os-release and /etc/lsb-release
  breaking the new automated installation method for Ubuntu

Status in cloud-init:
  New
Status in Cubic:
  New

Bug description:
  During the automated installation of an iso, if cloud-init uses the
  DataSourceNoCloud, then it will check for block devices and read the
  /etc/os-release and /etc/lsb-release files, parsing them for
  distribution specific information. However, Cubic appends its own
  information onto the PRETTY_NAME and DISTRIB_DESCRIPTION lines for
  those two files, causing cloud-init to break, and any automated
  provisioning to fail. This can be fixed in cloud-init by using proper
  os.path.join, or os.sep, etc., but this is unlikely to happen soon.
  Cubic should provided better documentation about any cute characters
  it writes into the distribution.

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


Follow ups