Devstack fails on fedora21

Asked by Liran Schour

I run stack.sh on fedora21 and get the following error:

Installing OVN and dependent packages
Resolving Dependencies
--> Running transaction check
---> Package openvswitch.x86_64 0:2.3.2-1.fc21 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================================
 Package Arch Version Repository Size
=============================================================================================================================================================================================================
Removing:
 openvswitch x86_64 2.3.2-1.fc21 @updates 7.6 M

Transaction Summary
=============================================================================================================================================================================================================
Remove 1 Package

Installed size: 7.6 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Erasing : openvswitch-2.3.2-1.fc21.x86_64 1/1
  Verifying : openvswitch-2.3.2-1.fc21.x86_64 1/1

Removed:
  openvswitch.x86_64 0:2.3.2-1.fc21

Complete!
Version change for: ovs
Updated /opt/stack/networking-ovn/requirements.txt:
    ovs>=2.4.0.dev0;python_version -> ovs>=2.4.0.dev0;python_version=='2.7' # Apache-2.0
Obtaining file:///opt/stack/networking-ovn
    Complete output from command python setup.py egg_info:
    error in setup command: Invalid environment marker: (python_version=='2.7' # Apache-2.0)

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /opt/stack/networking-ovn
Error on exit
World dumping... see /opt/stack/logs/worlddump-2015-08-06-084212.txt for details

Seems like setuptools has problems with the marker # Apache-2.0
That is added during stack.sh to requirments.txt

Thanks.
- Liran

Question information

Language:
English Edit question
Status:
Answered
For:
networking-ovn Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Chandra Sekhar Vejendla (csvejend) said :
#1

I ran into the same issue and fixed it by making the following change to /opt/stack/networking-ovn/requirements.txt

-ovs>=2.4.0.dev0;python_version=='2.7' # Apache-2.0
+ovs>=2.4.0.dev0

Can you help with this problem?

Provide an answer of your own, or ask Liran Schour for more information if necessary.

To post a message you must log in.