易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 703|回复: 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".' |9 ?9 q8 M6 v. m$ {4 o9 G( N5 Z; H
2022-05-28 22:06:47,483 [59346] INFO     gnocchi.service: Gnocchi version 4.3.60 {+ J. a, ?* u  P6 U9 Y. L8 W
2022-05-28 22:06:47,495 [59346] WARNING  gnocchi.cli.api: No need to pass `--' in gnocchi-api command line anymore, please remove+ K+ x. Z  d/ q/ H+ A# @
2022-05-28 22:06:47,496 [59346] ERROR    gnocchi.cli.api: Unable to find `uwsgi'.  Y1 u: Q8 A) Q( n5 u" [- S# g
Be sure it is installed and in $PATH.  T& g6 J" f2 \$ G3 [, m0 ?- q% R9 C

* T# Q0 u1 v! b4 {
' ?: |! @! j( g6 @% L7 m解决办法就是安装uwsgi插件:4 H$ \+ p1 j% O7 Q, Z5 c. P( l; @: {
# X4 W* r7 z) E  V
[root@controller src]# dnf install -y uwsgi
; K7 j  h6 W( s# F& \( WLast metadata expiration check: 2:49:33 ago on Sat 28 May 2022 07:19:24 PM CST.
' S8 x/ {, h0 I3 V% I( YDependencies resolved.
8 F7 f" W8 a1 S4 P==================================================================================================
, w/ T2 ^7 {/ t/ X5 l* `* U Package         Architecture     Version                   Repository                       Size' l; u+ B3 V$ j0 g& _4 J# c
==================================================================================================% h+ W3 s7 N8 S9 z+ d! _9 i; u
Installing:
# j- H# ?& \7 P# ~9 v8 R uwsgi           x86_64           2.0.18-4.el8              centos-openstack-xena           385 k
  d4 c* y. y. Z; VTransaction Summary! B0 F- z  ~1 @; }% H
==================================================================================================
4 N! @% J, S# d5 p$ \) iInstall  1 Package/ Y( l0 ?5 e- a1 h+ f6 {: X
Total download size: 385 k
) O$ I3 j: }. J- z* e6 Z, MInstalled size: 887 k1 Q( e& z: c7 E6 u* m
Downloading Packages:
2 Z+ ?/ `5 F4 u- y$ h2 luwsgi-2.0.18-4.el8.x86_64.rpm                                     3.7 MB/s | 385 kB     00:00   
* t5 R/ K+ i) L5 O# x+ a& e3 a--------------------------------------------------------------------------------------------------
! h8 T6 _1 p1 o% @; x* f4 s$ |# lTotal                                                             294 kB/s | 385 kB     00:01     ; e& Y3 i' T2 o4 S4 C9 g
Running transaction check
. @- |1 I" V. e6 D( z' FTransaction check succeeded.
% j( w% Z3 w- h! Z- q" b! g- V+ w$ hRunning transaction test
5 u. {& }2 I$ \; ?( zTransaction test succeeded.* x! y; X0 i. U# N
Running transaction' b5 P8 v0 U* o# N) V
  Preparing        :                                                                          1/1 ; N* [) F/ c1 N0 I" |1 p4 `
  Running scriptlet: uwsgi-2.0.18-4.el8.x86_64                                                1/1 3 M  g6 W3 V$ Y, y& n
  Installing       : uwsgi-2.0.18-4.el8.x86_64                                                1/1 - U" R3 g8 _1 Y) N* s" k, M
  Running scriptlet: uwsgi-2.0.18-4.el8.x86_64                                                1/1 5 `6 s$ g% K; c
Executing systemd post-install tasks
' f7 l* v  q) ]( j, ~. C+ a[/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.
: e, c; A* k" d* p  Verifying        : uwsgi-2.0.18-4.el8.x86_64                                                1/1
  m. Y, q6 k6 B4 D( h9 W) w; ?9 n0 RInstalled:
$ N) b2 J6 [' n+ |, i# R, f  uwsgi-2.0.18-4.el8.x86_64                                                                       5 T1 c) @# O: X9 v& y- i( N) B/ ]$ N
Complete!9 J* V; Z3 I$ b( ]1 w2 a0 A3 d
5 l8 {* e6 y3 h$ j( |9 `
 楼主| 发表于 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".; \5 I# V- |6 x- |9 i8 f6 R0 O
2022-05-28 22:10:05,148 [60530] INFO     gnocchi.service: Gnocchi version 4.3.68 B$ N+ {! c# ^
2022-05-28 22:10:05,161 [60530] WARNING  gnocchi.cli.api: No need to pass `--' in gnocchi-api command line anymore, please remove
  v5 v3 k- L* D1 e& m  i- K! J: W% e( D1 s1 t
上面的error已经不在报错:
; v. E& k# R; T" R$ p: @: v
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

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

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )点击这里给我发消息

GMT+8, 2026-4-8 21:20 , Processed in 0.048677 second(s), 22 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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