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

sync error when extraManifests.searchPaths is used in siteconfig

XMLWordPrintable

    • Moderate
    • No
    • CNF RAN Sprint 240, CNF RAN Sprint 241
    • 2
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Feature for 4.14 does not work - clusters app failed to sync when the following siteconfig is used: 
      
      extraManifests:
        searchPaths:
          - sno-extra-manifest/
        filter:
          inclusionDefault: include
          exclude:
            - 03-sctp-machine-config-worker.yaml
            - 03-sctp-machine-config-master.yaml
      
      

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

      4.14

      How reproducible:

      100%

      Steps to Reproduce:

      1. Include the following configs in ZTP siteconfig
      
      extraManifests:
        searchPaths:
          - sno-extra-manifest/
        filter:
          inclusionDefault: include
          exclude:
            - 03-sctp-machine-config-worker.yaml
            - 03-sctp-machine-config-master.yaml
      
      
      2. Attempt to install spoke via ZTP with above config
      3.
      

      Actual results:

      clusters app fails to sync
      
      Error encountered: 
      
      one or more synchronization tasks are not valid. Retrying attempt #5 at 1:03AM.
      
      The Kubernetes API could not find ran.openshift.io/SiteConfig for requested resource cnfdf34/site-plan-cnfdf34. Make sure the "SiteConfig" CRD is installed on the destination cluster.
      
      

      Expected results:

      clusters app syncs successfully and install succeeds.

      Additional info:

       

            sahasan@redhat.com Sabbir Hasan
            rhn-support-yliu1 Yang Liu
            Periyamaruthu Mohanraj Periyamaruthu Mohanraj
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: