Bug 1286817 - using neutron with ovs native depends on ryu and it's not installed by openstack-neutron
Summary: using neutron with ovs native depends on ryu and it's not installed by openst...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ga
: 8.0 (Liberty)
Assignee: Ihar Hrachyshka
QA Contact: Ofer Blaut
URL:
Whiteboard:
Depends On: 1287120
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-30 19:15 UTC by Arie Bregman
Modified: 2016-04-26 18:36 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-07 14:31:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Arie Bregman 2015-11-30 19:15:37 UTC
Description of problem:
Since Liberty/RHOS-8, ovs agent can use native interface which using Ryu.
But Ryu is not part of openstack-neutron dependencies and it isn't installed by it, which leads to errors when using ovs native.
 
Version-Release number of selected component (if applicable): 8.0

Steps to Reproduce:
1. install openstack-neutron
2. clone neutron repo
3. cd neutron && truncate --size 0 requirements.txt && truncate --size 0 test-requirements.txt;
6. tox --sitepackages -e dsvm-functional neutron.tests.functional.agent.test_ovs_flows.ARPSpoofNativeTestCase.test_arp_spoof_blocks_request(vsctl)

Actual results:
from ryu.base import app_manager,
ImportError: No module named ryu.base

Expected results:
test ran successfully :)

Comment 2 Ihar Hrachyshka 2015-12-01 13:11:36 UTC
python-ryu package is not included in Fedora repos. There is a COPR with the package from Arie: http://copr-dist-git.fedorainfracloud.org/cgit/abregman/el7-rhos8-test-deps/python-ryu.git/tree/python-ryu.spec

Comment 3 Ihar Hrachyshka 2015-12-02 14:41:15 UTC
Fedora review for the package: https://bugzilla.redhat.com/show_bug.cgi?id=1287120

Comment 4 Assaf Muller 2015-12-15 17:56:13 UTC
About blocker flag, the native ovsdb implementation is not turned on by default (The CLI one is). I'm not sure if the criteria for blocker bugs includes issues with non-default features?

Comment 5 Nir Yechiel 2015-12-16 09:32:09 UTC
(In reply to Assaf Muller from comment #4)
> About blocker flag, the native ovsdb implementation is not turned on by
> default (The CLI one is). I'm not sure if the criteria for blocker bugs
> includes issues with non-default features?

Agree. We should still target this for GA though, and make sure to document this in case it doesn't make it on time.

Comment 6 Arie Bregman 2016-01-07 14:31:18 UTC
Package available and added as a requirement in openstack-neutron spec.

https://review.gerrithub.io/#/c/256223


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