[one-users] config issue: can't swith "tm_ssh" mode to "tm_nfs" mode

GONG YONGJIE A Yongjie.a.Gong at alcatel-sbell.com.cn
Thu Mar 10 19:54:57 PST 2011


Hi,
	
	We'd like to change "tm_nfs" as transfer manager from "tm_ssh"
but it is failed during VM creation.

	Could you help for us check it?
	Thanks.

The image was created before (at that moment "tm_ssh" was used)
[root at cloudmanager images]# cat vm-linux-0.2.conf 
NAME = linux-0.2-nfstest 
MEMORY = 512 
CPU = 1
VCPU = 1

EMULATOR = /usr/libexec/qemu-kvm

ARCH = i686

BOOT = hd

DISK = [ IMAGE= "linux-0.2" ]

NIC = [ MAC = "05:80:42:03:17:86", MODLE ="e1000", BRIDGE = "br0" ]
NIC = [ MAC = "05:80:42:03:18:86", MODLE ="e1000", BRIDGE = "br1" ]

GRAPHICS = [
        TYPE = "vnc",
        LISTEN = "127.0.0.1",
        PORT = "5944" ]

Log from "sunstone"
Fri Mar 11 12:55:06 2011 [DiM][I]: New VM state is ACTIVE.
Fri Mar 11 12:55:06 2011 [LCM][I]: New VM state is PROLOG.
Fri Mar 11 12:55:06 2011 [TM][E]: prolog, error getting driver tm_ssh
Fri Mar 11 12:55:06 2011 [TM][E]: epilog_delete, error getting driver
vmm_kvm. You may need to manually clean
172.24.178.38:/srv/zjcloud/var/images/26/images
Fri Mar 11 12:55:06 2011 [DiM][I]: New VM state is FAILED

Oned.conf

HOST_MONITORING_INTERVAL = 20

VM_POLLING_INTERVAL      = 10

VM_DIR=/srv/zjcloud/var/images

SCRIPTS_REMOTE_DIR=/var/tmp/one

PORT=2633

 DB = [ backend = "mysql",
        server  = "localhost",
        port    = 0,
        user    = "root",
        passwd  = "alcatel",
        db_name = "opennebula" ]

VNC_BASE_PORT = 5900

DEBUG_LEVEL=3

NETWORK_SIZE = 254

MAC_PREFIX   = "08:80:42"

IMAGE_REPOSITORY_PATH = /srv/cloud/var/images
DEFAULT_IMAGE_TYPE    = "OS"
DEFAULT_DEVICE_PREFIX = "hd"


IM_MAD = [
      name       = "im_kvm",
      executable = "one_im_ssh",
      arguments  = "-r 0 -t 15 kvm" ]


VM_MAD = [
    name       = "vmm_kvm",
    executable = "one_vmm_ssh",
    arguments  = "-t 15 -r 0 kvm",
    default    = "vmm_ssh/vmm_ssh_kvm.conf",
    type       = "kvm" ]


TM_MAD = [
    name       = "tm_nfs",
    executable = "one_tm",
    arguments  = "tm_nfs/tm_nfs.conf" ]


HM_MAD = [
    executable = "one_hm" ]

VM_HOOK = [
    name      = "image",
    on        = "DONE",
    command   = "image.rb",
    arguments = "$VMID" ]


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


More information about the Users mailing list