Multi-Boot Instance Naming
Based on this bug https:/
When creating more than one instance in the scope of a single API call, Nova should automatically do something to make sure that the host names are unique. Not doing so effectively makes the min/max options useless for anyone who wants to add their VMs into a DNS domain.
Blueprint information
- Status:
- Complete
- Approver:
- Vish Ishaya
- Priority:
- Medium
- Drafter:
- Brian Waldon
- Direction:
- Needs approval
- Assignee:
- Russell Bryant
- Definition:
- Approved
- Series goal:
- Accepted for grizzly
- Implementation:
- Implemented
- Milestone target:
- 2013.1
- Started by
- Russell Bryant
- Completed by
- Russell Bryant
Related branches
Related bugs
Sprints
Whiteboard
Random notes ...
You create multiple instances using the 'min_count' parameter to a server create request. This is part of the os-multiple-create extension.
Here's the interesting code in nova.compute.api:
for i in xrange(
context, instance_type, image, options,
The fix would be to munge the display_name parameter before calling create_
Gerrit topic: https:/
Addressed by: https:/
Naming unique hostname when booting multi instances.
Unassigned since the posted patch was abandoned. Anyone want to pick this up? --Russell
Addressed by: https:/
Assign unique names with os-multiple-create.