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

The initiatorname.iscsi file is not present by default from 4.18

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 4.18.0
    • RHCOS
    • None
    • Moderate
    • Yes
    • Proposed
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      The file /etc/iscsi/initiatorname.iscsi is not generated by default in latest OCP 4.18(osImage: Red Hat Enterprise Linux CoreOS 418.94.202410160106-0):
      sh-5.1# ls /etc/iscsi/
      iscsid.conf
      
      

       

      As discussed in https://redhat-internal.slack.com/archives/C999USB0D/p1729215335751809, the iscsi-init.service gets pulled in by iscsi.service when it starts because iscsi.service has Requires=iscsid.socket iscsi-init.service, but the service is not enabled by default, RHCOS should enable the replacement service or ensure the file exist to avoid regressions, it might break some 3rd CSI drivers from storage scope. 

       

       

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

          4.18.0-0.nightly-2024-10-20-135018

      How reproducible:

          Always

      Steps to Reproduce:

          See description
      

      Actual results:

          The initiatorname.iscsi file is not present

      Expected results:

          The initiatorname.iscsi file should be present to avoid regression.

      Additional info:

          

              Unassigned Unassigned
              wduan@redhat.com Wei Duan
              Michael Nguyen Michael Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: