similar to: Any good writeups of using libvirt with LXC

Displaying 20 results from an estimated 20000 matches similar to: "Any good writeups of using libvirt with LXC"

2014 Jul 02
2
Re: configuring a lxc guest to run 32bits from a 64bits host under libvirt-lxc
On Wed, Jul 02, 2014 at 12:56:18AM +0200, Thierry Parmentelat wrote: > Hi again > > Answering my own e-mail on a few points: > > . first off, stupid me, http://libvirt.org/format.html indeed is empty and it seems to be by design, but the subtrees are not, like e.g. > http://libvirt.org/formatdomain.html > > . from this page it seems like using something like >
2013 Jul 23
2
Is there any document about the feauture and usage of lxc supported by libvirt?
Hi Guys, Recently, I'm doing some tests on openstack with lxc virtualization supported by libvirt. I need some recently new documents about libvirt lxc. Anything related is just ok. Thanks! -------------- Best regards! GuanQiang 2013-07-23
2013 Oct 30
2
libvirt-lxc driver on armv7l
Hi there, I'm interested in using libvirt-lxc on armv7l architecture and I have a hard time building libvirt. 1. Are there any prebuild rpms for ARM? 2. I have many dependency issues during build: error: *** Error Summary *** === the following packages failed to build due to missing build dependencies === libvirt: nothing provides hal-devel nothing provides
2014 Jan 15
2
Ceph RBD locking for libvirt-managed LXC (someday) live migrations
Hi, I'm trying to build an active/active virtualization cluster using a Ceph RBD as backing for each libvirt-managed LXC. I know live migration for LXC isn't yet possible, but I'd like to build my infrastructure as if it were. That is, I would like to be sure proper locking is in place for live migrations to someday take place. In other words, I'm building things as if I were
2014 Mar 03
2
Re: [libvirt] LXC, user namespaces and systemd
On Mon, Mar 03, 2014 at 03:52:01PM +0100, Dariusz Michaluk wrote: > Hi. > > Another week, another experiment ;) I was trying to run systemd user > session for non-root user, for example darek (uid=1000), operation > failed with error: > > systemd[26]: pam_unix(systemd-user:session): session opened for user > darek by (uid=0) > systemd[1]: Started Login Service. >
2014 Feb 25
2
libvirt lxc /dev/null
Hello, I created lxc container on F19 with virt-manager and it starts OK. The only problem is that sshd does not run complaining "/dev/null is not a character device". # ls -l /dev/null -rw-r--r-- 1 root root 0 2014-02-25 22:39 /dev/null /sys/fs/cgroup/devices/machine/VM_NAME.libvirt-lxc/devices.list has "c 1:3 rwm" line, but I cannot create /dev/null: # mknod /dev/nulll c 1
2013 Oct 31
1
libvirt-lxc without libvirt
Hi there! 1. Is it possible to build libvirt-lxc driver without building libvirt? How do I do it? 2. Do I understand it correctly, that I can use libvirt-lxc as a substitute of lxc? Thanks, Jan
2011 Dec 05
1
libvirt and LXC
Hi there, I'm fairly new to libvirt and LXC, please forgive my ignorance. I was looking for a graphical tool to manage LXC containers and noticed that libvirt has support for LXC. Actually, I expected libvirt to be able to display and manage LXC hosts much like KVM. But it does not happen this way. The only thing I can see with virsh/virt-manager is storage pool with LXC containers, but not
2015 Aug 11
2
Re: libvirt-lxc
On 11/08/2015 07:31, Martin Kletzander wrote: > The fact that it's deprecated in some distributions doesn't mean > we're dropping it. So, just to be clear, there are no plans to drop the lxc driver from libvirt?
2015 Jul 30
2
libvirt-1.2.17 I can't define lxc container
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> <os> <type>exe</type> <init>/init</init> </os>
2014 Mar 26
2
LXC + passthrough mount and host filesystem-cache
Hello, I'm using libvirt to build/run LXC instances. My LXC instances use passthrough filesystem mounts. When I try to do large file systems operations (ex tar or rsync) the file systems cache on the host spikes and causes the OOM handler to run and kills processes in the LXC. Has anyone else seen this? Is there a way around this? At this point I'm resorting to running a cron job that
2014 Jan 29
2
dropping capabilities in lxc containers
Hi there I’m not quite proficient with libvirt yet, and have been using it so far primarily to manage lxc containers I was hoping to find a means to configure the set of capabilities that guests should drop, but came across a few web pages suggesting these were set in stone in the code is this correct, or is there a means to tweak this set from the host via the xml config or a virsh command ?
2010 Feb 03
1
[libvirt] [LXC] Tyring to locate livbvirt operations for LXC relocation
Hello, I am searching for the libvirt operations for relocating LXC (system or application) containers. LXC relocation mechanism is done by checkpoint / restart. I went over libvirt API documentation and found the following methods: virDomainSave that receives a domain and path to state file. The method saves domain's memory contents into a disk file. virDomainRestore that receives a domain
2014 Mar 06
1
How to enable mount loop device in LXC using libvirt LXC driver
When I try to mount loop device in a linux container, I got the following error message: mount: Could not find any loop device. Maybe this kernel does not know about the loop device? (If so, recompile or `modprobe loop'.) I wonder how to enable mount loop device in LXC using libvirt LXC driver? -- Thanks! Du Jun
2015 Apr 10
3
LXC and syslog seperation (/dev/log)
Hello, I'm seeing syslog messages "bleed" from the host and other LXC into the messages, maillog, secure logs of other LXCs. I'm using libvirt 1.0.0 on a host with systemd and kernel 3.9.10. Each LXC is running an older non-systemd linux distribution Is this a known issue? Is there a work around? Thank you for you time, Jim -- James R. Leu | Director of Technology | INOC
2016 Feb 23
2
Libvirt-lxc packages deprecation
Folks, I found this thread <https://www.redhat.com/archives/libvirt-users/2015-August/msg00026.html>that talks about deprecating libvirt-lxc packages [1] [2] [3] in RHEL7.1. I am using [1] as a dependency for my application deployed on RHEL7.2 servers. For now it works fine but I am not sure about the future RHEL releases. The plan of deprecation was delayed or cancelled? Can someone
2014 Jan 15
2
Does libvirt lxc driver support "cpuset" attribute?
Dear all I allocate only one vcpu for the container by the following statement, that is, I want to pin the vcpu to physical core "2". <vcpu placement='static' cpuset="2" >1</vcpu> My host has 4 physical cores. Before test, all the 4 cores are idle. After I run 4 processes in the container, I found all the 4 cores in the host are 100% used. That is, the
2017 Apr 03
2
creating a lxc image to be used with libvirt-lxc
Dear all, I'm moving my first baby steps with libvirt-lxc trying to convert over from an LXD installation and one of the hurdles is putting together an image. All the examples I found about libvirt-lxc refer to running /bin/sh in a container, almost as if it was docker, as opposed to run a "full system" like I've been doing with lxd. Also virt-install, often referred in libvirt
2014 Jan 28
2
Libvirt-LXC + systemd + user namespace
Hi there! I am trying to turn on user namespace by adding following lines to the config: <idmap> <uid start='0' target='0' count='100000'/> <gid start='0' target='0' count='100000'/> </idmap> As you can see the root in container is mapped to the root outside. I was expected to see no difference
2015 Sep 08
2
How to ifup nic automaticly after hotplug nic for lxc
Hi experts, When I hotplug nic into lxc, the nic in lxc seemed to be down status as following: 1224: vnet0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000 link/ether fa:16:3e:fc:e5:96 brd ff:ff:ff:ff:ff:ff It seems mechanism such as udev is needed here. But I found udev is not supported well in lxc. So how can I get a 'up' nic after hotplug into lxc ? Very