この投稿の時点で完全に更新された、Ubuntu 12.04 サーバーでの新しい OpenStack Essex インストールをテストしようとしています。最初の VM を起動したときに、構成の誤りが原因でネットワークの問題が発生したため、修正済みの IPv4 ネットワーク定義を削除しました。イメージを起動しようとしている nova-compute ノードがデーモンの起動時に「NetworkNotFound」エラーでクラッシュするため、これは間違いだったようです。VM を破棄するために "nova delete" を既に発行しましたが、まだ "nova list ..." などで表示されます (nova-compute を起動できないため、チェックできないと推測しています)。壊れたイメージを削除するためのキュー では、どうすれば nova-compute を再起動し、VM のすべてのトレースを削除できますか?
2012-05-02 15:46:02 TRACE nova Traceback (most recent call last):
2012-05-02 15:46:02 TRACE nova File "/usr/bin/nova-compute", line 49, in <module>
2012-05-02 15:46:02 TRACE nova service.wait()
2012-05-02 15:46:02 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 413, in wait
2012-05-02 15:46:02 TRACE nova _launcher.wait()
2012-05-02 15:46:02 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 131, in wait
2012-05-02 15:46:02 TRACE nova service.wait()
2012-05-02 15:46:02 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 166, in wait
2012-05-02 15:46:02 TRACE nova return self._exit_event.wait()
2012-05-02 15:46:02 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait
2012-05-02 15:46:02 TRACE nova return hubs.get_hub().switch()
2012-05-02 15:46:02 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in switch
2012-05-02 15:46:02 TRACE nova return self.greenlet.switch()
2012-05-02 15:46:02 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 192, in main
2012-05-02 15:46:02 TRACE nova result = function(*args, **kwargs)
2012-05-02 15:46:02 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 101, in run_server
2012-05-02 15:46:02 TRACE nova server.start()
2012-05-02 15:46:02 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 162, in start
2012-05-02 15:46:02 TRACE nova self.manager.init_host()
2012-05-02 15:46:02 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 247, in init_host
2012-05-02 15:46:02 TRACE nova self.reboot_instance(context, instance['uuid'])
2012-05-02 15:46:02 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in wrapped
2012-05-02 15:46:02 TRACE nova return f(*args, **kw)
2012-05-02 15:46:02 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 153, in decorated_function
2012-05-02 15:46:02 TRACE nova function(self, context, instance_uuid, *args, **kwargs)
2012-05-02 15:46:02 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 177, in decorated_function
2012-05-02 15:46:02 TRACE nova sys.exc_info())
2012-05-02 15:46:02 TRACE nova File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2012-05-02 15:46:02 TRACE nova self.gen.next()
2012-05-02 15:46:02 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 171, in decorated_function
2012-05-02 15:46:02 TRACE nova return function(self, context, instance_uuid, *args, **kwargs)
2012-05-02 15:46:02 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 896, in reboot_instance
2012-05-02 15:46:02 TRACE nova network_info = self._get_instance_nw_info(context, instance)
2012-05-02 15:46:02 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 313, in _get_instance_nw_info
2012-05-02 15:46:02 TRACE nova instance)
2012-05-02 15:46:02 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 219, in get_instance_nw_info
2012-05-02 15:46:02 TRACE nova 'args': args})
2012-05-02 15:46:02 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/rpc/__init__.py", line 68, in call
2012-05-02 15:46:02 TRACE nova return _get_impl().call(context, topic, msg, timeout)
2012-05-02 15:46:02 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py", line 674, in call
2012-05-02 15:46:02 TRACE nova return rpc_amqp.call(context, topic, msg, timeout, Connection.pool)
2012-05-02 15:46:02 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 338, in call
2012-05-02 15:46:02 TRACE nova rv = list(rv)
2012-05-02 15:46:02 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 306, in __iter__
2012-05-02 15:46:02 TRACE nova raise result
2012-05-02 15:46:02 TRACE nova RemoteError: Remote error: NetworkNotFound Network 3 could not be found.
2012-05-02 15:46:02 TRACE nova [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 252, in _process_data\n rval = node_func(context=ctxt, **node_args)\n', u' File "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 258, in wrapped\n return func(self, context, *args, **kwargs)\n', u' File "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 957, in get_instance_nw_info\n network = self._get_network_by_id(context, vif[\'network_id\'])\n', u' File "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 1733, in _get_network_by_id\n network_id)\n', u' File "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 1549, in _get_network_by_id\n return self.db.network_get(context, network_id)\n', u' File "/usr/lib/python2.7/dist-packages/nova/db/api.py", line 755, in network_get\n return IMPL.network_get(context, network_id)\n', u' File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 120, in wrapper\n return f(*args, **kwargs)\n', u' File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 1920, in network_get\n raise exception.NetworkNotFound(network_id=network_id)\n', u'NetworkNotFound: Network 3 could not be found.\n'].