易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 708|回复: 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 s" e8 q& B. ^
2022-05-28 22:06:47,483 [59346] INFO     gnocchi.service: Gnocchi version 4.3.6
" k0 N; [' ~/ `7 _2022-05-28 22:06:47,495 [59346] WARNING  gnocchi.cli.api: No need to pass `--' in gnocchi-api command line anymore, please remove
; m4 k  g1 {1 r2 z+ T2022-05-28 22:06:47,496 [59346] ERROR    gnocchi.cli.api: Unable to find `uwsgi'.
1 e( y+ D% P/ `  c9 [Be sure it is installed and in $PATH.
' Y# S/ U3 }" T5 z& B! U$ d. p' w# t9 v$ H' T5 D
/ n7 o4 i# b: C* e* @
解决办法就是安装uwsgi插件:
* x* r9 N) A& l5 d  R8 K( [7 e' W) f
[root@controller src]# dnf install -y uwsgi
+ \' p5 S% a# k" y5 pLast metadata expiration check: 2:49:33 ago on Sat 28 May 2022 07:19:24 PM CST.7 e- M. g+ x  m# `& H6 f
Dependencies resolved.1 k% c! z; w. p# t% h& r6 d
==================================================================================================
3 i) n  o4 U+ J Package         Architecture     Version                   Repository                       Size
" e1 d, v' {. v2 x+ N==================================================================================================
# R- I# E! ^( @, g& l3 {7 iInstalling:
" [; ]8 a; t5 K. W uwsgi           x86_64           2.0.18-4.el8              centos-openstack-xena           385 k; ^! @9 ~2 c" i& D; F# x/ `' ~2 J7 [
Transaction Summary2 Z0 t9 g" t  g! l
==================================================================================================
: Q1 E- |) X' e7 FInstall  1 Package
+ |  y* b, W# gTotal download size: 385 k, K9 D' K2 T" {, y+ F* A
Installed size: 887 k
: x: v& N* i5 l+ s) {3 n) WDownloading Packages:- ^' O+ Y; o+ |
uwsgi-2.0.18-4.el8.x86_64.rpm                                     3.7 MB/s | 385 kB     00:00    # Z+ E: O& w6 q8 Y; L
--------------------------------------------------------------------------------------------------
! c( z( h: N8 [Total                                                             294 kB/s | 385 kB     00:01     
( H  z# G) ^5 QRunning transaction check0 C3 s  Q) ?0 k4 O+ `2 q1 B
Transaction check succeeded.+ Z) d  H. x0 `6 I
Running transaction test
7 x: B5 H! r# E8 i" E7 {; ~  j" XTransaction test succeeded.
" X. P3 z2 O$ x; ?- p6 o4 CRunning transaction: F" W5 m3 f3 [' [* E6 y# e5 K3 e: D
  Preparing        :                                                                          1/1 ' S, R; P7 p# d. v9 b8 F
  Running scriptlet: uwsgi-2.0.18-4.el8.x86_64                                                1/1
  E; Y! G7 @1 ]# N' a, g  Installing       : uwsgi-2.0.18-4.el8.x86_64                                                1/1
! `' T( U2 e3 [# w6 M7 W4 y  Running scriptlet: uwsgi-2.0.18-4.el8.x86_64                                                1/1 ) W: G# o) L( V/ i( ]9 G/ Q
Executing systemd post-install tasks/ G8 x' p9 i, p4 G3 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.* q9 c2 [1 U/ R
  Verifying        : uwsgi-2.0.18-4.el8.x86_64                                                1/1
6 @, x- d  e6 T7 ZInstalled:% r* Y/ Y: ?( u9 B2 S; q
  uwsgi-2.0.18-4.el8.x86_64                                                                       
7 @6 J8 q1 h5 ~+ M" CComplete!( F0 v8 R: L6 Q5 g" s6 W
: R, I8 v' a9 q; z
 楼主| 发表于 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".
. c6 y& C* H% L' h. E" A' P' m2022-05-28 22:10:05,148 [60530] INFO     gnocchi.service: Gnocchi version 4.3.6
! P2 s& j/ A$ R2022-05-28 22:10:05,161 [60530] WARNING  gnocchi.cli.api: No need to pass `--' in gnocchi-api command line anymore, please remove
4 x- \1 f. q  i1 [. b. G
% z. U/ F) W0 {! B9 E3 K上面的error已经不在报错:3 T+ N. z; Q: H& k, i+ B
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

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

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

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

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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