Attach volume on a used device
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Attach a volume on a device already used by the system isn't correctly handled.
It's reproducible in the current bazaar branch.
Ubuntu Lucid
Nova Bexar release
Environment:
Request Method: POST
Request URL: http://
Django Version: 1.2.3
Python Version: 2.6.5
Installed Applications:
['dashboard',
'django.
'django.
'django.
'django.
'django.
'django.
'django.
'django.
'django.
'django_nose',
'django_nova',
'registration']
Installed Middleware:
('django.
'django.
'django.
'django.
'django.
'django.
Traceback:
File "/root/
100. response = callback(request, *callback_args, **callback_kwargs)
File "/root/
25. return view_func(request, *args, **kwargs)
File "/root/
90. return func(*args, **kwargs)
File "/root/
112. form.cleaned_
File "/root/
80. raise NovaServerError(e)
Exception Type: NovaServerError at /project/
Exception Value: Bad Request
The Nova-compute log :
2011-02-07 17:01:12,895 AUDIT nova.compute.
libvir: QEMU error : operation failed: target vdb already exists
2011-02-07 17:01:13,116 ERROR nova.exception [-] Uncaught exception
(nova.exception): TRACE: Traceback (most recent call last):
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: return f(*args, **kw)
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: virt_dom.
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: if ret == -1: raise libvirtError ('virDomainAtta
(nova.exception): TRACE: libvirtError: operation failed: target vdb already exists
(nova.exception): TRACE:
2011-02-07 17:01:13,117 ERROR nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
2011-02-07 17:01:13,140 ERROR nova.root [-] Exception during message handling
(nova.root): TRACE: Traceback (most recent call last):
(nova.root): TRACE: File "/usr/lib/
(nova.root): TRACE: rval = node_func(
(nova.root): TRACE: File "/usr/lib/
(nova.root): TRACE: function(self, context, instance_id, *args, **kwargs)
(nova.root): TRACE: File "/usr/lib/
(nova.root): TRACE: raise exc
(nova.root): TRACE: Error: operation failed: target vdb already exists
(nova.root): TRACE:
Changed in openstack-dashboard: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Support for nova volumes is being re-worked based on the OpenStack API and this issue is no longer valid.