← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1766401] Re: full config file wiped after apt-upgrade issued

 

This bug was fixed in the package cloud-init -
18.2-4-g05926e48-0ubuntu1~16.04.2

---------------
cloud-init (18.2-4-g05926e48-0ubuntu1~16.04.2) xenial-proposed; urgency=medium

  * cherry-pick 6ef92c98: IBMCloud: recognize provisioning environment
    during debug (LP: #1767166)
  * cherry-pick 11172924: IBMCloud: Disable config-drive and nocloud
    only if IBMCloud (LP: #1766401)

 -- Chad Smith <chad.smith@xxxxxxxxxxxxx>  Mon, 30 Apr 2018 15:52:05
-0600

** Changed in: cloud-init (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1766401

Title:
  full config file wiped after apt-upgrade issued

Status in cloud-images:
  New
Status in cloud-init:
  Fix Committed
Status in cloud-init package in Ubuntu:
  Confirmed
Status in cloud-init source package in Xenial:
  Fix Released
Status in cloud-init source package in Artful:
  Fix Released
Status in cloud-init source package in Bionic:
  Confirmed
Status in cloud-init source package in Cosmic:
  Confirmed

Bug description:
  === Begin SRU Template ===
  [Impact]
  Upgrades of cloud-init on official Ubuntu 16.04 and 17.10 images
  running on IBM public cloud will be unreachable after a reboot.

  This is because cloud-init incorrectly recognizes the newly added
  'IBMCloud' as the datasource to use and skips use of the previously used
  ConfigDrive or NoCloud datasource.  This is because
  a.) Official 16.04 and 17.10 images of Ubuntu have seeded data
   in their /var/lib/cloud/seed/ directory that was used on first
   boot and should be continued to be used.
  b.) IBMCloud's datasource in some scenarios appears looks similar
   to that of Config Drive.  The version of cloud-init in xenial and
   artful checks to disable config-drive in order to identify the
   IBMCloud datasource.  That should not happen unless the IBMCloud
   datasource is enabled, which is configured off in those images.

  The fix is to continue using the existing datasource on those images.

  [Test Case]
   * Launch an image on IBM public cloud.
   * add -proposed
   * apt-get update && apt-get install cloud-init
   * reboot
   * ssh back in

  If you are able to ssh back in, then this bug has been fixed.

  [Regression Potential]
  This specific fix is tightly contained down the path involved in
  IBM cloud.   The most likely failure scenario would be failure
  in 18.04 images which do not have the additional datasources built
  into the images.

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

  === End SRU Template ===

  
  file: 50-cloud-init.cfg wiped of it's initial (working) configuration after a standard apt-upgrade was issued.

  Cloud provider is SoftLayer.

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