Steps to reproduce:
1. Build linux image with murano-agent from master
2. Boot instance with built image
3. Run muranoagent
Actual result:
[ec2-user@murano-huzcfi0gha3755-dotpsi0gha0d03-wewsmq3et3jh ~]$ muranoagent --config-file /etc/murano/agent.conf
Traceback (most recent call last):
File "/usr/bin/muranoagent", line 10, in <module>
sys.exit(main())
File "/usr/lib/python2.7/site-packages/muranoagent/cmd/run.py", line 39, in main
config.parse_args()
File "/usr/lib/python2.7/site-packages/muranoagent/common/config.py", line 72, in parse_args
version_string = version.version_info.version_string()
File "/usr/lib/python2.7/site-packages/pbr/version.py", line 78, in version_string
for part in self.release_string().split('.'):
File "/usr/lib/python2.7/site-packages/pbr/version.py", line 70, in release_string
self.release = self._get_version_from_pkg_resources()
File "/usr/lib/python2.7/site-packages/pbr/version.py", line 62, in _get_version_from_pkg_resources
return packaging.get_version(self.package)
File "/usr/lib/python2.7/site-packages/pbr/packaging.py", line 870, in get_version
raise Exception("Versioning for this project requires either an sdist"
Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. Are you sure that git is installed?
murano-agent installation log in attachment
i had updated pip, setuptools and pbr and it resolved this problem