similar to: lxc-enter-namespace support in Python API

Displaying 20 results from an estimated 7000 matches similar to: "lxc-enter-namespace support in Python API"

2015 Mar 13
0
lxc-enter-namespace support in Python API
Hello everyone, referring back to https://www.redhat.com/archives/libvirt-users/2013-August/msg00107.html, in which a user discovered that there is no equivalent to "virsh -c lxc:/// lxc-enter-namespace" in the Python API. Has that ever changed? In that thread Daniel suggested that the user file a bug, but that apparently never happened. Why am I interested in this? Ansible currently
2013 Jul 30
0
Re: lxc-enter-namespace error: security model cannot be entered.
On Tue, Jul 30, 2013 at 05:49:28PM +0800, hzguanqiang wrote: > 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
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
2017 Jun 05
2
C7 ansible 2.3 become_method: su not working
I just don't know what else to try. I've beat my head on this for 3 days now and it's becoming obvious that either Ansible 2.3 is a complete disaster, or the CentOS 7 package is a complete cluster. Here's my problem. I am working on getting an ansible server to manage about 100 or so CentOS 6 servers. All have an unprivileged user account setup (up to 3 years before I got
2017 Mar 05
1
How to automatically confirm importing repo key?
Hi, I'm trying to set up provisioning LXC container running CentOS. And among other things, I need to install nginx + passenger from a non-official repo (the docs: https://www.phusionpassenger.com/library/install/nginx/install/oss/el7/). With this playbook: - hosts: all tasks: # https://docs.ansible.com/ansible/yum_repository_module.html - name: Add repository yum_repository:
2017 Jun 05
0
C7 ansible 2.3 become_method: su not working
On 06/05/2017 10:40 AM, Mark Haney wrote: > [root at ansible ~]# ansible-playbook playbooks/radtest.yml > --ask-become-pass > SUDO password: ansible-playbook --become-method su --ask-become-pass playbooks/radtest.yml
2013 Nov 13
0
Re: User Namespace in LXC
Hi Saurabh, First of all. I think there are something wrong in you container configure file the <idmap> should under <domain>. such as <domain type='lxc'> <name>xxx</name> <memory unit='KiB'>102400</memory> <currentMemory unit='KiB'>102400</currentMemory> <vcpu placement='static'>1</vcpu>
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. >
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
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.
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 point, I want to change the state of the drbd
2016 Apr 11
0
Re: [Bug 1325687] network type="ethernet" not supported with LXC
On 04/11/2016 09:24 AM, abhishek jain wrote: > Hi Team > > I'm trying to launch LXC VM with libvirt 1.2.12 having commit > *22cff52a2b8e06c913b1f97767e5d3**90fb17fc3b *with below XML configuration.. > > <domain type="lxc"> > <uuid>64c48da2-e318-4085-8b88-c980aab4de34</uuid> > <name>test</name> >
2016 Apr 11
2
Re: [Bug 1325687] network type="ethernet" not supported with LXC
Hi Team I'm trying to launch LXC VM with libvirt 1.2.12 having commit *22cff52a2b8e06c913b1f97767e5d3**90fb17fc3b *with below XML configuration.. <domain type="lxc"> <uuid>64c48da2-e318-4085-8b88-c980aab4de34</uuid> <name>test</name> <memory>524288</memory> <vcpu>1</vcpu> <os> <type
2013 Nov 14
2
Problem about lxc-enter-namespace interface
Hi experts, When I test lxc-enter-namespace interface, it turned out such an error: hzguanqiang@debian:~$ vir version Compiled against library: libvirt 1.1.4 Using library: libvirt 1.1.4 Using API: LXC 1.1.4 Running hypervisor: LXC 3.9.6 hzguanqiang@debian:~$ vir list Id Name State ---------------------------------------------------- 1544 instance-00000015
2016 Apr 12
0
Re: [Bug 1325687] network type="ethernet" not supported with LXC
Hi Cole I tested the LXC VM with libvirt 1.2.12 after applying the patch http://www.redhat.com/archives/libvir-list/2016-April/msg00505.html I'm now getting following errors.. virsh -c lxc: start test error: Failed to start domain test error: internal error: Unsupported network type ethernet I'm using the below XML file for launching LXC VM.. <domain type="lxc">
2015 Apr 14
0
Re: oddity with lxc-enter-namespace
On Thu, Apr 02, 2015 at 10:25:23AM +0200, Thierry Parmentelat wrote: >Hi folks > >I have a question about lxc-enter-namespace >I am migrating lxc containers from a host running libvirt-1.2.5 on f20 to another one running libvirt-1.2.9 on f21 > >and now I can't seem to use lxc-enter-namespace for entering in a container any more > >I would do >virsh -c lxc:///
2013 Nov 14
0
Re: Problem about lxc-enter-namespace interface
On 2013-11-14 13:41 , Gao feng wrote: On 11/14/2013 01:24 PM, Gao feng wrote: > On 11/14/2013 10:59 AM, hzguanqiang@corp.netease.com wrote: >> Hi experts, >> >> When I test lxc-enter-namespace interface, it turned out such an error: >> >> hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> vir version >> Compiled against library: libvirt 1.1.4
2013 Aug 21
1
lxc-enter-namespace not supportted with python?
Hi, Daniel. It seems that the virsh command 'lxc-enter-namespace' encapsulates several functions just as 'virDomainLxcOpenNamespace', 'virDomainGetSecurityLabel', 'virDomainLxcEnterSecurityLabel' , 'virDomainLxcEnterNamespace', 'virFork', etc. And I found only 'virDomainLxcOpenNamespace' is provided by python package 'libvirtmod_lxc
2013 Nov 14
0
Re: Problem about lxc-enter-namespace interface
On 11/14/2013 10:59 AM, hzguanqiang@corp.netease.com wrote: > Hi experts, > > When I test lxc-enter-namespace interface, it turned out such an error: > > hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> vir version > Compiled against library: libvirt 1.1.4 > Using library: libvirt 1.1.4 > Using API: LXC 1.1.4 > Running hypervisor: LXC 3.9.6 > >
2013 Nov 14
0
Re: Problem about lxc-enter-namespace interface
On 2013-11-14 14:17 , Gao feng wrote: On 11/14/2013 01:52 PM, hzguanqiang@corp.netease.com wrote: > On 2013-11-14 13:41 , Gao feng <mailto:gaofeng@cn.fujitsu.com> wrote: > > On 11/14/2013 01:24 PM, Gao feng wrote: > > On 11/14/2013 10:59 AM, hzguanqiang@corp.netease.com wrote: > >> Hi experts, > >> > >> When I test