找回密码
 注册
查看: 820|回复: 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.
/ h3 X; b7 _& b9 C1 `  from cryptography import x509$ @2 [, t/ M( X, T
8 n* s3 c9 L+ e0 r
openstack project list  
# d: g& A# `* ~# o1 l! N/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.
- C  e: d  r' x2 A1 J% V  from cryptography import x509, m4 f: Y$ O! K; b; C, b
+----------------------------------+------------+
5 }% K- ^& Y: p- P, x: c| ID                               | Name       |9 N* s- |/ I1 P9 s8 U% l
+----------------------------------+------------+; ]8 |# J6 j2 ]# Z# F5 z
| 0c915a0d7601493cb1ecfd904b09f54c | app        |; L( d! P; t# A7 s6 q" t% l* P
| 427c9cf69c7243d7894efc65e213170d | service    |8 d$ l4 b& h, w  w7 s! t0 l
| 6f0124196ea74eb79fbcf370add3ca7e | admin      |
! F8 L1 Q3 x4 G. D0 N% Z7 {| 7ad4f489d05c4f19a74163a885ab3340 | middleware |) P3 c2 b9 T8 D5 q9 ^1 V8 i
| 8d526ae78ef047d399925ebb88564108 | bigdata    |  d& G- C: I4 |( c
| 9adc3ac0725d44ac94c43f93b4d8cd14 | database   |
" r8 n& c4 F3 U" s5 S+ C| d4d0f4b6dd334883ba1d78a2e08ce058 | esits      |! }. H, \/ Q. \
+----------------------------------+------------+* h$ L0 K# @3 H4 m
# |# P' ?$ C  w
3 ^1 l2 W$ m; L3 A% w4 O" }5 E
5 f1 f' C2 V8 G- ], a% \
解决办法:* I% |7 u/ u3 w
[root@controller1 ~]# yum install -y python-urllib3. T2 v9 {+ d" @, B" M, h
Loaded plugins: fastestmirror
5 Q! K" x; j% n9 V% OLoading mirror speeds from cached hostfile) A8 F' h* c9 J7 u2 r$ ^4 e  B' z* V
epel/x86_64/metalink                                                                                                                        | 5.5 kB  00:00:00     
; E: ]4 h/ g  N: G$ A( a: g) y * base: mirrors.bfsu.edu.cn
  A' S3 a) q9 j8 Q/ T; m * epel: ftp.riken.jp
! N0 X8 D; E, L; r( N# R8 W: d+ | * extras: mirrors.tuna.tsinghua.edu.cn
0 k2 b/ X1 Z6 D. N2 I * updates: mirrors.tuna.tsinghua.edu.cn/ m3 a8 e% m* y- D/ B9 Y; i! a6 m$ M4 G
base                                                                                                                                        | 3.6 kB  00:00:00     * V4 ?; V, D3 y7 V" ^) u+ z* ~: o
ceph                                                                                                                                        | 2.9 kB  00:00:00     
- u! `: E' n. Qdocker-ce-stable                                                                                                                            | 3.5 kB  00:00:00     ! G( |" V9 @# i2 a  C+ m
epel                                                                                                                                        | 4.7 kB  00:00:00     & ], \( f# Y2 Q" e
extras                                                                                                                                      | 2.9 kB  00:00:00       j- l5 d5 k" ?7 @
updates                                                                                                                                     | 2.9 kB  00:00:00     $ q$ M4 ?. N; ]% l' j
(1/3): epel/x86_64/updateinfo                                                                                                               | 1.0 MB  00:00:00     
2 n' J' H, M5 g9 ?, K9 O3 N3 }(2/3): updates/7/x86_64/primary_db                                                                                                          |  15 MB  00:00:03     
! X+ C9 _8 ^' ~" c(3/3): epel/x86_64/primary_db                                                                                                               | 7.0 MB  00:00:04     , ~# I4 x" s1 n* y1 C3 j
Resolving Dependencies
" x8 h. K, w& l. _4 ^; e--> Running transaction check; r9 K- h$ U8 q( h7 h
---> Package python-urllib3.noarch 0:1.10.2-7.el7 will be installed; V0 {7 i* ?8 o" W
--> Finished Dependency Resolution
5 |; `1 \, k2 KDependencies Resolved  ?( D0 t/ S0 u% d% f' `+ r
===================================================================================================================================================================
9 I5 F6 B" \) @/ ]* G7 S Package                                     Arch                                Version                                   Repository                         Size
( X/ ~  d& K4 o8 }, l===================================================================================================================================================================
: A7 ^' F( a1 c9 Y$ s" Y3 wInstalling:/ `8 D4 s* d# f+ C
python-urllib3                              noarch                              1.10.2-7.el7                              base                              103 k- a# }# t, b( N3 Z* M- A& y
Transaction Summary- G5 c: ]4 }) o; ^! M9 G" t$ b1 y
===================================================================================================================================================================
! [, `5 G+ y3 v+ b& n! _+ @Install  1 Package* C! G1 P$ g9 H9 N
Total download size: 103 k
7 T' N* t- x* I* AInstalled size: 380 k
0 I+ g. p' K! ZDownloading packages:
) Q) x% w7 {$ {python-urllib3-1.10.2-7.el7.noarch.rpm                                                                                                      | 103 kB  00:00:00     
% Y6 U  U2 w& i8 B  U. i0 ~Running transaction check
' r& X$ ?* [9 G: JRunning transaction test
5 g. h* X9 K% ^/ }Transaction test succeeded
5 X8 G. I: B: y; Q' zRunning transaction% s; P& s2 ?6 F( p! o3 l
  Installing : python-urllib3-1.10.2-7.el7.noarch                                                                                                              1/1
3 C6 v5 [+ ]0 |% O: T5 }  Verifying  : python-urllib3-1.10.2-7.el7.noarch                                                                                                              1/1 # l9 U8 ]- g0 p: ?1 \& `: w# `$ f
Installed:2 l$ s5 S) V0 r
  python-urllib3.noarch 0:1.10.2-7.el7                                                                                                                             
) h5 U: t, O3 g; m# ]8 nComplete!
1 O8 `# Z  g1 t8 g/ u1 {* c[root@controller1 ~]# openstack project list  / K* L9 \6 T# P7 |
+----------------------------------+------------+
( q$ H1 @0 F+ U8 ^| ID                               | Name       |
) r1 J- `) r0 O& x% u/ Z; A- ^! F+----------------------------------+------------+) x; B  I; j2 K" W# W
| 0c915a0d7601493cb1ecfd904b09f54c | app        |% C8 V. i7 _& e0 t0 [# K( `
| 427c9cf69c7243d7894efc65e213170d | service    |8 s& K# E! X( \( w* j2 C' @
| 6f0124196ea74eb79fbcf370add3ca7e | admin      |- f+ K( b% W" N9 Y$ H& w& q0 j* ^5 i
| 7ad4f489d05c4f19a74163a885ab3340 | middleware |
9 V$ O2 W0 [5 B| 8d526ae78ef047d399925ebb88564108 | bigdata    |6 c$ W( \8 t0 |# P/ L+ Q; i
| 9adc3ac0725d44ac94c43f93b4d8cd14 | database   |* Y+ j! e4 P0 S4 k, Y8 W) P+ X
| d4d0f4b6dd334883ba1d78a2e08ce058 | esits      |
2 j# |& u0 n! B; T+----------------------------------+------------+* D( D$ d: F, Q+ D, _1 \# A

( y/ \7 F  J0 g# G$ A- h+ E9 `" k& x* d0 G
问题解决。5 ^# q: u: q% a2 h3 Y% H. r$ |7 B
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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