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

On-cluster layering uses example uses package not in RHEL

XMLWordPrintable

    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      On-cluster layering example is not valid. The 'cowsay' package is not available in RHEL, so the example will always fail.     

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

      OCP 4.17    

      How reproducible:

      100%    

      Steps to Reproduce:

      Follow https://docs.openshift.com/container-platform/4.17/machine_configuration/mco-coreos-layering.html#coreos-layering-configuring-on_mco-coreos-layering which currently contains the following Dockerfile example:
      
          FROM configs AS final
          RUN rpm-ostree install cowsay && \
              ostree container commit
          

      Actual results:

      The rpm-ostree command will return an error that the cowsay package is not found, causing the MachineOSBuild to fail.     

      Expected results:

      The example includes a config that can be successfully built.     

      Additional info:

      I've not been able to successfully test it due to other issues, but we may want to consider using rsyslog in the example.     

              ocp-docs-bot OCP DocsBot
              rhn-support-dornelas Derrick Ornelas
              Rio Liu Rio Liu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: