Displaying 20 results from an estimated 2000 matches similar to: "how to add mount options for root filesystem inside lxc container"
2015 Oct 07
2
autpfs + nfs stuck on stat() inside libvirt lxc 1.2.18
Hi all.
Has someone success story with using autofs + nfs inside libvirt LXC container ?
In my case nfs client and server in lxc work just fine, but with
autofs hang on system call state().
I use CE7_64 on nodes and inside container with libvirt 1.2.18
May be I must set some of capabilities in <feature>
(http://man7.org/linux/man-pages/man7/capabilities.7.html) ?
I try only CAP_SYS_ADMIN
2019 Feb 25
1
Re: libvirt 5.0.0 - LXC container still in "virsh list" output after shutdown
https://bugzilla.redhat.com/show_bug.cgi?id=1681180
b.r.
Maxim Kozin
2017 Sep 21
1
How automatically set group.devices.allow for libvirt-lxc container after start ?
Hi.
I need to use /dev/ppp inside the lxc container, for very ancient software.
Problem solved this way:
1) virsh edit container name and add section:
<features>
<capabilities policy='default'>
<mknod state='on'/>
</capabilities>
</features>
2) start container
3) attach or ssh container, be root:
#mknod /dev/ppp c 108 0
4) inside
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[
HI all
Centos 7, 3.10.0-123.6.3.el7.x86_64
libvirt 1.27, libvirt 1.2.8 builded from source with
./configure --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
2016 Apr 26
2
Re: /proc/meminfo
On 04/26/2016 07:44 AM, mxs kolo wrote:
> Now reporduced with 100%
> 1) create contrainer with memory limit 1Gb
> 2) run inside simple memory test allocator:
> #include <malloc.h>
> #include <unistd.h>
> #include <memory.h>
> #define MB 1024 * 1024
> int main() {
> int total = 0;
> while (1) {
> void *p = malloc( 100*MB );
>
2016 Apr 26
1
Re: /proc/meminfo
On 04/26/2016 10:01 AM, mxs kolo wrote:
>> Cool, thanks for the info! Does this still affect libvirt 1.3.2 as well? You
>> mentioned elsewhere that you weren't hitting this issue with that version
> Sorry, I miss version and another details.
> Test make on CentOS Linux release 7.2.1511 (Core)
> and libvirt 1.3.2, build from sources with next options:
> --without qemu \
2016 Mar 25
2
Re: /proc/meminfo
>> The latest version available for CentOS/RHEL is version 1.2.17. What
>> site are you using to get the rpm for version 1.3.2?
build from source rpm's
> I found a download for this version and tried it out but we ran into a
> different set of problems when running our software in containers under
> this environment. Unfortunately we're out of time to address these
2019 Jan 21
2
libvirt 5.0.0 - LXC container still in "virsh list" output after shutdown
Hello.
Centos 7.6 with libvirt build from base "virt" repository:
libvirt-daemon-driver-lxc-5.0.0-1.el7.x86_64
libvirt-client-5.0.0-1.el7.x86_64
libvirt-daemon-5.0.0-1.el7.x86_64
libvirt-daemon-driver-network-5.0.0-1.el7.x86_64
libvirt-libs-5.0.0-1.el7.x86_64
+
systemd-219-62.el7_6.2.x86_64
Now lxc containers with type='direct' can be started, but can't be stopped :)
2014 Aug 27
1
Re: Compile error on centos 7 : undefined reference to `virConnectNetworkEventRegisterAnyCheckACL'
> So maybe we have a bug where the build depends on pre-installed files,
> rather than building properly from the tarball. Good thing it's easy to
> make a virgin VM to test this theory. Like I said, I'll try and
> reproduce and fix this, but it may be a couple days.
Some news. I get libvirt-1.2.8-rc1.tar.gz and successfully build it
on my "problem" node, without
2015 Apr 08
4
Centos 7.1.1503 + libvirt 1.2.14 = broken direct network mode
Hi all.
I use LXC on Centos 7 x86-64, with libvirt version 1.2.6 and 1.2.12
My container has bridged network:
# virsh dumpxml test1
<domain type='lxc'>
<name>test1</name>
<uuid>518539ab-7491-45ab-bb1d-3d7f11bfb0b1</uuid>
<memory unit='KiB'>1048576</memory>
<currentMemory unit='KiB'>1048576</currentMemory>
2019 Jan 22
0
Re: libvirt 5.0.0 - LXC container still in "virsh list" output after shutdown
> Centos 7.6 with libvirt build from base "virt" repository:
> libvirt-daemon-driver-lxc-5.0.0-1.el7.x86_64
> libvirt-client-5.0.0-1.el7.x86_64
> libvirt-daemon-5.0.0-1.el7.x86_64
> libvirt-daemon-driver-network-5.0.0-1.el7.x86_64
> libvirt-libs-5.0.0-1.el7.x86_64
> +
> systemd-219-62.el7_6.2.x86_64
>
> Now lxc containers with type='direct' can be
2017 Oct 18
2
Can we disable write to /sys/fs/cgroup tree inside container ?
Hi all
Each lxc container on node have mounted tmpfs for cgroups tree:
[root-inside-lxc@tst1 ~]# mount | grep cgroups
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup
(rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/cpuset type cgroup
(rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/memory type cgroup
(rw,nosuid,nodev,noexec,relatime,memory)
cgroup on
2014 Jun 11
0
issue_discards in lvm.conf
I decided that the next time I reformatted my main desktop computer (this one) I would have a ssd installed in it to use for the boot drive. Now that Centos 7 is on the horizon, I'm thinking that the time is approaching when I'll want to do that.
The last time I set up a computer with a ssd in it, that was the only drive that it had. I changed issue_discards=0 to issue_discards=1 into
2016 Mar 24
2
Re: /proc/meminfo
On 03/24/2016 02:26 AM, mxs kolo wrote:
> use libvirt 1.3.2, it's more stable and never show negative values
> for memory and swap inside container
>
The latest version available for CentOS/RHEL is version 1.2.17. What
site are you using to get the rpm for version 1.3.2?
Peter
2014 Aug 26
3
Re: Compile error on centos 7 : undefined reference to `virConnectNetworkEventRegisterAnyCheckACL'
> Thanks for the report. That is disabling quite a lot of drivers (what
> is still left, lxc?), so it's a combination that has not gotten a lot of
> testing. I'll definitely look at fixing it before 1.2.8 is released,
> although it may miss release candidate 0.
It's no problem of configure options. Simple ./configure result:
configure:
configure: Configuration summary
2018 Jun 08
2
Convert from LVM
On 06/08/2018 12:34 PM, Ulf Volmer wrote:
> On 08.06.2018 19:11, Matt wrote:
>> I have a Centos 7 install using EXT4 on LVM. Its running as a VM
>> inside KVM. Issue I have run into is that fstrim does not work due to
>> the LVM. Without fstrim snapshots have gotten huge. Is there a way
>> convert it from LVM to non-LVM without a complete reinstall?
> please
2018 Dec 05
2
libvirt 4.1 and later - howto configure LXC with interface macvlan type='direct' ?
Hi all
After upgrade from Centos 7.5 to Centos 7.6, our test environment
geted new version of libvirt 4.5.0
In which our old containers have broken config and can't start:
2018-12-05 10:38:32.634+0000: 18010: debug :
virLXCControllerGetNICIndexes:368 : Getting nic indexes
2018-12-05 10:38:32.634+0000: 18010: error :
virLXCControllerGetNICIndexes:400 : unsupported configuration:
Unsupported
2014 Sep 15
0
Re: cgroups inside LXC containers losts memory limits after some time
HI all
>After unpredictable time passed (1-5 day ?), cgroups inside LXC
>magicaly removed.
virsh dumpxml config look like this:
<domain type='lxc' id='3566'>
<name>puppet</name>
<uuid>6d49b280-5686-4e3c-b048-1b5d362fb137</uuid>
<memory unit='KiB'>8388608</memory>
<currentMemory
2016 May 20
1
how view all macvlan inrterfaces from LXC on hardware node
Hi all
We run LXC contrainers in macvlan bridge mode, i.e.;
<interface type='direct'>
<mac address='02:00:00:da:e1:b9'/>
<source dev='eno1.502' mode='bridge'/>
</interface>
In process list:
5339 ? Sl 0:03 /usr/libexec/libvirt_lxc --name t2.infra
--console 21 --security=none --handshake 24 --veth macvlan6
28645 ?
2014 Aug 26
2
Compile error on centos 7 : undefined reference to `virConnectNetworkEventRegisterAnyCheckACL'
Hi all
Centos 7.0.1406, 3.10.0-123.el7.x86_64
Configure libvirt-1.2.7 as:
./configure --prefix=/usr --with-xen=no --with-qemu=no
--with-openvz=no --with-vmware=no --with-esx=no --with-parallels=no
--with-bhyve=no --with-uml=no --with-vbox=no --with-selinux=no
make
...
make[3]: Entering directory `/usr/local/src/libvirt-1.2.7/daemon'
CC libvirtd-remote.o
CCLD libvirtd