← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1465436] Re: growpart does not respect devices list

 

fix-committed in revno 1117

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

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

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

** Changed in: cloud-init
       Status: Confirmed => Fix Committed

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

Title:
  growpart does not respect devices list

Status in Init scripts for use on cloud images:
  Fix Committed
Status in cloud-init package in Ubuntu:
  Confirmed

Bug description:
  From

  http://bazaar.launchpad.net/~cloud-init-dev/cloud-
  init/trunk/view/head:/cloudinit/config/cc_growpart.py#L279

      devices = util.get_cfg_option_list(cfg, "devices", ["/"])
      if not len(devices):
          log.debug("growpart: empty device list")
          return

  The full config is passed rather than the already acquired growpart
  config, causing the devices list not to be found and subsequently
  ignored. Needs to be updated from "cfg" to "mycfg" and then seems to
  work correctly.

  Apologies for lack of formatting, I haven't worked in Launchpad
  previously.

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


References