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

2014-08-27 Thread kiran ranjane
Well I also tired with a Linux Guest and it gave me the same error, is hot plugin supported for virtio nic model? Regards Kiran Ranjane On Fri, Aug 22, 2014 at 5:31 PM, kiran ranjane kiran.ranj...@gmail.com wrote: Hello Everyone, I am getting error while hot plugging virtio nic model to VM

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

2014-08-27 Thread Javier Fontan
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.ranj...@gmail.com wrote: Hello Everyone, I am getting error while hot plugging virtio nic

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

2014-08-27 Thread kiran ranjane
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 jfon...@opennebula.org wrote: There seems to be a problem related with libvirt and selinux. Can you try disabling SElinux and doing the

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

2014-08-27 Thread Javier Fontan
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.ranj...@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

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

2014-08-27 Thread kiran ranjane
Yes, it made libvirt unusable and had to install apparmor it again. Tried again on a linux VM got the same error : Wed Aug 27 18:20:33 2014 [Z0][VMM][I]: Successfully execute network driver operation: pre. Wed Aug 27 18:20:33 2014 [Z0][VMM][I]: Command execution fail:

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

2014-08-27 Thread Javier Fontan
It seems to be a bug in libvirt from Ubuntu 14.04. There is a fixed pakage in the trusty-proposed repo. You can try adding the ubuntu-proposed repo and upgrading libvirt or try applying this patch https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1322568/comments/3 The bug report is here:

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

2014-08-27 Thread kiran ranjane
Hi Javier, I have upgraded to latest libvirt version also applied patch to the file still getting same error. Do I need to restart any other service? *Restarted Service* : sudo service apparmor restart sudo service libvirt-bin restart libvirtd --version libvirtd (libvirt) 1.2.7 Added patch

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

2014-08-27 Thread kiran ranjane
Hi Javier, Restarted ONE and Sunstone-server service and now I am able to hot attach virtio nic model. Thanks for you help Regards Kiran Ranjane On Wed, Aug 27, 2014 at 7:09 PM, kiran ranjane kiran.ranj...@gmail.com wrote: Hi Javier, I have upgraded to latest libvirt version also applied

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

2014-08-22 Thread kiran ranjane
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'