Skip to content

[enhancement] check dns pod state as part of crc status operation #3852

Open
@adrianriobo

Description

This seems to be the root cause for #3851

When we initialize a microshift cluster we ensure the state of the cluster as running then we deploy and expose a service to test the connectivity, when we do it manually it works as expected, but when we run that through an automation it fails with:

time="2023-09-28T13:44:03Z" level=error msg="Post \"http://gateway/hosts/add\": dial tcp: lookup gateway on 10.43.0.10:53: read udp 10.42.0.6:35808->10.43.0.10:53: read: connection refused"

The code for crc status on microshift checks oc get node but does not take care about the state of the pods running within the cluster.

On this scenario we expected dns is working fine as crc status is running but it is not the case, so it may worthwhile to check the state of the dns to ensure the running state of the cluster.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

  • Status

    Ready for review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions