|
|
/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., p+ v% N9 m$ [0 s
from cryptography.hazmat.backends import default_backend' l; Y/ E0 {; k2 c6 D4 P. x
2 H. x, _& l4 H _解决办法:
g7 \' ^% F8 L) N; o# o安装python2-cryptography 即可:& e5 `2 G+ }1 ]% @7 s9 C% k9 l+ Y
0 [# H' i$ R; w$ f+ M# B+ X[root@openstack-gnocchi ~]# yum install -y python2-cryptography+ A0 |) b4 i. U- a( D
Loaded plugins: fastestmirror
" s! C4 ~+ F9 x# Y5 aLoading mirror speeds from cached hostfile
z3 @/ |7 H' U" Y! D- |' l * base: mirrors.aliyun.com; O+ n8 u1 H% f4 ?4 Y
* epel: mirrors.tuna.tsinghua.edu.cn
5 D! I) Z& r8 ?. h; M, \ * extras: mirrors.tuna.tsinghua.edu.cn
$ A+ w: F9 u6 h9 V0 S1 i * updates: mirrors.tuna.tsinghua.edu.cn
+ U B8 @. d. l; h: BResolving Dependencies Z2 \* `+ G9 @, M/ S+ j
--> Running transaction check3 p( Q3 I1 J; t1 l1 [# Q
---> Package python2-cryptography.x86_64 0:1.7.2-2.el7 will be installed
+ J0 {$ H9 X- c6 G( D--> Processing Dependency: python-pyasn1 >= 0.1.8 for package: python2-cryptography-1.7.2-2.el7.x86_64
( k1 ]' r8 _. r; r" C, s--> Processing Dependency: python-idna >= 2.0 for package: python2-cryptography-1.7.2-2.el7.x86_64
7 V" i+ C. }) |--> Processing Dependency: python-cffi >= 1.4.1 for package: python2-cryptography-1.7.2-2.el7.x86_64' n7 B* n" \" D% A- V2 z
--> Processing Dependency: python-enum34 for package: python2-cryptography-1.7.2-2.el7.x86_64
4 a3 k3 v5 y2 C2 u. S--> Running transaction check5 H7 x5 f$ V& z8 Y* X
---> Package python-cffi.x86_64 0:1.6.0-5.el7 will be installed
4 s! I. g/ @/ B--> Processing Dependency: python-pycparser for package: python-cffi-1.6.0-5.el7.x86_64
7 j1 N* @" g" h1 a---> Package python-enum34.noarch 0:1.0.4-1.el7 will be installed
! v% o: r. p( g4 _6 R" P! H/ \---> Package python-idna.noarch 0:2.4-1.el7 will be installed
! P3 k; W7 x2 x( t---> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed
9 s, N% J! F7 [/ g+ J2 k! x9 k) y--> Running transaction check
2 G) ^9 ]0 {8 v% M" I$ Y---> Package python-pycparser.noarch 0:2.14-1.el7 will be installed. l" B: q7 @4 @# }6 A6 Q
--> Processing Dependency: python-ply for package: python-pycparser-2.14-1.el7.noarch; V" }' o. g7 j" C* h+ B& Q
--> Running transaction check
" s5 i4 D3 }: J& u8 ^---> Package python-ply.noarch 0:3.4-11.el7 will be installed; {# D7 n" Q3 V
--> Finished Dependency Resolution! z% z) f+ X9 G5 \) v _ D5 n
Dependencies Resolved& R5 K5 [& r; u( j2 Z# ^% f
====================================================================================================================================* V+ f$ N; \8 o) C5 N- [) `4 ?
Package Arch Version Repository Size6 u" N- T/ ]* i0 U6 {- E
====================================================================================================================================7 m3 o8 ^+ G* |4 c
Installing:" k) p s" j/ K3 a' w1 l" [$ g
python2-cryptography x86_64 1.7.2-2.el7 base 502 k
6 ~6 Q7 f! L# \4 a$ m6 z- S+ uInstalling for dependencies:- B% c! H! U; I, d( |
python-cffi x86_64 1.6.0-5.el7 base 218 k
5 H; G9 z, x% O9 L python-enum34 noarch 1.0.4-1.el7 base 52 k
2 a( M6 g& K7 L' {6 P python-idna noarch 2.4-1.el7 base 94 k
8 Q$ P; F a+ M/ H python-ply noarch 3.4-11.el7 base 123 k6 G, ]+ T' O6 z9 P6 p' g) v, c3 N
python-pycparser noarch 2.14-1.el7 base 104 k# n9 Q' o* T' |- i9 M/ n1 X" ], @
python2-pyasn1 noarch 0.1.9-7.el7 base 100 k
+ [( ~4 y; B' q9 ETransaction Summary
. P6 o a. P! J" _====================================================================================================================================! z. Y3 L [+ m1 B. y/ n
Install 1 Package (+6 Dependent packages)8 N# f0 R- r& z
Total download size: 1.2 M
+ y: Y& m5 `0 i0 Z* oInstalled size: 6.1 M3 v0 \& M& \$ N9 f) Q
Downloading packages:
: k) ]( H0 d3 J( p(1/7): python-pycparser-2.14-1.el7.noarch.rpm | 104 kB 00:00:01
' y4 z$ k) l# }0 J- V(2/7): python-idna-2.4-1.el7.noarch.rpm | 94 kB 00:00:01
. z& u& s* F8 m; L r% ]' w( ](3/7): python-cffi-1.6.0-5.el7.x86_64.rpm | 218 kB 00:00:02 - n" K" {0 [2 w ~. @' U, m8 d" r
(4/7): python-ply-3.4-11.el7.noarch.rpm | 123 kB 00:00:02
( ?/ m1 a) m- G" f& L, ]! V0 F(5/7): python2-cryptography-1.7.2-2.el7.x86_64.rpm | 502 kB 00:00:01 ' @. _2 u7 o7 d4 j: M- B
(6/7): python-enum34-1.0.4-1.el7.noarch.rpm | 52 kB 00:00:02 . x z" v/ l; q0 L! H, f( `
(7/7): python2-pyasn1-0.1.9-7.el7.noarch.rpm | 100 kB 00:00:01
2 P. b. u. X _ o6 s; ^------------------------------------------------------------------------------------------------------------------------------------3 t& |" z9 H$ P! o7 w
Total 374 kB/s | 1.2 MB 00:00:03
! t# ]; h! w: N. R; GRunning transaction check' n+ A2 { k, \4 t, D
Running transaction test! K* W+ S& o) X) e' W3 @" \9 H
Transaction test succeeded- a4 H) i, m3 _; I% F
Running transaction
, [+ y# W$ a. r# Y* L% m Installing : python2-pyasn1-0.1.9-7.el7.noarch 1/7 # \1 @- \: ~, X( O% v/ m' e2 Y
Installing : python-enum34-1.0.4-1.el7.noarch 2/7
5 | q$ F7 G# N: N6 z0 U* D Installing : python-ply-3.4-11.el7.noarch 3/7 : K7 u9 H; f0 N
Installing : python-pycparser-2.14-1.el7.noarch 4/7 6 }0 ~/ k& `4 K9 g5 ^
Installing : python-cffi-1.6.0-5.el7.x86_64 5/7
+ _- @$ v9 F# C( I! U5 Y) t$ i Installing : python-idna-2.4-1.el7.noarch 6/7 ?9 _& D/ q$ J, P
Installing : python2-cryptography-1.7.2-2.el7.x86_64 7/7
0 Z a8 k' }9 l8 E) V; f Verifying : python-idna-2.4-1.el7.noarch 1/7 9 S- L0 t4 _# A6 L' k
Verifying : python-pycparser-2.14-1.el7.noarch 2/7
- S- ~9 D1 y: S9 _3 \- X9 r Verifying : python-ply-3.4-11.el7.noarch 3/7
6 L* [9 _1 K+ [ f2 r: { Verifying : python-cffi-1.6.0-5.el7.x86_64 4/7
$ ?. y6 U- E; v Verifying : python-enum34-1.0.4-1.el7.noarch 5/7 7 d5 p8 i, J* T/ V4 v8 g, X& n, p, ?
Verifying : python2-pyasn1-0.1.9-7.el7.noarch 6/7
+ ?! `6 a. v( s' S Verifying : python2-cryptography-1.7.2-2.el7.x86_64 7/7 % C5 W7 `& Y: t! _) S
Installed:: J+ x( T" ~$ t$ {
python2-cryptography.x86_64 0:1.7.2-2.el7
, S: r- P' J, a* bDependency Installed:
8 h' o1 R) }; A5 Z 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
- p. d; F( V& i3 k6 ?1 B7 B 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 . T3 M/ j/ ?/ c% @# Z: Q, }
Complete!$ g, S0 r* ]" j! t% D
|
|