[one-users] xen block type for contextualization

Paulo A L Rego pauloalr.alu at gmail.com
Fri Jun 7 12:00:31 PDT 2013


Hello all,

My private cloud is configured with Xen and LVM; but the vm creation with
context is failing with the following error: *Error: Device 5632 (vbd)
could not be connected. /srv/cloud/one/var//datastores/0/9/disk.2 is not a
block device.*

My template is as follow:
DISK=[ DEV_PREFIX="xvd", DRIVER="phy:", IMAGE_ID="3" ]
DISK=[ DEV_PREX="xvd", DRIVER="file:", SIZE="512", TYPE="swap" ]

The deployment file created has the following lines:
disk = [
    'phy:/srv/cloud/one/var//datastores/0/9/disk.0,xvda,w',
    'file:/srv/cloud/one/var//datastores/0/9/disk.1,hda,w',
    '*phy*:/srv/cloud/one/var//datastores/0/9/disk.2,hdc,r',
]

disk.0 is the file system, disk.1 is the swap and disk.2 is the iso file
created for contextualization..
when i manually alter *phy:* for *file:*, the error disappears..

OpenNebula will always set phy: for the contextualization disk?
How can i fix this problem? Any tip?

Ps:. The vm is created normally if the contextualization is not set.

Thanks
--
Paulo Antonio Leal Rego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130607/85872f27/attachment.htm>


More information about the Users mailing list