Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-74911

dm-mpath-root is not recognized by RHCOS when deploying OCP with ABI on baremetal (with FC SAN) and diskEncryption enabled

    • Incidents & Support
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • contract-priority
    • In Progress
    • Bug Fix
    • Hide
      *Cause*: The agent-based installer sets the kernel arg root=/dev/disk/by-label/dm-mpath-root when installing to a multipath Fibre Channel volume, but filesystem labels are truncated to 12 characters in xfs.
      *Consequence*: When installing to an encrypted multipath FC volume, the hosts are unable to boot successfully as the root volume cannot be found.
      *Fix*: Testing showed the kernel arg was unnecessary, so it was removed.
      *Result*: Hosts boot as expected after installation.
      Show
      *Cause*: The agent-based installer sets the kernel arg root=/dev/disk/by-label/dm-mpath-root when installing to a multipath Fibre Channel volume, but filesystem labels are truncated to 12 characters in xfs. *Consequence*: When installing to an encrypted multipath FC volume, the hosts are unable to boot successfully as the root volume cannot be found. *Fix*: Testing showed the kernel arg was unnecessary, so it was removed. *Result*: Hosts boot as expected after installation.
    • None
    • None
    • None
    • None

      Description of problem:

          3 node OCP cluster is to be deployed on baremetal servers with FC SAN storage attached with multipath (no local disks). Installation method is ABI. diskEncryption is enabled in the agent configuration. 
          Installation fails with warning "/dev/disk/by-label/dm-mpath-root does not exist and encryption is not applied.
          Also the rdsosreport.txt contains following error entries:
      systemd[1]: Dependency failed for File System Check on /dev/disk/by-label/dm-mpath-root.
      systemd[1]: Dependency failed for /sysroot.
      systemd[1]: Dependency failed for Workaround dracut FIPS unmounting /boot.
          Weirdly, without enabling disk encryption, the installation goes fine.
      
          This issue has been discussed in the Slack and it seems a couple of patches may need to be ported back to this OCP release.
          Slack: https://redhat-internal.slack.com/archives/C02SPBZ4GPR/p1769702167035469
          Jira: https://issues.redhat.com/browse/MGMT-20302?focusedId=28944824&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-28944824

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

          4.18.30

      How reproducible:

          Always

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          

      Expected results:

          

      Additional info:

          All configuration files (agent-install, install-config, etc) are available in the linked ticket (#04359875).

              zabitter Zane Bitter
              ibodunov Ivan Bodunov
              None
              None
              Vladislav Kolodny Vladislav Kolodny
              None
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: