Why instance hostnames are not case sensitive

Bug #1808730 reported by zhangyangyang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
harshini kanaparthi

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?

Changed in nova:
assignee: nobody → harshini kanaparthi (harshiniik)
Revision history for this message
Balazs Gibizer (balazs-gibizer) wrote :

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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.