[one-users] config issue: can't swith "tm_ssh" mode to "tm_nfs" mode
Olivier Sallou
olivier.sallou at irisa.fr
Fri Mar 11 07:51:30 PST 2011
Hi, I have not tested it but will "one" allow to remove a host while still having VM running on host? I will have to to the same modif (tm ssh -> nfs) soon on a running cloud. Or should I comment a check in the client code for the duration of the modification? Regards Olivier Hi,
The host is trying to use the old driver. If you want to use a
different driver you have to:
1. Uncomment the driver in the oned.conf
2. Create again the host to use that driver: onehost create xx im_kvm
vmm_kvm tm_nfs
Hope this helps
On 11 March 2011 04:54, GONG YONGJIE A <Yongjie.a.Gong at alcatel-sbell.com.cn> wrote:
> 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" ] > > _______________________________________________ > Users mailing list > Users at lists.opennebula.org > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > >
--
Daniel Molina, Cloud Technology Engineer/Researcher
Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org | dmolina at opennebula.org _______________________________________________
Users mailing list Users at lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110311/4ab510ed/attachment-0002.htm>
More information about the Users
mailing list