EC2 hostnames are too long when launching multiple at once
Bug #1203981 reported by
Sam Morrison
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
xiaohanyu |
Bug Description
When launching multiple instances via ec2 you get hostnames like this:
1: Server <uuid-1>-<uuid-1>
2: Server <uuid-1>-<uuid-2>
3: Server <uuid-1>-<uuid-3>
4: Server <uuid-1>-<uuid-4>
Which turns out to be longer than 64 characters which unix doesn't like.
tags: | added: ec2 |
Changed in nova: | |
status: | New → Confirmed |
Changed in nova: | |
milestone: | none → kilo-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | kilo-3 → 2015.1.0 |
To post a comment you must log in.
This appears to be the result of the new config option (and its impl) in Grizzly: multi_instance_ display_ name_template. The change in itself looks reasonable, but perhaps the sanity checking of the resulting names is lacking... RFC952, which is referenced in sanitize_hostname, seems to suggest a max of 24 characters if I'm reading it right!
I'm amazed this hasn't been smoked out already. Perhaps points to a lack of functionality tests in OS guests.