Bug 1041020 - [RFE][nova]: Improve the baremetal PXE deploy process
Summary: [RFE][nova]: Improve the baremetal PXE deploy process
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: RFEs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact:
URL: https://blueprints.launchpad.net/nova...
Whiteboard: upstream_milestone_none upstream_stat...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-12 13:25 UTC by RHOS Integration
Modified: 2015-03-19 17:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-19 17:16:49 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description RHOS Integration 2013-12-12 13:25:56 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/improve-baremetal-pxe-deploy.

Description:

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-deploy-helper mounts the baremetal node's disks via iSCSI, fdisks the partitions, and dd's the updated glance image over iSCSI
- 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://review.openstack.org/#/c/15830/


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

Specification URL (additional information):

None


Note You need to log in before you can comment on or make changes to this bug.