search for: guanqiang

Displaying 20 results from an estimated 23 matches for "guanqiang".

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 i...
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 container with lxc-enter-namespace command, It reported an error as > following: > root@debian:~/github/libvirt# vir lxc-enter...
2013 Dec 09
2
Question about setns recognising in libvirt autoconf
...root@debian:~/github/libvirt# grep setns /proc/kallsyms ffffffff8105b78b T SyS_setns ffffffff8105b78b T sys_setns root@debian:~/github/libvirt# ./configure | grep setns checking for setns... no What the problem really is ? How can I fix this problem? Thanks~ ------------------ Best regards! GuanQiang 2013-12-09
2013 Jul 23
3
How to monitor a lxc container started by libvirt_lxc from inside ?
...container and noticed that info under /proc/ dir did not match the lxc container resource. Is the /proc dir in lxc container just showing the same thing as the lxc host? If I want to monitor the realtime resource usage inside the lxc container, What should I do? -------------- Best regards! GuanQiang 2013-07-23
2013 Jul 24
3
Re: How to monitor a lxc container started by libvirt_lxc from inside ?
On 2013-07-23 18:14, "Daniel P. Berrange" <berrange@redhat.com> wrote: >>On Tue, Jul 23, 2013 at 04:56:30PM +0800, hzguanqiang wrote: >> Hi Guys, >> When I created a lxc container by libvirt, I logged into the lxc >> container and noticed that info under /proc/ dir did not match the >> lxc container resource. Is the /proc dir in lxc container just >> showing the same thing as the lxc host? If...
2013 Jul 30
2
lxc-enter-namespace error: security model cannot be entered.
...t; </domain> root@debian:/etc# vir lxc-enter-namespace 4424 /bin/sh/ libvirt: error : argument unsupported: Security model cannot be entered Is there anything that needs to be configured in debian OS for using the 'lxc-enter-namespace' interface? -------------- Best regards! GuanQiang 2013-07-30
2013 Jan 18
1
Question about blkiotune.device_weight
...tune.device_weight, You set the device blkio weight value between 100 and 1000. But from the kernel document, I see that the blkio weight can be set from 10 to 1000. Why do you limit the weight minimum to 100 rather than 10 ? Looking forward your explanation, thanks! -------------- Best regards! GuanQiang 2013-01-18
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 Jul 31
1
Fail to destroy lxc container: internal error Some container PIDs refused to die
...me 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 1.1.0 Running hypervisor: LXC 3.2.46 What's the problem? How could I destroy the lxc just like this? Thanks. -------------- Best regards! GuanQiang 2013-07-31
2013 Aug 07
2
Is there any virsh command to setup cpusettune for lxc?
...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
2013 Aug 21
1
lxc-enter-namespace not supportted with python?
...#39;virFork', etc. And I found only 'virDomainLxcOpenNamespace' is provided by python package 'libvirtmod_lxc '. Does this mean that 'lxc-enter-namespace' can only be used through virsh command and not supported with python? Thanks ------------------ Best regards! GuanQiang 2013-08-21
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...
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 >> Using library...
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, > >> > >&gt...
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: > > > >...
2013 Jul 19
2
How to insert vcpupin in guest xml file
Hi all, I am trying to add vcpupin in the guest xml file. I am working with openstack and the code I have is python bound. I investigated through the code and found that the elemets in xml file are set in get_guest_config function. Now the thing is I am not able to set vcpupin element. I mean I tried guest.cputune_vcpupin but it's not working. Help me out, please! Thanks.   ~Peeyush Gupta
2013 Jul 17
1
Re: Hotplug of disk devices in LXC failed with libvirt of version 1.0.2
On 07/17/2013 04:15 PM, Gao feng wrote: > On 07/16/2013 01:29 PM, Guan Qiang wrote: >> 于 2013/7/15 17:32, Gao feng 写道: >>> On 07/15/2013 05:18 PM, hzguanqiang wrote: >>>> 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:...
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: > > > >...
2013 Jul 15
2
Hotplug of disk devices in LXC failed with libvirt of version 1.0.2
...3 parent=1 profile="/usr/sbin/libvirtd" name="dev/sdb" pid=1541 comm="libvirtd" requested_mask="c" denied_mask="c" fsuid=0 ouid=0 What's the real problem and How can I fix it. I really appreciate your help. Thanks! -------------- Best regards! GuanQiang 2013-07-15
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...