- 积分
- 16844
在线时间 小时
最后登录1970-1-1
|

楼主 |
发表于 2022-5-9 15:32:52
|
显示全部楼层
问题解决方法:
, `; k) j- h2 z8 T[root@controller1 ~]# openstack server list
6 c/ d% i, Z% C/ Q2 [; M/usr/lib/python2.7/site-packages/urllib3/contrib/pyopenssl.py:51: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
: u J1 K7 {/ c2 U from cryptography import x5094 C4 C' t& Z. [9 J n2 J- p4 p& F0 d: o
+--------------------------------------+------+--------+----------------------+-------+----------------++ A. n) A6 B- K% E; J. W
| ID | Name | Status | Networks | Image | Flavor |2 o. q' m. h# n" A% }' v# G- M* {
+--------------------------------------+------+--------+----------------------+-------+----------------++ f9 p2 G' i+ l4 G+ m4 |+ l" f, x
| 77aad1f0-4a8a-4f87-9277-f3cbebbc22c9 | test | ACTIVE | vxlan200=172.162.0.5 | | type-2c-2g-10g |
% A3 B6 Z( R6 z+ T+--------------------------------------+------+--------+----------------------+-------+----------------+
# l' P' {+ t" R2 R8 [6 `
: {: F2 H+ ?" h, c% K查看依赖:% A1 a) T+ A, y9 Y7 o2 L8 \
[root@controller1 ~]# yum provides cryptography
+ M: H9 {. J0 |) }$ oLoaded plugins: fastestmirror e3 C/ y7 U& R& \2 k0 e
Loading mirror speeds from cached hostfile
. y+ s' E" b5 R3 D- N* w( kpython2-cryptography-1.7.2-2.el7.x86_64 : PyCA's cryptography library
1 A& Y1 X; t- I+ e2 z6 cRepo : c7-media' X5 d7 ], ^1 s1 ?8 X
Matched from:3 s" j) a0 ]0 ?
Filename : /usr/lib64/python2.7/site-packages/cryptography0 i/ E) l8 |( c. ~) j! b
- G% _+ K. W1 o, F5 ^
, l& G. t2 ~4 Q# @! J6 N$ C# [5 K
python2-cryptography-1.7.2-2.el7.x86_64 : PyCA's cryptography library
$ W. ?" Z9 a$ W# n7 ^Repo : @base
Z' c9 F! m4 Z. U! H1 r# aMatched from:" ?8 ?& I! d% s1 X5 ], O
Filename : /usr/lib64/python2.7/site-packages/cryptography
8 z2 m9 a# I4 e& K
5 R1 t( B! W* t
1 O* q N) k2 @! G9 P! ~5 p重新yum安装下:
& I/ r5 z8 [5 n5 R9 G( p
0 k; g4 F _. c% q[root@controller1 ~]# yum reinstall -y python2-cryptography% S: P6 F" i* a' \
Loaded plugins: fastestmirror, {* i$ ]3 I$ ?. V
Loading mirror speeds from cached hostfile
/ d2 f6 w m. B4 M, rResolving Dependencies9 i1 ~8 M8 p( A) |2 H+ E1 M
--> Running transaction check
+ [! @- U% B6 A+ ~4 g---> Package python2-cryptography.x86_64 0:1.7.2-2.el7 will be reinstalled: q& J# X7 T$ D- \
--> Finished Dependency Resolution
% [" K& X+ N; Y# o) c# L2 t7 F3 Y& N, X
Dependencies Resolved8 u ^, ]0 z# W9 Y
8 b1 m: z( V. y0 `8 v( F1 e
=========================================================================================================================================% ?' k1 a. k& {# Z4 F
Package Arch Version Repository Size5 `: y, k$ z+ m
=========================================================================================================================================: ]. t7 \2 \) Z8 M2 W$ }9 H g
Reinstalling:/ P4 f) f/ c A; ?* L$ k6 h+ o1 x( {
python2-cryptography x86_64 1.7.2-2.el7 c7-media 502 k9 y5 d2 l C8 l# k; w/ j0 J
+ o, S8 j2 j/ u3 w6 n" U& u7 s* ETransaction Summary
: ?6 B" g$ T2 ] k: o! }========================================================================================================================================= X4 i' S2 a+ F; N5 }: }" m5 g
Reinstall 1 Package; g) z y2 Q+ C+ |. w
L: U+ P8 c i9 C4 e, X
Total download size: 502 k1 H k. s' g1 B- g
Installed size: 2.6 M v# p L1 v4 a1 K- O
Downloading packages:
, ]/ p4 C7 ^" H9 gpython2-cryptography-1.7.2-2.el7.x86_64.rpm | 502 kB 00:00:00
) y# z: Y/ l: {4 d- RRunning transaction check
* ^8 ^0 u* h' n# _) n8 k; zRunning transaction test$ N# c# G" M' n" K; W n
Transaction test succeeded% ]1 E) m! F; d
Running transaction
: }3 V/ R" K, E( X# E Installing : python2-cryptography-1.7.2-2.el7.x86_64 1/1 , {, S$ J- D& T" y; `* H- F
Verifying : python2-cryptography-1.7.2-2.el7.x86_64 1/1
3 S2 o: y- ~* T: T6 {7 n. e' |
0 N7 H6 [8 \ c# i: SInstalled:) ~) Y# X: F5 U
python2-cryptography.x86_64 0:1.7.2-2.el7 # @7 X/ S+ H* \6 @
0 b. `1 W U- R% @2 a) d% k* I
Complete!- i7 n& O# c6 f2 E/ G
! m3 S P+ j, a; h% L
再次尝试:5 y* D2 s' z; d& `3 D8 G
[root@controller1 ~]# openstack server list - H% X- ^8 T8 j: K; A
+--------------------------------------+------+--------+----------------------+-------+----------------+7 ?; @2 _; \' ^, z9 R
| ID | Name | Status | Networks | Image | Flavor |
8 Z- A; w$ ^' d$ ^+--------------------------------------+------+--------+----------------------+-------+----------------+
: h8 l2 v# N! d$ Q: H4 C| 77aad1f0-4a8a-4f87-9277-f3cbebbc22c9 | test | ACTIVE | vxlan200=172.162.0.5 | | type-2c-2g-10g |
8 A X) D. K& R# R. B" R5 d/ E1 ]+--------------------------------------+------+--------+----------------------+-------+----------------+0 r( R5 _( L$ c C7 [
|
|