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

[AWS CAPI install] "metadataService.authentication. Required" is not accepted

XMLWordPrintable

    • Critical
    • No
    • Proposed
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required
    • In Progress

      Description of problem:

      Specify "metadataService.authentication: Required" config for cluster:
      
      platform.aws.defaultMachinePlatform.metadataService.authentication: Required
      Or 
      compute.plarform.aws.metadataService.authentication: Required
      controlPlane.plarform.aws.metadataService.authentication: Required
      
      
      Creating cluster got following error:
      
      INFO Created manifest *v1.Namespace, namespace= name=openshift-cluster-api-guests
      ...
      INFO Creating Route53 records for control plane load balancer
      ERROR failed to fetch Cluster: failed to generate asset "Cluster": failed to create cluster: failed to create control-plane manifest: AWSMachine.infrastructure.cluster.x-k8s.io "yunjiang-cap4-fp88c-bootstrap" is invalid: spec.instanceMetadataOptions.httpTokens: Unsupported value: "Required": supported values: "optional", "required"
      INFO Shutting down local Cluster API control plane...
      ...
      
      "Required" is a valid value:
      openshift-install explain installconfig.platform.aws.defaultMachinePlatform.metadataService.authentication
      KIND: 	InstallConfig
      VERSION:  v1
      
      RESOURCE: <string>
        Valid Values: "Required","Optional"
      ...
      
          

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

      4.16.0-0.nightly-2024-05-08-222442
          

      How reproducible:

          

      Steps to Reproduce:

          1.See description
          2.
          3.
          

      Actual results:

      See description
          

      Expected results:

      No issues with above configurations
      
          

      Additional info:

          

            rdossant Rafael Fonseca dos Santos
            yunjiang-1 Yunfei Jiang
            Yunfei Jiang Yunfei Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: