[Openstack-devel] Debian GNU/Linux and Ubuntu packages diff for quantum

Loic Dachary loic at enovance.com
Tue Jul 17 18:39:26 UTC 2012


Hi,

Here is a detailed analysis of the differences between the Debian GNU/Linux and Ubuntu package for quantum, based on the attached file. I'm cc'ing Chuck as he may be willing to comment.

The diff is between ubuntu pangolin version
to the latest debian version.
https://launchpad.net/ubuntu/+archive/primary/+files/quantum_2012.1-0ubuntu4.dsc

Difference against Quetzal is also mentioned below:
https://launchpad.net/ubuntu/+archive/primary/+files/quantum_2012.2~f2-0ubuntu1.dsc

Ubuntu and debian version of quantum package differ quite
significantly. Due to this the summary below is on a higher level
than the previous diff descriptions.

High level summary:
===================
 - .py files have different locations
 - Different dependencies
 - Differences in .init and .upstart files

Detailed summary below:
=======================

general
-------

Ubuntu provides quantum-common while this package is provided
by the package python-quantumclient instead.

Debian provides a quantum-plugin-sample package. Ubuntu does not.

Ubuntu provides quantum-plugin while debian does not. 

Debian provides quantum-plugin-linuxbridge. This only exist in
Quetzal.

Ubuntu Quetzal provides a debian/quantum_sudoers file that is installed
in /etc/sudoers.d/quantum_sudoers.

debian/compat
-------------
 unbuntu 8
 debian 7

debian/control
--------------
 - ubuntu has build dep on python-all-dev, python-coverage,
   and pep8 which debian is missing.
   Consider to add all or a few of them in the debian version.
 - In Quetzal (ubuntu) python-setuptools-git is added to
   Build-Depends-Indep.
 - ubuntu has: XS-Python-Version: >= 2.6
   debian has: X-Python-Version: >= 2.6
   
 - ubuntu states compliance to 3.9.2 while debian is on a later
   3.9.2.
   
 - The package descriptions differ. The debian version looks good but
   this can be debated.
 - The binary packages in debian depends on python-quantum while they
   do not in ubuntu.
 - The plugin packages contain the .py files in debian. In ubuntu all
   .py files are in the python-quantum package instead. This includes
   a replaces line that ubuntu does not have. It also includes a few
   dependency changes between plugin packages that will not be mentioned
   further.
 - quantum-server dependency differs:
   ubuntu: adduser
   debian: lsb-base, quantum-plugin-openvswitch | quantum-plugin,
           python-quantum
 - quantum-plugin-linuxbridge: Debian depend on bridge-utils, ubuntu
   does not. Ubuntu should change.

debian/copyright
----------------
 - Source location differs.
 - Copuright holders differ, most likely due to a change in debian
   version 2012.1~e2-3.

debian/*.8 and debian/*.manpages
--------------------------------
 - Debian provides a number of man page stubs. Ubuntu does not.

debian/patches/*
----------------
 - Debian provides the following that ubuntu does not:
   +fix_namespace.patch
   +sql_conn-registry.patch
   +init.patch

debian/*.docs *.install
-----------------------
 Quite a lot of differences. The overall summary is that .py files
 are located in plugin packages in debian, while ubuntu does not.
 This is a recent change in debian version. Some other minor things
 as well.

debian/quantum-plugin-linuxbridge-agent.init
debian/quantum-plugin-openvswitch-agent.init
debian/quantum-plugin-ryu-agent.init
--------------------------------------------
 - Debian provides this, ubuntu does not.

debian/quantum-server.upstart
-----------------------------
 - Ubuntu provides this, debian does not.

debian/quantum-server.postinst
------------------------------
 - Ubuntu create a quantum user and a quantum group. However it
   should probably create the group first.
 - Ubuntu changes the directory privileges to the quantum user
   for /var/log/quantum and /etc/quantum.
 - Ubuntu change dir permission for /var/log/quantum. 

debian/quantum-server.prerm
---------------------------
 - Ubuntu provide this file. Debian should do the same.

debian/rules
------------
 - Changes to install the .init files that debian does not have.
 - Fix in clean rule (last upload in debian) for clean rule in debian.

debian/watch
------------
 - Different locations. Ubuntu has one source, debian has two.

Cheers


-------------- next part --------------
A non-text attachment was scrubbed...
Name: quantum-ubuntu-debian-2012-07-15.diff
Type: text/x-diff
Size: 55536 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20120717/2af71538/attachment-0001.diff>


More information about the Openstack-devel mailing list