Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
OpenStack Essentials

You're reading from   OpenStack Essentials Demystify the cloud by building your own private OpenStack cloud

Arrow left icon
Product type Paperback
Published in May 2015
Publisher
ISBN-13 9781783987085
Length 182 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Dan Radez Dan Radez
Author Profile Icon Dan Radez
Dan Radez
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Architecture and Component Overview 2. RDO Installation FREE CHAPTER 3. Identity Management 4. Image Management 5. Network Management 6. Instance Management 7. Block Storage 8. Object Storage 9. Telemetry 10. Orchestration 11. Scaling Horizontally 12. Monitoring 13. Troubleshooting Index

Launching a stack


Let's use the HOT hello world. The template can be passed to the Heat stack-create command as a local file, a URL to pull it from the network somewhere, or even as a Swift object if it was stored in Swift. I had to pull down a copy of the HOT we just looked at to remove a few lines from it to get it to work. Pull down a copy of the template to your local file system. A template can be validated with the template-validate command. The template as it is in github didn't validate for me:

control# heat template-validate -f hello_world.yaml
ERROR: Unknown Property admin_pass

I edited the file to remove the references to admin_pass from the server resource and from the parameter definitions in the template. The admin_pass property is not really needed since a key pair is being passed into the instance when it's launched, so we will be fine if we remove it. Here's what the template looked like after editing it:

#
# This is a hello world HOT template just defining a single# compute...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image