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

[enterprise-4.16] Issue in file installing/installing_bare_metal_ipi/ipi-install-installation-workflow.adoc

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.16
    • Documentation
    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

         The description for installing `butane` for use in generating the configs is specific to RHEL/Fedora based systems. It also does not take into account the version of `butane` available in the host OS package repository.
      
      Case in point, while the command works on RHEL9.2, the version of `butane` installed is `0.17.0`. This version only supports generating configurations up to and including OpenShift 4.12. As this documentation is for OpenShift 4.16, the input file cannot be processed by `butane`.

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

          All versions of OCP 4 and all versions of butane

      How reproducible:

          Very

      Steps to Reproduce:

          1. On an older RHEL/Fedora host, install `butane` as per the steps in the OpenShift documentation
          2. Create a `butane` input file based on the example given
          3. Run the `butane` command to convert the config file into a yaml file to import into OpenShift
          

      Actual results:

          The `butane` command gives an error and does not generate the OpenShift compatible yaml:
      
      ```
      $ butane 99-master-chrony.bu -o clusterconfigs/99-master-chrony.yaml
      Error translating config: No translator exists for variant openshift with version 4.16.0
      ```

      Expected results:

          The command works and an OpenShift yaml file is generated

      Additional info:

          A workaround exists to specify an older OpenShift version in the butane input that is supported by the version of butane in use, but you then have to know what versions will work and then modify the generated output, defeating the purpose of the generator in the first place

              ocp-docs-bot OCP DocsBot
              rhn-support-pauwebst Paul Webster
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: