易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 825|回复: 0
收起左侧

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

[复制链接]
发表于 2022-4-14 14:03:21 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?开始注册

x
/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.& ]) ~# o4 A5 G7 n/ H) K
  from cryptography import x509
6 z( l5 d# t1 x$ a% B
0 l8 Z( ^& Z8 _! B3 m; {openstack project list  
3 C1 B) b  T! ?- b' b/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.( Z6 z( M- s* e  n3 _$ Q
  from cryptography import x509
6 e" m* u; O. [( n6 A: k' k9 \+----------------------------------+------------+
$ y" U) |$ S7 g" v1 b* H2 a| ID                               | Name       |
5 [; p5 s. m) ~! z1 J, C+----------------------------------+------------+
% D2 O) C7 L& I9 E# l7 E0 [| 0c915a0d7601493cb1ecfd904b09f54c | app        |/ e3 _) C* q" |' \* |6 w; e, P( `9 L
| 427c9cf69c7243d7894efc65e213170d | service    |7 u+ c9 v- T9 d( u
| 6f0124196ea74eb79fbcf370add3ca7e | admin      |3 G( @1 |$ ?+ d1 U* x
| 7ad4f489d05c4f19a74163a885ab3340 | middleware |5 O. m3 W7 q# u: P8 X  I
| 8d526ae78ef047d399925ebb88564108 | bigdata    |
' T: F2 t7 U) D! j4 i| 9adc3ac0725d44ac94c43f93b4d8cd14 | database   |
# g1 g: X  ~8 {% X9 @5 X: U| d4d0f4b6dd334883ba1d78a2e08ce058 | esits      |
* U: o; Q( v3 F. m% x+----------------------------------+------------+4 [( G% W& ^( u
6 n7 d7 h" d/ s4 P( e2 P

0 N% h0 Z, B5 V& z3 D6 ^, k0 j; S8 b/ }- |+ `) W
解决办法:- n! {+ T; {% m
[root@controller1 ~]# yum install -y python-urllib3# g% F! ?& L8 Y: @3 `% X
Loaded plugins: fastestmirror
/ j0 }' \$ x( \$ j) [Loading mirror speeds from cached hostfile) y1 M/ ~% E% H7 p
epel/x86_64/metalink                                                                                                                        | 5.5 kB  00:00:00     
3 U. M6 v+ k$ L) _3 Q+ C * base: mirrors.bfsu.edu.cn, T3 I* L! t/ N$ w
* epel: ftp.riken.jp
* H3 y- p6 C/ I- w# b * extras: mirrors.tuna.tsinghua.edu.cn
, w0 \8 w( Q! W' |0 g * updates: mirrors.tuna.tsinghua.edu.cn
# C' v- n: R5 X7 U$ r+ pbase                                                                                                                                        | 3.6 kB  00:00:00     ( W# w$ Q4 \$ @, B0 R' G
ceph                                                                                                                                        | 2.9 kB  00:00:00     + E3 q) i$ G+ {  V5 m
docker-ce-stable                                                                                                                            | 3.5 kB  00:00:00     
9 ]8 M/ k; f! `: Fepel                                                                                                                                        | 4.7 kB  00:00:00     ! P& {( t4 Y) d/ E0 M  P
extras                                                                                                                                      | 2.9 kB  00:00:00     
. u; I0 H/ [* J8 C3 H" v6 vupdates                                                                                                                                     | 2.9 kB  00:00:00     
' z# ^$ h7 {* X9 N(1/3): epel/x86_64/updateinfo                                                                                                               | 1.0 MB  00:00:00     
( ]! ?/ m! ^) e+ _& X(2/3): updates/7/x86_64/primary_db                                                                                                          |  15 MB  00:00:03     
% p4 [3 D+ F) g* s# H+ C. o9 G(3/3): epel/x86_64/primary_db                                                                                                               | 7.0 MB  00:00:04     8 s5 t' y+ Q; m$ ^+ ]9 Y: W
Resolving Dependencies4 h2 x; ~4 G# K. P. \+ [
--> Running transaction check
: V; B2 C* e; ~% o# X* w3 z' H---> Package python-urllib3.noarch 0:1.10.2-7.el7 will be installed
  ]  G) u6 u4 n/ \; C--> Finished Dependency Resolution+ ^( Y% ?8 E7 B4 G
Dependencies Resolved+ \% d' r- ?: Y# B7 [
===================================================================================================================================================================* ]7 X3 v1 ?; C- Y: |$ ~, S+ ~& I0 L# s
Package                                     Arch                                Version                                   Repository                         Size8 l( D/ o5 n5 f  m
===================================================================================================================================================================; g, V, O  t3 D3 C9 [/ h
Installing:. S! J! n& C5 T3 Q
python-urllib3                              noarch                              1.10.2-7.el7                              base                              103 k
4 e0 y9 \+ X  I8 `Transaction Summary0 F( x" F5 |- q/ A& B0 p. X5 `6 L
===================================================================================================================================================================* `; U5 \$ K8 q1 B* |
Install  1 Package7 ]6 E) k# u: J3 g" M) f6 h' [6 U
Total download size: 103 k- H2 G* C9 s: s, U0 \. R
Installed size: 380 k
( I/ m$ p+ ~  p% d! V6 U2 sDownloading packages:
& U5 a% ~* M2 w7 e; Fpython-urllib3-1.10.2-7.el7.noarch.rpm                                                                                                      | 103 kB  00:00:00     0 T0 d2 R; r1 U0 g5 z) H
Running transaction check
, G: P3 t, r# J$ n% w7 @Running transaction test  v9 w3 _2 @$ `( {+ C
Transaction test succeeded
5 z# J/ m3 q4 D! O& l. rRunning transaction1 \" M! v7 j4 I$ I
  Installing : python-urllib3-1.10.2-7.el7.noarch                                                                                                              1/1
" C" B: [; L+ V. H0 h; K' w! P  Verifying  : python-urllib3-1.10.2-7.el7.noarch                                                                                                              1/1
, l9 ~  F5 F- L: ?6 U. p# FInstalled:
) }& h3 U$ A% }5 m$ F  python-urllib3.noarch 0:1.10.2-7.el7                                                                                                                             % z3 E9 j4 n- S( |
Complete!3 r  y+ W8 v2 f
[root@controller1 ~]# openstack project list  
" W/ r/ K( ^3 [/ Y% x+----------------------------------+------------+
# b8 H4 o) r  G0 Z1 {0 f) y$ G. a| ID                               | Name       |2 K1 h1 T) C. L4 R5 s+ b
+----------------------------------+------------+0 I$ \- Y- l9 U; W
| 0c915a0d7601493cb1ecfd904b09f54c | app        |
& a% f% d6 h3 E( I" W& P# b9 j' Q| 427c9cf69c7243d7894efc65e213170d | service    |: i. E3 `: M  X
| 6f0124196ea74eb79fbcf370add3ca7e | admin      |
% C& J  E2 g+ S; ^" g| 7ad4f489d05c4f19a74163a885ab3340 | middleware |
$ F5 t( l  g8 i& |0 f| 8d526ae78ef047d399925ebb88564108 | bigdata    |
9 L! z  s$ ?6 W9 y; a| 9adc3ac0725d44ac94c43f93b4d8cd14 | database   |1 q% Z5 k/ c  S( s5 X
| d4d0f4b6dd334883ba1d78a2e08ce058 | esits      |
! @- [* o) T- h. v+----------------------------------+------------+
. S( d7 s9 @; m$ S5 n& Y. s) I) O, g# }: h6 h8 o" [' c5 i' X0 x7 T$ M

9 i; ^% y6 b4 ?问题解决。
3 v. `/ O/ q4 j3 A2 \+ H, y6 D2 Y3 Z
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

北京云银创陇科技有限公司以云计算运维,代码开发

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 点击这里给我发消息

GMT+8, 2026-4-8 17:40 , Processed in 0.046049 second(s), 22 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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