<tt><font size=2>Looks like it might be mis-match between the installed
pbr and the one you</font></tt>
<br><tt><font size=2>might have cloned?</font></tt>
<br>
<br><tt><font size=2>From where and how are you installing python-openstackclient?
You could</font></tt>
<br><tt><font size=2>try uninstalling it cloning it from master (a new
version was just released,</font></tt>
<br><tt><font size=2>so you'd be close to a new version).</font></tt>
<br>
<br><tt><font size=2>Steve</font></tt>
<br>
<br><tt><font size=2>Srinivasa Rao Ragolu <sragolu@mvista.com> wrote
on 12/05/2014 12:44:51 AM:<br>
<br>
> From: Srinivasa Rao Ragolu <sragolu@mvista.com></font></tt>
<br><tt><font size=2>> To: openstack@lists.openstack.org</font></tt>
<br><tt><font size=2>> Date: 12/05/2014 01:04 AM</font></tt>
<br><tt><font size=2>> Subject: [Openstack] python-openstackclient issue
while executing <br>
> congress commands</font></tt>
<br><tt><font size=2>> <br>
> Hi All,</font></tt>
<br><tt><font size=2>> <br>
> I have been trying to execute command line utility "openstack"
to <br>
> validate congress api's</font></tt>
<br><tt><font size=2>> <br>
> I am using python-openstackclient version 0.3.1 and latest master
<br>
> (congress and congressclient) repos.</font></tt>
<br><tt><font size=2>> <br>
> when I try "openstack" command, I face below issue.</font></tt>
<br><tt><font size=2>> ===========================================================</font></tt>
<br><tt><font size=2>> root@controller:/usr/lib64/python2.7/site-packages#
openstack</font></tt>
<br><tt><font size=2>> Traceback (most recent call last):</font></tt>
<br><tt><font size=2>> File "/usr/bin/openstack", line
6, in <module></font></tt>
<br><tt><font size=2>> from openstackclient.shell import
main</font></tt>
<br><tt><font size=2>> File "/usr/lib64/python2.7/site-packages/openstackclient/<br>
> shell.py", line 29, in <module></font></tt>
<br><tt><font size=2>> from openstackclient.common import
clientmanager</font></tt>
<br><tt><font size=2>> File "/usr/lib64/python2.7/site-packages/openstackclient/common/<br>
> clientmanager.py", line 197, in <module></font></tt>
<br><tt><font size=2>> 'openstack.cli.extension',</font></tt>
<br><tt><font size=2>> File "/usr/lib64/python2.7/site-packages/openstackclient/common/<br>
> clientmanager.py", line 164, in get_plugin_modules</font></tt>
<br><tt><font size=2>> __import__(ep.module_name)</font></tt>
<br><tt><font size=2>> File "/usr/lib64/python2.7/site-packages/congressclient/<br>
> __init__.py", line 19, in <module></font></tt>
<br><tt><font size=2>> 'congressclient').version_string()</font></tt>
<br><tt><font size=2>> File "/usr/lib64/python2.7/site-packages/pbr/version.py",
line 72,<br>
> in version_string</font></tt>
<br><tt><font size=2>> for part in self.release_string().split('.'):</font></tt>
<br><tt><font size=2>> File "/usr/lib64/python2.7/site-packages/pbr/version.py",
line 64,<br>
> in release_string</font></tt>
<br><tt><font size=2>> self.release = self._get_version_from_pkg_resources()</font></tt>
<br><tt><font size=2>> File "/usr/lib64/python2.7/site-packages/pbr/version.py",
line 57,<br>
> in _get_version_from_pkg_resources</font></tt>
<br><tt><font size=2>> return packaging.get_version(self.package)</font></tt>
<br><tt><font size=2>> File "/usr/lib64/python2.7/site-packages/pbr/packaging.py",
line <br>
> 863, in get_version</font></tt>
<br><tt><font size=2>> version = _get_version_from_git(pre_version)</font></tt>
<br><tt><font size=2>> File "/usr/lib64/python2.7/site-packages/pbr/packaging.py",
line <br>
> 804, in _get_version_from_git</font></tt>
<br><tt><font size=2>> git_dir = _get_git_directory()</font></tt>
<br><tt><font size=2>> File "/usr/lib64/python2.7/site-packages/pbr/packaging.py",
line <br>
> 224, in _get_git_directory</font></tt>
<br><tt><font size=2>> return _run_shell_command(['git',
'rev-parse', '--git-dir'])</font></tt>
<br><tt><font size=2>> File "/usr/lib64/python2.7/site-packages/pbr/packaging.py",
line <br>
> 213, in _run_shell_command</font></tt>
<br><tt><font size=2>> env=newenv)</font></tt>
<br><tt><font size=2>> File "/usr/lib64/python2.7/subprocess.py",
line 679, in __init__</font></tt>
<br><tt><font size=2>> errread, errwrite)</font></tt>
<br><tt><font size=2>> File "/usr/lib64/python2.7/subprocess.py",
line 1249, in _execute_child</font></tt>
<br><tt><font size=2>> raise child_exception</font></tt>
<br><tt><font size=2>> OSError: [Errno 2] No such file or directory</font></tt>
<br><tt><font size=2>> =========================================================</font></tt>
<br><tt><font size=2>> Even if I upgrade python-openstackclient to 0.4.1
, same issue.</font></tt>
<br><tt><font size=2>> <br>
> Could you please help me in identifying this issue?</font></tt>
<br><tt><font size=2>> <br>
> Thanks and Regards,</font></tt>
<br><tt><font size=2>> Srinivas._______________________________________________<br>
> Mailing list: </font></tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack"><tt><font size=2>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</font></tt></a><tt><font size=2><br>
> Post to : openstack@lists.openstack.org<br>
> Unsubscribe : </font></tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack"><tt><font size=2>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</font></tt></a><tt><font size=2><br>
</font></tt>