libvirt driver: Failed to attach new interface to VM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Cyril Roelandt | ||
Grizzly |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The "nova interface-attach" command fails in nova-compute with libvirt/KVM driver due to missing arguments.
Related commit: https:/
It fails with the following response:
$ nova interface-attach --net-id 6d2b5fb2-
ERROR: The server could not comply with the request since it is either malformed or otherwise incorrect. (HTTP 400) (Request-ID: req-95a70e59-
Error message in nova-compute log:
2013-08-15 16:10:17.971 27780 DEBUG nova.openstack.
2013-08-15 16:10:17.971 27780 DEBUG nova.openstack.
2013-08-15 16:10:17.972 27780 DEBUG nova.openstack.
/nova/compute/
2013-08-15 16:03:29.265 27780 TRACE nova.openstack.
interface(instance, image_meta, legacy_net_info)
2013-08-15 16:03:29.265 27780 TRACE nova.openstack.
/nova/exception
2013-08-15 16:03:29.265 27780 TRACE nova.openstack.
)
2013-08-15 16:03:29.265 27780 TRACE nova.openstack.
2.7/contextlib.py", line 24, in __exit__
2013-08-15 16:03:29.265 27780 TRACE nova.openstack.
2013-08-15 16:03:29.265 27780 TRACE nova.openstack.
/nova/exception
2013-08-15 16:03:29.265 27780 TRACE nova.openstack.
ext, *args, **kw)
2013-08-15 16:03:29.265 27780 TRACE nova.openstack.
/nova/virt/
2013-08-15 16:03:29.265 27780 TRACE nova.openstack.
2013-08-15 16:03:29.265 27780 TRACE nova.openstack.
takes exactly 6 arguments (5 given)
2013-08-15 16:03:29.265 27780 TRACE nova.openstack.
2013-08-15 16:03:29.268 ERROR nova.openstack.
7-6d4711ebb92a demo demo] Returning exception get_config() takes exactly 6 arguments (5 gi
ven) to caller
2013-08-15 16:03:29.268 ERROR nova.openstack.
7-6d4711ebb92a demo demo] ['Traceback (most recent call last):\n', ' File "/opt/stack/nov
a/nova/
spatch(ctxt, version, method, **args)\n', ' File "/opt/stack/
pc/dispatcher.py", line 133, in dispatch\n return getattr(proxyobj, method)(ctxt, **kwa
rgs)\n', ' File "/opt/stack/
\n self.driver.
t/stack/
e "/usr/lib/
e "/opt/stack/
rgs, **kw)\n', ' File "/opt/stack/
_interface\n image_meta)\n', 'TypeError: get_config() takes exactly 6 arguments (5 give
n)\n']
tags: | added: grizzly-backport-potential |
Changed in nova: | |
assignee: | Cyril Roelandt (cyril-roelandt) → Xavier Queralt (xqueralt) |
status: | New → In Progress |
Changed in nova: | |
assignee: | Xavier Queralt (xqueralt) → Cyril Roelandt (cyril-roelandt) |
Changed in nova: | |
assignee: | Cyril Roelandt (cyril-roelandt) → Xavier Queralt (xqueralt) |
Changed in nova: | |
assignee: | Xavier Queralt (xqueralt) → Cyril Roelandt (cyril-roelandt) |
status: | In Progress → Fix Committed |
status: | Fix Committed → In Progress |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → havana-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-3 → 2013.2 |
Fix proposed to branch: stable/grizzly /review. openstack. org/42280
Review: https:/