[one-users] Error attaching NIC on the fly to running VM
Valerio Schiavoni
valerio.schiavoni at gmail.com
Mon Jun 2 05:46:31 PDT 2014
Hello,
when trying to attach a new NIC to a running VM, the following error occurs.
It seems to me the system doesn't manage to create the new bridge interface
onebr52.
But, isn't that supposed to be created automatically by OpenNebula ?
We're using OpenNebula 4.4
Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG I 4020
Successfully execute network driver operation: pre.
Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG I 4020
Command execution fail: /var/tmp/one/vmm/kvm/attach_nic 'one-4020'
'02:00:c0:a8:80:dc' 'onebr52' 'virtio' '802.1Q' 4020 newcluster-34
Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG E 4020
attach_nic: Command "virsh --connect qemu:///system attach-device
one-4020 <(
Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG I 4020 cat <<EOT
Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG I 4020
<interface type='bridge'>
Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG I 4020
<source bridge='onebr52'/>
Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG I 4020 <mac
address='02:00:c0:a8:80:dc'/>
Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG I 4020 <model
type='virtio'/>
Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG I 4020
Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG I 4020 </interface>
Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG I 4020 EOT
Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG I 4020 )"
failed: error: Failed to attach device from /dev/fd/63
Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG I 4020 error:
Cannot get interface MTU on 'onebr52': No such device
Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG E 4020 Could
not attach () to one-4020
Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG I 4020 ExitCode: 1
Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: LOG I 4020 Failed
to execute virtualization driver operation: attach_nic.
Mon Jun 2 11:36:18 2014 [VMM][D]: Message received: ATTACHNIC FAILURE
4020 Could not attach () to one-4020
Thanks,
Valerio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140602/ba742431/attachment.htm>
More information about the Users
mailing list