← Back to team overview

yahoo-eng-team team mailing list archive

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

 

This is fixed in cloud-init 0.7.7

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

-- 
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 cloud-init:
  Fix Released
Status in cloud-init package in Ubuntu:
  Fix Released

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