dnsmasq fails to respond if hostname length is > 63
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
New
|
Undecided
|
Guangya Liu (Jay Lau) |
Bug Description
nova-network generates invalid entries in the dnsmasq hosts file when the hostname of the instance is longer than 63 characters.
$ cat /opt/stack/
fa:16:3e:
fa:16:3e:
$ grep dnsmasq /var/log/syslog
Oct 16 12:12:22 r421-e3-4 dnsmasq-
Oct 16 12:12:22 r421-e3-4 dnsmasq-
Oct 16 12:12:24 r421-e3-4 dnsmasq-
As per RFC 1035:
The labels must follow the rules for ARPANET host names. They must
start with a letter, end with a letter or digit, and have as interior
characters only letters, digits, and hyphen. There are also some
restrictions on the length. Labels must be 63 characters or less.
The problem was found while investigating bug #1238272.
description: | updated |
Changed in nova: | |
assignee: | nobody → Jay Lau (jay-lau-513) |