Displaying 20 results from an estimated 9000 matches similar to: "How to ifup nic automaticly after hotplug nic for lxc"
2015 Sep 08
0
Re: How to ifup nic automaticly after hotplug nic for lxc
On Tue, Sep 08, 2015 at 05:41:14PM +0800, Jackie wrote:
> 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
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 Jul 16
2
Re: Hotplug of disk devices in LXC failed with libvirt of version 1.0.2
于 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: Unable to create device /proc/10366/root/dev/sdb: Permission denied
>>
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 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
2014 Jul 08
2
How to get uuid info inside a lxc container created by libvirt_lxc
Hi ,
Is there anyway to get uuid info inside a lxc container which is created
by libvirt_lxc?
For kvm, we can use dmidecode or lshw to get this info inside vm. Is
there any tools
to do this thing for libvirt lxc?
Thanks for any help~
--
------------
Jackie
Best Regards
2014 Jul 08
2
Re: How to get uuid info inside a lxc container created by libvirt_lxc
于 2014年07月08日 12:06, Eric Blake 写道:
> On 07/07/2014 10:02 PM, Qiang Guan wrote:
>> Hi ,
>>
>> Is there anyway to get uuid info inside a lxc container which is created
>> by libvirt_lxc?
>>
>> For kvm, we can use dmidecode or lshw to get this info inside vm. Is
>> there any tools
>> to do this thing for libvirt lxc?
> Per the docs:
>
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
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 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
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:
2018 May 02
2
Re: connecting host and guest vm using a dummy nic
Greetings Laine,
> Sent: Wednesday, May 02, 2018 at 5:56 PM
> From: "Laine Stump" <laine@redhat.com>
> To: libvirt-users@redhat.com
> Cc: daggs <daggs@gmx.com>
> Subject: Re: [libvirt-users] connecting host and guest vm using a dummy nic
>
> On 05/01/2018 12:12 PM, daggs wrote:
> >
> > I want to see if I understood you correctly, I add:
>
2013 Jul 23
3
How to monitor a lxc container started by libvirt_lxc from inside ?
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 I want to monitor the realtime resource usage inside the lxc container, What should I do?
--------------
Best regards!
GuanQiang
2013-07-23
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
2013 Jul 17
0
Re: Hotplug of disk devices in LXC failed with libvirt of version 1.0.2
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 Jul 15
0
Re: Hotplug of disk devices in LXC failed with libvirt of version 1.0.2
On 07/15/2013 04:01 PM, hzguanqiang wrote:
> 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:
2013 Jul 15
0
Re: Hotplug of disk devices in LXC failed with libvirt of version 1.0.2
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: Unable to create device /proc/10366/root/dev/sdb: Permission denied
>
> I think finding what it means by saying 'Unable to create device
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