[libvirt-users] Problems with incoming multicasts
by David Gra
Hello
I have realized a problem with incomming multicast packages to a VM.
My Setup is:
1 Host with 1 VM. On the external Network (Host: eth0), there ist a
Multicast Stream. The packages are visible at the hosts eth0. The Guest is
connected via macvtap to the eth0 from the Host.
Host and Guest ist CentOS 7.6 in Future it should be RedHat 7.6.
The guest is connected via macvtap0 to eth0.
If i performe tcpdump on eth0 of the host, i can see teh packages.
If i performe tcpdump on macvtap0 on the host, i can see the packages
anyway.
If i performe tcpdump on the guests eth0, i can't see the multicast
packages.
Normal unicast communications to the external systems are still working.
All my network is only IPv4.
Is there a limitation to multicast on libvirt?
Best regards and thank's a lot for your help!
5 years, 10 months
[libvirt-users] LXC guest to have/make a device node (FUSE)
by lejeczek
hi guys
With lxc container under libvirt control - how can guest create device
nodes?
I'm specifically looking for FUSE device. Is it possible somehow to get
it to the guest(passthrough?) or allow the guest to create dev node?
many thanks, L.
5 years, 10 months
[libvirt-users] Slow ssh
by Pascal Legrand
Hello,
i'm using libvirt/kvm/qemu on a stable Debian Linux KVM 4.9.0-6-amd64 .
qemu-kvm : 1:2.8+dfsg-6+deb9u5
libvirt-daemon : 3.0.0-4+deb9u3
libvirt-clients : 3.0.0-4+deb9u3
virt-manager : 1:1.4.0-5
virt-viewer : 5.0-1
virtinst : 1:1.4.0-5
My guests are made with this kind of command line :
virt-install --connect=qemu:///system --name=debian --ram=2048 --disk
/home/vm/debian.qcow2,size=10,format=qcow2
--network=bridge:bridge-0-1,model=virtio
--network=bridge:bridge-0-2,model=virtio
--network=bridge:bridge-0-3,model=virtio --accelerate --noautoconsole
--vnc --vnclisten=0.0.0.0 --keymap=fr
--cdrom=/home/iso/debian-6.0.1a-i386-netinst.iso --os-type=linux
--os-variant=debiansqueeze --hvm
Since a long time ago now (may be a Debian upgrade) i noticed that ssh
session from my personal PC to guests are very slow (connection and
behaviour)
My ssh configuration is the same on all my real/vm servers.
The problem occure only on my guest.
Have you got a solution or an idea to solve this problem ?
Thanks for your help
--
Pascal
5 years, 10 months
[libvirt-users] *-sock created as part of normal daemon startup?
by Keith Bierman
As noted in another thread, I've not had success with homebrew/Mac OSX's
libvirt install.
On Ubuntu and CentOS virtual machines, installing "libvirt-daemon" and
friends, I end up with various "-sock" files in /var/run/libvirt. This
seems sensible.
After installing on MacOS X with homebrew
ls /usr/local/var/run/libvirt
hostdevmgr lockd qemu storage
so perhaps it isn't surprising that virsh -c vbox:/// fails.
Am I right in believing that the lack of -sock files means that the "brew
services start libvirt" is either misconfigured or otherwise failing?
5 years, 10 months
[libvirt-users] virt-install and IOThreads
by Igor Gnatenko
Hello,
is there any way of specifying iothreads via virt-install command?
I've tried appending ",iothread='1'" but that didn't work.
Thanks in advance!
--
-Igor Gnatenko
5 years, 10 months
[libvirt-users] VM running with storage image file deleted
by Roosen, Nicolas
Hello, I have a strange issue I'd like to have some insights on.
We have 2 running VM, the storage pool is over NFS. Unfortunately, the backend storage folder has been deleted (so the image file in it as well, obviously) ...
Yet, the 2 VM are still up and running, with their root filesystem being mounted "rw".
- how does that work? I was expecting that with the file image being deleted, the VM would not work at all.
- since the VM is still running, is there a way to create a snapshot of it in order to re-create the image file on another storage pool ? I'm currently exploring "virsh snapshot-create-as ...", but if access to the image file is needed, it will fail.
Thanks.
--
Nicolas
5 years, 10 months
[libvirt-users] cpu0 unhandled rdmsr:
by Christophe Dumont
Hello,
Do you know what this means :
kvm: 2918: cpu0 unhandled rdmsr: 0x345
kvm: 2918: cpu0 unhandled rdmsr: 0x1c9
kvm: 2918: cpu0 unhandled rdmsr: 0x1a6
kvm: 2918: cpu0 unhandled rdmsr: 0x1a7
kvm: 2918: cpu0 unhandled rdmsr: 0x3f6
tap110i0: no IPv6 routers present
kvm: 2952: cpu0 unhandled rdmsr: 0x345
kvm: 2952: cpu0 unhandled rdmsr: 0x1c9
kvm: 2952: cpu0 unhandled rdmsr: 0x1a6
kvm: 2952: cpu0 unhandled rdmsr: 0x1a7
kvm: 2952: cpu0 unhandled rdmsr: 0x3f6
I think it causes instability, we had to reboot the server twice and a
backup script still fails.
Thx
--
Christophe Dumont
4, Passage du Lycée
38000 Grenoble
0633475733
5 years, 10 months
[libvirt-users] forcing order of vnet creation
by daggs
dummy0 Link encap:Ethernet HWaddr C6:C8:2A:04:FD:23
BROADCAST NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:22048 errors:0 dropped:0 overruns:0 frame:0
TX packets:22048 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1068960 (1.0 MiB) TX bytes:1068960 (1.0 MiB)
Greetings,
I have a host that has two vms, one is a router that all the machines on the network connect to it and that other a test virtual machine.
the router vm is connected to the host using a virt net, the test virtual machine is connected to the router via a virtual switch.
my /etc/network/interfaces defines vnet1 as dhcp by assuming that it is the vnet for the host (it was seen multiple times).
yesterday I came back from a vacation, booted the system and didn't got any ip to the host, the rest of the machines on the network got ip.
at the end, the issue was that vnet1 was the virtual switch rather than the host's virtual nic.
is there a way for "lock" the vnics config so they won't change?
the host is Debian 9.6, the output of ifconfig -a is below (the "faulty" scenario)
virtsw0 Link encap:Ethernet HWaddr 52:54:00:6B:1B:92
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:92908 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:13257095 (12.6 MiB) TX bytes:756 (756.0 B)
virtsw0-nic Link encap:Ethernet HWaddr 52:54:00:6B:1B:92
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
vnet0 Link encap:Ethernet HWaddr FE:54:00:8B:66:C1
inet addr:10.0.0.3 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::fc54:ff:fe8b:66c1/64 Scope:Link
inet6 addr: fdab:9802:eb52:0:fc54:ff:fe8b:66c1/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:528665 errors:0 dropped:0 overruns:0 frame:0
TX packets:752585 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:44311555 (42.2 MiB) TX bytes:2165654771 (2.0 GiB)
vnet1 Link encap:Ethernet HWaddr FE:54:00:A7:79:6B
inet6 addr: fe80::fc54:ff:fea7:796b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:92983 errors:0 dropped:0 overruns:0 frame:0
TX packets:81658 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14566221 (13.8 MiB) TX bytes:4249914 (4.0 MiB)
vnet2 Link encap:Ethernet HWaddr FE:54:00:54:78:BE
inet6 addr: fe80::fc54:ff:fe54:78be/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15 errors:0 dropped:0 overruns:0 frame:0
TX packets:257 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1962 (1.9 KiB) TX bytes:42261 (41.2 KiB)
thanks,
Dagg.
5 years, 10 months
[libvirt-users] openVswitch
by lejeczek
hi guys
I'm trying a typical, I'd presume, setup: two libvirt hosts with one lxc
guest each.
boxA:
$ ovs-vsctl show
1a6a2e4f-11f3-48df-becd-03b59d00a1fb
Bridge "ovsbr0"
Port nm-team
trunks: [55]
Interface nm-team
Port "vnet12"
trunks: [55]
Interface "vnet12"
Port "ovsbr0"
Interface "ovsbr0"
type: internal
ovs_version: "2.0.0"
boxB:
$ ovs-vsctl show
05ffa96c-a961-41e7-9f8a-74dbe214153a
Bridge "ovsbr0"
Port "vnet41"
trunks: [55]
Interface "vnet41"
Port nm-team
trunks: [55]
Interface nm-team
Port "ovsbr0"
Interface "ovsbr0"
type: internal
ovs_version: "2.0.0"
In libvirt openvswitch network defines & starts okey, both guests start
okey, yet guests cannot ping one another.
Ifaces in guests seem to instantiate okey cause each guest can ping its
own IP (on libvirt openvswitch net)
You can see that on each host openvswitch port is nm-team, which I
presume must be pretty "regular" situation.
Only thing I'm not sure is that the same nm-team (on each host) is also
a port to NM's bridge. (which works fine, these bridge ifaces on both
hosts ping each other no problems).
Which bits I get wrong or am missing?
many thanks, L.
5 years, 10 months
[libvirt-users] Golang libvirt bindings problem
by Branimir Pejakovic
Hello everybody!
First, allow me to wish you all a Happy New year!
I have a problem with a small app that I wrote in Go and which uses libvirt
go bindings. Actually, the problem exists only when I want to compile the
code statically. Basically, when CGO_ENABLED=0 is exported, go (running go
test, go run, go build) complains:
undefined: libvirt.NewConnect
When I try to compile the source dynamically (running the same go <command>
commands) the app works/checks out as expected and works without any
problem.
I tried this on:
- CentOS 7.6 (go version 1.11.2)
- Ubuntu 18.04 LTS (go version 1.10.4)
Both systems - as advised on project's github pages/godoc.org - have
libvirt-dev package installed. Also, the libvirt module is imported as
advised:
libvirt "github.com/libvirt/libvirt-go"
GOPATH is set to /home/$USER/go
I downloaded the package via go get; go get -v -u
github.com/libvirt/libvirt-go. Please if somebody encountered this before,
could you give me a hint if possible in order to solve this?
Thank you very much in advance!
Regards,
Branimir
5 years, 10 months