Improve the baremetal PXE deploy process
Current approach:
- crude service on the nova compute node
- baremetal/pxe.py copies image from glance, mounts it, and does file injection for hostname, network, ssh keys
- nova-baremetal-
- node reboots into the image
There are several concerns with this approach, especially at scale, but it is sufficient for dev/test environments.
This is implemented by: https:/
Desired approach:
- no new services
- glance (or bittorrent) client embedded in deploy ramdisk
- image ID supplied to deploy ramdisk
- ramdisk fdisks the local disks, pulls specified image from glance, writes to local disk, and reboot into it
- cloud-init does the rest
Blueprint information
- Status:
- Complete
- Approver:
- Vish Ishaya
- Priority:
- Low
- Drafter:
- aeva black
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Obsolete
- Series goal:
- None
- Implementation:
- Deferred
- Milestone target:
- None
- Started by
- Completed by
- John Garbutt
Related branches
Related bugs
Bug #1114633: baremetal deploy helper wastes nova-compute host pagecache | Fix Released |
Bug #1114634: baremetal deploy does file injection on local disk | Invalid |
Sprints
Whiteboard
Doing this "the right way" (scalable, distributed, rack aware, etc) feels like premature optimization at this point, particularly when there are a lot of other deliverables on the roadmap for H and I cycles. I'd like to leave this BP up, as the intent is to go in this direction, but wait until after baremetal is split out and the other work is done.
Unapproved - please re-submit via nova-spec --johnthetubagy (20th March 2014)Doing this "the right way" (scalable, distributed, rack aware, etc) feels like premature optimization at this point, particularly when there are a lot of other deliverables on the roadmap for H and I cycles. I'd like to leave this BP up, as the intent is to go in this direction, but wait until after baremetal is split out and the other work is done.
Unapproved - please re-submit via nova-spec --johnthetubagy (20th March 2014)
This blueprint is not complete after a good year or so, marking as Obsolete to tidy up the Nova backlog. --johnthetubaguy (20th April 2014)