找回密码
 注册
查看: 706|回复: 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 U- j) T8 P# ~( r2 I* J2022-05-28 22:06:47,483 [59346] INFO     gnocchi.service: Gnocchi version 4.3.6# B+ z. X2 s' h4 ^$ V$ I
2022-05-28 22:06:47,495 [59346] WARNING  gnocchi.cli.api: No need to pass `--' in gnocchi-api command line anymore, please remove  _& m+ z1 o! ?  }3 ^+ V9 K6 H, \
2022-05-28 22:06:47,496 [59346] ERROR    gnocchi.cli.api: Unable to find `uwsgi'.
& L0 u% U% M+ M  q5 mBe sure it is installed and in $PATH.
7 o3 m- q; J5 p; s3 h4 D1 `# d4 ], A  G) n

% K2 j$ x, F% x解决办法就是安装uwsgi插件:
2 }* F' S. z; |; D$ `& }, b( s; @
1 _1 e) S8 |8 T0 C# m# E9 {[root@controller src]# dnf install -y uwsgi, m9 S1 e3 H, p7 L6 u/ A: `1 l
Last metadata expiration check: 2:49:33 ago on Sat 28 May 2022 07:19:24 PM CST.
0 t: x! t6 D. c8 E4 jDependencies resolved.
1 V9 v( a/ _( Z0 w  `* z==================================================================================================) p) h8 B- k- \( F6 `
Package         Architecture     Version                   Repository                       Size
' |+ R* ]  U% |% Y, H1 Q2 g==================================================================================================
5 R. j- |4 M2 J! l+ P/ T& nInstalling:
8 ~. g/ ]' s5 U' v$ Y uwsgi           x86_64           2.0.18-4.el8              centos-openstack-xena           385 k
6 q3 X; L3 X; @/ k& ^Transaction Summary
) j& K  X- J& v/ _==================================================================================================! ]) q+ p  D3 a, O% v; l
Install  1 Package
$ M( f8 L9 {% @$ }! UTotal download size: 385 k
( [7 \! Z- x) Z- C  y1 l0 oInstalled size: 887 k
6 ^& L: j, m( R/ |$ W5 J. j% _Downloading Packages:+ ~" e& ]% H$ k6 {" s9 C% k5 O
uwsgi-2.0.18-4.el8.x86_64.rpm                                     3.7 MB/s | 385 kB     00:00   
4 @! I, O$ I9 o8 G$ S" i7 ]6 S; x, b/ C--------------------------------------------------------------------------------------------------
) _: I) B% o* ~9 r' ]  g  W( TTotal                                                             294 kB/s | 385 kB     00:01     
- N! [- s  T8 k0 E8 o( i) U6 TRunning transaction check2 p* O* @+ ]. {; C
Transaction check succeeded.: z8 t: [. i3 C8 f$ o# l3 D
Running transaction test
! P7 d2 B4 W# r2 i2 v5 Z6 m: c+ M& VTransaction test succeeded.
6 v3 ]+ u5 s; n: r! NRunning transaction- z  {* B  V. d6 r. z: o
  Preparing        :                                                                          1/1
8 O% a) [7 `# t9 V% p  Running scriptlet: uwsgi-2.0.18-4.el8.x86_64                                                1/1
& T  [- Z% d" @% J7 M, r- p  v* {7 f  Installing       : uwsgi-2.0.18-4.el8.x86_64                                                1/1   Q# G% g! h. \$ U
  Running scriptlet: uwsgi-2.0.18-4.el8.x86_64                                                1/1 2 f3 }2 G, P- U$ U* H1 n
Executing systemd post-install tasks
9 s6 s8 z; Q: n$ u# Q1 V[/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.
/ \2 Y* i+ P  _& ^  Verifying        : uwsgi-2.0.18-4.el8.x86_64                                                1/1
+ j2 V% d/ U( f, t3 u3 SInstalled:
$ _" n2 y# Z3 @3 r  uwsgi-2.0.18-4.el8.x86_64                                                                       , v) B& \. E' T
Complete!
% m% y! Y2 |$ N0 \
) Q5 ^) _; V% o$ l

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".
$ U/ _4 d( a2 a8 W# y& }- l2022-05-28 22:10:05,148 [60530] INFO     gnocchi.service: Gnocchi version 4.3.6
2 e& s) x. r# ?, j; e8 r2022-05-28 22:10:05,161 [60530] WARNING  gnocchi.cli.api: No need to pass `--' in gnocchi-api command line anymore, please remove
6 D6 ?# [3 R, v, m$ r* r
1 x9 U5 H) j" I' f5 Y. Q上面的error已经不在报错:
* C1 f) B" y+ W# O& l, s
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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