您好。我在linux的发行版之一UOS 1020a上碰到了同样的问题。报错完全一致。
最后发现,根据报错信息“open("/usr/lib64/uwsgi/python_plugin.so"): No such file or
directory”,发现我的/usr/lib64/uwsgi/目录下有python3_plugin.so,系统上已使用python3,而我们所使用的gnocchi仍在使用python2版本时的命名。修改vim
/usr/lib/python3.6/site-packages/gnocchi/cli/api.py的第93行的“python”为“python3”,解决了我碰到的问题。
92 args = [
93 "--if-not-plugin", "python", "--plugin", "python3", "--endif",
94 "--%s" % conf.api.uwsgi_mode, "%s:%d" % (
我的gnocchi版本如下。
[root@controller ~]# rpm -qa|grep gnocchi
gnocchi-api-4.3.4-1.uelc20.noarch
gnocchi-metricd-4.3.4-1.uelc20.noarch
python3-gnocchi-4.3.4-1.uelc20.noarch
gnocchi-common-4.3.4-1.uelc20.noarch
python3-gnocchiclient-7.0.4-1.uelc20.01.noarch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1879712
Title:
gnocchi-api fails upstream STEIN installation
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceilometer/+bug/1879712/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs