Bug 1041126 (rhelosp_discless_vm)

Summary: [RFE][nova]: Add the ability to create empty VM and then boot it via PXE.
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: openstack-novaAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact: yeylon <yeylon>
Severity: unspecified Docs Contact:
Priority: high    
Version: unspecifiedCC: markmc, ndipanov, sgordon, srevivo, yeylon
Target Milestone: ---Keywords: FutureFeature, Triaged, Upstream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/nova/+spec/libvirt-empty-vm-boot-pxe
Whiteboard: upstream_milestone_none upstream_status_started upstream_definition_review
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-29 20:09:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description RHOS Integration 2013-12-12 13:44:35 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/libvirt-empty-vm-boot-pxe.

Description:

Use case:

We want to test OS installer like anaconda or debian-installer or any other installer which is able to install OS via network. In order to test it we need to create two-node environment. On the first node we will install tftp and http servers. Then we call neutron API to set all necessary DHCP options. Then we will start the second node which is empty. This second node will try to boot via PXE. It will send DHCP request and DHCP server (neutron managed) will offer IP address and next-server option which will point on the first node.

Concerns:
 At the moment we can not use openstack for such a case.

Implementation:
We are going to modify libvirt driver to make it able to create VM with empty disk image and make this VM able to boot via PXE.


Specification URL (additional information):

None