[one-users] can not create vm
韩士准
hanshizhunjob at 126.com
Tue Aug 13 18:08:37 PDT 2013
at first,I want to create a datastore,so I so like the example
$ vi datastore.template
NAME=VMwareImages
TM_MAD=shared
DS_MAD=vmware
$ onedatastore create datastore.template
ID: 100
But I can only get this,the is no space in my id 101 and 103
ID NAME SIZE AVAIL CLUSTER IMAGES TYPE DS TM
0 system - - - 0 sys - shared
1 default 33.8G 80% - 1 img fs shared
2 files 33.8G 80% - 0 fil fs ssh
101 VMwareImages 0M - - 0 img vmware shared
103 vmwareimage 0M - - 0 img vmware ssh
So I have to use the default 1 as the datastore.
When I upload my images, I select Type cdrom
When I create my template, as for the storage I select one image and one Volatile Disk,
This is one log
Mon Aug 12 17:37:38 2013 [DiM][I]: New VM state is ACTIVE.
Mon Aug 12 17:37:38 2013 [LCM][I]: New VM state is PROLOG.
Mon Aug 12 17:37:39 2013 [TM][I]: Command execution fail: /var/lib/one/remotes/tm/shared/clone manager:/var/lib/one/datastores/1/9c5c77fb0733c22d348d985089d7750a 192.168.3.134:/vmfs/volumes/0/11/disk.0 11 1
Mon Aug 12 17:37:39 2013 [TM][I]: clone: Cloning /vmfs/volumes/1/9c5c77fb0733c22d348d985089d7750a in 192.168.3.134:/vmfs/volumes/0/11/disk.0
Mon Aug 12 17:37:39 2013 [TM][E]: clone: Command "cd /vmfs/volumes/0/11; cp /vmfs/volumes/1/9c5c77fb0733c22d348d985089d7750a /vmfs/volumes/0/11/disk.0" failed: cp: can't stat '/vmfs/volumes/1/9c5c77fb0733c22d348d985089d7750a': No such file or directory
Mon Aug 12 17:37:39 2013 [TM][E]: Error copying manager:/var/lib/one/datastores/1/9c5c77fb0733c22d348d985089d7750a to 192.168.3.134:/vmfs/volumes/0/11/disk.0
Mon Aug 12 17:37:39 2013 [TM][I]: ExitCode: 1
Mon Aug 12 17:37:39 2013 [TM][E]: Error executing image transfer script: Error copying manager:/var/lib/one/datastores/1/9c5c77fb0733c22d348d985089d7750a to 192.168.3.134:/vmfs/volumes/0/11/disk.0
Mon Aug 12 17:37:39 2013 [DiM][I]: New VM state is FAILED
The is another log
Mon Aug 12 17:50:08 2013 [DiM][I]: New VM state is ACTIVE.
Mon Aug 12 17:50:08 2013 [LCM][I]: New VM state is PROLOG.
Mon Aug 12 17:50:08 2013 [TM][I]: Command execution fail: /var/lib/one/remotes/tm/shared/mkimage 10240 ext4 192.168.3.134:/vmfs/volumes/0/12/disk.0 12 0
Mon Aug 12 17:50:08 2013 [TM][I]: mkimage: Making filesystem of 10240M and type ext4 at 192.168.3.134:/vmfs/volumes/0/12/disk.0
Mon Aug 12 17:50:08 2013 [TM][E]: mkimage: Command "export PATH=/usr/sbin:/sbin:$PATH
Mon Aug 12 17:50:08 2013 [TM][I]:
Mon Aug 12 17:50:08 2013 [TM][I]: if [ ! -d /vmfs/volumes/0/12/disk.0 ]; then
Mon Aug 12 17:50:08 2013 [TM][I]: mkdir -p /vmfs/volumes/0/12/disk.0
Mon Aug 12 17:50:08 2013 [TM][I]: fi
Mon Aug 12 17:50:08 2013 [TM][I]:
Mon Aug 12 17:50:08 2013 [TM][I]: mkfs -t ext4 -F /vmfs/volumes/0/12/disk.0" failed: sh: mkfs: not found
Mon Aug 12 17:50:08 2013 [TM][E]: Could not create image /vmfs/volumes/0/12/disk.0
Mon Aug 12 17:50:08 2013 [TM][I]: ExitCode: 127
Mon Aug 12 17:50:08 2013 [TM][E]: Error executing image transfer script: Could not create image /vmfs/volumes/0/12/disk.0
Mon Aug 12 17:50:08 2013 [DiM][I]: New VM state is FAILED
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130814/667c247d/attachment-0001.htm>
More information about the Users
mailing list