Chapter 23. Configuring Direct Deploy
When provisioning nodes, director mounts the overcloud base operating system image on an iSCSI mount and then copies the image to disk on each node. Direct deploy is an alternative method that writes disk images from a HTTP location directly to disk on bare metal nodes.
23.1. Configuring the direct deploy interface on the undercloud
The iSCSI deploy interface is the default deploy interface. However, you can enable the direct deploy interface to download an image from a HTTP location to the target disk.
Your overcloud node memory tmpfs
must have at least 8GB of RAM.
Procedure
Create or modify a custom environment file
/home/stack/undercloud_custom_env.yaml
and specify theIronicDefaultDeployInterface
.Copy to Clipboard Copied! Toggle word wrap Toggle overflow parameter_defaults: IronicDefaultDeployInterface: direct
parameter_defaults: IronicDefaultDeployInterface: direct
By default, the Bare Metal service (ironic) agent on each node obtains the image stored in the Object Storage service (swift) through a HTTP link. Alternatively, ironic can stream this image directly to the node through the
ironic-conductor
HTTP server. To change the service that provides the image, set theIronicImageDownloadSource
tohttp
in the/home/stack/undercloud_custom_env.yaml
file:Copy to Clipboard Copied! Toggle word wrap Toggle overflow parameter_defaults: IronicDefaultDeployInterface: direct IronicImageDownloadSource: http
parameter_defaults: IronicDefaultDeployInterface: direct IronicImageDownloadSource: http
Include the custom environment file in the
DEFAULT
section of theundercloud.conf
file.Copy to Clipboard Copied! Toggle word wrap Toggle overflow custom_env_files = /home/stack/undercloud_custom_env.yaml
custom_env_files = /home/stack/undercloud_custom_env.yaml
Perform the undercloud installation:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow openstack undercloud install
$ openstack undercloud install