Skip to content

Installs fails after cluster and postgresql OCP43 #24

@csantanapr

Description

@csantanapr

Using branch ocp4

Using all default values.

Set vlan ids, and datacenter in vlans.tfvars
Set name_prefix to csantana2 and region us-east

cluster_type="ocp4"
cluster_exists="false"
name_prefix="csantana2"
resource_group_name="catalyst-demos"
vlan_region="us-east"
postgres_server_exists="false"

After a few minutes it fails with the following the message, but the cluster is "Normal" and postgressql instance also "Active"

module.dev_cluster.ibm_container_cluster.create_cluster[0]: Creation complete after 23m27s [id=bpikmb4w0cnajdhgauug]
module.dev_cluster.data.ibm_container_cluster.config: Refreshing state...
module.dev_cluster.null_resource.oc_login[0]: Creating...
module.dev_cluster.null_resource.oc_login[0]: Provisioning with 'local-exec'...
module.dev_cluster.null_resource.oc_login[0] (local-exec): Executing: ["/bin/sh" "-c" "oc login -u apikey -p <REDACTED> --server=https://c100-e.us-east.containers.cloud.ibm.com:31718 > /dev/null"]
module.dev_cluster.null_resource.oc_login[0] (local-exec): Error from server (InternalError): Internal error occurred: unexpected response: 500


Error: Error running command 'oc login -u apikey -p <REDACTED> --server=https://c100-e.us-east.containers.cloud.ibm.com:31718 > /dev/null': exit status 1. Output: Error from server (InternalError): Internal error occurred: unexpected response: 500




Error: malformed CRN: Error parsing JSON

  on .terraform/modules/dev_infrastructure_postgres/cloud-managed/services/postgres/main.tf line 48, in data "ibm_resource_key" "postgresql":
  48: data "ibm_resource_key" "postgresql" {

IBM Console view
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugChangelog: bug; Something isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions