インターフェイスが 1 つしかないインスタンスを起動しました。実行中のインスタンスに追加のインターフェイスをアタッチしようとすると、このエラーが発生します。何か案が?
ネットワークを使用してNeutron
います。また、追加のインターフェースと既存のインターフェースは別のネットワーク上にあります。で使用Icehouse
していUbuntu 14
ます。
nova interface-attach --net-id XXXX
--fixed-ip 192.168.1.246 Test_a5
ERROR: Failed to attach interface (HTTP 500) (Request-ID: req-XXX)
このエラーフォームが表示されましたnova-compute.log
ERROR nova.virt.libvirt.driver [req-XXXX XXXX] [instance: XXXX]
attaching network adapter failed.
ERROR oslo.messaging.rpc.dispatcher [-] Exception during message handling: <nova.objects.instance.Instance object at 0x7f0b40525850>
TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply
TRACE oslo.messaging.rpc.dispatcher incoming.message))
TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch
TRACE oslo.messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args)
TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch
TRACE oslo.messaging.rpc.dispatcher result = getattr(endpoint, method)(ctxt, **new_args)
TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 399, in decorated_function
TRACE oslo.messaging.rpc.dispatcher return function(self, context, *args, **kwargs)
TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 4356, in attach_interface
TRACE oslo.messaging.rpc.dispatcher self.driver.attach_interface(instance, image_meta, network_info[0])
TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1410, in attach_interface
TRACE oslo.messaging.rpc.dispatcher raise exception.InterfaceAttachFailed(instance)
TRACE oslo.messaging.rpc.dispatcher InterfaceAttachFailed: <nova.objects.instance.Instance object at 0x7f0b40525850>
TRACE oslo.messaging.rpc.dispatcher
ERROR oslo.messaging._drivers.common [-] Returning exception <nova.objects.instance.Instance object at 0x7f0b40525850> to caller
ERROR oslo.messaging._drivers.common [-] ['Traceback (most
`recent call last):\n', ' File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply\n
incoming.message))\n', ' File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch\n
return self._do_dispatch(endpoint, method, ctxt, args)\n', ' File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch\n
result = getattr(endpoint, method)(ctxt, **new_args)\n', ' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 399, in decorated_function\n
return function(self, context, *args, **kwargs)\n', ' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 4356, in attach_interface\n
self.driver.attach_interface(instance, image_meta, network_info[0])\n',
' File` "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1410, in attach_interface\n raise exception.InterfaceAttachFailed(instance)\n',
'InterfaceAttachFailed: <nova.objects.instance.Instance object at 0x7f0b40525850>\n']