[one-users] Contextualization problem target(hdb)-(/dev/cdrom1)

Filippo Gaudenzi filippo.gaudenzi at inria.fr
Fri Nov 2 04:19:02 PDT 2012


Hi everybody,
i'm trying to use contextualization to pass file to my VMs.
After

onevm create ubuTest.one

where ubuTest.one is:

NAME = "ubu1"
CPU =0.1
VCPU = 1
MEMORY = 256
NIC = [NETWORK="VEP public network"]
DISK = [IMAGE="ubuntuServer"]
OS = [ boot="hd", arch="x86_64" ]
GRAPHICS = [
type="vnc",
listen="localhost"
]
CONTEXT=[
files="/srv/kvm-images/filippoContrail/one/ubuTest.one"
]

I check the VM with

onevm show <VM-id>

and i get:

VIRTUAL MACHINE 299 INFORMATION
ID             : 299
NAME           : ubu1
STATE          : ACTIVE
LCM_STATE      : RUNNING
START TIME     : 11/02 11:56:44
END TIME       : -
DEPLOY ID:     : one-299

VIRTUAL MACHINE MONITORING
NET_TX         : 468
NET_RX         : 58381
USED MEMORY    : 262144
USED CPU       : 2

VIRTUAL MACHINE TEMPLATE
CONTEXT=[
   FILES=/srv/kvm-images/filippoContrail/one/ubuTest.one,
   TARGET=hdb ]
CPU=0.1
DISK=[
   CLONE=YES,
   DISK_ID=0,
   IMAGE=ubuntuServer,
   IMAGE_ID=0,
   READONLY=NO,
   SAVE=NO,
SOURCE=/srv/kvm-images/filippoContrail/one/var//images/0c807e521b4ae25dcbd07bb7b224fd6a9392d30b,
   TARGET=hda,
   TYPE=DISK ]
GRAPHICS=[
   LISTEN=localhost,
   PORT=6199,
   TYPE=vnc ]
MEMORY=256
NAME=ubu1
NIC=[
   BRIDGE=br-myriads,
   IP=131.254.201.69,
   MAC=02:00:83:fe:c9:45,
   NETWORK=VEP public network,
   NETWORK_ID=3 ]
OS=[
   ARCH=x86_64,
   BOOT=hd ]
VCPU=1
VMID=299

I understand that in my VM there should be a drive on /dev/hdb to mount. 
But when i ssh inside i just find cdrom1.
Do you know why?

Thank you.


-- 
Filippo Gaudenzi R&D Engineer at INRIA
CONTRAIL Project, INRIA Rennes - Bretagne Atlantique
Campus universitaire de Beaulieu, 35042 Rennes cedex, France
Tel 02 9984 7126
http://www.irisa.fr/myriads/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121102/a412131c/attachment.htm>


More information about the Users mailing list