Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-34859

cloud-init growpart skipped with composefs enabled

    • sst_bootc
    • False
    • Hide

      None

      Show
      None
    • Yes
    • Known Issue
    • Hide
      .`cloud-init` growpart skips with composefs is enabled

      When composefs is enabled, if you generate an image from the generic base image, then the rootfs will note grow the filesystem, prompting an error similar to:

      ----
      2024-04-30 17:27:53,543 - cc_growpart.py[DEBUG]: '/' SKIPPED: stat of 'overlay' failed: [Errno 2] No such file or directory: 'overlay'
      ----

      As a workaround, you can add a custom growpart, by specifying the `rootfs` default size in the container, instead of dynamically choosing 100G at instance creation time to be able to write a partitioning config in the container.
      Show
      .`cloud-init` growpart skips with composefs is enabled When composefs is enabled, if you generate an image from the generic base image, then the rootfs will note grow the filesystem, prompting an error similar to: ---- 2024-04-30 17:27:53,543 - cc_growpart.py[DEBUG]: '/' SKIPPED: stat of 'overlay' failed: [Errno 2] No such file or directory: 'overlay' ---- As a workaround, you can add a custom growpart, by specifying the `rootfs` default size in the container, instead of dynamically choosing 100G at instance creation time to be able to write a partitioning config in the container.
    • In Progress

      2024-04-30 17:27:53,543 - cc_growpart.py[DEBUG]: '/' SKIPPED: stat of 'overlay' failed: [Errno 2] No such file or directory: 'overlay'
      

      We'll have to fix cloud-init here, or we add a custom growpart (xref https://github.com/CentOS/centos-bootc/issues/394 )

            walters@redhat.com Colin Walters
            walters@redhat.com Colin Walters
            Colin Walters Colin Walters
            Wei Shi Wei Shi
            Gabriela Necasova Gabriela Necasova
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: