OpenStack Heat Plugin for SDC
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

OpenStack Heat for SDC

Uses: sdcadmin ( package

Step 1 - Create KVM-VM for OpenStack Services

Create a KVM-VM with the following Parameters:

  • Owner: admin (the owner of the admin network)
  • 4GB Ram, 2 CPU, 2000 LWPs, 40 GB Disk (create a Package if necessary)
  • centos-7 Image (20141202, b1df4936-7a5c-11e4-98ed-dfe1fa3a813a)
  • Primary NIC to network with internet-access (Public)
  • Secondary NIC to admin network

Step 2 - Installing Packstack

SSH as root into the machine once provisioned. Make sure networking is working (in my setup the default gateway was missing), then run:

yum update -y
yum install -y
yum install -y openstack-packstack

Step 3 - Install OpenStack Components

Generate a new answer file:

packstack --gen-answer-file=/root/packstack-answers

Modify the following lines:


Run packstack with the modified file:

packstack --answer-file=/root/packstack-answers

This may take a while, consider having a coffee ;-)

Step 4 - Verify OpenStack Components

Source the Creds file at /root/keystonerc_admin and run a couple of keystone and heat commands:

$ keystone user-list
$ heat stack-list

Step 5 - Install sdcadmin library & Heat plugin

Install sdcadmin package:

pip install sdcadmin

Copy the heat plugin to /usr/lib/heat

mkdir -p /usr/lib/heat
cp PATH/TO/ /usr/lib/heat/

Let Heat know where to look for plugins by uncommenting the plugin_dirs line in /etc/heat/heat.conf

Then restart the heat engine service:

service openstack-heat-engine restart

Run heat resource-type-list, verify that SDC::Compute::KVM and SDC::Compute::SmartMachine show up.

Step 6

Setup is complete, you now can start stacks with those resources. Example heat-templates are included in this repo.


# Copyright 2015 Zuercher Hochschule fuer Angewandte Wissenschaften
# All Rights Reserved.
#    Licensed under the Apache License, Version 2.0 (the "License"); you may
#    not use this file except in compliance with the License. You may obtain
#    a copy of the License at
#    Unless required by applicable law or agreed to in writing, software
#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
#    License for the specific language governing permissions and limitations
#    under the License.