similar to: libvirt-1.2.17 I can't define lxc container

Displaying 20 results from an estimated 9000 matches similar to: "libvirt-1.2.17 I can't define lxc container"

2015 Jul 30
0
Re: libvirt-1.2.17 I can't define lxc container
On Thu, Jul 30, 2015 at 12:49:39PM +0200, Marcin Mirosław wrote: > Hello! > > I'd like to set up my first lxc container using libvirt. I'd like to > start using the simplest configuration and next add things I need. So > I've got xml as below: > <domain type='lxc'> > <name>vm1</name> > <memory>32768</memory> >
2013 Jul 12
2
libvrtd-1.1.0 crashes when attempting to start some (but not all) LXC containers
Hello all, I have two issues: 1) I am unable to start a seemingly correct LXC domain (I cloned it from a working domain). 2) I am able to crash "libvirtd" by attempting to start the cloned domain, but starting the original works just fine. I humbly submit that item #2 is a bug - the "libvirtd" daemon should never crash due to anything the "libvirt" client
2013 Jul 31
2
start lxc container on fedora 19
hello, i am new to lxc, i have created a lxc container on fedora 19 i created a container rootfs of fedora 19 by using yum --installroot=/containers/test1 --releasever=19 install openssh test1.xml file for container test1 <domain type="lxc"> <name>test1</name> <vcpu placement="static">1</vcpu> <cputune>
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
2018 Mar 23
2
Attempt to define unprivileged LXC by libvirt
Hi, i converted LXC conf to xml by: lxcuser@blade1:~/.local/share/lxc/test_deb$ virsh -c lxc:/// domxml-from- native lxc-tools /home/lxcuser/.local/share/lxc/test_deb/config <domain type='lxc'> <name>test_deb</name> <uuid>cce77799-89fd-41fd-99c1-101e00844e23</uuid> <memory unit='KiB'>65536</memory> <currentMemory
2014 Feb 12
2
Re: LXC container driver
> > NB user namespaces are a fairly new piece of functionality that > is still somewhat rough around the edges. You usuaully want to > have the most recent kernel.org stable kernel available when > using this. > Yes, I confirm it is a little bit touchy for me. gabx@hortensia ➤➤ ~ % uname -a Linux hortensia 3.12.9-2-ARCH #1 SMP PREEMPT Fri Jan 31 10:22:54 CET 2014 x86_64
2013 Nov 13
2
Re: User Namespace in LXC
Hi Gao, I checked the output of "lxc-checkconfig" command and it showed --- Namespaces --- Namespaces: enabled Utsname namespace: enabled Ipc namespace: enabled Pid namespace: enabled *User namespace: missing* Network namespace: enabled Multiple /dev/pts instances: enabled Here it shows that User namespace support is missing. I tried to check for Namespaces Support in kernel
2014 Apr 12
2
LXC + USB passthrough = Operation not permitted
Hi! First post, kind of a noobie. I've been working with LXC and libvirt for a few months now. Trying to do some interesting things with containers and Android devices :D I'm running ubuntu 13.10 with LXC 1.0.1 and tried both libvirt 1.1.1 and 1.2.2 (backported from ubuntu-trusty), but with either version of libvirt am getting issues as soon as I try to get access to USB devices inside
2013 Jul 30
2
lxc-enter-namespace error: security model cannot be entered.
Hi Guys, I started a lxc container with libvit in ubuntu Operating system, and succeed using lxc-enter-namespace to enter the namespaces and security context of the container. But when I do the same thing in debian OS, It reported an error, with details as following: root@debian:/etc# vir list Id Name State ---------------------------------------------------- 4424
2013 Nov 20
1
Failed to access the console after starting the lxc container
Hello, I am starting the system container without "/" directory So that it can share the host /bin /sbin /lib and /lib64 and i have sepeartely mounted /var, /etc and /usr directory for the container Below is xml file <domain type='lxc'> <name>test6</name> <memory>102400</memory> <os> <type>exe</type>
2014 Apr 16
2
Re: LXC + USB passthrough = Operation not permitted
Yeah, AppArmor is enabled, but I put everything (that I could find) into complain mode: $ sudo apparmor_status apparmor module is loaded. 12 profiles are loaded. 3 profiles are in enforce mode. lxc-container-default lxc-container-default-with-mounting lxc-container-default-with-nesting 9 profiles are in complain mode. /sbin/dhclient /usr/bin/lxc-start
2011 Dec 07
3
lxc errors on 0.9.7
I'm testing 0.9.7 now with lxc, and get the following error when trying to start a container: 2011-12-07 22:49:26.293: 1997: error : lxcControllerRun:1158 : unsupported configuration: Expected exactly one TTY fd My configuration is very simply: <domain type='lxc'> <name>hw</name> <uuid>38320e75-1ba0-d85a-6138-532a3a66f13d</uuid>
2019 Sep 15
3
virsh -c lxc:/// setvcpus and <vcpu> configuration fails
Hi folks! i created a server with this XML file: <domain type='lxc'> <name>lxctest1</name> <uuid>227bd347-dd1d-4bfd-81e1-01052e91ffe2</uuid> <metadata> <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0"> <libosinfo:os id="http://centos.org/centos/6.9"/>
2016 Mar 14
1
Unsupported network type ethernet using LXC
Hi Team I'm trying to launch VM using LXC as a hypervisor with interace="ethernet" configuration and I'm getting below errors.. *virsh -c lxc: start instance-00000321error: Failed to start domain instance-00000321error: internal error: Unsupported network type ethernet* Below is the xml file which I'm using .... cat right.xml <domain type='lxc'>
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 something wrong or is this feature of
2013 Jul 22
2
Libvirt-lxc and systemd question
Warning - I'm fairly new to libvirt, lxc and systemd so there is a good chance I'm doing something terribly wrong here. However, instead of continuing to struggle, I figured I would mail the list for some advice. What I'm trying to accomplish is a libvirt-lxc, systemd-based container running on my system (Fedora 19). I've read that sharing the underlying OS filesystem with
2010 Nov 02
1
Libvirt and LXC
(oops accidentally sent to -owners) Hi, i'm trying to start a LXC guest on a F14 computer .. followed the examples in http://libvirt.org/drvlxc.html, but got stuck when starting it .. 03:07:23.706: debug : virCgroupNew:542 : New group / 03:07:23.707: debug : lxcControllerRun:563 : Setting up private /dev/pts 03:07:23.711: debug : lxcControllerRun:589 : Mouting 'devpts' on
2014 Apr 17
2
Re: LXC + USB passthrough = Operation not permitted
Further followups! We are correlating DEBUG-level output from libvirt with the libvirt 1.2.2 code to try to figure out what libvirt is doing under the hood. Even though we have the log level set to 1 (info) in our libvirtd.conf, we are not seeing the VIR_DEBUG() [1] statements being printed out. There are tons of other presumably-debug lines of output showing up in our log. We are sort of
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
2016 Nov 08
3
Sharing network namespace between containers
Hello Based on the lxc driver documentation, I am trying to create an xml to share an existing network namespace with another container. I am running libvirt 1.2.15. Here is the xml: <domain type='lxc' xmlns:lxc='http://libvirt.org/schemas/domain/lxc/1.0'> <name>nt</name> <uuid>43c00192-e114-4e29-8ce7-4b5487f60a75</uuid> <memory