Skip to content

The Cluster creation fails with Error: could not contact Ironic API: context deadline exceeded #1586

@rakeshk121

Description

@rakeshk121

Describe the bug
The cluster creation fails with Error:

level=debug msg=ironic_node_v1.openshift-master-host[2]: Still creating... [59m50s elapsed]
level=error msg=Error: could not contact Ironic API: context deadline exceeded
level=error msg=  with ironic_node_v1.openshift-master-host[1],
level=error msg=  on main.tf line 13, in resource "ironic_node_v1" "openshift-master-host":
level=error msg=  13: resource "ironic_node_v1" "openshift-master-host" {
level=error msg=Error: could not contact Ironic API: timeout reached

To Reproduce

As I'm trying to setup OKD , By referring to this commit f926510 , #1578

git clone https://github.com/openshift-metal3/dev-scripts
cp config_example.sh config_$USER.sh

I have set the following in the config_core.sh

export OPENSHIFT_RELEASE_IMAGE=registry.ci.openshift.org/origin/release:4.13.0-0.okd-2023-08-18-135805
export PULL_SECRET_FILE=pull_secret.json
export OPENSHIFT_RELEASE_TYPE=okd
export IP_STACK=v4

Expected/observed behavior
The cluster is created and can be accessed.

Additional context
test

image

Here is the log file:
06_create_cluster-2023-09-20-082531.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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