Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-46057

Due to trailing dot(.) in domain name openshift installation getting failed.

XMLWordPrintable

    • +
    • Critical
    • No
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, a trailing period was not permitted in a Kubernetes object name per the DNS 1123 sub-domain name standard. If you configured your AWS DHCP option set with a custom domain name containing a trailing period, the logic for extracting the hostname of EC2 instances and turning it into Kubelet node names would not trim the hostnames for trailing periods. With this release, the logic is updated to trim trailing periods, and trailing periods are permitted within the domain name in the DHCP option set. (link:https://issues.redhat.com/browse/OCPBUGS-46057[*OCPBUGS-46057*])
      ----
      Cause: Users may desire to configure their AWS DHCP Option Set with a custom domain name, that contains a trailing period.
      Consequence: The current logic for extracting the hostname of EC2 instances and turning that into Kubelet node names does not trim the hostnames for trailing periods. A trailing period is not permitted in a Kubernetes object name per the DNS 1123 subdomain name standard.
      Fix: The logic has been updated to trim trailing periods should they exist.
      Result: Trailing periods are now permitted within the domain name in the DHCP Option Set.
      Show
      * Previously, a trailing period was not permitted in a Kubernetes object name per the DNS 1123 sub-domain name standard. If you configured your AWS DHCP option set with a custom domain name containing a trailing period, the logic for extracting the hostname of EC2 instances and turning it into Kubelet node names would not trim the hostnames for trailing periods. With this release, the logic is updated to trim trailing periods, and trailing periods are permitted within the domain name in the DHCP option set. (link: https://issues.redhat.com/browse/OCPBUGS-46057 [* OCPBUGS-46057 *]) ---- Cause: Users may desire to configure their AWS DHCP Option Set with a custom domain name, that contains a trailing period. Consequence: The current logic for extracting the hostname of EC2 instances and turning that into Kubelet node names does not trim the hostnames for trailing periods. A trailing period is not permitted in a Kubernetes object name per the DNS 1123 subdomain name standard. Fix: The logic has been updated to trim trailing periods should they exist. Result: Trailing periods are now permitted within the domain name in the DHCP Option Set.
    • Bug Fix
    • Done

      This is a clone of issue OCPBUGS-46034. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-45974. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-45918. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-45889. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-45306. The following is the description of the original issue:

      Description of problem:

      Customer is trying to install Self managed OCP cluster in aws. This customer use AWS VPC DHCPOptionSet. where it has a trailing dot (.) at the end of domain name in dhcpoptionset. due to this setting Master nodes hostname also has trailing dot & this cause failure in OpenShift installation.  

      Version-Release number of selected component (if applicable):

          

      How reproducible:

          always

      Steps to Reproduce:

      1.Please create a aws vpc with DHCPOptionSet, where DHCPoptionSet has trailing dot at the domain name.
      2.Try installation of cluster with IPI. 

      Actual results:

          Openshift Installer should allowed to create AWS Master nodes, where domain has trailing dot(.).

      Expected results:

          

      Additional info:

          

              joelspeed Joel Speed
              openshift-crt-jira-prow OpenShift Prow Bot
              Huali Liu Huali Liu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: