[Openstack] python-openstackclient issue while executing congress commands
Srinivasa Rao Ragolu
sragolu at mvista.com
Fri Dec 5 05:44:51 UTC 2014
Hi All,
I have been trying to execute command line utility "openstack" to validate
congress api's
I am using python-openstackclient version 0.3.1 and latest master (congress
and congressclient) repos.
when I try "openstack" command, I face below issue.
===========================================================
root at controller:/usr/lib64/python2.7/site-packages# openstack
Traceback (most recent call last):
File "/usr/bin/openstack", line 6, in <module>
from openstackclient.shell import main
File "/usr/lib64/python2.7/site-packages/openstackclient/shell.py", line
29, in <module>
from openstackclient.common import clientmanager
File
"/usr/lib64/python2.7/site-packages/openstackclient/common/clientmanager.py",
line 197, in <module>
'openstack.cli.extension',
File
"/usr/lib64/python2.7/site-packages/openstackclient/common/clientmanager.py",
line 164, in get_plugin_modules
__import__(ep.module_name)
File "/usr/lib64/python2.7/site-packages/congressclient/__init__.py",
line 19, in <module>
'congressclient').version_string()
File "/usr/lib64/python2.7/site-packages/pbr/version.py", line 72, in
version_string
for part in self.release_string().split('.'):
File "/usr/lib64/python2.7/site-packages/pbr/version.py", line 64, in
release_string
self.release = self._get_version_from_pkg_resources()
File "/usr/lib64/python2.7/site-packages/pbr/version.py", line 57, in
_get_version_from_pkg_resources
return packaging.get_version(self.package)
File "/usr/lib64/python2.7/site-packages/pbr/packaging.py", line 863, in
get_version
version = _get_version_from_git(pre_version)
File "/usr/lib64/python2.7/site-packages/pbr/packaging.py", line 804, in
_get_version_from_git
git_dir = _get_git_directory()
File "/usr/lib64/python2.7/site-packages/pbr/packaging.py", line 224, in
_get_git_directory
return _run_shell_command(['git', 'rev-parse', '--git-dir'])
File "/usr/lib64/python2.7/site-packages/pbr/packaging.py", line 213, in
_run_shell_command
env=newenv)
File "/usr/lib64/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
=========================================================
Even if I upgrade python-openstackclient to 0.4.1 , same issue.
Could you please help me in identifying this issue?
Thanks and Regards,
Srinivas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141205/e340e3f5/attachment.html>
More information about the Openstack
mailing list