找回密码
 注册
查看: 708|回复: 1

ERROR gnocchi.cli.api: Unable to find `uwsgi'.

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2022-5-28 22:07:42 | 显示全部楼层 |阅读模式
2022-05-28 22:06:47,482 [59346] WARNING  oslo_config.cfg: Deprecated: Option "coordination_url" from group "storage" is deprecated. Use option "coordination_url" from group "DEFAULT".# u8 q6 R) B% P( \' h5 M% l
2022-05-28 22:06:47,483 [59346] INFO     gnocchi.service: Gnocchi version 4.3.6
0 U0 w( Q# `/ i5 A9 I; T2022-05-28 22:06:47,495 [59346] WARNING  gnocchi.cli.api: No need to pass `--' in gnocchi-api command line anymore, please remove
! _$ w; I+ L# r8 z  `" `0 i; l2022-05-28 22:06:47,496 [59346] ERROR    gnocchi.cli.api: Unable to find `uwsgi'.
  Y. @% B& T! A" EBe sure it is installed and in $PATH.! c0 _% y. e4 f! e
7 V9 {9 p% E* Y
! [: j" U( s2 a: V( K
解决办法就是安装uwsgi插件:
# X6 h' U" C6 f( J# [7 I4 ~6 J; a" \3 l9 t- d2 H3 t
[root@controller src]# dnf install -y uwsgi! h0 G. Y6 _% X( r% Z6 V% R
Last metadata expiration check: 2:49:33 ago on Sat 28 May 2022 07:19:24 PM CST.% _% y& b5 k% s( P) e/ j2 E
Dependencies resolved.* z/ `) e$ _3 M& o0 v9 K% A( B7 G7 w
==================================================================================================
0 @* f$ N+ x( j( ~' q, S- j Package         Architecture     Version                   Repository                       Size6 _2 A5 d3 x1 G, G3 W# e) j/ R# i
==================================================================================================" K7 N1 ~$ P9 M' O: f
Installing:
! D: ?8 Y% m5 k2 m( o uwsgi           x86_64           2.0.18-4.el8              centos-openstack-xena           385 k
) |$ J8 Q+ u$ {! H. L8 A8 [Transaction Summary! h, n7 v5 n1 {& q, I+ T" e
==================================================================================================8 Y( x$ K8 V% G# {% L
Install  1 Package; ~( i9 @/ q  }% E  a' }4 @% E! l
Total download size: 385 k
; W7 E" E: V4 TInstalled size: 887 k! m7 x, Q3 a. s5 q: j
Downloading Packages:
" b  E  _. k' y& u% ^( \uwsgi-2.0.18-4.el8.x86_64.rpm                                     3.7 MB/s | 385 kB     00:00    ! V& Q8 q- t! C
--------------------------------------------------------------------------------------------------4 D, k9 D) u1 {: L9 U: T4 ?1 P
Total                                                             294 kB/s | 385 kB     00:01     
+ o3 M3 n2 T( c" C6 V7 Z+ dRunning transaction check
6 a! _# }4 I+ g4 R& y0 LTransaction check succeeded.
. y3 z1 t* D/ t1 YRunning transaction test
, T3 |9 b6 ?" ?6 W  pTransaction test succeeded.! O. y3 |5 N8 c8 C/ y4 Z5 V
Running transaction
% X5 M$ v0 h8 h1 z+ F6 I# m. V  Preparing        :                                                                          1/1
1 B9 y) u: s  p! x. h3 @3 S  Running scriptlet: uwsgi-2.0.18-4.el8.x86_64                                                1/1
, C$ l2 w/ E1 l. b* l9 _8 J  Installing       : uwsgi-2.0.18-4.el8.x86_64                                                1/1
! F4 u4 Q2 z. m2 |9 p( k: l1 x$ L: i9 y  Running scriptlet: uwsgi-2.0.18-4.el8.x86_64                                                1/1 * [) |  A4 j" M/ ?
Executing systemd post-install tasks
! p8 S  N3 b& j( j[/usr/lib/tmpfiles.d/rabbitmq-server.conf:1] Line references path below legacy directory /var/run/, updating /var/run/rabbitmq → /run/rabbitmq; please update the tmpfiles.d/ drop-in file accordingly.
6 e1 z( |2 @; }  Verifying        : uwsgi-2.0.18-4.el8.x86_64                                                1/1
- l3 |" I+ ?5 oInstalled:
8 _" p4 C4 s) g+ w  x0 z  uwsgi-2.0.18-4.el8.x86_64                                                                       6 a; |) \1 G5 r' j4 v4 U% a  M
Complete!2 A1 f6 o' P/ n" T0 x5 S

; a2 [7 n6 D5 K/ r- h5 m* v

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2022-5-28 22:11:01 | 显示全部楼层
2022-05-28 22:10:05,148 [60530] WARNING  oslo_config.cfg: Deprecated: Option "coordination_url" from group "storage" is deprecated. Use option "coordination_url" from group "DEFAULT".
. y2 u) `2 }7 W& T7 x; _2022-05-28 22:10:05,148 [60530] INFO     gnocchi.service: Gnocchi version 4.3.6
, z% r* C+ V2 \# [6 B% Q2022-05-28 22:10:05,161 [60530] WARNING  gnocchi.cli.api: No need to pass `--' in gnocchi-api command line anymore, please remove
/ b( i- C: f" O. D! m. E0 t# F0 A- Y9 D3 A% Q
上面的error已经不在报错:  a- H1 Q0 e; _9 ]" n  C4 B
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 02:04 , Processed in 0.018461 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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