[MIR] ryu
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | ryu (Ubuntu) |
High
|
Unassigned | ||
Bug Description
[MIR] ryu (specifically python-ryu)
[Availability]
Currently in universe.
[Rationale]
Dependency for Openstack Neutron in Liberty.
[Security]
No security history
[Quality Assurance]
Package works out of the box with no prompting. There are no major bugs in Ubuntu and there are no major bugs in Debian. Unit tests are run during build (in recently uploaded version 3.24-1ubuntu1).
[Dependencies]
All are in main
[Standards Compliance]
FHS and Debian Policy compliant.
[Maintenance]
Python package that the Ubuntu Server Team will take care of.
[Background]
Ryu is a component-based software defined networking framework.
Ryu provides software components with well defined API that make it
easy for developers to create new network management and control
applications. Ryu supports various protocols for managing network
devices, such as OpenFlow, Netconf, OF-config, etc. About OpenFlow,
Ryu supports fully 1.0, 1.2, 1.3, 1.4 and Nicira Extensions.
All of the code is freely available under the Apache 2.0 license. Ryu
is fully written in Python.
| affects: | ubuntu → ryu (Ubuntu) |
| Changed in ryu (Ubuntu): | |
| importance: | Undecided → High |
| milestone: | none → ubuntu-15.09 |
| Matthias Klose (doko) wrote : | #2 |
- the packaging itself looks ok
- I think we should not accept new python modules in main
which are not already packaged for python3. According to
the upstream sources, the packages is ready for python3.4.
- ryu-bin should use python3.
- The ryu-bin package starts a service as root, and doesn't
seem to drop privileges, and is accessing the network.
The MIR misses the security checks mentioned in the
MIR requirements.
| Changed in ryu (Ubuntu): | |
| status: | New → Incomplete |
| James Page (james-page) wrote : | #3 |
I'm proposing to address the py3 support next cycle; formencode needs a version bump and I don't want to take the risk this late in cycle.
Re the ryu-bin package starting a service as root - looking at that now.
| James Page (james-page) wrote : | #4 |
For the purposes of the MIR, only python-ryu is required in main (neutron uses its openflow features to directly configure openvswitch).
| description: | updated |
| James Page (james-page) wrote : | #5 |
Further context:
http://
This dependency supports an alternative openvswitch driver implementation; its not the default (that remains as is).
| Changed in ryu (Ubuntu): | |
| status: | Incomplete → New |
| James Page (james-page) wrote : | #6 |
Query on IRC re scope of review:
<jamespage> jdstrand, doko: re our later MIR of ryu - https:/
<ubottu> Launchpad bug 1500950 in ryu (Ubuntu) "[MIR] ryu" [High,Incomplete]
<jamespage> openstack neutron is using the python-ryu ofprotocol library to communicate with openvswitch
which is the bit we need this cycle to support liberty - not the agent process provided by ryu-bin; can we constrain the MIR review on that basis?
promoting python-ryu to main only this cycle
| James Page (james-page) wrote : | #7 |
Deferring for wily, we can patch out the ryu dep for this cycle.
| Changed in ryu (Ubuntu): | |
| status: | New → Incomplete |
| milestone: | ubuntu-15.09 → later |
| Corey Bryant (corey.bryant) wrote : | #8 |
Opening this bug back up because python-ryu is no longer optional for Neutron in OpenStack Newton.
| Changed in ryu (Ubuntu): | |
| status: | Incomplete → New |
| milestone: | later → none |
| James Page (james-page) wrote : | #9 |
Default openflow driver for neutron-
| Changed in ryu (Ubuntu): | |
| status: | New → Confirmed |
| Changed in ryu (Ubuntu): | |
| status: | Confirmed → New |
| Michael Terry (mterry) wrote : | #10 |
Doko, you looked at this before, assigning back to you.
| Changed in ryu (Ubuntu): | |
| assignee: | nobody → Matthias Klose (doko) |
| James Page (james-page) wrote : | #11 |
Looking back, I need to sortout the py3 support as well.
| James Page (james-page) wrote : | #12 |
Hmm - not quite:
Installing ryu-manager script to /<<BUILDDIR>
Installing ryu script to /<<BUILDDIR>
File "/usr/lib/
except error.Error, e:
SyntaxError: invalid syntax
File "/usr/lib/
except UnicodeDecodeError, e:
SyntaxError: invalid syntax
File "/usr/lib/
def open_block((error, stream)):
SyntaxError: invalid syntax
File "/usr/lib/
except OSError, e:
^
SyntaxError: invalid syntax
File "/usr/lib/
except socket.error, e:
SyntaxError: invalid syntax
File "/usr/lib/
except IOError, e:
^
SyntaxError: invalid syntax
File "/usr/lib/
except select.error, e:
SyntaxError: invalid syntax
File "/usr/lib/
except error.Error, e:
SyntaxError: invalid syntax
| James Page (james-page) wrote : | #13 |
ryu updated to test and build python3-ryu; ryu-bin prefers 3 over 2 for a new install.
I'll submit that back to Debian; note that version 4.4 is in experimental, however that has know incompatibilities with OpenStack, so I'll wait for the 4.5 release before re-syncing with the latest.
| James Page (james-page) wrote : | #14 |
I've also addressed the concern about the daemon running as root; now runs as 'ryu' user instead. The daemon is an SDN controller - it does not effect state change on the local machine, so no need to run as root.
| James Page (james-page) wrote : | #15 |
This MIR was been ready for review for the last month, and is currently blocking the second b2 milestone of neutron in Yakkety - any ETA for when it might get reviewed?
b3 is next week - would be nice to be able to test on 16.10 again.
| Michael Terry (mterry) wrote : | #16 |
Looks OK to me now.
Archive admins: please only promote python-ryu. We don't want ryu-bin in yet (hasn't had a security check and isn't needed yet).
| Changed in ryu (Ubuntu): | |
| assignee: | Matthias Klose (doko) → nobody |
| status: | New → Fix Committed |
| James Page (james-page) wrote : | #17 |
Thankyou Michael!
| Matthias Klose (doko) wrote : | #18 |
Override component to main
ryu 3.30+dfsg1-3ubuntu1 in yakkety: universe/misc -> main
1 publication overridden.
Override component to main
python-ryu 3.30+dfsg1-3ubuntu1 in yakkety amd64: universe/
python-ryu 3.30+dfsg1-3ubuntu1 in yakkety arm64: universe/
python-ryu 3.30+dfsg1-3ubuntu1 in yakkety armhf: universe/
python-ryu 3.30+dfsg1-3ubuntu1 in yakkety i386: universe/
python-ryu 3.30+dfsg1-3ubuntu1 in yakkety powerpc: universe/
python-ryu 3.30+dfsg1-3ubuntu1 in yakkety ppc64el: universe/
python-ryu 3.30+dfsg1-3ubuntu1 in yakkety s390x: universe/
7 publications overridden.
| Changed in ryu (Ubuntu): | |
| status: | Fix Committed → Fix Released |


Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1500950/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]