OpenShift Container Platform 4 - Invalid Value subdomain

Solution Verified - Updated -

Issue

  • The subdomain name combined with trailing "." exceeds the 63 character limit. The logs on the other hand will indicate that the subdomain name violates a regex check and will not indicate a length violation.
  • From the kublet.log of the install logs:
Oct 13 07:19:37 openshift-bootstrap. hyperkube[2503]: E1013 07:19:37.784037    2503 file.go:187] Can't process manifest file "/etc/kubernetes/manifests/machineconfigoperator-bootstrap-pod.yaml": invalid pod: [metadata.name: Invalid value: "bootstrap-machine-config-operator-openshift-aaaaa-bootstrap.us-central1-a.c.openshift-test-000000.": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*') spec.nodeName: Invalid value: "openshift-aaaaa-bootstrap.us-central1-a.c.openshift-test-000000.": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')]

Environment

  • Red Hat OpenShift Container Platform (OCP) 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content