Jump to: navigation, search

Difference between revisions of "Packaging/SUSE"

(SLE --> SUSE Linux Enterprise Server (not all SLE products))
(removed notes about not working python interpreter (it's working now) and updated several URLs for Folsom)
Line 7: Line 7:
 
Development packages (using snapshots from the git repositories) are located in the project [https://build.opensuse.org/project/show?project=isv%3AB1-Systems%3AOpenStack%3Adevel isv:B1-Systems:OpenStack:devel].
 
Development packages (using snapshots from the git repositories) are located in the project [https://build.opensuse.org/project/show?project=isv%3AB1-Systems%3AOpenStack%3Adevel isv:B1-Systems:OpenStack:devel].
  
Packages for the latest stable release (Essex) are available in the project [https://build.opensuse.org/project/show?project=isv:B1-Systems:OpenStack:release:Essex isv:B1-Systems:OpenStack:release:Essex].
+
Packages for the Essex release are available in the project [https://build.opensuse.org/project/show?project=isv:B1-Systems:OpenStack:release:Essex isv:B1-Systems:OpenStack:release:Essex].
 +
 
 +
Packages for the Folsom release (the latest stable one) are available in the project [https://build.opensuse.org/project/show?project=isv:B1-Systems:OpenStack:release:Folsom isv:B1-Systems:OpenStack:release:Folsom].
 +
 
 +
Packages for the latest stable Swift release are available in the project [https://build.opensuse.org/project/show?project=isv:B1-Systems:OpenStack:release:Swift isv:B1-Systems:OpenStack:release:Swift].
  
 
At the moment we provide packages for the following projects:
 
At the moment we provide packages for the following projects:
Line 17: Line 21:
 
* swift: [[OpenStack]] Object Storage
 
* swift: [[OpenStack]] Object Storage
 
* quantuum: [[OpenStack]] Virtual Network Service
 
* quantuum: [[OpenStack]] Virtual Network Service
* melange: [[OpenStack]] Network Information Service
+
* cinder: [[OpenStack]] Block Storage Service
  
 
This packaging work is thanks to the efforts of:
 
This packaging work is thanks to the efforts of:
Line 30: Line 34:
 
After adding our repositories like described here and running <code><nowiki>zypper ref</nowiki></code> you can find all openstack packages by searching for "openstack" (<code><nowiki>zypper search openstack</nowiki></code>)
 
After adding our repositories like described here and running <code><nowiki>zypper ref</nowiki></code> you can find all openstack packages by searching for "openstack" (<code><nowiki>zypper search openstack</nowiki></code>)
  
=== openSUSE 12.1 ===
+
=== openSUSE 12.2 ===
  
 
First you have to import several GPG public keys:
 
First you have to import several GPG public keys:
Line 36: Line 40:
  
 
<pre><nowiki>
 
<pre><nowiki>
rpm --import http://download.opensuse.org/repositories/isv:/B1-Systems:/OpenStack:/release:/Essex/openSUSE_12.1/repodata/repomd.xml.key
+
rpm --import http://download.opensuse.org/repositories/isv:/B1-Systems:/OpenStack:/release:/Folsom/openSUSE_12.2/repodata/repomd.xml.key
rpm --import http://download.opensuse.org/repositories/isv:/B1-Systems:/OpenStack:/release:/Essex:/requirements/openSUSE_12.1/repodata/repomd.xml.key
 
 
</nowiki></pre>
 
</nowiki></pre>
  
Line 45: Line 48:
  
 
<pre><nowiki>
 
<pre><nowiki>
zypper ar http://download.opensuse.org/repositories/isv:/B1-Systems:/OpenStack:/release:/Essex/openSUSE_12.1/isv:B1-Systems:OpenStack:release:Essex.repo
+
zypper ar http://download.opensuse.org/repositories/isv:/B1-Systems:/OpenStack:/release:/Folsom/openSUSE_12.1/isv:B1-Systems:OpenStack:release:Folsom.repo
zypper ar http://download.opensuse.org/repositories/isv:/B1-Systems:/OpenStack:/release:/Essex:/requirements/openSUSE_12.1/isv:B1-Systems:OpenStack:release:Essex:requirements.repo
 
 
</nowiki></pre>
 
</nowiki></pre>
  
Line 56: Line 58:
  
 
<pre><nowiki>
 
<pre><nowiki>
rpm --import http://download.opensuse.org/repositories/isv:/B1-Systems:/OpenStack:/release:/Essex/SLE_11_SP2/repodata/repomd.xml.key
+
rpm --import http://download.opensuse.org/repositories/isv:/B1-Systems:/OpenStack:/release:/Folsom/SLE_11_SP2/repodata/repomd.xml.key
rpm --import http://download.opensuse.org/repositories/isv:/B1-Systems:/OpenStack:/release:/Essex:/requirements/SLE_11_SP2/repodata/repomd.xml.key
 
 
</nowiki></pre>
 
</nowiki></pre>
  
Line 65: Line 66:
  
 
<pre><nowiki>
 
<pre><nowiki>
zypper ar http://download.opensuse.org/repositories/isv:/B1-Systems:/OpenStack:/release:/Essex/SLE_11_SP2/isv:B1-Systems:OpenStack:release:Essex.repo
+
zypper ar http://download.opensuse.org/repositories/isv:/B1-Systems:/OpenStack:/release:/Folsom/SLE_11_SP2/isv:B1-Systems:OpenStack:release:Folsom.repo
zypper ar http://download.opensuse.org/repositories/isv:/B1-Systems:/OpenStack:/release:/Essex:/requirements/SLE_11_SP2/isv:B1-Systems:OpenStack:release:Essex:requirements.repo
 
</nowiki></pre>
 
 
 
 
 
=== RabbitMQ ===
 
 
 
You can find an up to date version of RabbitMQ in the project "isv:B1-Systems:[[OpenStack]]:tools:rabbitmq" for SLES11 SP2 and openSUSE 12.1. Add the public GPG key and the repository on your queuing system this way:
 
 
 
==== openSUSE 12.1 ====
 
 
 
 
 
<pre><nowiki>
 
rpm --import http://download.opensuse.org/repositories/isv:/B1-Systems:/OpenStack:/tools:/rabbitmq/openSUSE_12.1/repodata/repomd.xml.key
 
zypper ar http://download.opensuse.org/repositories/isv:/B1-Systems:/OpenStack:/tools:/rabbitmq/openSUSE_12.1/isv:B1-Systems:OpenStack:tools:rabbitmq.repo
 
</nowiki></pre>
 
 
 
 
 
==== SLES11 SP2 ====
 
 
 
 
 
<pre><nowiki>
 
rpm --import http://download.opensuse.org/repositories/isv:/B1-Systems:/OpenStack:/tools:/rabbitmq/SLE_11_SP2/repodata/repomd.xml.key
 
zypper ar http://download.opensuse.org/repositories/isv:/B1-Systems:/OpenStack:/tools:/rabbitmq/SLE_11_SP2/isv:B1-Systems:OpenStack:tools:rabbitmq.repo
 
</nowiki></pre>
 
 
 
 
 
== Python @ SLES11 SP2 ==
 
 
 
NOTE: SUSE officially fixed the problem with the unicode keyword arguments and upgraded python from 2.6.0 to 2.6.8. You have to use at least the following versions of python and python-base to not run in problems while using [[OpenStack]] on SLES11 SP2.
 
 
 
* python-2.6.8-0.13.1
 
* python-base-2.6.8-0.13.1
 
 
 
For the problem with the ident of threads is a patch available: https://bugs.launchpad.net/nova/+bug/971629. It's included in our [[OpenStack]] packages.
 
 
 
To verify that your python interpreter on SLES11 SP2 is usable without problems you can simply run the follwing script. If you got an exception running the script apply the latest updates and check the versions of python and python-base.
 
 
 
 
 
<pre><nowiki>
 
#!/usr/bin/python
 
 
 
## vim: set syn=on ts=4 sw=4 sts=0 noet foldmethod=indent:
 
## purpose: check if python interpreter contains blocking issues for OpenStack
 
## copyright: B1 Systems GmbH <info@b1-systems.de>, 2012.
 
## license: GPLv3+, http://www.gnu.org/licenses/gpl-3.0.html
 
## author: Christian Berendt <berendt@b1-systems.de>, 2012.
 
 
 
print "test if keyword arguments with unicode keys are working without problems"
 
print "expected result: {u'key': 'value'}"
 
print
 
 
 
def testing(**kwargs):
 
    print kwargs
 
 
 
try:
 
    testing(**{u'key': 'value'})
 
except TypeError:
 
    print "ERROR: catched TypeError, keyword arguments with unicode keys are NOT working"
 
 
 
</nowiki></pre>
 
 
 
 
 
If everything is fine you should receive a similiar output:
 
 
 
 
 
<pre><nowiki>
 
test if keyword arguments with unicode keys are working without problems
 
expected result: {u'key': 'value'}
 
 
 
{u'key': 'value'}
 
</nowiki></pre>
 
 
 
 
 
If the issues are still there the output would look like this one:
 
 
 
 
 
<pre><nowiki>
 
test if keyword arguments with unicode keys are working without problems
 
expected result: {u'key': 'value'}
 
 
 
ERROR: catched TypeError, keyword arguments with unicode keys are NOT working
 
 
</nowiki></pre>
 
</nowiki></pre>

Revision as of 12:22, 18 October 2012

SUSE packaging

B1 Systems provides OpenStack packages for OpenSUSE and SUSE Linux Enterprise Server (SLES) through the openSUSE Build Service.

You can find all the packages in the subprojects from isv:B1-Systems:OpenStack.

Development packages (using snapshots from the git repositories) are located in the project isv:B1-Systems:OpenStack:devel.

Packages for the Essex release are available in the project isv:B1-Systems:OpenStack:release:Essex.

Packages for the Folsom release (the latest stable one) are available in the project isv:B1-Systems:OpenStack:release:Folsom.

Packages for the latest stable Swift release are available in the project isv:B1-Systems:OpenStack:release:Swift.

At the moment we provide packages for the following projects:

This packaging work is thanks to the efforts of:

Usage

After adding our repositories like described here and running zypper ref you can find all openstack packages by searching for "openstack" (zypper search openstack)

openSUSE 12.2

First you have to import several GPG public keys:


rpm --import http://download.opensuse.org/repositories/isv:/B1-Systems:/OpenStack:/release:/Folsom/openSUSE_12.2/repodata/repomd.xml.key


Then you can add the repositories using zypper:


zypper ar http://download.opensuse.org/repositories/isv:/B1-Systems:/OpenStack:/release:/Folsom/openSUSE_12.1/isv:B1-Systems:OpenStack:release:Folsom.repo


SLES11 SP2

First you have to import several GPG public keys:


rpm --import http://download.opensuse.org/repositories/isv:/B1-Systems:/OpenStack:/release:/Folsom/SLE_11_SP2/repodata/repomd.xml.key


Then you can add the repositories using zypper:


zypper ar http://download.opensuse.org/repositories/isv:/B1-Systems:/OpenStack:/release:/Folsom/SLE_11_SP2/isv:B1-Systems:OpenStack:release:Folsom.repo