PBR

Comment 11 for bug 1453996

Revision history for this message
Maksim Malchuk (mmalchuk) wrote :

the same issue with OSA 17.1.6 and 17.1.17:

ERROR:root:Error parsing
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/pbr/core.py", line 111, in pbr
    attrs = util.cfg_to_args(path, dist.script_args)
  File "/usr/local/lib/python2.7/dist-packages/pbr/util.py", line 249, in cfg_to_args
    pbr.hooks.setup_hook(config)
  File "/usr/local/lib/python2.7/dist-packages/pbr/hooks/__init__.py", line 25, in setup_hook
    metadata_config.run()
  File "/usr/local/lib/python2.7/dist-packages/pbr/hooks/base.py", line 27, in run
    self.hook()
  File "/usr/local/lib/python2.7/dist-packages/pbr/hooks/metadata.py", line 26, in hook
    self.config['name'], self.config.get('version', None))
  File "/usr/local/lib/python2.7/dist-packages/pbr/packaging.py", line 740, in get_version
    version = _get_version_from_git(pre_version)
  File "/usr/local/lib/python2.7/dist-packages/pbr/packaging.py", line 680, in _get_version_from_git
    result = _get_version_from_git_target(git_dir, target_version)
  File "/usr/local/lib/python2.7/dist-packages/pbr/packaging.py", line 642, in _get_version_from_git_target
    dict(new=new_version, target=target_version))
ValueError: git history requires a target version of pbr.version.SemanticVersion(3.10.1), but target version is pbr.version.SemanticVersion(3.9.3)
error in setup command: Error parsing /tmp/openstack-builder/networking-calico/setup.cfg: ValueError: git history requires a target version of pbr.version.SemanticVersion(3.10.1), but target version is pbr.version.SemanticVersion(3.9.3)

checkout back one commit helps with OSA deploy