Even though, there are ton of instructions on the Internet on how to configure DevStack environment on Ubuntu 14.0.4 LTS. I have to admit that it took me several tries and many hours to troubleshoot my environment until I finally got the hang of it and to truly understand what was going on.

Since this is simply a test environment and I want to keep things very simple, I am going to use the same interface for all of OpenStack networks. In this blog post you will find a straightforward instruction on how to quickly setup OpenStack environment via DevStack. Once the OpenStack environment is up and running, I will show you how to quickly install and integrate with the IBM UrbanCode Deploy with Patterns so, that you can quickly:

“Stand up continuous delivery pipeline environment for new applications

Provision short-lived testing sandboxes for specific infrastructure

Promote infrastructure changes through environments just like application changes

Collaborate by composing the work of infrastructure specialists into full environment

Drive environment consistency from testing to production even when you are using multiple clouds” –developer.ibm.com

Confirming heat is responding (Note: We need an the heat orchestration engine to connect to each cloud system. If you don’t want configure Heat here you also have an option to have UrbanCode Deployment with Patterns to install the heat orchestration engine for you later on as well.)

Extending the existing Heat Engines

We need to extend the existing Heat Engines that we have configured with DevStack so, that we can use it with the UrbanCode Deploy with Patterns

Assuming that you already download the UrbanCode Deploy with Patterns

Edit the configuration file for the engine at /etc/heat/heat.conf and uncomment /usr/lib64/heat and /usr/lib/heat (Note: In my heat.conf configuration file. I didn’t have any plugin-dirs parameters setup, therefore, I need to first create a plugin-dirs directory at /usr/lib/heat and update my plugin_dirs parameters in the /etc/heat/heat.conf to point to it.)

From the UrbanCode Deploy with Patterns with Engine extract ibm-ucd-patterns-install/engine-install/chef.tar.gz file and then

$ tar -xvf chef.tar.gz

and then find the cookbooks/ibm-orchestration-ext/files/default/plugins.tar.gz file to the plugs-in folder

$ tar -xvf plugins.tar.gz -C /usr/lib/heat/

Restart the Heat Engine

$ service openstack-heat-engine restart

Restart the Heat API

$ service openstack-heat-api restart

Verify the new resource types from UrbanCode Deployments with Patterns are exist