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

易陆发现论坛

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

突然遇到问题 Failed to discover available identity versions when contactin...

[复制链接]
发表于 2021-11-17 21:56:43 | 显示全部楼层 |阅读模式

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

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

x
2021-11-17 21:53:04.947 7 WARNING keystoneauth.identity.generic.base [req-397c20aa-a8b3-4be8-846e-95984a434665 - - - - -] Failed to discover available identity versions when contacting http://192.168.6.233:35357. Attempting to parse version from URL.: ConnectFailure: Unable to establish connection to http://192.168.6.233:35357: HTTPConnectionPool(host='192.168.2.158', port=7890): Max retries exceeded with url: http://192.168.6.233:35357/ (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fcf34201e10>: Failed to establish a new connection: [Errno 113] EHOSTUNREACH',)))
0 F7 S8 n+ g1 c. n% O2 x2021-11-17 21:53:04.948 7 INFO nova.compute.resource_tracker [req-397c20aa-a8b3-4be8-846e-95984a434665 - - - - -] Final resource view: name=compute01 phys_ram=128722MB used_ram=122368MB phys_disk=3353GB used_disk=242GB total_vcpus=32 used_vcpus=34 pci_stats=[]
8 c( h5 f4 N, W. v, C2021-11-17 21:53:07.953 7 WARNING keystoneauth.identity.generic.base [req-397c20aa-a8b3-4be8-846e-95984a434665 - - - - -] Failed to discover available identity versions when contacting http://192.168.6.233:35357. Attempting to parse version from URL.: ConnectFailure: Unable to establish connection to http://192.168.6.233:35357: HTTPConnectionPool(host='192.168.2.158', port=7890): Max retries exceeded with url: http://192.168.6.233:35357/ (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fcf342015d0>: Failed to establish a new connection: [Errno 113] EHOSTUNREACH',)))) `* A3 h/ j& F7 I7 @, K
2021-11-17 21:53:10.959 7 WARNING keystoneauth.identity.generic.base [req-397c20aa-a8b3-4be8-846e-95984a434665 - - - - -] Failed to discover available identity versions when contacting http://192.168.6.233:35357. Attempting to parse version from URL.: ConnectFailure: Unable to establish connection to http://192.168.6.233:35357: HTTPConnectionPool(host='192.168.2.158', port=7890): Max retries exceeded with url: http://192.168.6.233:35357/ (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fcf342017d0>: Failed to establish a new connection: [Errno 113] EHOSTUNREACH',)))  e) m/ _4 A. g! L3 b( Z3 e$ v8 m
2021-11-17 21:53:10.962 7 ERROR nova.compute.manager [req-397c20aa-a8b3-4be8-846e-95984a434665 - - - - -] Error updating resources for node compute01.: ResourceProviderCreationFailed: Failed to create resource provider compute01
, h. Z) F/ P" K8 S2021-11-17 21:53:10.962 7 ERROR nova.compute.manager Traceback (most recent call last):# a7 {7 V( B' ^+ x; I
2021-11-17 21:53:10.962 7 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 7540, in update_available_resource_for_node
' p+ E1 |1 f4 P2021-11-17 21:53:10.962 7 ERROR nova.compute.manager     rt.update_available_resource(context, nodename)
) j' g9 z7 v5 S% b2021-11-17 21:53:10.962 7 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 706, in update_available_resource
: U9 V) I# u. g$ @2021-11-17 21:53:10.962 7 ERROR nova.compute.manager     self._update_available_resource(context, resources)
) O& K, {% t: \- Q3 W1 {& I9 A! X2021-11-17 21:53:10.962 7 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 274, in inner5 k/ c1 A, N% b: V) D; I# }( A
2021-11-17 21:53:10.962 7 ERROR nova.compute.manager     return f(*args, **kwargs)
% z9 M. V6 R$ D2021-11-17 21:53:10.962 7 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 782, in _update_available_resource
7 D6 ~, B, X. r9 ~3 y2021-11-17 21:53:10.962 7 ERROR nova.compute.manager     self._update(context, cn)
) D, Y$ l7 d# D: j2021-11-17 21:53:10.962 7 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 904, in _update6 L1 [9 r( ?$ O- o7 T0 \; }
2021-11-17 21:53:10.962 7 ERROR nova.compute.manager     inv_data,+ y3 B* G* R: z4 S! u! a
2021-11-17 21:53:10.962 7 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 68, in set_inventory_for_provider" J) r) s0 D( G# s+ [
2021-11-17 21:53:10.962 7 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid,
$ ?- ~0 ]* G+ _6 U7 Q* G2021-11-17 21:53:10.962 7 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method, [3 B- Z' M' |# }
2021-11-17 21:53:10.962 7 ERROR nova.compute.manager     return getattr(self.instance, __name)(*args, **kwargs)
; e) T& W+ Z" D5 m& ]4 a3 }; e" l2021-11-17 21:53:10.962 7 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 1104, in set_inventory_for_provider
- H# w. q8 L" k. z; E. W2021-11-17 21:53:10.962 7 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid)6 s' U- a/ ~" R/ m9 C
2021-11-17 21:53:10.962 7 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 673, in _ensure_resource_provider
0 N1 `8 X. e1 m" q9 o9 N, I* d2 L2021-11-17 21:53:10.962 7 ERROR nova.compute.manager     name=name or uuid). @2 a( b/ }' G' t9 c9 h' `5 Z
2021-11-17 21:53:10.962 7 ERROR nova.compute.manager ResourceProviderCreationFailed: Failed to create resource provider compute01* S* G: P: c8 d3 p( s6 E8 [1 d) _, {
2021-11-17 21:53:10.962 7 ERROR nova.compute.manager   f) x* a3 Q+ }- W9 \! B6 ?
^C) I& ]+ K, m9 m# K$ t

4 H/ G# f3 A" n* l( P% }' _3 N3 C& m! t& P4 X% c
问题显示设备在连接192.168.2.158地址:
. ^2 k& k1 S. M) U. D  I) F, C# V8 ?0 }% E0 M& K* g5 O8 @& u8 u
解决办法:
) e7 Q) ?1 @" p) r$ z开启192.168.2.158地址服务。
: F, @$ S" L' x. W8 B  N2 H
+ Y4 q) K, ?  X0 P1 F1 k/ B( X6 Q4 I) L, u1 [
第二种$ f: T; E' A  ?3 e( G+ \
系统上配置这个环境变量取消掉,即可。- M1 j6 f; `/ m: l6 {, p$ g
: J3 Y. R) W& C1 M
 楼主| 发表于 2021-11-18 10:05:11 | 显示全部楼层
因docker 配置问题,检查/root/.docker
+ C6 g! B, m) I5 f$ V8 _ cat config.json . Y4 u5 G; |1 g7 b- u, n
{+ V3 C% I/ {& t
        "auths": {
: F$ G* A( O4 K; `  ~" u                "192.168.6.145:5000": {' |' L9 a; B0 P
                        "auth": "YWRtaW46MTIzNDU2"# p1 L. j2 P* m% x
                }
" t# a2 k- x/ |$ Y. z) ?9 Z8 ]0 L        }/ e2 H6 Q" `1 ?8 i: }
}
# h$ }& W, E3 P9 m! ^1 l- y! @
! v: c. N0 g! E9 `是否有配置删除即可。
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

如有购买积分卡请联系497906712

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

GMT+8, 2022-1-21 04:54 , Processed in 0.041983 second(s), 22 queries .

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

© 2012-2022 Comsenz Inc.

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