易陆发现互联网技术论坛

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

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

[复制链接]
发表于 2022-5-28 22:07:42 | 显示全部楼层 |阅读模式

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

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

x
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".
. n1 S6 U. z0 F3 F2022-05-28 22:06:47,483 [59346] INFO     gnocchi.service: Gnocchi version 4.3.6( x; G! U3 z* e: Y9 C% _
2022-05-28 22:06:47,495 [59346] WARNING  gnocchi.cli.api: No need to pass `--' in gnocchi-api command line anymore, please remove  D6 X  V$ t3 o. ]6 e8 o
2022-05-28 22:06:47,496 [59346] ERROR    gnocchi.cli.api: Unable to find `uwsgi'.6 J# k8 Z( C4 C; {/ \! J
Be sure it is installed and in $PATH.( ~. @$ T6 {; U7 ]; l8 P6 X

; n  d1 {: n6 }2 \. u7 k8 H2 _, U$ A5 s
解决办法就是安装uwsgi插件:
2 s. I! r- O# a- G: G2 d
$ _8 Z$ A% x3 N, x7 w[root@controller src]# dnf install -y uwsgi' D: g: W8 T/ Z
Last metadata expiration check: 2:49:33 ago on Sat 28 May 2022 07:19:24 PM CST.+ i) T" |& y1 A
Dependencies resolved.
, V; G1 r  Z* Q==================================================================================================
8 L. N* g/ h6 ]' H/ }" k' b Package         Architecture     Version                   Repository                       Size% A! x: M8 k4 i- \- R
==================================================================================================" j# l) [: F0 @& E
Installing:/ G; ?0 z& g, D6 Q& m
uwsgi           x86_64           2.0.18-4.el8              centos-openstack-xena           385 k0 u0 s* P! m# b. B0 }! ?5 p- s- [3 q: P
Transaction Summary
4 n1 [% O; p) ]==================================================================================================
1 |3 A6 g# w9 ~; P* a' o$ k% RInstall  1 Package4 E. i( A8 h( f# J
Total download size: 385 k
! R5 l9 a7 a) k3 kInstalled size: 887 k
6 d! S; C3 M" l0 ?: kDownloading Packages:
5 v7 @5 }% |( X( o9 b0 o, Ruwsgi-2.0.18-4.el8.x86_64.rpm                                     3.7 MB/s | 385 kB     00:00   
! z$ E. N6 G' w2 g( v--------------------------------------------------------------------------------------------------6 z9 O# _' I3 |! `, [
Total                                                             294 kB/s | 385 kB     00:01     ' w/ {9 R+ }' n) q
Running transaction check
9 Q% n" Y; ^5 q4 D7 m% x4 eTransaction check succeeded.
, }3 r9 H/ g; k4 V2 F/ kRunning transaction test
2 e: q$ S( z, e; e; [5 T- fTransaction test succeeded.
5 _& ]9 z) k5 ZRunning transaction
% {# I3 t8 N4 `, u, I+ M/ l# v  Preparing        :                                                                          1/1
1 x8 v, S  j  Z( s2 r  Running scriptlet: uwsgi-2.0.18-4.el8.x86_64                                                1/1 . q# _3 z# t4 |* p5 Q
  Installing       : uwsgi-2.0.18-4.el8.x86_64                                                1/1 $ A% _/ G# v& Y
  Running scriptlet: uwsgi-2.0.18-4.el8.x86_64                                                1/1 " N0 F% _3 r% L# L# d5 u
Executing systemd post-install tasks
: q8 c5 [) P( `9 m0 n8 p2 s; F[/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.9 P7 P3 |1 v! {7 a3 R
  Verifying        : uwsgi-2.0.18-4.el8.x86_64                                                1/1
* Z0 `: F1 \4 K$ F$ m" i. g0 NInstalled:
' {2 w' `: y$ ?4 \3 H# ~% B9 ]  uwsgi-2.0.18-4.el8.x86_64                                                                       
( I/ S6 x# f- D/ v- CComplete!
! R0 g" z) S9 ^) M; C, C
7 _. W! i. o, n; t1 J3 U
 楼主| 发表于 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".
* c7 l* o7 j8 c( g( D3 H; b7 W2 Y2022-05-28 22:10:05,148 [60530] INFO     gnocchi.service: Gnocchi version 4.3.6; _& `* b9 R4 w: i: ^
2022-05-28 22:10:05,161 [60530] WARNING  gnocchi.cli.api: No need to pass `--' in gnocchi-api command line anymore, please remove
: W3 b% X9 k1 ]- D& V/ y6 _0 _* B1 f  X7 L$ Q% O2 }
上面的error已经不在报错:
$ T' j9 W' Y  N+ B3 T2 l0 R, I
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

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

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

GMT+8, 2026-4-8 15:28 , Processed in 0.039064 second(s), 22 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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