将设为首页浏览此站
开启辅助访问 天气与日历 收藏本站联系我们切换到窄版

易陆发现论坛

 找回密码
 开始注册
查看: 227|回复: 1
收起左侧

in decorated_function return function Traceback (most recent call last):

[复制链接]
发表于 2021-9-16 10:37:19 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?开始注册

x
Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 203, in decorated_function return function(self, context, *args, **kwargs) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2595, in terminate_instance do_terminate_instance(instance, bdms) File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 274, in inner return f(*args, **kwargs) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2593, in do_terminate_instance self._set_instance_obj_error_state(context, instance) File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__ self.force_reraise() File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise six.reraise(self.type_, self.value, self.tb) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2583, in do_terminate_instance self._delete_instance(context, instance, bdms) File "/usr/lib/python2.7/site-packages/nova/hooks.py", line 154, in inner rv = f(*args, **kwargs) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2512, in _delete_instance self._shutdown_instance(context, instance, bdms) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2407, in _shutdown_instance self._try_deallocate_network(context, instance, requested_networks) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2329, in _try_deallocate_network self._set_instance_obj_error_state(context, instance) File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__ self.force_reraise() File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise six.reraise(self.type_, self.value, self.tb) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2324, in _try_deallocate_network self._deallocate_network(context, instance, requested_networks) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1700, in _deallocate_network context, instance, requested_networks=requested_networks) File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 1320, in deallocate_for_instance data = neutron.list_ports(**search_opts) File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 114, in wrapper ret = obj(*args, **kwargs) File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 786, in list_ports **_params) File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 114, in wrapper ret = obj(*args, **kwargs) File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 369, in list for r in self._pagination(collection, path, **params): File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 384, in _pagination res = self.get(path, params=params) File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 114, in wrapper ret = obj(*args, **kwargs) File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 354, in get headers=headers, params=params) File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 114, in wrapper ret = obj(*args, **kwargs) File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 331, in retry_request headers=headers, params=params) File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 114, in wrapper ret = obj(*args, **kwargs) File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 282, in do_request headers=headers) File "/usr/lib/python2.7/site-packages/neutronclient/client.py", line 343, in do_request return self.request(url, method, **kwargs) File "/usr/lib/python2.7/site-packages/neutronclient/client.py", line 331, in request resp = super(SessionClient, self).request(*args, **kwargs) File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 189, in request return self.session.request(url, method, **kwargs) File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 698, in request resp = send(**kwargs) File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 772, in _send_request raise exceptions.ConnectFailure(msg) ConnectFailure: Unable to establish connection to http://192.168.6.233:9696/v2.0/p ... -94b9-dbb115ee67ff: HTTPConnectionPool(host='192.168.2.158', port=7890): Max retries exceeded with url: http://192.168.6.233:9696/v2.0/p ... e-94b9-dbb115ee67ff (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faafc0f08d0>: Failed to establish a new connection: [Errno 113] EHOSTUNREACH',)))
, V) t" N7 I7 W& X5 {1 U, w
 楼主| 发表于 2021-9-16 10:43:53 | 显示全部楼层
通过置错方式,让虚机变成active) S+ b  u; E/ g4 X) R! @
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

如有购买积分卡请联系497906712

QQ|返回首页|Archiver|手机版|小黑屋|易陆发现 点击这里给我发消息

GMT+8, 2021-10-28 16:25 , Processed in 0.042008 second(s), 22 queries .

Powered by LR.LINUX.cloud bbs168x X3.2 Licensed

© 2012-2022 Comsenz Inc.

快速回复 返回顶部 返回列表