RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1281920 - neutron-server will not start: fails with pbr version issue
Summary: neutron-server will not start: fails with pbr version issue
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: openstack-neutron
Version: Liberty
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: Liberty
Assignee: Jakub Libosvar
QA Contact: Ofer Blaut
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-13 19:56 UTC by David Moreau Simard
Modified: 2016-06-05 23:16 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-05 23:16:59 UTC
Embargoed:


Attachments (Terms of Use)
Debug information for neutron-server (7.42 KB, text/plain)
2015-11-13 19:56 UTC, David Moreau Simard
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Gerrithub.io 252334 0 None None None Never
Launchpad 1452515 0 None None None Never
OpenStack gerrit 192842 0 None None None Never

Description David Moreau Simard 2015-11-13 19:56:45 UTC
Created attachment 1093826 [details]
Debug information for neutron-server

neutron-server from the current liberty delorean repository fails to start.

Relevant information in the attachment.

Comment 1 Alan Pevec 2015-11-13 22:15:38 UTC
7.0.1-dev82 is definitely wrong, it should be 7.0.1+dev82
as described in https://github.com/openstack-packages/neutron/commit/96e89cddf4b2335c99ea73168768b5c8a54ed33e

Comment 2 Ihar Hrachyshka 2015-11-15 11:21:56 UTC
What's the pbr version you use to build the package? I can't reproduce it locally. Does it include 1c89d18b6beecade6b7c9007b324e8cf0f486e22 patch: https://review.openstack.org/#/c/141606/1 ?

Comment 3 David Moreau Simard 2015-11-15 20:34:26 UTC
@Ihar
This is reproducible with the current delorean repositories for liberty. You can see the output of the repolist in the attachment.

Here's an example job that exhibits this issue: https://prod-rdojenkins.rhcloud.com/view/RDO-Liberty-Trunk/job/khaleesi-pipeline-rdo-liberty-delorean-centos-7.0-packstack-all-in-one-neutron-ml2-vxlan-rabbitmq-enforcing-tempest-minimal/86/console

Comment 4 Jakub Libosvar 2015-11-16 17:27:49 UTC
I went through pbr code and it passes version [1] pkg_resources that replaces all non-alphanumeric characters into dashes [2]. Maybe the pbr SemVer description [3] is not correct. Is anyone aware of having + character in PBR_VERSION and correctly provided into PKG-INFO in other projects?

[1] https://github.com/openstack-dev/pbr/blob/master/pbr/packaging.py#L359
[2] https://bitbucket.org/pypa/setuptools/src/4ce518784af886e6977fa2dbe58359d0fe161d0d/pkg_resources/__init__.py?at=default&fileviewer=file-view-default#cl-1368
[3] http://docs.openstack.org/developer/pbr/semver.html#semantic-versioning-specification-semver

Comment 5 Alan Pevec 2015-11-16 17:31:07 UTC
Please file bug for PBR upstream, code MUST implement semver as specified in [3]

Comment 6 Alan Pevec 2015-11-16 19:43:36 UTC
Turns out this is a known issue in upstream PBR with two proposed competing fixes and no resolution yet :(

Comment 7 Mike McCune 2016-03-28 22:47:43 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 8 Assaf Muller 2016-06-05 23:16:59 UTC
This has since been fixed.


Note You need to log in before you can comment on or make changes to this bug.