cluster_name
lines in
datastore_regex
field
specifies the data stores to use with Compute. For
example, datastore_regex="nas.*"
selects
all the data stores that have a name starting with
"nas". If this line is omitted, Compute uses the first
data store returned by the vSphere API. It is
recommended not to use this field and instead remove
data stores that are not intended for OpenStack.qemu-img
utility. After a VMDK disk is available, load it into the
OpenStack Image Service. Then, you can use it with the VMware
vCenter driver. The following sections provide additional
details on the supported disks and the commands used for
conversion and upload.qemu-img
utility.vmware_disktype
property that applies to each of the supported VMDK disk
types:vmware_disktype property | VMDK disk type |
---|---|
sparse |
|
thin |
|
preallocated (default) |
|
vmware_disktype
property is set when an
image is loaded into the OpenStack Image Service. For example,
the following command creates a Monolithic Sparse image by
setting vmware_disktype
to
qemu-img
utility, disk images in
several formats (such as, qcow2) can be converted to the VMDK
format.qemu-img
are
qemu-img
conversion, the command to upload the
VMDK disk should be something like:vmware_disktype
is set to
vmware_adaptertype
is set to qemu-img
utility, the vmware_disktype
and
vmware_adaptertype
might be different. To
determine the image adapter type from an image file, use the
following command and look for the
ddb.adapterType=
line:vmware_adaptertype
property correctly. The
default adapter type is lsiLogic, which is SCSI, so you can
omit the hypervisor_type
tag to match images to the
correct hypervisor type. For VMware images, set the hypervisor
type to vmware-vdiskmanager
is a utility that
comes bundled with VMware Fusion and VMware Workstation.
Below is an example of converting a sparse disk to
preallocated format:vmware_linked_clone
property in the OpenStack
Image Service.VMWAREAPI_IP
shell variable to the
IP address for your vCenter or ESXi host from where you plan
to mirror files. For example: