Home > Blogs > OpenStack Blog for VMware

Deploy OpenStack CLI Utilities for Managing Your Cloud

One question that has come up on the VMware Communities is, “How do I configure my desktop with the OpenStack CLI packages?”

Deploy The CLI Binaries

The community documentation has pretty good instructions on getting the various packages installed on Linux, Mac OS X, and even Windows. At a minimum, I recommend installing the following packages using pip:

  • python-novaclient
  • python-neutronclient
  • python-cinderclient
  • python-glanceclient
  • python-heatclient


sudo pip install python-novaclient

If you would like an automated method for deploying the CLI utilities, check out my openstack-client GitHub repo, which leverages Vagrant. I selected Ubuntu 15.04 as my operating system since it comes with Python version 2.7.9.  Ubuntu 14.04 and earlier versions come with older Python versions which generate an annoying, but superficial, InsecurePlatformWarning message when you use the CLI.

Start Consuming OpenStack

Once you have configured your selected platform with the OpenStack CLI tools, it’s time to connect to VMware Integrated OpenStack!

If you have a verified SSL certificate in your installation, you can move forward with the openrc file that you can download from the Horizon Dashboard (see Figure 1).

OpenStack openrc file for use with the CLI utilities

Figure 1: OpenStack openrc file download location

If your VIO installation still has a self-signed certificate, you will need to work with the VIO administrator to get a copy of the vio.pem file stored on the load balancer VMs (/etc/ssl/vio.pem). Then, add the following line to your openrc file:

export OS_CACERT=/your/path/vio.pem

Be sure to specify the correct path in your file.

Next, load the openrc file contents as environment variables using the source command (Windows users will need to create environment variables that correspond to the openrc file contents using the standard System Properties dialog). You will be prompted for your password. Then, you will be able to run commands like nova list, cinder list, etc.

Let us know if you have any questions about getting the OpenStack CLI utilities working on your desktop!

Interested in learning more about VIO? Check out the VMware Product Walkthrough site and the VMware Integrated OpenStack product page.

This entry was posted in OpenStack Consumption and tagged , , on by .
Trevor Roberts Jr.

About Trevor Roberts Jr.

Trevor Roberts, Jr. is the Senior Technical Marketing Manager for OpenStack at VMware and the lead author of the VMware Press title, “DevOps for VMware Administrators". He enjoys speaking to customers and partners about the benefits of using OpenStack with VMware technologies. In his spare time, Trevor shares his insights on data center technologies via the VMware Blogs and on Twitter (@VMTrooper). His contributions to the IT community have garnered recognition by his designation as a VMware vExpert, Cisco Data Center Champion, and EMC Elect.

Leave a Reply

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