Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keep attach/detach nic might fail #77

Closed
youyk opened this issue Jul 20, 2015 · 1 comment
Closed

keep attach/detach nic might fail #77

youyk opened this issue Jul 20, 2015 · 1 comment
Labels
Milestone

Comments

@youyk
Copy link
Contributor

youyk commented Jul 20, 2015

This issue can only be reproduced by case: virtualrouter/vlan/test_attach_nic_reboot_vm.py

The error log:
API call[org.zstack.header.vm.APIAttachNicToVmEvent] failed because [code: SYS.1001, description: A message or a operation timeout, details: failed to attach nic[uuid:597e3e6aebaf47639f00b771c10e4d24, vm:91931e0042414f65b67b0f4f76a42158] on kvm host[uuid:36b23af291054073b0177010866bc587, ip:10.0.101.20],because Unable to create tap device vnic6.1: Device or resource busy]

INFO:cherrypy.access.25859088:10.0.101.20 - - [21/Jul/2015:00:03:18] "POST /vm/attachnic HTTP/1.1" 200 - "" "Java/1.7.0_75"
WARNING:kvmagent.kvmagent:Unable to create tap device vnic6.1: Device or resource busy
Traceback (most recent call last):
File "/var/lib/zstack/virtualenv/kvm/lib/python2.6/site-packages/kvmagent/kvmagent.py", line 134, in wrap
return func(_args, *_kwargs)
File "/var/lib/zstack/virtualenv/kvm/lib/python2.6/site-packages/kvmagent/plugins/vm_plugin.py", line 1243, in attach_nic
vm.attach_nic(cmd)
File "/var/lib/zstack/virtualenv/kvm/lib/python2.6/site-packages/kvmagent/plugins/vm_plugin.py", line 921, in attach_nic
self.domain.attachDeviceFlags(xml, libvirt.VIR_DOMAIN_AFFECT_LIVE)
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 427, in attachDeviceFlags
if ret == -1: raise libvirtError ('virDomainAttachDeviceFlags() failed', dom=self)
libvirtError: Unable to create tap device vnic6.1: Device or resource busy

@youyk youyk added the bug label Jul 20, 2015
@youyk youyk added this to the 0.8 milestone Jul 20, 2015
zxwing added a commit to zstackio/zstack-utility that referenced this issue Jul 20, 2015
VR CPU will be reduced again, when doing 1st host reconnection zstackio/zstack#65
@zxwing
Copy link
Contributor

zxwing commented Jul 24, 2015

fixed in upstream

@zxwing zxwing closed this as completed Jul 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants