[one-users] MONITOR FAILURE 4 Error executing kvm.rb
Marco Jagodzinska
jagodzinska at fh-aachen.de
Mon Jan 14 07:16:05 PST 2013
I'm working as oneadmin :)
sudo su oneadmin
Am 14.01.2013 16:09, schrieb Duverne, Cyrille:
> Marco,
>
> Just to be 100% sure, are you launching and using ONE as oneadmin ?
>
> Cheers
> Cyrille
>
> Lundi 14/01/2013 à 15:51 Marco Jagodzinska a écrit:
>
> Hello again,
>
> so you mean changing the two following two parts in
> |/etc/libvirt/libvirtd.conf| ?/
>
> unix_sock_group = "libvirt" -> unix_sock_group = "oneadmin"///
>
> and
> /
> //unix_sock_rw_perms = "0770" -> unix_sock_rw_perms = "0777"
>
> I tried it and it still isn't working.
>
>
> But that strangest thing is: when I don't change anything at all
> "onehost create" is working.
> I thought because of later errors with "onevm create" (see mail:
> [one-users] "Could not create domain" while trying to start a vm,
> 9.1.), I have to follow the steps for KVM configuration from the
> official site.
>
> I dont want to believe that following the official tutorial leads
> to errors you doesn't would have when you do nothing ;)
>
> Cheers,
> Marco
> /
>
>
>
> Am 14.01.2013 14:54, schrieb Duverne, Cyrille:
> > Hello again,
> >
> > As mentionned here as well :
> >
> http://lists.opennebula.org/pipermail/users-opennebula.org/2011-March/014614.html
> >
> > You have to run libvirt as oneadmin.
> >
> > Could you try again ?
> >
> > Cheers
> > Cyrille
> >
> > Lundi 14/01/2013 à 14:50 Marco Jagodzinska a écrit:
> >
> > Hello Cyrille,
> >
> > thanks for your answer!
> >
> > I tried both.
> >
> > With "-l" the command "service libvirt-bin restart" isn't longer
> > working properly:
> > root at Arbeitsrechner:/# service libvirt-bin restart
> > stop: Unknown instance:
> > libvirt-bin start/running, process 25471
> >
> > Without "-l" the restart is working fine:
> > root at Arbeitsrechner:/# service libvirt-bin restart
> > libvirt-bin stop/waiting
> > libvirt-bin start/running, process 25673
> >
> > And "onehost create" fails in both cases...
> >
> > Cheers,
> > Marco
> >
> >
> >
> > Am 14.01.2013 14:38, schrieb Duverne, Cyrille:
> >> Hello Marco,
> >>
> >> Did you launch livirt with the -l option ?
> >> As described in the tutorial :
> >> "
> >>
> >> *
> >> |/etc/libvirt/libvirtd.conf| : Uncomment “listen_tcp = 1”.
> >> Security configuration is left to the admin's choice,
> file is
> >> full of useful comments to achieve a correct configuration.
> >> As a tip, if you don't want to use TLS for connections set
> >> |listen_tls = 0|.
> >>
> >> *
> >> |/etc/default/libvirt-bin| : add *-l* option to
> |libvirtd_opts|
> >>
> >> "
> >>
> >> Just my 2 cents.
> >>
> >> Kind regards
> >> CyD
> >>
> >>
> >> Lundi 14/01/2013 à 14:20 Marco Jagodzinska a écrit:
> >>
> >> Hello again,
> >>
> >> next try, hoping for an answer ;)
> >>
> >> (I'm using Xubuntu 12.04 and the latest OpenNebula 3.8.3)
> >>
> >> If I follow the tutorial for configuring KVM
> >> (http://opennebula.org/documentation:rel3.8:kvmg), I
> receive
> >> an error
> >> message when I try to "onehost create localhost -i
> im_kvm -v
> >> vmm_kvm -n
> >> dummy"
> >>
> >> The error (onehost show):
> >>
> >> ERROR=[
> >> MESSAGE="Error monitoring host 4 : MONITOR FAILURE 4
> Error
> >> executing
> >> kvm.rb
> >> ",
> >> TIMESTAMP="Mon Jan 14 14:10:11 2013" ]
> >>
> >>
> >>
> >> It seems that the step leading to this error is changing
> >> qemu.conf so
> >> that it reads as follows:
> >>
> >> $ grep -vE '^($|#)' /etc/libvirt/qemu.conf
> >> user = "oneadmin"
> >> group = "oneadmin"
> >> dynamic_ownership = 0
> >>
> >>
> >> Anybody able to help me?
> >>
> >> Cheers,
> >> Marco
> >>
> >>
> >> _______________________________________________
> >> Users mailing list
> >> Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
> <mailto: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/20130114/fd7dd039/attachment-0002.htm>
More information about the Users
mailing list