Home > openstack, Unix > Verifying python package requirements for OpenStack Services

Verifying python package requirements for OpenStack Services

Each OpenStack service (e.g. keystone, swift, nova) has specific python package requirements. Messing up with versions of these packages and/or version may kill one of your beautiful days. Before it kills yourself, help yourself.

 

Each OpenStack service has a listing of required packages and its  minimum and maximum supported version. For example, to see what package and its version are required for OpenStack Swift service go to Swift Installed directory (in my case /opt/stack/swift) and cat the requirement.txt file.

 

Screenshot 2015-12-07 16.29.07

Additionally, to check installed python packages follow the command

pip list  # show all installed packages.

pip list | grep greenlet # show version of installed greenlet package

Now, if you have a wrong version of greenlet installed, uninstall the current greenlet and install the correct one.

 

#uninstall current greenlet

sudo pip uninstall greenlet  # remove current greenlet

# install greenlet as per version shown in requirement.txt file.

sudo pip install==0.3.1

Advertisements
Categories: openstack, Unix
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: