[one-users] [VMM]Device 2049 (tap) could not be connected. Hotplug scripts not working.

郭健 06jsjgj at zju.edu.cn
Wed Apr 20 23:52:57 PDT 2011


When I use a opennebula template for xen driver to create a virtual machine,
I got this error.

The “vm.log” is :

[quote]

Thu Apr 21 23:50:49 2011 [DiM][I]: New VM state is ACTIVE.

Thu Apr 21 23:50:49 2011 [LCM][I]: New VM state is PROLOG.

Thu Apr 21 23:50:49 2011 [TM][W]: No size in swap image, skipping

Thu Apr 21 23:50:49 2011 [VM][I]: Virtual Machine has no context

Thu Apr 21 23:51:23 2011 [TM][I]: tm_clone.sh:
ccnt:/srv/domains/vm01/disk.img ccnt:/srv/cloud/one/var//11/images/disk.0

Thu Apr 21 23:51:23 2011 [TM][I]: tm_clone.sh: DST:
/srv/cloud/one/var//11/images/disk.0

Thu Apr 21 23:51:23 2011 [TM][I]: tm_clone.sh: Creating directory
/srv/cloud/one/var//11/images

Thu Apr 21 23:51:23 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/ssh ccnt
mkdir -p /srv/cloud/one/var//11/images".

Thu Apr 21 23:51:23 2011 [TM][I]: tm_clone.sh: Cloning
ccnt:/srv/domains/vm01/disk.img

Thu Apr 21 23:51:23 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/scp
ccnt:/srv/domains/vm01/disk.img ccnt:/srv/cloud/one/var//11/images/disk.0".

Thu Apr 21 23:51:23 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/ssh ccnt
chmod a+rw /srv/cloud/one/var//11/images/disk.0".

Thu Apr 21 23:51:25 2011 [LCM][I]: New VM state is BOOT

Thu Apr 21 23:51:25 2011 [VMM][I]: Generating deployment file:
/srv/cloud/one/var/11/deployment.0

Thu Apr 21 23:53:07 2011 [VMM][I]: Command execution fail: 'if [ -x
"/var/tmp/one/vmm/xen/deploy" ]; then /var/tmp/one/vmm/xen/deploy
/srv/cloud/one/var//11/images/deployment.0; else
exit 42; fi'

Thu Apr 21 23:53:07 2011 [VMM][I]: STDERR follows.

Thu Apr 21 23:53:07 2011 [VMM][I]: Error: Device 2049 (tap) could not be
connected. Hotplug scripts not working.

Thu Apr 21 23:53:07 2011 [VMM][I]: ExitCode: 1

Thu Apr 21 23:53:07 2011 [VMM][E]: Error deploying virtual machine: Error:
Device 2049 (tap) could not be connected. Hotplug scripts not working.

Thu Apr 21 23:53:07 2011 [DiM][I]: New VM state is FAILED

Thu Apr 21 23:53:08 2011 [TM][W]: Ignored: LOG - 11 tm_delete.sh: Deleting
/srv/cloud/one/var//11/images

 

Thu Apr 21 23:53:08 2011 [TM][W]: Ignored: LOG - 11 tm_delete.sh: Executed
"/usr/bin/ssh ccnt rm -rf /srv/cloud/one/var//11/images".

 

Thu Apr 21 23:53:08 2011 [TM][W]: Ignored: TRANSFER SUCCESS 11 -

[/quote]

 

And my xen vm template is like this:

[quote]

NAME = debian

CPU = 1

MEMORY = 512

 

DISK = [

     source = "/srv/domains/vm01/disk.img",

     target = "sda1",

     clone  = "yes",

     readonly = "no" ]

 

DISK = [ 

     type = swap,

     source = "/srv/comains/vm01/swap.img",

     readonly = "no" ]

 

OS = [ 

       kernel = "/srv/debian/vmlinuz",

       initrd = "/srv/debian/initrd.img"

     ]

 

 

NIC = [ IP = 10.***.*.***,

         MAC = xx:xx:xx:xx:xx:xx,

       MODEL = ioemu ]

[/quote]

 

Is anything going wrong? Can anybody help me?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110421/07cefc7e/attachment-0002.htm>


More information about the Users mailing list