Displaying 20 results from an estimated 34 matches for "log_filters".
2020 Nov 19
1
unable to migrate when TLS is used
With libvirt 6.9.0, qemu 5.1.0, and following configurations:
libvirt:
key_file = "/etc/ssl/libvirt/server.lan.key"
cert_file = "/etc/ssl/libvirt/server.lan.crt"
ca_file = "/etc/ssl/libvirt/ca.crt"
log_filters="3:remote 4:event 3:util.json 3:rpc 1:*"
log_outputs="1:file:/var/log/libvirt/libvirtd.log"
qemu:
default_tls_x509_cert_dir = "/etc/ssl/qemu"
default_tls_x509_verify = 1
migration with tls:
virsh # migrate vm1 qemu+tls://server2.lan/system --persistent
--undefinesour...
2020 Mar 05
1
upgrading from fedora29 to fedora 31
...tainers (its name no longer shows up in `virsh list ?all` and I need to reboot the box to reinstate it
is there any known issue with libvirt/lxc on fedora 31 ?
*****
here?s the little that I?ve been able to figure out so far by myself
* I have turned on debugging of libvirtd as per the docs
log_filters="3:remote 4:event 3:util.json 3:rpc 1:*"
log_outputs="1:file:/var/log/libvirt/libvirtd.log?
and am digging in that log file, as well as the system journal, and the containers journals, to try and find some correlation;
* I have seen an error message saying this
> virNetSocket...
2018 Apr 17
2
can't find how to solve "QEMU guest agent is not connected"
...#39; controller='0' bus='0' port='1'/>
</channel>
```
as requested per the doc (I tried with source=bind to no avail, btw
the doc for `source` is not that great)
my libvirtd.conf has the following setting
```
log_level = 1
# no filter for now
log_filters="1:qemu.qemu_agent 1:qemu.qemu_monitor"
# log_filters="3:remote 4:event 3:json 3:rpc"
log_outputs="1:file:/var/log/libvirt/libvirtd.log"
```
`journalctl -b -u libvirtd.service` returns
```
avril 17 12:31:05 jedha libvirtd[22804]: 2018-04-17 03:31:05.482+0...
2017 Jun 03
2
Re: libvirtd not accepting connections
On Sat, Jun 03, 2017 at 05:20:47PM -0400, Michael C Cambria wrote:
>I also tried stopping libvirtd, renaming both qemu-system-i386 and
>qemu-system-x86_64, start libvirtd. Things get further along; dnsmasq
>log messages show up.
>
>$ sudo systemctl status libvirtd.service
>● libvirtd.service - Virtualization daemon
> Loaded: loaded
2017 Jun 04
0
Re: libvirtd not accepting connections
...n
> grep that for QEMU_MONITOR_ and you'll see.
>
What should I be looking for? I see QEMU_MONITOR_ in the source
(https://github.com/libvirt/libvirt/tree/v2.2-maint) but never see it in
the logs.
# pwd
/etc/libvirt
# diff libvirtd.conf libvirtd.conf.hold
1,4d0
< log_level = 1
< log_filters="3:remote 4:event 3:json 3:rpc"
< log_outputs="1:file:/var/log/libvirt/libvirtd.log"
< #
# ls -al /var/log/libvirt/libvirtd.log
ls: cannot access '/var/log/libvirt/libvirtd.log': No such file or directory
# systemctl restart libvirtd.service
# ls -al /var/log/libvi...
2017 Jun 04
2
Re: libvirtd not accepting connections
...'ll see.
>>
>What should I be looking for? I see QEMU_MONITOR_ in the source
>(https://github.com/libvirt/libvirt/tree/v2.2-maint) but never see it in
>the logs.
>
># pwd
>/etc/libvirt
># diff libvirtd.conf libvirtd.conf.hold
>1,4d0
>< log_level = 1
>< log_filters="3:remote 4:event 3:json 3:rpc"
>< log_outputs="1:file:/var/log/libvirt/libvirtd.log"
>< #
># ls -al /var/log/libvirt/libvirtd.log
>ls: cannot access '/var/log/libvirt/libvirtd.log': No such file or directory
># systemctl restart libvirtd.service
>...
2018 Apr 17
0
Re: can't find how to solve "QEMU guest agent is not connected"
...39; state='connected'/>
...
> as requested per the doc (I tried with source=bind to no avail, btw
> the doc for `source` is not that great)
>
> my libvirtd.conf has the following setting
>
> ```
> log_level = 1
> # no filter for now
> log_filters="1:qemu.qemu_agent 1:qemu.qemu_monitor"
> # log_filters="3:remote 4:event 3:json 3:rpc"
> log_outputs="1:file:/var/log/libvirt/libvirtd.log"
> ```
>
> `journalctl -b -u libvirtd.service` returns
>
> ```
> avril 17 12:31:05 jedha li...
2017 Jun 06
3
Re: libvirtd not accepting connections
...er the command to verify all
>> packages is) could help as well.
>
>"rpm -aV" didn't turn up anything obvious:
>
>S.5....T. c /etc/libvirt/libvirtd.conf was modified for logging:
># diff libvirtd.conf libvirtd.conf.rpmnew
>1,4d0
>< log_level = 1
>< log_filters="1:remote 1:event 1:json 1:rpc 1:qemu"
>< log_outputs="1:file:/var/log/libvirt/libvirtd.log"
>< #
>#
>
>>> Is there a "how to" similar to [1] that lets one qemu to log that it was
>>> invoked and how far it got?
>>>
>>...
2014 Oct 14
1
virsh list hangs / guests not starting automatically
...lar problem. I was previously
attempting to use balance-rr and 802.3ad bonding modes on my host.
However, I just changed to using "active-backup" and the problem
remains.
I have in /etc/libvirt/libvirtd.conf the following three lines (the
rest is stock, i.e. all comments):
log_level = 2
log_filters=""
log_outputs="1:file:/var/log/libvirt/libvirt.log"
Below I posted the contents of the libvirt log file after doing a
"service libvirt start".
Anyone ever fought this before?
Thanks!
[1] http://wiki.centos.org/HowTos/KVM
[2] http://lists.centos.org/pipermail/cento...
2019 Mar 15
2
Error starting domain: internal error: Unable to add port vnet0 to OVS bridge br0
I have installed OVS from sources using the installation steps mentioned on
this link: http://docs.openvswitch.org/en/latest/intro/install/general/
I had installed libvrt, KVM, QEMU and all the necessary packages using
apt-get. My KVM-QEMU hypervisor has been running well.
To add a VM with the port attached to OVS bridge I changed the XML domain
file as per the instructions on this page:
2017 Jun 04
0
Re: libvirtd not accepting connections
...ooking for? I see QEMU_MONITOR_ in the source
>> (https://github.com/libvirt/libvirt/tree/v2.2-maint) but never see it in
>> the logs.
>>
>> # pwd
>> /etc/libvirt
>> # diff libvirtd.conf libvirtd.conf.hold
>> 1,4d0
>> < log_level = 1
>> < log_filters="3:remote 4:event 3:json 3:rpc"
>> < log_outputs="1:file:/var/log/libvirt/libvirtd.log"
>> < #
>> # ls -al /var/log/libvirt/libvirtd.log
>> ls: cannot access '/var/log/libvirt/libvirtd.log': No such file or
>> directory
>> # sys...
2020 Apr 08
0
PolKit rule and API matchaccess_drivers = [ "polkit" ]
...setup so that I included user sfrag.
Always the user was asked to authenticate via root and not via SELF but ONLY if running "virsh -c qemu:///system list --all"
Had to change /etc/libvirt/libvirtd.conf to include:
auth_unix_ro = "polkit"access_drivers = [ "polkit" ]log_filters="1:access.accessdriverpolkit"log_outputs="1:file:/var/log/libvirt/libvirtd.log"
All polkit rules for user sfrag was removed at this point.
Now the user sfrag running 'virsh list --all' gives no output to /var/log/libvirt/libvirtd.log or /var/log/secure.
Running the sa...
2011 Oct 01
0
qemu+ssh fails with "packet received from server too large"
....conf
-----------
listen_tls = 1
listen_tcp = 0
listen_addr = "...." (set to eth0)
key_file = "/var/lib/puppet/ssl/private_keys/kvmhost.tld.pem"
cert_file = "/var/lib/puppet/ssl/certs/kvmhost.tld.pem"
ca_file = "/var/lib/puppet/ssl/certs/ca.pem"
log_level = 1
log_filters="1:remote 1:event"
log_outputs="1:syslog:libvirtd 1:file:/var/log/libvirt/libvirtd.log"
There is no output in /var/log/libvirt/libvirtd.log while trying to connect
remotely through virsh. The only logs that are generated are
/var/log/secure,
--------------
Sep 30 19:34:53 kvm...
2010 Sep 16
1
virConnectOpen question.
Hi,
I am using virConnectOpen(const char *uri) to connect to the local
hypervisor. When uri is set to "lxc:///", an error gets logged
in /var/log/messages about failed connection. But I do not see any error
for "xen:///". The machine does not have these drivers installed, and I am
using libvirt 0.6.3. My questions are -
1. Why I see error in /var/log/messages for container
2012 Nov 16
0
authentication failed, but why?
...fig for libvirtd:
==================================================
listen_tls = 0
listen_tcp = 0
auth_tcp = "none"
mdns_adv = 0
unix_sock_group = "libvirt"
unix_sock_ro_perms = "0770"
unix_sock_rw_perms = "0770"
unix_sock_dir = "/var/run/libvirt"
log_filters = "1:libvirt 1:util 1:qemu"
log_output = "1:file:/var/log/libvirt/libvirtd.log"
max_clients = 500
min_workers = 10
max_workers = 50
max_requests = 50
max_client_requests = 8
===========================================
but I can't login the libvirt:
[xxxxxx at u70 ~]$ virsh...
2013 Aug 16
0
RHEV hosts
...onfiguration section by vdsm-4.10.2
listen_addr="0.0.0.0"
unix_sock_group="kvm"
unix_sock_rw_perms="0770"
auth_unix_rw="sasl"
host_uuid="036118ab-705f-4aeb-9a13-013dc8af6b41"
keepalive_interval=-1
log_outputs="1:file:/var/log/libvirtd.log"
log_filters="3:virobject 3:virfile 2:virnetlink 3:cgroup 3:event 3:json 1:libvirt 1:util 1:qemu"
ca_file="/etc/pki/vdsm/certs/cacert.pem"
cert_file="/etc/pki/vdsm/certs/vdsmcert.pem"
key_file="/etc/pki/vdsm/keys/vdsmkey.pem"
## end of configuration section by vdsm-4.10.2...
2011 Oct 24
2
Unable to acquire lock
Hello,
I am trying to execute virsh commands on a host but it is giving errors
due to failure in acquiring lock.
root at kvm01:~# virsh suspend blindone
error: Failed to suspend domain blindone
error: Timed out during operation: cannot acquire state change lock
Any suggestions how can we figure out possible reasons.
--
Jatin
-------------- next part --------------
An HTML attachment was
2017 Jun 05
2
Re: libvirtd not accepting connections
On Sun, Jun 04, 2017 at 06:42:39PM -0400, Michael C Cambria wrote:
>I've upgraded from Fedora 20; probably missed a merge of rpmnew with
>existing .conf; permission problem, some other mistake along the way to
>Fedora 25.
>
Yeah, probably some 'rpm -qV' (or whatever the command to verify all
packages is) could help as well.
>Is there a "how to" similar to [1]
2010 Oct 04
2
LXC
hi All,
I'm new to this list and also not a professional libvirt user:)
I'm trying to use it for running a container.
This is my config:
<domain type='lxc'>
<name>test</name>
<uuid>d3667da2-061a-7b20-a29c-3afc798a257e</uuid>
<memory>500000</memory>
<currentMemory>500000</currentMemory>
<vcpu>1</vcpu>
<os>
2011 Sep 19
0
Remote connect using virsh qemu+ssh hangs / PolicyKit issue
...hanged)
$ virsh --debug 5 --log /var/lib/foreman/virsh.log -c
qemu+ssh://foreman at kvmhost.tld:16509/system?no_tty=1
This is the uncommented lines in /etc/libvirt/libvirtd.conf
----------
listen_tls = 0
listen_tcp = 1
listen_addr = "<omitted, set to management NIC>"
log_level = 1
log_filters="1:remote 1:event 1:qemu"
log_outputs="1:syslog:libvirtd 1:file:/var/log/libvirt/libvirtd.log"
This is the only debug output I get in /var/log/libvirt/libvirtd.log during
the remote connection attempt
-----------
17:56:04.579: debug : virEventRunOnce:595 : Poll got 1 event
17:...