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

Creation of custom data partion fails on edge installer

Details

    • Bug
    • Resolution: Unresolved
    • Undefined
    • None
    • rhel-9.0.0
    • anaconda
    • Major
    • sst_installer
    • ssg_front_door
    • False
    • Hide

      None

      Show
      None
    • Unspecified
    • Known Issue
    • Hide
      .RHEL for Edge installer image fails to create mount points when installing an rpm-ostree payload

      When deploying `rpm-ostree` payloads, used for example in a RHEL for Edge installer image, the installer does not properly create some mount points for custom partitions. As a consequence, the installation is aborted with the following error:

      ----
      The command 'mount --bind /mnt/sysimage/data /mnt/sysroot/data' exited with the code 32.
      ----

      To work around this issue:

      * Use an automatic partitioning scheme and do not add any mount points manually.

      * Manually assign mount points only inside `/var` directory. For example, `/var/_my-mount-point_`), and the following standard directories: `/`, `/boot`, `/var`.

      As a result, the installation process finishes successfully.
      Show
      .RHEL for Edge installer image fails to create mount points when installing an rpm-ostree payload When deploying `rpm-ostree` payloads, used for example in a RHEL for Edge installer image, the installer does not properly create some mount points for custom partitions. As a consequence, the installation is aborted with the following error: ---- The command 'mount --bind /mnt/sysimage/data /mnt/sysroot/data' exited with the code 32. ---- To work around this issue: * Use an automatic partitioning scheme and do not add any mount points manually. * Manually assign mount points only inside `/var` directory. For example, `/var/_my-mount-point_`), and the following standard directories: `/`, `/boot`, `/var`. As a result, the installation process finishes successfully.
    • Done

    Description

      Description of problem:
      Using Image Builder I've created an edge installer. When I try to create a custom data partion (/data) I get the error during the installation progress "The following error occurred while installing the payload. This a fatal error and installation will be aborted. The command 'mount --bind /mnt/sysimage/data /mnt/sysroot/data' exited with the code 32.

      I've seen that if I create the data directory in a separate console under /mnt/sysimage and then making again mount --rbind /mnt/sysimage /mnt/sysroot the directory is properly created.

      Version-Release number of selected component (if applicable):

      • RHEL 9
      • anaconda 34.25.0.29
      • composer-cli v35.5
      • API server status:
        Database version: 0
        Database supported: true
        Schema version: 0
        API version: 1
        Backend: osbuild-composer
        Build: NEVRA:osbuild-composer-46.3-1.el9_0.x86_64

      How reproducible: everytime

      Steps to Reproduce:
      1. Select Installation Destination
      2. Select Storage Configuration as Custom
      3. Add a new mount point with Mount Point "/data" and Desiderd Capacity: 2 GiB
      4. Accept changes
      5. Begin installation

      Actual results:
      Installation reports "The following error occurred while installing the payload. This a fatal error and installation will be aborted. The command 'mount --bind /mnt/sysimage/data /mnt/sysroot/data' exited with the code 32."

      Expected results:
      Installation complete with success.

      Additional info:

      Attachments

        Activity

          People

            anaconda-maint-list anaconda-maint-list
            jira-bugzilla-migration RH Bugzilla Integration
            anaconda-maint-list anaconda-maint-list
            Release Test Team Release Test Team
            Sagar Dubewar Sagar Dubewar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: