- 积分
- 16841
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
/usr/lib/python2.7/site-packages/kolla_ansible/cmd/genpwd.py:22: 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.# y3 R) r& B8 h/ W6 }3 W: A
from cryptography.hazmat.backends import default_backend
! g; x; K* H* i( M7 B. a8 r8 \8 `1 Z8 n7 K
解决办法:
" u! ^8 A7 h8 ]# M- f安装python2-cryptography 即可:
( E7 |8 D: W. e( ~! m. r- i1 b$ y& ?+ H' R9 Q& o( K& ?
[root@openstack-gnocchi ~]# yum install -y python2-cryptography, l+ e* l# d7 }. ^0 |# O
Loaded plugins: fastestmirror/ t+ R" g# K3 d' T. ?
Loading mirror speeds from cached hostfile
& Y: X" i# r! r! \ * base: mirrors.aliyun.com
5 i% z' w; b9 X * epel: mirrors.tuna.tsinghua.edu.cn
% z- F( N) A( o6 q * extras: mirrors.tuna.tsinghua.edu.cn5 k" C* s: P0 ]- Q* R0 e* _1 T
* updates: mirrors.tuna.tsinghua.edu.cn
1 S& p, |) z3 XResolving Dependencies9 q' A" B& D- o: o6 M+ r
--> Running transaction check$ M2 R; x$ z7 c: _4 w
---> Package python2-cryptography.x86_64 0:1.7.2-2.el7 will be installed+ J' V( `. _, A# m Y, W- u' h
--> Processing Dependency: python-pyasn1 >= 0.1.8 for package: python2-cryptography-1.7.2-2.el7.x86_64
5 `' t% t9 D |& h7 E6 h* H--> Processing Dependency: python-idna >= 2.0 for package: python2-cryptography-1.7.2-2.el7.x86_64+ _+ ]# s2 i; m- R7 Y9 a- c6 Z/ P
--> Processing Dependency: python-cffi >= 1.4.1 for package: python2-cryptography-1.7.2-2.el7.x86_647 {; H; `+ R4 }8 J
--> Processing Dependency: python-enum34 for package: python2-cryptography-1.7.2-2.el7.x86_64
3 C4 |7 J8 J8 n) [$ ?. q--> Running transaction check
6 ^1 I' g1 x u, e4 X---> Package python-cffi.x86_64 0:1.6.0-5.el7 will be installed
* f: f& ]% o8 z; ^% |8 m--> Processing Dependency: python-pycparser for package: python-cffi-1.6.0-5.el7.x86_64
, N) I, m# N: D4 G$ K3 _$ u( d---> Package python-enum34.noarch 0:1.0.4-1.el7 will be installed
" g3 H( K S% x6 l) n9 f---> Package python-idna.noarch 0:2.4-1.el7 will be installed w2 G7 W8 |. q# O& n
---> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed
* ]0 k+ L/ t5 P# v--> Running transaction check
5 j$ Z4 b0 o5 V. C: H( L8 C---> Package python-pycparser.noarch 0:2.14-1.el7 will be installed
8 ?& s( E5 b2 y/ @( j$ Z--> Processing Dependency: python-ply for package: python-pycparser-2.14-1.el7.noarch. z& M0 t J. K/ M, P
--> Running transaction check
' g( z# j! F: `& ~; ?/ g* u---> Package python-ply.noarch 0:3.4-11.el7 will be installed9 [) G+ [( A( P9 A" g6 \$ p- u
--> Finished Dependency Resolution' K0 L, G5 g8 Q4 q1 v7 {
Dependencies Resolved. H! ^. r6 l5 `; N& Y7 T
====================================================================================================================================
" a) I/ c0 O1 H: w Package Arch Version Repository Size
* y& ^ T2 O6 }4 |$ a3 J& p====================================================================================================================================
4 w$ U+ p* `; V3 R) C5 c- h g; BInstalling:
" V! Y1 E7 n! ^: v# t) \8 T python2-cryptography x86_64 1.7.2-2.el7 base 502 k
: n* g V' s5 H7 x9 V; o1 ~Installing for dependencies:* k- f0 X2 h' w6 D$ Q
python-cffi x86_64 1.6.0-5.el7 base 218 k
C ~/ S, @; U python-enum34 noarch 1.0.4-1.el7 base 52 k
+ J' H$ W( k0 W& w python-idna noarch 2.4-1.el7 base 94 k
! L8 l" F: n% L2 B0 D2 v! f python-ply noarch 3.4-11.el7 base 123 k0 j% e/ b, j8 K' u$ ~ e
python-pycparser noarch 2.14-1.el7 base 104 k' E# x' X: w( `6 v( _
python2-pyasn1 noarch 0.1.9-7.el7 base 100 k b" K; @/ X" m- {/ {0 e
Transaction Summary9 w" @1 ?5 F6 o$ \. M( b
====================================================================================================================================# {% j- B2 u7 v2 N
Install 1 Package (+6 Dependent packages)
; ]' f" Q6 x% @: K0 D7 lTotal download size: 1.2 M8 g+ r% K8 D/ B' ^
Installed size: 6.1 M9 L- A W% U& W
Downloading packages:8 L$ e7 Z6 a6 @ t
(1/7): python-pycparser-2.14-1.el7.noarch.rpm | 104 kB 00:00:01 * Z$ y# y3 F& y/ |
(2/7): python-idna-2.4-1.el7.noarch.rpm | 94 kB 00:00:01
4 G: q3 u- j+ R(3/7): python-cffi-1.6.0-5.el7.x86_64.rpm | 218 kB 00:00:02 5 L, `1 Y6 }9 p+ M2 U I0 V3 B% K
(4/7): python-ply-3.4-11.el7.noarch.rpm | 123 kB 00:00:02
" t) u5 Y% q1 _# J- K( d9 `6 C(5/7): python2-cryptography-1.7.2-2.el7.x86_64.rpm | 502 kB 00:00:01 : M! f7 x1 m6 q% C ~1 F( x! ?
(6/7): python-enum34-1.0.4-1.el7.noarch.rpm | 52 kB 00:00:02
1 z N5 |; O1 C3 r9 A(7/7): python2-pyasn1-0.1.9-7.el7.noarch.rpm | 100 kB 00:00:01 * |% I- T, o7 D
------------------------------------------------------------------------------------------------------------------------------------
1 u+ Y/ }1 L9 ]Total 374 kB/s | 1.2 MB 00:00:03
2 ]6 l7 B6 }) d qRunning transaction check, A V1 {& n9 P: z5 ?1 \ x) V: m
Running transaction test
3 ~( G- t: d6 N" p$ A- n5 G$ `+ ETransaction test succeeded
" s% ?* ~5 s: g3 s" C/ iRunning transaction5 I+ n2 q: {2 M+ l& x4 x
Installing : python2-pyasn1-0.1.9-7.el7.noarch 1/7 . ?* c2 s. c8 g- k+ h
Installing : python-enum34-1.0.4-1.el7.noarch 2/7
$ t2 m& K( H& p2 R% z% ? Installing : python-ply-3.4-11.el7.noarch 3/7
# |# r3 Z7 A, u( T" x+ A% t Installing : python-pycparser-2.14-1.el7.noarch 4/7 ! { X N1 ^2 o5 t9 g( I2 G4 Q- I
Installing : python-cffi-1.6.0-5.el7.x86_64 5/7 ( `, X. q' J) o) e) _, b
Installing : python-idna-2.4-1.el7.noarch 6/7
% H. @) S X2 `+ Q' @) e Installing : python2-cryptography-1.7.2-2.el7.x86_64 7/7
3 o9 \1 c4 o. E- [! M2 R Verifying : python-idna-2.4-1.el7.noarch 1/7 1 N/ Q. A4 j8 q/ z2 h) {* t8 t
Verifying : python-pycparser-2.14-1.el7.noarch 2/7
F2 L5 u2 z- C% x9 X+ s Verifying : python-ply-3.4-11.el7.noarch 3/7 . t# N0 e+ Y1 S: S6 W. `, u
Verifying : python-cffi-1.6.0-5.el7.x86_64 4/7
0 i7 V1 G/ _" c( q7 I$ Z Verifying : python-enum34-1.0.4-1.el7.noarch 5/7 ' L }" f& }% d W8 i
Verifying : python2-pyasn1-0.1.9-7.el7.noarch 6/7
% e# p' _# C- E1 j9 P% ?, Y5 @. | Verifying : python2-cryptography-1.7.2-2.el7.x86_64 7/7
M' l% a D) I0 J7 k9 H( GInstalled:
2 m& E, L V9 g7 j# G, C python2-cryptography.x86_64 0:1.7.2-2.el7 6 B% y7 o5 P' T& E6 d$ H- N- E
Dependency Installed:
4 N& g2 V6 D/ q2 x- @ python-cffi.x86_64 0:1.6.0-5.el7 python-enum34.noarch 0:1.0.4-1.el7 python-idna.noarch 0:2.4-1.el7 ' X8 Y" o" n6 i
python-ply.noarch 0:3.4-11.el7 python-pycparser.noarch 0:2.14-1.el7 python2-pyasn1.noarch 0:0.1.9-7.el7
8 |6 G) p* y, g. DComplete!
. f. `1 l6 J# A4 ]/ R1 ~ V |
|