Displaying 20 results from an estimated 2000 matches similar to: "Problem about lxc-enter-namespace interface"
2013 Nov 14
2
Re: Problem about lxc-enter-namespace interface
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
>> Using library: libvirt 1.1.4
2013 Nov 14
2
Re: Problem about lxc-enter-namespace interface
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 lxc-enter-namespace interface, it turned out such
2013 Nov 14
2
Re: Problem about lxc-enter-namespace interface
On 11/14/2013 02:57 PM, hzguanqiang@corp.netease.com wrote:
> On 2013-11-14 14:17 , Gao feng <mailto:gaofeng@cn.fujitsu.com> 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:
> > >
2013 Nov 14
2
Re: Problem about lxc-enter-namespace interface
On 11/14/2013 03:09 PM, hzguanqiang@corp.netease.com wrote:
> On 2013-11-14 15:03 , Gao feng <mailto:gaofeng@cn.fujitsu.com> wrote:
>
> On 11/14/2013 02:57 PM, hzguanqiang@corp.netease.com wrote:
> > On 2013-11-14 14:17 , Gao feng <mailto:gaofeng@cn.fujitsu.com> wrote:
> >
> > On 11/14/2013 01:52 PM, hzguanqiang@corp.netease.com wrote:
2013 Dec 09
2
Re: Question about setns recognising in libvirt autoconf
On 2013-12-09 13:18 , Gao feng wrote:
On 12/09/2013 01:06 PM, hzguanqiang@corp.netease.com wrote:
> Hi experts,
>
> When I test lxc container with lxc-enter-namespace command, It reported an error as
> following:
> root@debian:~/github/libvirt# vir lxc-enter-namespace lxc --noseclabel /bin/df -hl
> error: Cannot get namespaces for 3145: Function not implemented
>
> It
2013 Dec 09
2
Question about setns recognising in libvirt autoconf
Hi experts,
When I test lxc container with lxc-enter-namespace command, It reported an error as
following:
root@debian:~/github/libvirt# vir lxc-enter-namespace lxc --noseclabel /bin/df -hl
error: Cannot get namespaces for 3145: Function not implemented
It seems that setns is not supported by my kernel.
But from the following info, It seemed the reason is just libvirt/autoconf doesn't
2013 Nov 14
0
Re: Problem about lxc-enter-namespace interface
On 2013-11-14 15:03 , Gao feng wrote:
On 11/14/2013 02:57 PM, hzguanqiang@corp.netease.com wrote:
> On 2013-11-14 14:17 , Gao feng <mailto:gaofeng@cn.fujitsu.com> 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,
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
2013 Nov 14
0
Re: Problem about lxc-enter-namespace interface
On 2013-11-14 16:40 , Gao feng wrote:
On 11/14/2013 03:09 PM, hzguanqiang@corp.netease.com wrote:
> On 2013-11-14 15:03 , Gao feng <mailto:gaofeng@cn.fujitsu.com> wrote:
>
> On 11/14/2013 02:57 PM, hzguanqiang@corp.netease.com wrote:
> > On 2013-11-14 14:17 , Gao feng <mailto:gaofeng@cn.fujitsu.com> wrote:
> >
> > On 11/14/2013 01:52 PM,
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 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 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 Dec 09
0
Re: Question about setns recognising in libvirt autoconf
Hi Gaofeng,
It seems that I've got the answer.
In manual page about setns, it said that library support was added to glibc
in version 2.14 while my libc version is 2.13.
Thanks for help anyway.
On 2013-12-09 13:22 , hzguanqiang@corp.netease.com wrote:
On 2013-12-09 13:18 , Gao feng wrote:
On 12/09/2013 01:06 PM, hzguanqiang@corp.netease.com wrote:
> Hi experts,
>
> When I test lxc
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 15
2
Hotplug of disk devices in LXC failed with libvirt of version 1.0.2
Hi Daniel,
I noticed that the patch "Add support for hotplug/unplug of disk devices in LXC" you wrote had been merged into libvirt of version 1.0.2.
But when I used this function, it report an error with details as following:
ubuntu@lxc:~$ vir attach-device instance-0000002c disk.xml --config
error: Failed to attach device from disk.xml
error: Unable to create device
2013 Jul 15
2
Re: Hotplug of disk devices in LXC failed with libvirt of version 1.0.2
Hi, Gao Feng
I've tried what you said, but still exists the problem:
ubuntu@lxc:~$ vir attach-disk instance-0000002c /dev/dm-0 sdb
error: Failed to attach disk
error: Unable to create device /proc/10366/root/dev/sdb: Permission denied
I think finding what it means by saying 'Unable to create device /proc/10366/root/dev/sdb: Permission denied' is the key.
But anyway, thanks for
2013 Dec 09
0
Re: Question about setns recognising in libvirt autoconf
On 12/09/2013 01:06 PM, hzguanqiang@corp.netease.com wrote:
> Hi experts,
>
> When I test lxc container with lxc-enter-namespace command, It reported an error as
> following:
> root@debian:~/github/libvirt# vir lxc-enter-namespace lxc --noseclabel /bin/df -hl
> error: Cannot get namespaces for 3145: Function not implemented
>
> It seems that setns is not supported by my
2013 Jul 31
1
Fail to destroy lxc container: internal error Some container PIDs refused to die
Hey guys,
When I destroy a lxc container, It reported an error with details as following:
root@debian:~$ vir destroy 901eef81-06b2-4252-aeef-53b87c402585
error: Failed to destroy domain 901eef81-06b2-4252-aeef-53b87c402585
error: internal error Some container PIDs refused to die
root@debian:~$ vir version
Compiled against library: libvirt 1.1.0
Using library: libvirt 1.1.0
Using API: LXC
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 Aug 07
2
Is there any virsh command to setup cpusettune for lxc?
Hi Gao feng,
I noticed one of your patch which adds cpuset cgroup support for lxc have been merged in libvirt 1.0.4.
But I can't find any virsh command to set cpusettune for lxc container.
Is there anyone? And how can I configure cpusettune for lxc container lively?
Thanks
------------------
Best regards!
GuanQiang