[one-users] "error: monitor socket did not show up."

Javier Fontan jfontan at opennebula.org
Fri Oct 10 02:56:51 PDT 2014


It can certainly happen that two VMs get the same VNC port if you have
really old VMs running. The ports are recycled and is calculated this
way:

base_port + ( oid % (limit - base_port) )

* base_port is got from the config file, 5900 by default
* oid is the VM id
* limit is 65535

You may get more information in the libvirt/qemu log file at
/var/log/libvirt/qemu/one-<vmid>.log

Cheers

On Tue, Oct 7, 2014 at 9:08 PM, Steven Timm <timm at fnal.gov> wrote:
>
> We are commissioning a new OpenNebula 4.8 head node and so
> far we are seeing very good scalability.  But
> in tests where we are launching a lot of virtual machines at once
> we sometimes see the error:
>
>
> Tue Oct  7 08:46:43 2014 [Z0][VMM][I]: error: Failed to create domain from
> /var/lib/one//datastores/100/240/deployment.0
> Tue Oct  7 08:46:43 2014 [Z0][VMM][I]: error: monitor socket did not show
> up.: No such file or directory
>
> If we go to the system data store /var/lib/one/datastores/100/240/
> and do a manual "virsh create deployment.0"
> the VM is then created correctly.
>
> So I presume this is some kind of race condition inside the VM host.
> The question is what might that be?  some strange condition where
> two virsh creates are going after the same VNC port and one of them
> is failing?
>
> From /var/log/messages on the vm host I get the following
>
>
> Oct  7 08:46:38 cloudworker1036 libvirtd: 31490: info :
> virNetDevProbeVnetHdr:94
>  : Enabling IFF_VNET_HDR
> Oct  7 08:46:38 cloudworker1036 kernel: device vnet8 entered promiscuous
> mode
> Oct  7 08:46:39 cloudworker1036 kernel: br1: port 10(vnet8) entering
> forwarding
> state
> Oct  7 08:46:42 cloudworker1036 libvirtd: 31490: error :
> qemuMonitorOpenUnix:300
>  : monitor socket did not show up.: No such file or directory
> Oct  7 08:46:42 cloudworker1036 libvirtd: 31490: info :
> qemuConnectMonitor:1426
> : Failed to connect monitor for one-240
>
> Steve Timm
>
> ------------------------------------------------------------------
> Steven C. Timm, Ph.D  (630) 840-8525
> timm at fnal.gov  http://home.fnal.gov/~timm/
> Fermilab Scientific Computing Division, Scientific Computing Services Quad.
> Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | @OpenNebula | github.com/jfontan


More information about the Users mailing list