Displaying 20 results from an estimated 6000 matches similar to: "Problems creating a LXC rootfs to be used with virt-manager"
2018 Jan 29
2
How to use /dev/net/tun from libvirt-lxc with user namespacing enabled
I have a container rootfs that I use to keep all work-related stuff. This
container was originally created by lxd (which creates all containers for
use with user namespacing), but now I decided to start using libvirt for
container management since I already use it for virtual machines, which
will spare me from dealing with multiple hypervisor technologies.
I managed to create a working domain xml
2018 Jan 31
0
Re: How to use /dev/net/tun from libvirt-lxc with user namespacing enabled
On Mon, Jan 29, 2018 at 07:01:15PM -0300, Thiago Padilha wrote:
> I have a container rootfs that I use to keep all work-related stuff. This
> container was originally created by lxd (which creates all containers for
> use with user namespacing), but now I decided to start using libvirt for
> container management since I already use it for virtual machines, which
> will spare me from
2015 Aug 11
0
Re: libvirt-lxc
On Mon, Aug 10, 2015 at 09:50:04PM +0100, Mark Clarkson wrote:
> Hi,
> I noticed that libvirt-lxc will be deprecated for RedHat:
>
> "Future development on the Linux containers framework is now based on the
> docker command-line interface. libvirt-lxc tooling may be removed in a
> future release of Red Hat Enterprise Linux (including Red Hat Enterprise
> Linux 7) and
2015 Aug 11
0
Re: libvirt-lxc
On Mon, Aug 10, 2015 at 09:50:04PM +0100, Mark Clarkson wrote:
>Hi,
>I noticed that libvirt-lxc will be deprecated for RedHat:
>
>"Future development on the Linux containers framework is now based on
>the docker command-line interface. libvirt-lxc tooling may be removed
>in a future release of Red Hat Enterprise Linux (including Red Hat
>Enterprise Linux 7) and should not
2015 Aug 11
2
Re: libvirt-lxc
On Tue, Aug 11, 2015 at 08:31:02AM +0200, Martin Kletzander wrote:
> On Mon, Aug 10, 2015 at 09:50:04PM +0100, Mark Clarkson wrote:
> >Hi,
> >I noticed that libvirt-lxc will be deprecated for RedHat:
> >
> >"Future development on the Linux containers framework is now based on
> >the docker command-line interface. libvirt-lxc tooling may be removed
> >in
2017 Apr 04
0
Re: creating a lxc image to be used with libvirt-lxc
On Mon, Apr 03, 2017 at 05:52:33PM +0000, Spike wrote:
> 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
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
2015 Aug 10
5
libvirt-lxc
Hi,
I noticed that libvirt-lxc will be deprecated for RedHat:
"Future development on the Linux containers framework is now based on
the docker command-line interface. libvirt-lxc tooling may be removed in
a future release of Red Hat Enterprise Linux (including Red Hat
Enterprise Linux 7) and should not be relied upon for developing custom
container management applications." -
2017 Apr 04
2
Re: creating a lxc image to be used with libvirt-lxc
ok, thank you Daniel, that helps, I'll see if I can adapt it to other OS
and figure out the docker style stuff, it would be useful to run a few
things I have in mind.
Btw, Daniel, have you ever tried to run libvirt inside a container? I was
trying to do so to test things since I didn't want to get all the stuff
installed on the host, but I got a whole bunch of errors and virt-manager
2012 Nov 08
1
OpenStack+libvirt+lxc: lxcContainerGetSubtree:1199 : Failed to read /proc/mounts
Hi,
I'm running OpenStack on CentOS 6.3 to manage lxc instances. And running
into series of problem relating libvirt and lxc interaction.
For example, libvirt_lxc segfault (
https://bugzilla.redhat.com/show_bug.cgi?id=874549) which has an upstream
fix. And another bugs such as fail to start when SELinux disabled.
Finally, I decides to adopt libvirt 0.10.2, self compiled
from
2017 Apr 03
2
libvirt-lxc: good for production?
Dear all,
I'm a happy lxc (lxd) user with a need to add a bunch of KVM images to the
mix. More importantly I need to have some simple frontend to give users the
ability to quickly run some VMs for testing.
Researching the topic brought me to virt-manager and from there libvirt.
I've had however a hard time to answer a few questions that I hope this
list can help me with:
1) is the
2011 Dec 08
1
read-only rootfs for lxc containers
And speaking of running out of a shared read-only root, I get the
following error when I attempt it:
error: Failed to start domain hw
error: internal error guest failed to start: PATH=/bin:/sbin TERM=linux
LIBVIRT_LXC_UUID=38320e75-1ba0-d85a-6138-532a3a66f13d
LIBVIRT_LXC_NAME=hw /bin/bash
2011-12-08 15:31:41.945: 1: info : libvirt version: 0.9.7
2011-12-08 15:31:41.945: 1: error :
2015 Feb 24
0
Re: Broken OS when booting rootfs from 9p share
On Tue, 2015-02-24 at 16:05 -0500, Laine Stump wrote:
> On 02/24/2015 03:37 PM, Olivier Mauras wrote:
> >> Hello,
> >>
> >> I've been trying to boot a VM with the rootfs being a 9P share from
> >> the host. The VM OS is centos 7.
> >> The OS boots but no services can work and it appears that the
> >> authentication system is broken.
>
2015 Feb 26
0
Re: Broken OS when booting rootfs from 9p share
On 2015-02-26 17:05, Kashyap Chamarthy wrote:
> On Tue, Feb 24,
2015 at 11:56:50PM +0100, Olivier Mauras wrote:
>
>> On Tue, 2015-02-24
at 16:05 -0500, Laine Stump wrote:
>>
>>> On 02/24/2015 03:37 PM,
Olivier Mauras wrote:
>>>
>>>>> Hello, I've been trying to boot a VM
with the rootfs being a 9P share from the host. The VM OS is centos
2017 Nov 13
0
how to add mount options for root filesystem inside lxc container
Hi all
We use libvirt 3.0.0 + lxc, disk for container described with
<filesystem/> tag, example:
<filesystem type='block' accessmode='passthrough'>
<source dev='/dev/data/lvm-part1'/>
<target dir='/'/>
</filesystem>
Now we start use ssd disk and think how to provide additional options
for mount root FS in container:
2011 Aug 26
1
Reg: Workaround to use pivot_root while using "rootfs" for "/" ?
Hi All,
I am trying to start a lxc container using libvirt and I am facing an
issue due to pivot_root.
The return code from the system call ?pivot_root? is EINVAL (Invalid
arguments).
I isolated the issue to this specific condition check within the system
call.
This is an code snippet from fs/namespace.c::pivot_root
* error = -EINVAL;
if (root.mnt->mnt_root != root.dentry)
2017 Apr 03
0
Re: libvirt-lxc: good for production?
On 04/03/2017 04:02 AM, Spike wrote:
> Dear all,
>
> I'm a happy lxc (lxd) user with a need to add a bunch of KVM images to the
> mix. More importantly I need to have some simple frontend to give users the
> ability to quickly run some VMs for testing.
>
> Researching the topic brought me to virt-manager and from there libvirt.
> I've had however a hard time to
2012 May 14
0
libvirt, lxc, "/dev/log" ENOENT
Hello.
I am experimenting with LXC via libvirt on my Gentoo development
system. I can start the LXC domain and connect to its console. However, I
am unable to login as root. I've used "chroot" and "passwd" from the host
system to explicitly set the root password. Still no luck. So I began
debugging....
I ran "strace" on the container's
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
2016 May 01
12
[Bug 1064] New: iptables-save fails silently in unprivileged lxc/lxd container
https://bugzilla.netfilter.org/show_bug.cgi?id=1064
Bug ID: 1064
Summary: iptables-save fails silently in unprivileged lxc/lxd
container
Product: iptables
Version: unspecified
Hardware: x86_64
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component: