← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1771221] Re: Ubuntu 18.04, growpart and resizefs show disabled

 

[Expired for cloud-init because there has been no activity for 60 days.]

** Changed in: cloud-init
       Status: Incomplete => Expired

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

Title:
  Ubuntu 18.04, growpart and resizefs show disabled

Status in cloud-init:
  Expired

Bug description:
  In Ubuntu 18.04, the ext4 filesystem is not extended. cloud-init.log
  has these lines:

  2018-05-14 21:15:24,908 - stages.py[DEBUG]: Running module growpart (<module 'cloudinit.config.cc_growpart' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_growpart.py'>) with frequency always
  2018-05-14 21:15:24,908 - handlers.py[DEBUG]: start: init-network/config-growpart: running config-growpart with frequency always
  2018-05-14 21:15:24,908 - helpers.py[DEBUG]: Running config-growpart using lock (<cloudinit.helpers.DummyLock object at 0x7f67dea654e0>)
  2018-05-14 21:15:24,908 - cc_growpart.py[DEBUG]: growpart disabled: mode=off
  2018-05-14 21:15:24,908 - handlers.py[DEBUG]: finish: init-network/config-growpart: SUCCESS: config-growpart ran successfully
  2018-05-14 21:15:24,908 - stages.py[DEBUG]: Running module resizefs (<module 'cloudinit.config.cc_resizefs' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_resizefs.py'>) with frequency always
  2018-05-14 21:15:24,909 - handlers.py[DEBUG]: start: init-network/config-resizefs: running config-resizefs with frequency always
  2018-05-14 21:15:24,909 - helpers.py[DEBUG]: Running config-resizefs using lock (<cloudinit.helpers.DummyLock object at 0x7f67dea65668>)
  2018-05-14 21:15:24,922 - cc_resizefs.py[DEBUG]: Skipping module named resizefs, resizing disabled
  2018-05-14 21:15:24,922 - handlers.py[DEBUG]: finish: init-network/config-resizefs: SUCCESS: config-resizefs ran successfully

  lab@lab:/usr/lib/python3/dist-packages/cloudinit/config$ dpkg -l | grep cloud
  ii  cloud-guest-utils                     0.30-0ubuntu5                     all          cloud guest utilities
  ii  cloud-image-utils                     0.30-0ubuntu5                     all          cloud image management utilities
  ii  cloud-init                            18.2-14-g6d48d265-0ubuntu1        all          Init scripts for cloud instances
  ii  cloud-initramfs-copymods              0.40ubuntu1                       all          copy initramfs modules into root filesystem for later use
  ii  cloud-initramfs-dyn-netconf           0.40ubuntu1                       all          write a network interface file in /run for BOOTIF
  ii  cloud-initramfs-growroot              0.40ubuntu1                       all          automatically resize the root partition on first boot
  ii  cloud-utils                           0.30-0ubuntu5                     all          metapackage for installation of upstream cloud-utils source

  I've tried with mode auto and mode growpart in cc_growpart.py but with
  the same results.

  I have compared to Ubuntu 16.04 which runs successfully, and I cannot
  find any difference that would disable both modules.

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