|
|
楼主 |
发表于 2022-5-9 15:32:52
|
显示全部楼层
问题解决方法:
- R7 H- {' v7 X3 ^[root@controller1 ~]# openstack server list
& g! ~) E8 A A2 n& r5 b6 R! \/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.. d7 i' E- c5 t* G
from cryptography import x5090 N# }& b! W, D6 O5 s, \
+--------------------------------------+------+--------+----------------------+-------+----------------+
$ `) |. i! Z! S. @/ X" f| ID | Name | Status | Networks | Image | Flavor |
3 c! x5 d0 g* k( O5 B& q, C+--------------------------------------+------+--------+----------------------+-------+----------------+* i9 `0 P, f0 Y0 B
| 77aad1f0-4a8a-4f87-9277-f3cbebbc22c9 | test | ACTIVE | vxlan200=172.162.0.5 | | type-2c-2g-10g |! o! c i( N5 Q6 ~6 |5 Q
+--------------------------------------+------+--------+----------------------+-------+----------------+ k1 d& k6 X; t- s( N e
! P2 X& C% T' n
查看依赖:
8 r! y6 P2 n1 M1 c# F5 s. B5 P[root@controller1 ~]# yum provides cryptography* G: L& @0 V1 T# e/ ` Q: q7 V/ w
Loaded plugins: fastestmirror
% U" M1 `( V" [' XLoading mirror speeds from cached hostfile
: s* f: P& W4 l5 N! m. Lpython2-cryptography-1.7.2-2.el7.x86_64 : PyCA's cryptography library- F. |! K- I! C) P
Repo : c7-media
h0 @" K0 B& S: Q: @Matched from:2 d, B0 ?) K8 l6 U
Filename : /usr/lib64/python2.7/site-packages/cryptography6 _0 }% k. y5 a) X$ K2 L8 F
- t' {2 E% X5 Z7 ] i* X4 F9 X
- A! H* D5 i& b4 Opython2-cryptography-1.7.2-2.el7.x86_64 : PyCA's cryptography library* X, T2 [) ~( \' |/ B$ x; I0 W/ T
Repo : @base, J5 C0 }7 _; u7 E5 |6 l2 b) h: [
Matched from:
: k/ T/ Q1 i# V* d. KFilename : /usr/lib64/python2.7/site-packages/cryptography
# E4 u3 e" w* A. @' r6 ~0 w5 Y/ V# }( o' x3 a% m L. ^& I
' }. {# b) Q! y; v, Q( t重新yum安装下:1 {2 K0 t( ~0 e! `, `0 V
' N! ]" @4 A. I+ {[root@controller1 ~]# yum reinstall -y python2-cryptography
) |2 M( s. o6 s/ [Loaded plugins: fastestmirror
/ A$ k) Q1 b! lLoading mirror speeds from cached hostfile: x5 T$ {2 m; i3 C8 S
Resolving Dependencies4 @& |4 A' o9 n0 @& M d) T
--> Running transaction check0 e' N) h# R. R4 j1 }
---> Package python2-cryptography.x86_64 0:1.7.2-2.el7 will be reinstalled% L0 i: n' N1 d& Q3 T( l; b
--> Finished Dependency Resolution
_9 f0 K2 O; u! g- Z
2 y3 z9 S: a/ y7 B! HDependencies Resolved& j3 t- k' o' @ ]1 r3 u
2 h* V F/ D- K i t' Y
=========================================================================================================================================
. }5 u3 X8 |% R N4 a Package Arch Version Repository Size" d' C5 m/ ^( H* E
=========================================================================================================================================& o8 o& U1 Y8 c0 G; j+ v1 t7 Y# C
Reinstalling:
9 ^1 F2 O, i5 P; f# E python2-cryptography x86_64 1.7.2-2.el7 c7-media 502 k
6 @% Z. d/ D4 l( @$ G+ I' [- d9 m$ a6 ~. S. v6 u
Transaction Summary
1 N: b& e* q' Q' R4 e( |4 [: a( `=========================================================================================================================================
- G9 p' V4 n% K' c+ ~Reinstall 1 Package1 w4 F1 X* W, A' f2 |! w$ z
' S) `) j+ m' r! _6 CTotal download size: 502 k' X& D: Q: f+ O1 S4 `0 H8 @
Installed size: 2.6 M
* K( ^4 q# o! n, |- RDownloading packages:
2 x9 |0 ?0 N) \+ l1 Zpython2-cryptography-1.7.2-2.el7.x86_64.rpm | 502 kB 00:00:00 1 Q5 j N3 I/ L: }! X: ]# t& B
Running transaction check
0 ^ r" L; T4 gRunning transaction test
1 d, Y4 D9 H8 K) M' a' a5 @4 cTransaction test succeeded2 D8 p* |. U4 E) D+ M8 E) G' w/ L+ m
Running transaction
5 A3 S$ g* L; k% ? \ Installing : python2-cryptography-1.7.2-2.el7.x86_64 1/1
0 ]4 t; j$ Y: D+ v$ B$ ~, _ U Verifying : python2-cryptography-1.7.2-2.el7.x86_64 1/1 # S8 w Y1 N( K# K$ ^! L5 f
4 b0 j7 i1 L1 M/ f0 t% K7 d# UInstalled:
" G- p& A; L9 H6 G# L python2-cryptography.x86_64 0:1.7.2-2.el7
( m& K3 V% q, T# ^3 @& l; i n
0 c0 _, S! q5 p7 O0 R* d v8 S+ SComplete!
6 `, n, S' `+ Z x+ l1 f" a- k4 p: D2 c
再次尝试:" y$ b- o( x+ G& w* @$ F
[root@controller1 ~]# openstack server list , b( Y$ r+ _+ m7 B
+--------------------------------------+------+--------+----------------------+-------+----------------+
) z$ M' l, Y- i! K# _; E3 W1 z| ID | Name | Status | Networks | Image | Flavor |/ ?* x7 j2 s& b# v
+--------------------------------------+------+--------+----------------------+-------+----------------+
4 ~$ V4 L1 `& D( h: {- U| 77aad1f0-4a8a-4f87-9277-f3cbebbc22c9 | test | ACTIVE | vxlan200=172.162.0.5 | | type-2c-2g-10g |
0 z- [1 y/ `$ x5 m) d; q H6 O" |+--------------------------------------+------+--------+----------------------+-------+----------------+7 ]* c& r$ U* z" b v4 w- y/ b
|
|