Displaying 13 results from an estimated 13 matches for "libvirt_log_filters".
2012 Sep 13
0
libvirtd on MacOS X
Hi,
I am trying to run libvirtd on MacOS X, but for now without success. My hypervisor is VirtualBox.
Libvirt is installed from ports system. Without libvirtd I can see my virtual machines:
LIBVIRT_LOG_FILTERS=1:vbox virsh -c vbox:///session
setlocale: No such file or directory
2012-09-13 08:56:43.937+0000: -1: info : libvirt version: 0.9.10
2012-09-13 08:56:43.937+0000: -1: debug : tryLoadOne:163 : Found VBoxXPCOMC.dylib in '/Applications/VirtualBox.app/Contents/MacOS'
2012-09-13 08:56:43.937+00...
2013 Sep 11
2
Re: libvirt-1.2.2-r1 (Gentoo) fails to start LXC containers
...eceiving signal from container: Input/output error
>
> We'll need you to increase the log level to get more detail in this
> file.
>
> 1. Stop the 'libvirtd' daemon
>
> 2. Edit /etc/libvirt/lxc.conf and set log_with_libvirtd=1
>
> 3. Run
>
> $ LIBVIRT_LOG_FILTERS=1:lxc LIBVIRT_LOG_OUTPUTS=1:stderr /usr/sbin/libvirtd
>
> 4. rm -f /var/log/libvirt/lxc/dwj-hfax-dev.log
>
> 5. Try to start your guest with virsh
>
>
> Now send us the much more verbose logfile that was created
Dennis has already knew what's wrong with his environment...
2014 Sep 25
2
Missing security model in 1.2.8?
I have successfully (I believe) built (rebuilt on Ubuntu 14.04), installed, and used libvirt 1.2.2. Behaviorally I can't tell the difference between what I've built and what Ubuntu distributes.
Specifically, "virsh capabilities" shows this:
<secmodel>
<model>apparmor</model>
<doi>0</doi>
</secmodel>
2013 Aug 22
2
Re: Information needed regarding the libvirt version libvirt-1.0.6-1
Hi Daniel,
Thanks a lot for your reply.
We have mounted all the cgoup controllers at "/dev/cgroup_<controller>" as
mentioned below.
ls /dev/ | grep cgroup
cgroup_cpu cgroup_cpuacct cgroup_cpuset cgroup_mem
On further debugging we dound that the "VCPU" directories are not being
created for our domains and hence the comamnd "cpu-stats
2023 Jun 06
2
virsh not connecting to libvertd ?
...s poll() it continues on with read/write ..etc.
I turned on debugging for libvirtd and get no errors while virsh is trying
to connect.
I am able to get a virsh# shell. The shell only hangs when I try "connect,
uri, version".
Another method of debugging I tried was:
LIBVIRT_DEBUG=error LIBVIRT_LOG_FILTERS="1:* " virsh uri
..
..
2023-06-06 20:51:22.312+0000: 1647: debug : doRemoteOpen:1128 : Trying
authentication
2023-06-06 20:51:22.312+0000: 1647: debug : virNetMessageNew:44 :
msg=0x55b996539680 tracked=0
2023-06-06 20:51:22.312+0000: 1647: debug : virNetMessageEncodePayload:383
: Encode l...
2013 Sep 10
3
libvirt-1.2.2-r1 (Gentoo) fails to start LXC containers
I recently upgraded "libvirt" on Gentoo to 1.2.2-r1 (latest available). I
have not used LXC containers for a few weeks, so I don't recall what
version of libvirt I was using when my container last booted successfully.
Unfortunately, Gentoo's portage tree does not offer any previous versions
of libvirt that I could downgrade to.
TL;DR: My container is configured to use
2013 Aug 22
0
Re: Information needed regarding the libvirt version libvirt-1.0.6-1
....162+0000: 1273: error : virCgroupMakeGroup:745 : Failed
> to create controller cpu for group
Is that a debug log from when you started the guest, or from
when you run the cpu-stats command. We need a full log from
when you started the guest to try & diagnose this.
Run libvirtd with
LIBVIRT_LOG_FILTERS="1:cgroup" LIBVIRT_LOG_OUTPUTS=1:file:/tmp/libvirt.log /usr/sbin/libvirtd
and start the guest, and then upload the log somewhere we can see it
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http...
2013 Sep 11
0
Re: libvirt-1.2.2-r1 (Gentoo) fails to start LXC containers
...; LIBVIRT_LXC_NAME=dwj-hfax-dev /sbin/init
> error receiving signal from container: Input/output error
We'll need you to increase the log level to get more detail in this
file.
1. Stop the 'libvirtd' daemon
2. Edit /etc/libvirt/lxc.conf and set log_with_libvirtd=1
3. Run
$ LIBVIRT_LOG_FILTERS=1:lxc LIBVIRT_LOG_OUTPUTS=1:stderr /usr/sbin/libvirtd
4. rm -f /var/log/libvirt/lxc/dwj-hfax-dev.log
5. Try to start your guest with virsh
Now send us the much more verbose logfile that was created
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: htt...
2014 Sep 26
0
Re: Missing security model in 1.2.8?
...> Any suggestions on what I should be looking for? Nothing comes up via a web search.
>
> Again: no special options on the configure, and the same technique is used to build both versions. I'm looking for any pointers before I start digging into the code.
Try running libvirtd with
LIBVIRT_LOG_FILTERS="1:qemu 1:security" LIBVIRT_LOG_OUTPUTS="1:stderr" /usr/sbin/libvirtd
as it starts up you ought to see some messages about it trying to initialize
the security drivers. If you're lucky one might tell you why apparmour was
missing, if you compare the log messages from both b...
2013 Aug 22
2
Re: Information needed regarding the libvirt version libvirt-1.0.6-1
...745 :
> Failed
> > to create controller cpu for group
>
> Is that a debug log from when you started the guest, or from
> when you run the cpu-stats command. We need a full log from
> when you started the guest to try & diagnose this.
>
> Run libvirtd with
>
> LIBVIRT_LOG_FILTERS="1:cgroup"
> LIBVIRT_LOG_OUTPUTS=1:file:/tmp/libvirt.log /usr/sbin/libvirtd
>
> and start the guest, and then upload the log somewhere we can see it
>
> Daniel
> --
> |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/:|
> |: http://libvirt.o...
2014 Jan 22
3
running LXC hello world example
Hello,
I am having difficulty getting any sort of LXC container running. I am
trying to use the following tutorial to run the hello world example:
https://www.berrange.com/posts/2011/09/27/getting-started-with-lxc-using-libvirt/
Here are the results of my running the tutorial:
[root@terraria ~]# virsh list
Id Name State
2011 Nov 06
1
libvirt, OSX and VirtualBox - how?
I have a new OSX Lion Macbook and would like to control VirtualBox using
"virsh" (as I do with KVM under Ubuntu).
I've got this far:
* Installed VirtualBox
* Installed libvirt (brew install libvirt)
But now I'm a bit stuck :-)
I ran VirtualBox itself, and created a test VM successfully.
If I try to use virsh, this is what I get:
Brians-MacBook-Air:~ $ virsh -c
2013 May 14
1
Unable to start LXC on Gentoo w/ libvirt 1.0.4 or 1.0.5. 1.0.3 works
Hello.
I use libvirtd on my Gentoo development system to manage both QEMU and
LXC. When 1.0.3 came out, I updated to it from 1.0.3-r2, but 1.0.4 failed
to start my LXC containers. I did not research the issue at the time, so I
revert to 1.0.3-r2. Today I updated to 1.0.5 and my LXC containers still
fail to start. I have not changed my domain XML at all.
I am looking for suggestions on