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

[siteconfig converter] ZTP container v4.21 tool fails with error

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • x86_64
    • None
    • Proposed
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      The conversion tool ran from a ZTP 4.21 container fails:
      
      Successfully read SiteConfig: helix58/site-plan-helix58
      Converted cluster 1 (helix58) to ClusterInstance: /scin/helix58/helix58.yaml
      WARNING: extraManifests field is not supported in ClusterInstance and will be ignored. Create one or more configmaps with the exact desired set of CRs for the cluster and include them in the extraManifestsRefs.
      WARNING: Added default extraManifest ConfigMap 'extra-manifests-cm' to extraManifestsRefs. This configmap is created automatically.
      Successfully converted 1 cluster(s) to ClusterInstance files in /scin/helix58/: helix58.yaml
      Generating ConfigMap kustomization files...
      Using ConfigMap name: extra-manifests-cm, namespace: helix58, manifests directory: extra-manifests
      Generating ConfigMap kustomization files with name: extra-manifests-cm, namespace: helix58, manifests directory: extra-manifests
      Generating extraManifests for SiteConfig: /scin/helix58.yaml
      Using absolute path for input file: /scin/helix58.yaml
      Running siteconfig-generator from directory: /scin
      Error: Failed to generate kustomization files: siteconfig-generator failed: exec: "siteconfig-generator": executable file not found in $PATH
      
      However running a ZTP 4.20.x container on the same source files runs correctly.
          

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

      
      skopeo --override-arch amd64 --override-os linux inspect --no-tags docker://registry.stage.redhat.io/openshift4/ztp-site-generate-rhel8:v4.21-2 
      {
          "Name": "registry.stage.redhat.io/openshift4/ztp-site-generate-rhel8",
          "Digest": "sha256:0b4983f9381584428a534b960ec6eb07dafedbff61b958e1dc3ad14cbca11136",    
      
      
          

      How reproducible:

      Always
          

      Steps to Reproduce:

          1. Run siteconverter tool from ZTP 4.21 container
          2. Review command output
          3.
          

      Actual results:

      Fails with error
          

      Expected results:

      Runs successfully
          

      Additional info:

      
          

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

                Created:
                Updated:
                Resolved: