← Back to team overview

yahoo-eng-team team mailing list archive

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

 

You have been subscribed to a public bug:

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.

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
Ubuntu 18.04, growpart and resizefs show disabled
https://bugs.launchpad.net/bugs/1771221
You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to cloud-init.