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

Ironic discovery image should report what it is on the console

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 3
    • Informational
    • No
    • None
    • None
    • Metal Platform 283, Metal Platform 284
    • 2
    • In Progress
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      When the IPA image boots, there is no way of distinguishing it from any other CoreOS image (e.g. the actual booted cluster node) when looking at the console.

      The image-customisation-controller should generate ignition that drops a file in /etc/issue.d/ (note that filenames must end with .issue) that tells the user they're looking at an IPA image.

      e.g. the agent-based installer does this by overriding /etc/issue: https://github.com/openshift/installer/blob/master/data/data/agent/files/etc/issue.template

      We should also set a MOTD for users who ssh in while we are at it, preferably overriding the one that CoreOS sets in /etc/motd that only makes sense in the context of a cluster node (I'm not sure if it's possible to override that one with Ignition though, we might have to settle for dropping it it /etc/motd.d.

              rpittau@redhat.com Riccardo Pittau
              zabitter Zane Bitter
              None
              None
              Steeve Goveas Steeve Goveas
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: