Displaying 20 results from an estimated 153 matches for "libvirt_lxc".
2014 Feb 20
2
libvirt_lxc namespace and umount in global namespace
Hi,
I am currently having an issue with the libvirt_lxc binary that is launched
when starting a lxc instance using libvirt. This process seems to have its
own namespace for mounts.
What happens is that if I umount something in the global namespace, it
stays mounted in the libvirt_lxc namespace.
I'm working with drbd, and after unmounting the mount p...
2013 Oct 16
0
libvirt_lxc: "reboot -f" causes libvirt_lxc process to stop, but domain is still "running" for libvirt
Hi,
I have a libvirt_lxc system container (with systemd).
After running "reboot -f" inside the container, I get "Rebooting.\n".
htop shows that the libvirt_lxc and all subprocesses are stopped, but
from libvirt api/virsh/virt-manager, the domain is still "running".
So it looks like libvirtd...
2019 Oct 28
1
libvirt_lxc memory limit, emulator process part of the cgroup?
...hout
writing a config for systemd. I can't prevent memory.limit_in_bytes
changing by setting the correct value through systemctl set-property
--runtime <scope> MemoryLimit=
tasks in the memory cgroup gets cleaned up.
After starting the container the cgroup contains 3 pid. The pid of the
libvirt_lxc process, the pid of the init process in the container and
third unknown pid that doesn't exists in /proc/.
After a demon-reload only the init process remains in the cgroup and
unless I move the libvirt_lxc process into the cgroup the memory limit
isn't enforced.
I have also noticed that...
2013 Jun 09
2
libvirt_lxc and sysfs
Hello.
Is it possible to start container via libvirt_lxc without mounting /sys
inside container?
When I start container via lxc-start and do not add mount point to config,
then /sys inside container is empty.
When I do it via virsh -c lxc:// container.xml, then
/sys contains sysfs of the host and /sys on host becomes remounting read-only.
Am I doing...
2014 Feb 20
0
Re: libvirt_lxc namespace and umount in global namespace
On Thu, Feb 20, 2014 at 01:47:52PM +0100, Olivier Nicaise wrote:
> Hi,
>
> I am currently having an issue with the libvirt_lxc binary that is launched
> when starting a lxc instance using libvirt. This process seems to have its
> own namespace for mounts.
> What happens is that if I umount something in the global namespace, it
> stays mounted in the libvirt_lxc namespace.
> I'm working with drbd, and aft...
2013 Sep 03
0
libvirt_lxc heavy cpu usage ?
I am running lxc via libvirt1.1.1, the cpu usage is heavy of process libvirt_lxc.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2384 root 20 0 10480 2048 1200 R 99.6 0.1 1291:39 libvirt_lxc...
2013 Jun 10
0
Re: libvirt_lxc and sysfs
On Mon, Jun 10, 2013 at 09:29:32AM +0400, свящ. Георгий Гольцов wrote:
> On Mon, Jun 10, 2013 at 09:07:08AM +0800, Gao feng wrote:
> > On 06/09/2013 08:14 PM, pr.G wrote:
> > > Hello.
> > >
> > > Is it possible to start container via libvirt_lxc without mounting /sys
> > > inside container?
> > >
> > > When I start container via lxc-start and do not add mount point to config,
> > > then /sys inside container is empty.
> > >
> > > When I do it via virsh -c lxc:// container.xml, then...
2013 Oct 24
0
libvirt_lxc causes cpu 100% usage
libvirt_lxc causes cpu 100% usage?
libvirt version : 1.1.1
I don't know what happend, any help would be appreciated.
thx
top - 07:39:44 up 1 day, 2:13, 2 users, load average: 4.72, 4.59, 4.51
Tasks: 243 total, 4 running, 239 sleeping, 0 stopped, 0 zombie
%Cpu0 : 33.1 us, 1.3 sy, 0.0 ni, 64.6...
2013 Jun 10
2
Re: libvirt_lxc and sysfs
On Mon, Jun 10, 2013 at 09:07:08AM +0800, Gao feng wrote:
> On 06/09/2013 08:14 PM, pr.G wrote:
> > Hello.
> >
> > Is it possible to start container via libvirt_lxc without mounting /sys
> > inside container?
> >
> > When I start container via lxc-start and do not add mount point to config,
> > then /sys inside container is empty.
> >
> > When I do it via virsh -c lxc:// container.xml, then
> > /sys contains sysfs...
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[
...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 abrt-hook-ccpp: Saved core dump of pid 1
(/usr/lib/systemd/systemd) to /var/tmp/abrt/ccpp-2014-09-16-19:19:39-1
(716800 bytes)
Sep 16 19:19:39 node01 journal: Cannot recv...
2013 Jun 10
0
Re: libvirt_lxc and sysfs
On 06/09/2013 08:14 PM, pr.G wrote:
> Hello.
>
> Is it possible to start container via libvirt_lxc without mounting /sys
> inside container?
>
> When I start container via lxc-start and do not add mount point to config,
> then /sys inside container is empty.
>
> When I do it via virsh -c lxc:// container.xml, then
> /sys contains sysfs of the host and /sys on host become...
2014 Jul 08
2
How to get uuid info inside a lxc container created by libvirt_lxc
Hi ,
Is there anyway to get uuid info inside a lxc container which is created
by libvirt_lxc?
For kvm, we can use dmidecode or lshw to get this info inside vm. Is
there any tools
to do this thing for libvirt lxc?
Thanks for any help~
--
------------
Jackie
Best Regards
2013 Apr 25
0
答复: libvirt_lxc start problem when selinux enbale
Sorry
?There is avc error messages in dmesg ???
??should be ?There is no avc error???
???: Huang,Chaochang
????: 2013?4?25? 15:41
???: 'libvir-list at redhat.com'; 'libvirt-users at redhat.com'
??: libvirt_lxc start problem when selinux enbale
Hi?all?
the problem came out when selinux was enforced in targeted+MCS
I start lxc through virsh???virsh -c lxc:/// start instance-00004bd6?
1. When selinux is Permissive?lxc start is ok
The result of ?Ps auxZ? is?
system_u:system_r:vir...
2014 Jul 08
2
Re: How to get uuid info inside a lxc container created by libvirt_lxc
于 2014年07月08日 12:06, Eric Blake 写道:
> On 07/07/2014 10:02 PM, Qiang Guan wrote:
>> Hi ,
>>
>> Is there anyway to get uuid info inside a lxc container which is created
>> by libvirt_lxc?
>>
>> For kvm, we can use dmidecode or lshw to get this info inside vm. Is
>> there any tools
>> to do this thing for libvirt lxc?
> Per the docs:
> http://libvirt.org/drvlxc.html#envvars
> pid 1 inside lxc inherits $container_uuid into its environment variables.
T...
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[
...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 abrt-hook-ccpp: Saved core dump of pid 1
> (/usr/lib/systemd/systemd) to /var/tmp/abrt/ccpp-2014-09-16-19:19:39-1
> (716800 bytes)
This file would b...
2011 Aug 23
1
Strange libvirt exit status 1 (LXC containers)
Hello,
I've encountered the following error, trying to start a domain:
error: internal error Child process (PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin LIBVIRT_DEBUG=2 LIBVIRT_LOG_OUTPUTS=2:syslog:libvirtd /usr/libexec/libvirt_lxc --name vm_14 --console 18 --handshake 21 --background --veth veth1) status unexpected: exit status 1
I see nothing relevant in syslog, google searches have returned nothing. Starting libvirt_lxc manually seems to work (the process never returns), but of course the VMs do not start.
I am at a loss...
2013 Apr 25
0
libvirt_lxc start problem when selinux enbale
...as enforced in targeted+MCS
I start lxc through virsh???virsh -c lxc:/// start instance-00004bd6?
1. When selinux is Permissive?lxc start is ok
The result of ?Ps auxZ? is?
system_u:system_r:virtd_lxc_t:s0-s0:c0.c1023 root 19218 0.0 0.0 47624 1244 ? Ss 15:26 0:00 /usr/libexec/libvirt_lxc --name
system_u:system_r:svirt_lxc_net_t:s0:c192,c392 root 19219 0.3 0.0 19276 1532 ? Ss 15:26 0:00 /sbin/init
system_u:system_r:svirt_lxc_net_t:s0:c192,c392 root 19406 0.0 0.0 177444 1332 ? Sl 15:26 0:00 /sbin/rsyslogd -i /var/run/sysl
system_u:system_r:svirt_lxc_net_t:s0:c192,c392 root 194...
2014 Jul 08
0
Re: How to get uuid info inside a lxc container created by libvirt_lxc
On 07/07/2014 10:02 PM, Qiang Guan wrote:
> Hi ,
>
> Is there anyway to get uuid info inside a lxc container which is created
> by libvirt_lxc?
>
> For kvm, we can use dmidecode or lshw to get this info inside vm. Is
> there any tools
> to do this thing for libvirt lxc?
Per the docs:
http://libvirt.org/drvlxc.html#envvars
pid 1 inside lxc inherits $container_uuid into its environment variables.
--
Eric Blake eblake redha...
2014 Jul 08
0
Re: How to get uuid info inside a lxc container created by libvirt_lxc
At Tue, 08 Jul 2014 12:19:40 +0800,
Qiang Guan wrote:
>
>
> 于 2014年07月08日 12:06, Eric Blake 写道:
> > On 07/07/2014 10:02 PM, Qiang Guan wrote:
> >> Hi ,
> >>
> >> Is there anyway to get uuid info inside a lxc container which is created
> >> by libvirt_lxc?
> >>
> >> For kvm, we can use dmidecode or lshw to get this info inside vm. Is
> >> there any tools
> >> to do this thing for libvirt lxc?
> > Per the docs:
> > http://libvirt.org/drvlxc.html#envvars
> > pid 1 inside lxc inherits $container_uui...
2016 Apr 11
2
Re: [Bug 1325687] network type="ethernet" not supported with LXC
...sole type="pty"/>
</devices>
</domain>
I'm getting following errors while launching LXC VM using above XML file..
virsh -c lxc: define lxc.xml
virsh -c lxc: start
test
error: Failed to start domain test
error: internal error: guest failed to start: /usr/lib/libvirt/libvirt_lxc:
option '--veth' requires an argument
syntax: /usr/lib/libvirt/libvirt_lxc [OPTIONS]
Options
-b, --background
-n NAME, --name NAME
-c FD, --console FD
-v VETH, --veth VETH
-s FD, --handshakefd FD
-S NAME, --security NAME
-h, --help
Unknown failure in libvirt_lxc startup
Plea...