← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1808730] Re: Why instance hostnames are not case sensitive

 

By the RFC952 [1] the hostname is case-insensitive: "No distinction is
made between upper and lower case."

By the RCF4343 the DNS lookups are also case insensitives [2]:
"According to the original DNS design decision, comparisons on name
lookup for DNS queries should be case insensitive"

[1] https://tools.ietf.org/html/rfc952
[2] https://tools.ietf.org/html/rfc4343

** Changed in: nova
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1808730

Title:
  Why instance hostnames are not  case sensitive

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  I create some instances in R.I find these instances` hostnames are not
  sensitive.

  eg, The name I input is TEST,but login the instance,the hostname is
  test.

  
  I study the code of creating instances, but I find a function named sanitized_hostname.
  In this function,it will call the function hostname.lower().But I do not know why do like this.

  Can somebody help me explain this problem?

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1808730/+subscriptions


References