[one-users] Error while hot adding virtio nic model to VM

Javier Fontan jfontan at opennebula.org
Wed Aug 27 05:42:25 PDT 2014


You can try but I think disabling apparmor will make libvirt unusable.
I'm not sure about it.

On Wed, Aug 27, 2014 at 2:20 PM, kiran ranjane <kiran.ranjane at gmail.com> wrote:
> Hi Javier,
>
> I am using Ubuntu 14.04 as host OS, Do you want me to disable apparmor?
>
> Regards
> Kiran Ranjane
>
>
> On Wed, Aug 27, 2014 at 5:44 PM, Javier Fontan <jfontan at opennebula.org>
> wrote:
>>
>> There seems to be a problem related with libvirt and selinux. Can you
>> try disabling SElinux and doing the attach again? Virtio nic attach is
>> supported.
>>
>> On Fri, Aug 22, 2014 at 2:01 PM, kiran ranjane <kiran.ranjane at gmail.com>
>> wrote:
>> > Hello Everyone,
>> >
>> > I am getting error while hot plugging virtio nic model to VM
>> > One 4.8
>> > Host - Ubuntu 14.04
>> > VM -  Windows 2008 R2 (Virtio Drivers already install in the VM)
>> >
>> >
>> > Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: Command execution fail:
>> > /var/tmp/one/vmm/kvm/attach_nic 'one-15' '02:00:c0:a8:7a:08' 'virbr0'
>> > 'virtio' 'dummy' 15 kvm-node
>> > Fri Aug 22 17:22:41 2014 [Z0][VMM][E]: attach_nic: Command "virsh
>> > --connect
>> > qemu:///system attach-device one-15 <(
>> > Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: cat <<EOT
>> > Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: <interface type='bridge'>
>> > Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: <source bridge='virbr0'/>
>> > Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: <mac
>> > address='02:00:c0:a8:7a:08'/>
>> > Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: <model type='virtio'/>
>> > Fri Aug 22 17:22:41 2014 [Z0][VMM][I]:
>> > Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: </interface>
>> > Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: EOT
>> > Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: )" failed: error: Failed to
>> > attach
>> > device from /dev/fd/63
>> > Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: error: internal error: unable to
>> > execute QEMU command 'getfd': No file descriptor supplied via SCM_RIGHTS
>> > Fri Aug 22 17:22:41 2014 [Z0][VMM][E]: Could not attach () to one-15
>> > Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: ExitCode: 1
>> > Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: Failed to execute virtualization
>> > driver operation: attach_nic.
>> > Fri Aug 22 17:22:41 2014 [Z0][VMM][E]: Error attaching new VM NIC: Could
>> > not
>> > attach () to one-15
>> >
>> > Regards
>> > Kiran Ranjane
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at lists.opennebula.org
>> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> >
>>
>>
>>
>> --
>> Javier Fontán Muiños
>> Developer
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>> www.OpenNebula.org | @OpenNebula | github.com/jfontan
>
>



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | @OpenNebula | github.com/jfontan


More information about the Users mailing list