← Back to team overview

yahoo-eng-team team mailing list archive

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

 

This bug was fixed in the package cloud-init - 0.7.7~bzr1127-0ubuntu1

---------------
cloud-init (0.7.7~bzr1127-0ubuntu1) wily; urgency=medium

  [ Scott Moser ]
  * d/README.source, debian/cherry-pick-rev: improve packaging tool

  [ Daniel Watkins ]
  * d/cloud-init.templates: Include SmartOS data source in the default list
    and choices. (LP: #1398997)

  [ Scott Moser ]
  * New upstream snapshot.
    * check for systemd using sd_booted symantics (LP: #1461201)
    * fix importing of gpg keys in python3 (LP: #1463373)
    * fix specification of devices to growpart (LP: #1465436)
    * reliably detect and use Azure disks using udev rules (LP: #1411582)
    * support selection of Ubuntu mirrors on GCE (LP: #1470890)
    * ssh: generate ed25519 host keys if supported (LP: #1461242)
    * test fixes and cleanups
    * fix reading of availability-zone on GCE (LP: #1470880)
    * fix cloudsigma datasource with python3 (LP: #1475215)
    * fix rightscale user-data
    * fix consumption of CloudStack passwords on newer CloudStack platforms
      (LP: #1440263, #1464253)

 -- Scott Moser <smoser@xxxxxxxxxx>  Wed, 22 Jul 2015 17:06:18 -0400

** Changed in: cloud-init (Ubuntu)
       Status: Confirmed => 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 Committed
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