Displaying 14 results from an estimated 14 matches for "macvlan0".
Did you mean:
macvlan
2019 Mar 12
2
KVM-Docker-Networking using TAP and MACVLAN
...------------------------------------------------+
| Host |
| +-------------+ +----------------------+---+
| | KVM | | Docker +-> | a |
| | +----------+ +----------+ +--------------+ +---+
| | | NIC lan0 | <-> | DEV tap0 | <-> | NET macvlan0 | <-+-> | b |
| | +----------+ +----------+ +--------------+ +---+
| | | | +-> | c |
| +-------------+ +----------------------+---+
| |
+------------------------------------------------------------------+
NIC lan0:
<inte...
2019 Mar 13
0
Re: KVM-Docker-Networking using TAP and MACVLAN
...----------------------------+
>| Host |
>| +-------------+ +----------------------+---+
>| | KVM | | Docker +-> | a |
>| | +----------+ +----------+ +--------------+ +---+
>| | | NIC lan0 | <-> | DEV tap0 | <-> | NET macvlan0 | <-+-> | b |
>| | +----------+ +----------+ +--------------+ +---+
>| | | | +-> | c |
>| +-------------+ +----------------------+---+
>| |
>+------------------------------------------------------------------+
>...
2015 Apr 08
0
Re: Centos 7.1.1503 + libvirt 1.2.14 = broken direct network mode
...ll was fine, before I accidentally upgraded Centos to 7.1.1503
> After upgrade LXC can't start with diagnostic:
> [root@node14 ~]# virsh start test1
> error: Failed to start domain test1
> error: internal error: guest failed to start: internal error: Child
> process (ip link set macvlan0 netns 25263) unexpected exit status 2:
> RTNETLINK answers: Invalid argument
>
> I reinstall libvirt 1.2.14, but catch same error.
> If someone will experience in solving this problem - it will be
> interesting to hear about.
If I correct understand libvirt logic, libvirt make next...
2015 Apr 08
4
Centos 7.1.1503 + libvirt 1.2.14 = broken direct network mode
...t;
</domain>
And all was fine, before I accidentally upgraded Centos to 7.1.1503
After upgrade LXC can't start with diagnostic:
[root@node14 ~]# virsh start test1
error: Failed to start domain test1
error: internal error: guest failed to start: internal error: Child
process (ip link set macvlan0 netns 25263) unexpected exit status 2:
RTNETLINK answers: Invalid argument
I reinstall libvirt 1.2.14, but catch same error.
If someone will experience in solving this problem - it will be
interesting to hear about.
b.r.
Maxim Kozin
2014 Sep 16
2
1.2.7 and 1.2.8 fail to start container: libvirt_lxc[4904]: segfault at 0 ip ...error 4 in libc-2.17.so[
...--prefix=/usr
make && make install
LXC with direct network failed to start:
Sep 16 19:19:38 node01 kernel: device br502 entered promiscuous mode
Sep 16 19:19:39 node01 kernel: device br502 left promiscuous mode
Sep 16 19:19:39 node01 avahi-daemon[1532]: Withdrawing workstation
service for macvlan0.
Sep 16 19:19:39 node01 kernel: XFS (dm-16): Mounting Filesystem
Sep 16 19:19:39 node01 kernel: XFS (dm-16): Ending clean mount
Sep 16 19:19:39 node01 kernel: libvirt_lxc[4904]: segfault at 0 ip
00007ffe3cbf0df6 sp 00007ffe3fa03c98 error 4 in
libc-2.17.so[7ffe3cabf000+1b6000]
Sep 16 19:19:39 node01...
2016 Mar 24
0
Re: /proc/meminfo
...ssify -g
memory:machine.slice/machine-lxc\\x2dLXC_CONTAINER_NAME.scope PID
where pid in my case found as:
[root@node]# ps ax | grep libvirt_lxc | grep -v grep | grep puppet
22254 ? Sl 296:25 /usr/libexec/libvirt_lxc --name
puppet.infra --console 24 --security=none --handshake 42 --veth
macvlan0 --veth macvlan1
After run cgclassify /proc/memory inside container show normal values
In some casees, on combination old libvirt 1.2.xx and old systemd in
some conditions (after systemctl restart libvirtd or daemon-reload)
we get same error.
But in such case we need first create/restore cgroups o...
2014 Sep 18
0
Re: 1.2.7 and 1.2.8 fail to start container: libvirt_lxc[4904]: segfault at 0 ip ...error 4 in libc-2.17.so[
...; make install
> LXC with direct network failed to start:
>
> Sep 16 19:19:38 node01 kernel: device br502 entered promiscuous mode
> Sep 16 19:19:39 node01 kernel: device br502 left promiscuous mode
> Sep 16 19:19:39 node01 avahi-daemon[1532]: Withdrawing workstation
> service for macvlan0.
> Sep 16 19:19:39 node01 kernel: XFS (dm-16): Mounting Filesystem
> Sep 16 19:19:39 node01 kernel: XFS (dm-16): Ending clean mount
> Sep 16 19:19:39 node01 kernel: libvirt_lxc[4904]: segfault at 0 ip
> 00007ffe3cbf0df6 sp 00007ffe3fa03c98 error 4 in
> libc-2.17.so[7ffe3cabf000+1b600...
2019 Mar 14
1
Re: KVM-Docker-Networking using TAP and MACVLAN
On 3/14/19 4:06 PM, Martin Kletzander wrote:
> I cannot try this right now, but I would try something like this:
>
> ip link add dev veth-vm type veth peer name veth-cont
>
> and then put veth-vm in the VM (type='direct' would work, but I can
> imagine
> type='ethernet' might be even faster) and start the containers with
> macvtap
> using veth-cont.
I
2019 Jan 21
2
libvirt 5.0.0 - LXC container still in "virsh list" output after shutdown
...Name State
------------------------------------------
16312 test.lxc running
# machinectl | grep test
lxc-16312-test.lxc container libvirt-lxc
# pstree -apA 16312
libvirt_lxc,16312 --name test.lxc --console 42 --security=none
--handshake 45 --veth macvlan0
|-systemd,16315
| |-agetty,16690 --noclear --keep-baud console 115200 38400 9600 vt220
| |-dbus-daemon,16659 --system --address=systemd: --nofork
--nopidfile --systemd-activation
| |-rsyslogd,17614 -n
| | |-{rsyslogd},17616
| | `-{rsyslogd},17626
| |-sshd,17613 -D
|...
2014 Sep 15
2
cgroups inside LXC containers losts memory limits after some time
Hi all
I have CentOS Linux release 7.0.1406, libvirt 1.2.7 installed.
Just after create and start inside LXC container present cgroups.
Example for memory:
[root@ce7-t1 /]# ls -la /sys/fs/cgroup/memory/
total 0
drwxr-xr-x 2 root root 0 Sep 15 17:14 .
drwxr-xr-x 12 root root 280 Sep 15 17:14 ..
-rw-r--r-- 1 root root 0 Sep 15 17:14 cgroup.clone_children
--w--w--w- 1 root root 0 Sep 15
2018 Nov 02
2
guestfs_launch() fails when C application is started as a systemd service
Hello,
I have a simple C program that uses libguestfs to extract info about disk
usage from a libvirt domain. It works when ran manually as root, but fails
when started as a systemd service.
I'm attaching the service file, source code and verbose logs from both the
successful manual run and from the service journal.
SELinix is disabled.
Error messages:
libguestfs:
2016 Mar 23
7
/proc/meminfo
Has anyone seen this issue? We're running containers under CentOS 7.2
and some of these containers are reporting incorrect memory allocation
in /proc/meminfo. The output below comes from a system with 32G of
memory and 84GB of swap. The values reported are completely wrong.
# cat /proc/meminfo
MemTotal: 9007199254740991 kB
MemFree: 9007199224543267 kB
MemAvailable: 12985680
2018 Nov 07
2
Re: guestfs_launch() fails when C application is started as a systemd service
...\n </controller>\n <controller type='pci' index='0'
model='pci-root'>\n <alias name='pci.0'/>\n </controller>\n
<interface type='direct'>\n <mac address='52:54:00:2c:7a:bf'/>\n
<source dev='macvlan0' mode='bridge'/>\n <target dev='macvtap0'/>\n
<model type='e1000'/>\n <alias name='net0'/>\n <address
type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>\n
</int...
2020 Feb 15
0
Teo En Ming's Manual for Setting Up Samba 4.11.6 and CentOS 8.1 (1911) Linux Server QEMU/KVM Virtual Machine as an Active Directory Domain Controller (AD DC)
...rvisor
# run this on the hypervisor (e.g. in /etc/rc.local)
# made for IPv4; need modification for IPv6
# meant for a simple network setup with only eth0 or enp5s0 on the host,
# and a static (manual) ip config
# Original Author: Evert Mouw, 2013 (European Union)
#HWLINK=eth0
HWLINK=enp5s0
MACVLN=macvlan0
TESTHOST=www.google.com
# ------------
# wait for network availability
# ------------
# IPv4 pings only
while ! ping -4 -q -c 1 $TESTHOST > /dev/null
do
echo "$0: Cannot ping $TESTHOST, waiting another 5 secs..."
sleep 5
done
# ------------
# get network config
# -------...