bareon cli fails with versioning parsing error

Bug #1535728 reported by Evgeniy L
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bareon
Fix Released
Critical
Evgeniy L

Bug Description

(venv)vagrant@vagrant-ubuntu-trusty-64:/vagrant$ bareon-partition
Traceback (most recent call last):
  File "/venv/bin/bareon-partition", line 10, in <module>
    sys.exit(partition())
  File "/bareon/bareon/cmd/agent.py", line 47, in partition
    main(['do_partitioning'])
  File "/bareon/bareon/cmd/agent.py", line 85, in main
    version=version.version_info.release_string())
  File "/venv/local/lib/python2.7/site-packages/pbr/version.py", line 447, in release_string
    return self.semantic_version().release_string()
  File "/venv/local/lib/python2.7/site-packages/pbr/version.py", line 452, in semantic_version
    self._semantic = self._get_version_from_pkg_resources()
  File "/venv/local/lib/python2.7/site-packages/pbr/version.py", line 440, in _get_version_from_pkg_resources
    return SemanticVersion.from_pip_string(result_string)
  File "/venv/local/lib/python2.7/site-packages/pbr/version.py", line 208, in from_pip_string
    dev_count = int(component[3:])
ValueError: invalid literal for int() with base 10: ''

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to bareon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/269630

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to bareon (master)

Reviewed: https://review.openstack.org/269630
Committed: https://git.openstack.org/cgit/openstack/bareon/commit/?id=4c844e95846438be801a5287c70abcf0fa1fc2c2
Submitter: Jenkins
Branch: master

commit 4c844e95846438be801a5287c70abcf0fa1fc2c2
Author: Evgeniy L <email address hidden>
Date: Tue Jan 19 16:39:25 2016 +0300

    Accoding to pbr doc development version should have numeric postfix

    Pbr documentation of versioning:
    http://docs.openstack.org/developer/pbr/semver.html

    Change-Id: I5c57b0b45a5ae0adc5460caa9e1065dc6e2787ae
    Closes-bug: #1535728

Changed in bareon:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.