Skip to content

Basic new cluster fails to install autoscaler #1062

Description

@an-excellent-choice

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version and Provider Version

Terraform v1.12.0

  • provider registry.terraform.io/oracle/oci v8.5.0

Affected Resource(s)

Terraform Configuration Files

module "oke" {
  providers = {
    oci.home = oci
  }
  source  = "oracle-terraform-modules/oke/oci"
  version = "5.4.3"

  kubernetes_version = "v1.35.0"

  ...

  cluster_type                      = "enhanced"

  ...

  worker_pools = {
    ...
  }

  create_bastion                     = true
  bastion_await_cloudinit            = true
  ...
  create_operator                    = true
  cluster_autoscaler_install = true
}

Debug Output

module.oke.module.oke.module.extensions[0].null_resource.cluster_autoscaler[0] (remote-exec): error: error validating "/home/opc/yaml/cluster_autoscaler.yaml": error validating data: failed to download openapi: the server has asked for the client to provide credentials; if you choose to ignore these errors, turn validation off with --validate=false

Panic Output

Expected Behavior

The autoscaler is successfully installed.

Actual Behavior

module.oke.module.oke.module.extensions[0].null_resource.cluster_autoscaler[0] (remote-exec): error: error validating "/home/opc/yaml/cluster_autoscaler.yaml": error validating data: failed to download openapi: the server has asked for the client to provide credentials; if you choose to ignore these errors, turn validation off with --validate=false

Steps to Reproduce

  1. Create a simple cluster with module version and kubernetes version specified above with cluster_autoscaler_install = true

Important Factoids

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions