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

hypershift operator installation faile for invalid resource hostedclusters.hypershift.openshift.io

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 4.16
    • HyperShift
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

         Failed to deploy hypershift operator

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

          

      How reproducible:

          100%

      Steps to Reproduce:

          1. I've deployed hub cluster of 3 masters and 0 workers using this job : 
      https://ci-jenkins-csb-kniqe.apps.ocp-c1.prod.psi.redhat.com/job/CI/job/hypershift-kubevirt-scale-nodepool-mce-2-6-ipv4-connected/39/
      
      Failed when got to the part of installing the hypershift operator:
          2.hypershift install --hypershift-image quay.io/hypershift/hypershift-operator:latest
          
          

      Actual results:

      20:13:41  applied CustomResourceDefinition /hostedclusters.hypershift.openshift.io
      20:13:41  applied CustomResourceDefinition /hostedcontrolplanes.hypershift.openshift.io
      20:13:42  applied CustomResourceDefinition /nodepools.hypershift.openshift.io
      20:13:42  Error: CustomResourceDefinition.apiextensions.k8s.io "hostedclusters.hypershift.openshift.io" is invalid: [spec.validation.openAPIV3Schema.properties[spec].properties[services].x-kubernetes-validations[2].rule: Forbidden: estimated rule cost exceeds budget by factor of more than 100x (try simplifying the rule, or adding maxItems, maxProperties, and maxLength where arrays, maps, and strings are declared), spec.validation.openAPIV3Schema.properties[spec].properties[services].x-kubernetes-validations[3].rule: Forbidden: estimated rule cost exceeds budget by factor of more than 100x (try simplifying the rule, or adding maxItems, maxProperties, and maxLength where arrays, maps, and strings are declared), spec.validation.openAPIV3Schema.properties[spec].properties[services].x-kubernetes-validations[2].rule: Forbidden: contributed to estimated rule cost total exceeding cost limit for entire OpenAPIv3 schema, spec.validation.openAPIV3Schema.properties[spec].properties[services].x-kubernetes-validations[3].rule: Forbidden: contributed to estimated rule cost total exceeding cost limit for entire OpenAPIv3 schema, spec.validation.openAPIV3Schema: Forbidden: x-kubernetes-validations estimated rule cost total for entire OpenAPIv3 schema exceeds budget by factor of more than 100x (try simplifying the rule, or adding maxItems, maxProperties, and maxLength where arrays, maps, and strings are declared)]

      Expected results:

         all components sould be applied fine, and enabaling the next step of creating the hypershift cluster. 

      Additional info:

          https://ci-jenkins-csb-kniqe.apps.ocp-c1.prod.psi.redhat.com/job/ocp-hypershift-cnv/840//console#:~:text=20%3A13%3A42%20%20Error,and%20strings%20are%20declared)%5D

              agarcial@redhat.com Alberto Garcia Lamela
              rhn-support-gamado Gal Amado
              He Liu He Liu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: