Operational Defect Database

BugZero updated this defect 54 days ago.

VMware | 96842

"dial tcp: lookup TMC_DNS_ZONE on DNS_IP:53: no such host" and "secret <SECRET_NAME> not found" errors causing pod failures when installing an instance of VMware Cloud Director Extension for VMware Tanzu Mission Control

Last update date:

3/26/2024

Affected products:

Cloud Director

Affected releases:

10.x

Fixed releases:

No fixed releases provided.

Description:

Symptoms

Installing VMware Cloud Director Extension for VMware Tanzu Mission Control through Cloud Director Solution Add-On Management.Pods in the tmc-local namespace on the target Kubernetes cluster have a CreateContainerConfigError status, for example: NAMESPACE NAME READY STATUS tmc-local audit-service-consumer-&lt;POD_ID&gt; 0/1 CreateContainerConfigErrortmc-local audit-service-consumer-&lt;POD_ID&gt; 0/1 CreateContainerConfigErrortmc-local audit-service-server-&lt;POD_ID&gt; 0/1 CreateContainerConfigErrortmc-local audit-service-server-&lt;POD_ID&gt; 0/1 CreateContainerConfigErrortmc-local dataprotection-server-&lt;POD_ID&gt; 0/1 CreateContainerConfigErrortmc-local dataprotection-server-&lt;POD_ID&gt; 0/1 CreateContainerConfigErrortmc-local inspection-server-&lt;POD_ID&gt; 0/2 CreateContainerConfigErrortmc-local inspection-server-&lt;POD_ID&gt; 0/2 CreateContainerConfigError Pods in the tmc-local namespace on the target Kubernetes cluster have a CreateContainerConfigError status and show events regarding missing secrets, for example the audit-service-consumer-&lt;POD_ID&gt; pods show events similar to the following: Type Reason Age From Message---- ------ ---- ---- -------Warning FailedMount &lt;AGE&gt; kubelet MountVolume.SetUp failed for volume &quot;kafka-root-ca&quot; : secret &quot;audit-server-kafka-creds&quot; not foundWarning FailedMount &lt;AGE&gt; kubelet MountVolume.SetUp failed for volume &quot;consumer-tls&quot; : secret &quot;audit-consumer-tls&quot; not foundWarning Failed &lt;AGE&gt; kubelet Error: secret &quot;audit-s3-creds&quot; not found The container logs on the s3-access-operator-&lt;POD_ID&gt; pod in the tmc-local namespace has errors of the form: &lt;TIME_STAMP&gt; [30mERROR[0m Reconciler error {&quot;controller&quot;: &quot;s3accesspolicy&quot;, &quot;controllerGroup&quot;: &quot;infra.tmc.eng.vmware.com&quot;, &quot;controllerKind&quot;: &quot;S3AccessPolicy&quot;, &quot;S3AccessPolicy&quot;: {&quot;name&quot;:&quot;inspection-inspection-s3&quot;,&quot;namespace&quot;:&quot;tmc-local&quot;}, &quot;namespace&quot;: &quot;tmc-local&quot;, &quot;name&quot;: &quot;inspection-inspection-s3&quot;, &quot;reconcileID&quot;: &quot;&lt;RECONCILE_ID&gt;&quot;, &quot;error&quot;: &quot;error in retrieving credentials value: RequestError: send request failed\ncaused by: Post \&quot;https://&lt;TMC_DNS_ZONE&gt;/\&quot;: dial tcp: lookup &lt;TMC_DNS_ZONE&gt; on &lt;DNS_IP&gt;:53: no such host&quot;}

Cause

This issue can occur if the DNS records for the DNS zone and the sub domains for Tanzu Mission Control have not been configured correctly before installing VMware Cloud Director Extension for VMware Tanzu Mission Control.

Resolution

Ensure that the DNS records for the DNS zone and all the sub domains for Tanzu Mission Control have been configured and DNS resolution is working for each.Ensure DNS resolution is working on the Routed Organization VDC Network to which the target kubernetes cluster is connected.Details of the list of DNS records required are in the VMware Cloud Director Extension for VMware Tanzu Mission Control documentation, Before you begin.

Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Unavailable

Learn More

Search:

...