Openstack client can't load modules
Hi everyone, Openstack client installed on an Ubuntu 20.04 is showing these errors when I launch as non root user; indeed it is fine with sudo: Could not load 'metric_metric_create': module 'gnocchiclient.v1.metric_cli' has no attribute 'DeprecatedCliMetricCreate' Could not load 'metric_metric_delete': module 'gnocchiclient.v1.metric_cli' has no attribute 'DeprecatedCliMetricDelete' Could not load 'metric_metric_list': module 'gnocchiclient.v1.metric_cli' has no attribute 'DeprecatedCliMetricList' Could not load 'metric_metric_show': module 'gnocchiclient.v1.metric_cli' has no attribute 'DeprecatedCliMetricShow' I don't have noticed any bad behaviour using it, but I'm not sure. Any help? Thanks
Hello Cristina, Can you check which versions of gnocchiclient you have installed on your system, both as system packages (installed with apt) and installed via pip? It looks like you have entry points from gnocchiclient 7.0.5 or earlier referring to deprecated commands, and also a newer gnocchiclient package in which these commands have been removed. Best wishes, Pierre On Wed, 21 Oct 2020 at 12:44, Cristina Mayo <admin@gsic.uva.es> wrote:
Hi everyone,
Openstack client installed on an Ubuntu 20.04 is showing these errors when I launch as non root user; indeed it is fine with sudo: Could not load 'metric_metric_create': module 'gnocchiclient.v1.metric_cli' has no attribute 'DeprecatedCliMetricCreate' Could not load 'metric_metric_delete': module 'gnocchiclient.v1.metric_cli' has no attribute 'DeprecatedCliMetricDelete' Could not load 'metric_metric_list': module 'gnocchiclient.v1.metric_cli' has no attribute 'DeprecatedCliMetricList' Could not load 'metric_metric_show': module 'gnocchiclient.v1.metric_cli' has no attribute 'DeprecatedCliMetricShow'
I don't have noticed any bad behaviour using it, but I'm not sure. Any help?
Thanks
You are completely rigth, I have gnocchiclient 7.0.5 installed via apt and pip with sudo, and 7.0.7 in non root user installed via pip. This last version (7.0.7) is showing the "errors" about deprecated commands. I have rolled back to 7.0.5 and these messages have dissapeared. Thanks a lot! Regards --- El 21-10-2020 13:03, Pierre Riteau escribió:
Hello Cristina,
Can you check which versions of gnocchiclient you have installed on your system, both as system packages (installed with apt) and installed via pip? It looks like you have entry points from gnocchiclient 7.0.5 or earlier referring to deprecated commands, and also a newer gnocchiclient package in which these commands have been removed.
Best wishes, Pierre
On Wed, 21 Oct 2020 at 12:44, Cristina Mayo <admin@gsic.uva.es> wrote:
Hi everyone,
Openstack client installed on an Ubuntu 20.04 is showing these errors when I launch as non root user; indeed it is fine with sudo: Could not load 'metric_metric_create': module 'gnocchiclient.v1.metric_cli' has no attribute 'DeprecatedCliMetricCreate' Could not load 'metric_metric_delete': module 'gnocchiclient.v1.metric_cli' has no attribute 'DeprecatedCliMetricDelete' Could not load 'metric_metric_list': module 'gnocchiclient.v1.metric_cli' has no attribute 'DeprecatedCliMetricList' Could not load 'metric_metric_show': module 'gnocchiclient.v1.metric_cli' has no attribute 'DeprecatedCliMetricShow'
I don't have noticed any bad behaviour using it, but I'm not sure. Any help?
Thanks
participants (3)
-
Cristina Mayo
-
Cristina Mayo Sarmiento
-
Pierre Riteau