[Bug 1080985] [NEW] 'noblock' setting for resize_rootfs is broken

Scott Moser smoser at ubuntu.com
Tue Nov 20 05:04:03 UTC 2012


Public bug reported:

resize_rootfs: noblock

should tell the resize to occur in the background, but it will currently result in:
Nov 20 04:51:45 ubuntu [CLOUDINIT] cc_resizefs.py[DEBUG]: Skipping module named resizefs, resizing disabled

The fix is simple, in cloudinit/config/cc_resizefs.py:

    log.warn("resize_root: %s" % resize_root)
    if not util.translate_bool(resize_root) and resize_root not in ("noblock"):
        log.debug("Skipping module named %s, resizing disabled", name)
        return

** Affects: cloud-init
     Importance: Medium
         Status: Confirmed

** Affects: cloud-init (Ubuntu)
     Importance: Medium
         Status: Confirmed

** Affects: cloud-init (Ubuntu Quantal)
     Importance: Medium
         Status: Confirmed

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

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

** Changed in: cloud-init
    Milestone: None => 0.7.2

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

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

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

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

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

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

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1080985

Title:
  'noblock' setting for resize_rootfs is broken

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



More information about the Ubuntu-server-bugs mailing list