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

[siteconfig converter] Renames manifests files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.20
    • GitOps ZTP
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      The current builds of the siteconfig to clusterinstance conversion tool renames
      the extra-manifest YAML files as part of the conversion.
      
      Example:
      # source
      % tree sno-extra-manifest 
      sno-extra-manifest
      ├── 01-container-mount-ns-and-kubelet-conf-master.yaml
      ├── 01-container-mount-ns-and-kubelet-conf-worker.yaml
      ├── 01-disk-encryption-pcr-rebind-master.yaml
      ├── 01-disk-encryption-pcr-rebind-worker.yaml
      ├── 03-sctp-machine-config-master.yaml
      ├── 03-sctp-machine-config-worker.yaml
      ├── 04-rh-internal-icsp.yaml
      ├── 06-kdump-master.yaml
      ├── 06-kdump-worker.yaml
      ├── 07-sriov-related-kernel-args-master.yaml
      ├── 07-sriov-related-kernel-args-worker.yaml
      ├── 08-set-rcu-normal-master.yaml
      ├── 08-set-rcu-normal-worker.yaml
      ├── 09-openshift-marketplace-ns.yaml
      ├── 99-crio-disable-wipe-master.yaml
      ├── 99-crio-disable-wipe-worker.yaml
      ├── 99-sync-time-once-master.yaml
      ├── 99-sync-time-once-worker.yaml
      ├── disk-encryption.yaml.tmpl
      ├── enable-crun-master.yaml
      ├── enable-crun-worker.yaml
      └── image-registry-partition-mc.yaml.tmpl
      
      # result output
      % tree helix80/extra-manifests 
      helix80/extra-manifests
      ├── helix80_containerruntimeconfig_enable-crun-master.yaml
      ├── helix80_containerruntimeconfig_enable-crun-worker.yaml
      ├── helix80_imagecontentsourcepolicy_fec-disconnected-icsp.yaml
      ├── helix80_machineconfig_01-disk-encryption-rebind-master.yaml
      ├── helix80_machineconfig_01-disk-encryption-rebind-worker.yaml
      ├── helix80_machineconfig_06-kdump-enable-master.yaml
      ├── helix80_machineconfig_06-kdump-enable-worker.yaml
      ├── helix80_machineconfig_07-sriov-related-kernel-args-master.yaml
      ├── helix80_machineconfig_07-sriov-related-kernel-args-worker.yaml
      ├── helix80_machineconfig_08-set-rcu-normal-master.yaml
      ├── helix80_machineconfig_08-set-rcu-normal-worker.yaml
      ├── helix80_machineconfig_99-crio-disable-wipe-master.yaml
      ├── helix80_machineconfig_99-crio-disable-wipe-worker.yaml
      ├── helix80_machineconfig_99-sync-time-once-master.yaml
      ├── helix80_machineconfig_99-sync-time-once-worker.yaml
      ├── helix80_machineconfig_container-mount-namespace-and-kubelet-conf-master.yaml
      ├── helix80_machineconfig_container-mount-namespace-and-kubelet-conf-worker.yaml
      ├── helix80_machineconfig_load-sctp-module-master.yaml
      ├── helix80_machineconfig_load-sctp-module-worker.yaml
      └── helix80_namespace_openshift-marketplace.yaml
      
      This complicates the user experience by being not intuitive, including when
      updating the RAN RDS extra-manifests to newer versions after the conversion.
      
      
          

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

      ZTP site generate 4.20-24 and newer
          

      How reproducible:

      always
          

      Steps to Reproduce:

          1. Use convert tool from ZTP container on siteconfig yaml file
          2. Compare file names for original manifests and output manifests
          3.
          

      Actual results:

       
      manifest filenames are changed during conversion
          

      Expected results:

      manifest filenames should be preserved
          

      Additional info:

          

              saskari@redhat.com Saeid Askari
              rhn-support-dgonyier Dwaine Gonyier
              None
              Yang Liu
              Dwaine Gonyier Dwaine Gonyier
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: