找回密码
 注册
查看: 823|回复: 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 g+ S1 a" z6 w
  from cryptography import x5095 ]) d3 M- ?* O- ^) y# N9 U6 P3 g
0 {( J' O* |! ?" c& w  I
openstack project list  
4 v+ N6 M& g# ~4 E1 r/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+ S# V/ R- N$ y
  from cryptography import x5096 Q! L0 E8 v8 r
+----------------------------------+------------+6 |9 ?* f: {' T0 n6 Y
| ID                               | Name       |8 b! l+ }1 z. h  Z- e2 _2 W
+----------------------------------+------------+
9 j. T" }- m& ~! s| 0c915a0d7601493cb1ecfd904b09f54c | app        |* o* u9 r4 U! k2 _
| 427c9cf69c7243d7894efc65e213170d | service    |
' @! G3 |, o; [0 G. M0 t# |- @" X| 6f0124196ea74eb79fbcf370add3ca7e | admin      |! C5 [1 W# w8 B
| 7ad4f489d05c4f19a74163a885ab3340 | middleware |9 C5 P( R9 [9 R+ Z
| 8d526ae78ef047d399925ebb88564108 | bigdata    |
1 l* j" |0 B6 F2 i) g) y| 9adc3ac0725d44ac94c43f93b4d8cd14 | database   |
0 O: T! E2 J  H8 o) i' A+ l: t| d4d0f4b6dd334883ba1d78a2e08ce058 | esits      |& i" B& d9 b+ H5 F; l/ w/ Q! C7 a. R
+----------------------------------+------------+
$ {( \0 ^% ?  C  e4 A
, p7 _  M! E/ [) O% Z
% X4 N4 j% V6 ]7 h3 q# i; ^/ A/ U& O& ~8 C: }6 p- W
解决办法:+ i+ w$ j* a1 z" B4 a; N1 M
[root@controller1 ~]# yum install -y python-urllib35 Z; C/ z( s! {( O# u
Loaded plugins: fastestmirror6 L1 O1 M, N, G: B
Loading mirror speeds from cached hostfile7 V$ z9 T7 e9 ]
epel/x86_64/metalink                                                                                                                        | 5.5 kB  00:00:00     
; O- ?5 {. o. I+ q8 j( r6 e * base: mirrors.bfsu.edu.cn% h2 C0 i$ |. A1 u, P6 W6 G
* epel: ftp.riken.jp
( S/ T0 {2 a/ T  e8 W' ^7 g * extras: mirrors.tuna.tsinghua.edu.cn: M, o6 @3 i( E: I4 J
* updates: mirrors.tuna.tsinghua.edu.cn
; x4 H7 R4 Z' `, \base                                                                                                                                        | 3.6 kB  00:00:00     
- O& v- g. b" l3 G! d. mceph                                                                                                                                        | 2.9 kB  00:00:00     * h1 @0 a( t+ l  ]0 \& f  t
docker-ce-stable                                                                                                                            | 3.5 kB  00:00:00     
; {# H+ o, s; |3 e- Gepel                                                                                                                                        | 4.7 kB  00:00:00     
2 j- e8 X1 n% Q8 C* textras                                                                                                                                      | 2.9 kB  00:00:00     
5 F2 U, D) z2 G- Uupdates                                                                                                                                     | 2.9 kB  00:00:00     
. p5 M7 c) h/ q9 @, c(1/3): epel/x86_64/updateinfo                                                                                                               | 1.0 MB  00:00:00     
! D$ q# b  }' Z; H( J# l8 g(2/3): updates/7/x86_64/primary_db                                                                                                          |  15 MB  00:00:03     
, j5 S2 k+ \. W+ d(3/3): epel/x86_64/primary_db                                                                                                               | 7.0 MB  00:00:04     ' I; z& K# H' B- K; h
Resolving Dependencies
  K, _5 I; J, P8 S7 k8 r--> Running transaction check
& C9 k. [$ H1 ?  y% W; l  |---> Package python-urllib3.noarch 0:1.10.2-7.el7 will be installed" U/ `: O  m& C! B1 O  q% M
--> Finished Dependency Resolution
8 y7 d# w! n% B7 V9 V8 h: ?Dependencies Resolved
' P1 y4 I! ?3 e' }/ K7 E===================================================================================================================================================================3 s6 Q- o) d) D; Q( I
Package                                     Arch                                Version                                   Repository                         Size' ]. I( `' [7 S- d: c
===================================================================================================================================================================8 m* i# N& H7 {  L) k& J* f
Installing:" }% a3 K+ U* U+ v' m$ h
python-urllib3                              noarch                              1.10.2-7.el7                              base                              103 k
3 n3 S/ v* r! {Transaction Summary" W+ K* G1 {& H
===================================================================================================================================================================
) u8 N: U4 R) Z/ X8 ?  z9 b- @Install  1 Package
* u- `) B9 n  |3 j7 @3 TTotal download size: 103 k
- m. K9 d$ ]) L' S  bInstalled size: 380 k/ S4 u4 {. A0 K: C- k* c' u
Downloading packages:) t- Z0 Q& {  ~8 S- G* J
python-urllib3-1.10.2-7.el7.noarch.rpm                                                                                                      | 103 kB  00:00:00     
! q5 s% O3 C5 i5 ARunning transaction check. l  x- d$ ?+ m. }5 e
Running transaction test
  L1 L' h4 l  DTransaction test succeeded0 n  B3 K. n  t% h7 V4 n4 v
Running transaction" l  _; n. ~) p# j
  Installing : python-urllib3-1.10.2-7.el7.noarch                                                                                                              1/1 9 b' V. \* c1 o, Y* H
  Verifying  : python-urllib3-1.10.2-7.el7.noarch                                                                                                              1/1 ' V5 I) ]6 \# s0 }+ L1 ?2 X
Installed:
& b; z4 z9 @' p4 y  python-urllib3.noarch 0:1.10.2-7.el7                                                                                                                             5 ]7 r% X0 X0 q( V4 H2 z
Complete!) g" @4 c2 r. j& M6 T
[root@controller1 ~]# openstack project list  
7 ?& D# f- n* }5 W$ F( p+----------------------------------+------------+3 f/ ~1 k* s8 H; s
| ID                               | Name       |. B, j+ `' }; r0 J5 r* U& E# J
+----------------------------------+------------+* g$ R0 x; K: r: n8 N
| 0c915a0d7601493cb1ecfd904b09f54c | app        |" U" ?) g1 F+ r( }% \
| 427c9cf69c7243d7894efc65e213170d | service    |2 r7 P# C$ G. J# T; ?1 u, h
| 6f0124196ea74eb79fbcf370add3ca7e | admin      |
0 d2 I7 a, x/ J1 }8 P! I| 7ad4f489d05c4f19a74163a885ab3340 | middleware |
5 U# @  u" i% F3 `/ ^| 8d526ae78ef047d399925ebb88564108 | bigdata    |; C3 D! Q9 m. r
| 9adc3ac0725d44ac94c43f93b4d8cd14 | database   |
4 H( f5 `- P& Y7 ^; J8 `| d4d0f4b6dd334883ba1d78a2e08ce058 | esits      |7 X+ y; C6 h) e8 O. O2 j% V6 M
+----------------------------------+------------+" g, _# D* U* Q  r9 Y0 ~. b$ ^
. O0 F. p- ?$ J0 N, s0 H

! E; ~8 y  J# C9 j3 B问题解决。
& p* E3 B5 v* r2 {
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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