Install OpenStack Command Line Tools Mac OSX

Howto Install the OpenStack Command Line Tools on Mac OSX

Install home brew from

Install Python with brew

Install OpenStack Stuff

ruby -e "$(curl -fsSL"
brew install python
pip install python-novaclient
brew install pkg-config libffi
export PKG_CONFIG_PATH=/usr/local/Cellar/libffi/3.0.13/lib/pkgconfig/
pip install cffi
pip install python-glanceclient
pip install python-neutronclient
pip install python-heatclient

Download openrc file from openstack dashboard

https://<openstack url> > Projects > Access and Security > API Access > Download Openstack RC file
Run this file, or add a bash function to your .bashrc or .bash_profile depending on what approach you took you’ll need to source whatever file you used. .bashrc .bash_profile

Test command line tools

source ~/.bashrc
nova list
glance image-list
keystone user-list
neutron net-list

Leave a Reply

Your email address will not be published. Required fields are marked *