Ask Your Question

python version for grizzly ?

asked 2013-06-11 19:38:22 -0500

bv_arvind gravatar image

I am trying to bringup grizzly in centos 6. However lot of packages are missing in python or require upgrade.I dont see anywhere the required python version to be >= 2.7 anywhere, so is it a good idea to keep adding the missing python packages or try to install 2.7 in centos.[Installing 2.7 or higher is proving to be difficult with centos 6 and I am not sure about the issues that may cause]. Has any one taken either of the approach and how is it working ?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-06-11 20:07:09 -0500

jaybuff gravatar image

Centos support in openstack isn't great, but it's getting better. I run nova, quantum, glance, keystone and horizon on RHEL 6.3 by creating a virtualenv via tox and then creating an rpm of the entire virtualenv. I use python 2.6 in the virtualenv, but 2.7 would probably work as well.

A couple of gotchas:

eventlet is an openstack dependency and the latest version on pypi (0.12.1) doesn't work on the centos 6. A patch to resolve this has been (committed) upstream but until 0.13 is released you're going to have issues related to "subprocess timeout"

Since centos 6 has a kernel older than 3.0, there is no network namespace support, so if you try to use quantum make sure you have use_namespaces = False in your dhcp_agent.ini config file.

You should checkout RDO. It's a fairly new effort by redhat to support easy openstack installs on redhat.

edit flag offensive delete link more


thanks Jaybuff. Here is how I understand the rpm creation.Please let me know if its right. In my build machine, under nova src, create the virtual environment. Prepare a src rpm for nova src now.

bv_arvind gravatar imagebv_arvind ( 2013-06-12 19:22:55 -0500 )edit

answered 2013-06-12 10:35:38 -0500

smkr gravatar image

updated 2013-06-12 10:38:29 -0500

On RedHat 6.4 I use Fedora EPEL.

Grab the RPMs from there and it will ask for all dependencies.

Keep an eye on RDO as suggested by jaybuff.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2013-06-11 19:38:22 -0500

Seen: 270 times

Last updated: Jun 12 '13