According to the logs, growpart isn't doing any resizing:

2021-10-13 13:33:05,609 - 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
2021-10-13 13:33:05,610 - handlers.py[DEBUG]: start: 
init-network/config-growpart: running config-growpart with frequency always
2021-10-13 13:33:05,610 - helpers.py[DEBUG]: Running config-growpart using lock 
(<cloudinit.helpers.DummyLock object at 0xffff7fe84be0>)
2021-10-13 13:33:05,610 - cc_growpart.py[DEBUG]: growpart disabled: mode=False
2021-10-13 13:33:05,610 - handlers.py[DEBUG]: finish: 
init-network/config-growpart: SUCCESS: config-growpart ran successfully


Does adding this to your cloud-config work?

resize_rootfs: false

In cloud-init, the growpart module is followed by the resizefs module used to 
grow the root filesystem.
https://cloudinit.readthedocs.io/en/latest/topics/modules.html#resizefs

If that doesn't fix your problem, is there something else on your system
that could be modifying your partition size?

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1947311

Title:
  Cloud init ignores growpart off on impish for raspberry pi

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to