找回密码
 注册
查看: 821|回复: 0

使用openstack命令提示告警错误,解决办法

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2022-4-14 14:03:21 | 显示全部楼层 |阅读模式
/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.
6 F1 E( Y6 x2 q8 H% L* n  from cryptography import x509
* n% r3 d+ R' g
* S. U' g1 A! H$ ^! ], ]  A# Yopenstack project list  * p8 \$ o0 S6 g. \
/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.% a( }* ^3 [4 W/ w$ L4 A' _
  from cryptography import x509
% q1 q3 H) [! X7 |+----------------------------------+------------+
( N1 d* [; q1 [! V. u# y| ID                               | Name       |3 k( H3 @, @5 X, p9 `0 W
+----------------------------------+------------+
) @! J$ a! e: P) ~  l* w| 0c915a0d7601493cb1ecfd904b09f54c | app        |$ A. W4 \6 Q4 N6 D* ^( d2 B
| 427c9cf69c7243d7894efc65e213170d | service    |
* ^$ W- Q- q% K/ b$ C| 6f0124196ea74eb79fbcf370add3ca7e | admin      |0 `& [4 |. I8 V1 Z
| 7ad4f489d05c4f19a74163a885ab3340 | middleware |3 e0 g* @7 V' d+ D: M
| 8d526ae78ef047d399925ebb88564108 | bigdata    |  H& u+ u$ Q; S; @0 m9 Q4 ~8 A
| 9adc3ac0725d44ac94c43f93b4d8cd14 | database   |1 O* Q& {2 N, L9 h9 j) n$ y
| d4d0f4b6dd334883ba1d78a2e08ce058 | esits      |# B9 l& E% j* v" t
+----------------------------------+------------+  v% i" y2 H' x7 N

2 r, v+ T  B0 D% P3 p! c
: A2 ]6 S) @$ y' Y7 [3 i  ?" H+ [' G" _( U
解决办法:3 b" V& P8 P& A
[root@controller1 ~]# yum install -y python-urllib3! O: i0 r5 q! |+ [8 i8 b
Loaded plugins: fastestmirror
2 S# L( `0 c( K) ]6 V! [Loading mirror speeds from cached hostfile
3 }; P" A1 @6 \epel/x86_64/metalink                                                                                                                        | 5.5 kB  00:00:00     ( n1 j5 E+ N6 G
* base: mirrors.bfsu.edu.cn
& t+ P4 v. J# y. M1 o * epel: ftp.riken.jp. B$ `  ?" l* \* j1 D
* extras: mirrors.tuna.tsinghua.edu.cn
2 P  g$ [3 t5 G; x* V  @' v7 s * updates: mirrors.tuna.tsinghua.edu.cn3 d  E4 X2 S5 O0 c6 u
base                                                                                                                                        | 3.6 kB  00:00:00     
9 E% a0 r* @+ z! Y. |- jceph                                                                                                                                        | 2.9 kB  00:00:00     2 @) _3 x. [  G5 r" F1 ?: E
docker-ce-stable                                                                                                                            | 3.5 kB  00:00:00     
0 n" |- o6 [8 t/ Vepel                                                                                                                                        | 4.7 kB  00:00:00     
7 D/ _  s8 `& {' i( @. `1 o+ ~extras                                                                                                                                      | 2.9 kB  00:00:00     
. F& u. Y4 M& Qupdates                                                                                                                                     | 2.9 kB  00:00:00     
2 Q6 N2 g$ Z7 N- Y$ \0 K7 q9 Y(1/3): epel/x86_64/updateinfo                                                                                                               | 1.0 MB  00:00:00     
2 H# M  T6 P* L! ?(2/3): updates/7/x86_64/primary_db                                                                                                          |  15 MB  00:00:03     
6 U7 N$ s6 W; ~2 f! e(3/3): epel/x86_64/primary_db                                                                                                               | 7.0 MB  00:00:04     
" h% ?- k2 f4 {: Z  vResolving Dependencies
! I6 O! O% M$ j--> Running transaction check- M  B' T" w4 P) J
---> Package python-urllib3.noarch 0:1.10.2-7.el7 will be installed
: k( ^! o- n1 G  W--> Finished Dependency Resolution) ~5 }* J* F: j9 t& @" X8 A
Dependencies Resolved  B4 t8 a3 k) D2 k  V" q
===================================================================================================================================================================
2 P9 \0 @5 Y) i4 A' V) o1 z Package                                     Arch                                Version                                   Repository                         Size+ P: x2 \7 P9 e! g4 o; Q
===================================================================================================================================================================: ~$ I  `; f& S1 e) R$ D( M) j
Installing:3 U3 I" I& e+ b3 Q6 t1 t; C' L
python-urllib3                              noarch                              1.10.2-7.el7                              base                              103 k
9 J5 v8 J1 X' G3 {Transaction Summary% E% {" c  A3 R, e, [9 i3 J8 g
===================================================================================================================================================================
0 p; n, D8 n6 j, f- Q! e) pInstall  1 Package
* b, r, j1 h2 {" M/ P, |6 FTotal download size: 103 k
( p4 A! x' |% MInstalled size: 380 k
; Z$ w) }3 a5 t, f1 ^Downloading packages:( v9 R$ Z# e8 T( Y
python-urllib3-1.10.2-7.el7.noarch.rpm                                                                                                      | 103 kB  00:00:00     : [# |3 U4 d% x7 c1 a) k% f) j  s+ L
Running transaction check  {' q4 [% H: J3 r; B1 S7 b
Running transaction test
. L/ `$ z. y8 uTransaction test succeeded( ~% r0 a7 d3 i
Running transaction' K' T3 B, P7 U
  Installing : python-urllib3-1.10.2-7.el7.noarch                                                                                                              1/1
$ U- a1 e3 z4 Y+ n. [8 J  Verifying  : python-urllib3-1.10.2-7.el7.noarch                                                                                                              1/1
3 R: E" I/ V& Y5 |Installed:
* V$ W+ C. \* I  python-urllib3.noarch 0:1.10.2-7.el7                                                                                                                             
4 p0 b7 D! ~1 b1 S4 aComplete!
( `' w; P( O& ?) L  ?; Y- R[root@controller1 ~]# openstack project list  
0 ]8 s& r9 Y& U+----------------------------------+------------+( D3 C  x* ~, g7 G
| ID                               | Name       |
7 \. O7 @. u, `' x2 N+----------------------------------+------------+
; I3 j$ Z. f5 m4 c2 t6 m| 0c915a0d7601493cb1ecfd904b09f54c | app        |- I$ o6 x; b& y5 L; j8 b
| 427c9cf69c7243d7894efc65e213170d | service    |+ x  i. C9 l: L3 i" m
| 6f0124196ea74eb79fbcf370add3ca7e | admin      |
5 F4 |- A) m: l2 ^6 t9 b| 7ad4f489d05c4f19a74163a885ab3340 | middleware |
$ ~) ~$ `( W  o4 P$ z| 8d526ae78ef047d399925ebb88564108 | bigdata    |
  i6 W' r) M+ {% S! b| 9adc3ac0725d44ac94c43f93b4d8cd14 | database   |
0 ~5 }1 N% U- v7 ~( R3 A| d4d0f4b6dd334883ba1d78a2e08ce058 | esits      |) b3 ~) H2 b, d0 H$ {
+----------------------------------+------------+8 }- ]% d4 f* p- J* _

% W" H" u$ \$ I3 g9 o
9 m+ H" K4 K# Q$ d5 K问题解决。3 N, g' l! ~) }8 d* v/ ^
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 00:56 , Processed in 0.017762 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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