找回密码
 注册
查看: 707|回复: 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".
6 L0 x; u7 L6 ^" ^( d2022-05-28 22:06:47,483 [59346] INFO     gnocchi.service: Gnocchi version 4.3.6
! V$ G1 }5 N9 E/ l; w2022-05-28 22:06:47,495 [59346] WARNING  gnocchi.cli.api: No need to pass `--' in gnocchi-api command line anymore, please remove
( Z$ ]: C: I- n( ~, `( u2022-05-28 22:06:47,496 [59346] ERROR    gnocchi.cli.api: Unable to find `uwsgi'.. T4 ?! h: j: J3 O! s0 H& S
Be sure it is installed and in $PATH.8 ]" O( i" Q  D& u# s: W  q

/ L/ a2 l$ {1 C% j0 Q' p' V3 K; [8 N
解决办法就是安装uwsgi插件:2 ~5 x0 `9 \+ [- t
7 \. `' U3 Y) ]2 ?  R. V. Z9 E
[root@controller src]# dnf install -y uwsgi
) @. O  n& a; M' n5 ^Last metadata expiration check: 2:49:33 ago on Sat 28 May 2022 07:19:24 PM CST.
" T1 b! K4 N* k: ]Dependencies resolved.
0 N+ m8 J5 v0 b' k0 D& j$ j==================================================================================================
/ ]  c+ N5 t8 ?4 R0 o Package         Architecture     Version                   Repository                       Size3 l6 `; s4 K: q/ }6 _/ l7 k
==================================================================================================
) z$ ?* F7 C9 s) OInstalling:
2 _+ {  a% d# F uwsgi           x86_64           2.0.18-4.el8              centos-openstack-xena           385 k6 W5 K  P1 N. E- P
Transaction Summary4 ^' }6 S1 t; [* p  [+ q
==================================================================================================0 c. c0 W& w" {( K$ a" Y$ K
Install  1 Package
( a0 V5 h& f7 c: sTotal download size: 385 k
) L6 ^! i& d) y# s6 M2 b# @4 JInstalled size: 887 k* o+ M! U, L8 I+ G* e3 S6 `/ n
Downloading Packages:
( `7 H2 v) D* G! W. wuwsgi-2.0.18-4.el8.x86_64.rpm                                     3.7 MB/s | 385 kB     00:00   
# w5 Y: |$ r, s( z4 V) g--------------------------------------------------------------------------------------------------
1 a9 h9 k- D  w. G3 eTotal                                                             294 kB/s | 385 kB     00:01     
1 a+ f5 P# T0 z2 E" j% }  DRunning transaction check
* v  u# Z' i( cTransaction check succeeded.' I( x0 m/ c8 E: B; _8 P! M* K
Running transaction test! {* m0 a( b* M  p
Transaction test succeeded.
5 k5 _$ V# f( J4 v; t. q' f! G  g2 VRunning transaction
5 A0 H/ O; D/ B  `1 w  Preparing        :                                                                          1/1 + a8 X4 e7 D9 ]+ C- _) ^
  Running scriptlet: uwsgi-2.0.18-4.el8.x86_64                                                1/1 ( {7 p8 _; O5 ]: ^; v
  Installing       : uwsgi-2.0.18-4.el8.x86_64                                                1/1 , q3 V( K3 k; u0 w6 S+ ]' M
  Running scriptlet: uwsgi-2.0.18-4.el8.x86_64                                                1/1
/ M+ N' W$ n( K1 N( f( `% }Executing systemd post-install tasks3 n2 a  h3 O, r- K2 ^' D4 i
[/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.
. ^5 F2 Q! A/ A$ T% ?) D4 s  Verifying        : uwsgi-2.0.18-4.el8.x86_64                                                1/1
2 r2 A1 c3 E) IInstalled:
+ M. m7 Q- p* ]/ m  uwsgi-2.0.18-4.el8.x86_64                                                                       7 J/ _1 u6 I0 t; y: t
Complete!
6 m4 @! M6 ^% I: U* C
/ g" Z/ A+ Q1 J6 ^8 i8 n" a

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".1 S7 s# `9 w/ l4 |+ A
2022-05-28 22:10:05,148 [60530] INFO     gnocchi.service: Gnocchi version 4.3.6
2 t& Q2 f5 n! n" c2022-05-28 22:10:05,161 [60530] WARNING  gnocchi.cli.api: No need to pass `--' in gnocchi-api command line anymore, please remove
! d8 X& c  y" Z5 W1 q
0 x  U9 _% ?1 b: a" l/ ]/ h/ c上面的error已经不在报错:
% X4 m+ W2 @3 ?1 `
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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