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

Javier Fontan jfontan at gmail.com
Thu Sep 16 07:40:30 PDT 2010


Hello,

When you get this error in logs:

--8<------
Fri Sep 10 16:07:33 2010 [VMM][I]: error: monitor socket did not show
up.: Connection refused
------>8--

you have to check libvirt/kvm logs. Go to the execution host and check
/var/log/libvirt/qemu/one-<vmid>.log. Hopefully there is more
information.

Bye

On Fri, Sep 10, 2010 at 12:47 PM, Prashant Wakchaure
<prashant.wakchaure at gmail.com> wrote:
> 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
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>



-- 
Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org



More information about the Users mailing list