[one-users] Opennebula: template network boot issue.

Prashant Wakchaure prashant.wakchaure at gmail.com
Fri Sep 10 03:47:56 PDT 2010


Hi All,

Hi I am doing network boot using OpenNebula. And I have following template
for network boot.

NAME   = vm1
CPU    = 1
MEMORY = 1024

OS = [ boot = "network" ]

NIC    = [ mac = "03:05:13:54:76:23", bridge = "br0"  ]

FEATURES=[ acpi="no" ]

GRAPHICS = [
  type    = "vnc",
  listen  = "0.0.0.0",
  port    = "9789" ]

but after deploying the template, it get failed at boot time state of
template and when I saw the vm.log file for that template and it show
following log :

Fri Sep 10 16:07:01 2010 [DiM][I]: New VM state is ACTIVE.
Fri Sep 10 16:07:02 2010 [LCM][I]: New VM state is PROLOG.
Fri Sep 10 16:07:02 2010 [VM][I]: Virtual Machine has no context
Fri Sep 10 16:07:02 2010 [LCM][I]: New VM state is BOOT
Fri Sep 10 16:07:02 2010 [VMM][I]: Generating deployment file:
/srv/cloud/one/var/20/deployment.0
Fri Sep 10 16:07:33 2010 [VMM][I]: Command execution fail: 'mkdir -p
/srv/cloud/one/var//20/images && cat >
/srv/cloud/one/var//20/images/deployment.0 && virsh --connect qemu:///system
create /srv/cloud/one/var//20/images/deployment.0'
Fri Sep 10 16:07:33 2010 [VMM][I]: STDERR follows.
Fri Sep 10 16:07:33 2010 [VMM][I]: Warning: Permanently added
'vincloud-server1.local,192.168.10.101' (RSA) to the list of known hosts.
Fri Sep 10 16:07:33 2010 [VMM][I]: Connecting to uri: qemu:///system
Fri Sep 10 16:07:33 2010 [VMM][I]: error: Failed to create domain from
/srv/cloud/one/var//20/images/deployment.0
Fri Sep 10 16:07:33 2010 [VMM][I]: error: monitor socket did not show up.:
Connection refused
Fri Sep 10 16:07:33 2010 [VMM][I]: ExitCode: 1
Fri Sep 10 16:07:33 2010 [VMM][E]: Error deploying virtual machine
Fri Sep 10 16:07:35 2010 [DiM][I]: New VM state is FAILED
Fri Sep 10 16:07:36 2010 [TM][W]: Ignored: LOG - 20 tm_delete.sh: Deleting
/srv/cloud/one/var//20/images

Fri Sep 10 16:07:36 2010 [TM][W]: Ignored: LOG - 20 tm_delete.sh: Executed
"ssh vincloud-server1.local rm -rf /srv/cloud/one/var//20/images".

Fri Sep 10 16:07:36 2010 [TM][W]: Ignored: TRANSFER SUCCESS 20 -

Anybody knows what went wrong???

-- 
Thanks & Regards,
Prashant Wakchaure
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100910/61abe24d/attachment-0002.htm>


More information about the Users mailing list