OpenStack Orchestration
()
About this ebook
This book is focused on setting up and using one of the most important services in OpenStack orchestration, Heat. First, the book introduces you to the orchestration service for OpenStack to help you understand the uses of the templating mechanism, complex control groups of cloud resources, and huge-potential and multiple-use cases. We then move on to the topology and orchestration specification for cloud applications and standards, before introducing the most popular IaaS cloud framework, Heat. You will get to grips with the standards used in Heat, overview and roadmap, architecture and CLI, heat API, heat engine, CloudWatch API, scaling principles, JeOS and installation and configuration of Heat. We wrap up by giving you some insights into troubleshooting for OpenStack.
With easy-to-follow, step-by-step instructions and supporting images, you will be able to manage OpenStack operations by implementing the orchestration services of Heat.
Related to OpenStack Orchestration
Related ebooks
OpenStack Orchestration Rating: 5 out of 5 stars5/5Mastering OpenStack: Design, deploy, and manage clouds in mid to large IT infrastructures Rating: 0 out of 5 stars0 ratingsOpenStack Essentials - Second Edition Rating: 0 out of 5 stars0 ratingsOpenStack Object Storage (Swift) Essentials Rating: 0 out of 5 stars0 ratingsOpenStack Cookbook Rating: 0 out of 5 stars0 ratingsOpenStack Cookbook: Manage Compute, Storage and Networking through Single Interface Rating: 0 out of 5 stars0 ratingsAzure Stack Hub Demystified: Building hybrid cloud, IaaS, and PaaS solutions Rating: 0 out of 5 stars0 ratingsOpenStack Essentials Rating: 0 out of 5 stars0 ratingsOpenStack Trove Essentials Rating: 0 out of 5 stars0 ratingsMastering OpenStack: Implement the latest techniques for designing and deploying an operational, production-ready private cloud Rating: 0 out of 5 stars0 ratingsThe Azure Cloud Native Architecture Mapbook: Explore Microsoft Cloud's infrastructure, application, data, and security architecture Rating: 0 out of 5 stars0 ratingsLearning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds Rating: 0 out of 5 stars0 ratingsHybrid Cloud Management with Red Hat CloudForms Rating: 0 out of 5 stars0 ratingsOpenStack for Architects: Design and implement successful private clouds with OpenStack Rating: 0 out of 5 stars0 ratingsGetting Started with Knockout.js for .NET Developers Rating: 0 out of 5 stars0 ratingsMastering ServiceStack Rating: 0 out of 5 stars0 ratingsVMware Cross-Cloud Architecture: Automate and orchestrate your Software-Defined Data Center on AWS Rating: 0 out of 5 stars0 ratingsReal-time Analytics with Storm and Cassandra Rating: 0 out of 5 stars0 ratingsInstant VMware vCloud Starter Rating: 0 out of 5 stars0 ratingsMastering OpenStack Rating: 1 out of 5 stars1/5OpenStack Networking Essentials Rating: 0 out of 5 stars0 ratingsArchitecting Data-Intensive Applications: Develop scalable, data-intensive, and robust applications the smart way Rating: 0 out of 5 stars0 ratingsMastering AWS CloudFormation: Build resilient and production-ready infrastructure in Amazon Web Services with CloudFormation Rating: 0 out of 5 stars0 ratingsBig Data on Kubernetes: A practical guide to building efficient and scalable data solutions Rating: 0 out of 5 stars0 ratingsSpring Security Essentials Rating: 0 out of 5 stars0 ratingsRust Web Programming: A hands-on guide to developing fast and secure web apps with the Rust programming language Rating: 0 out of 5 stars0 ratings
System Administration For You
Mastering Bash Rating: 5 out of 5 stars5/5Wordpress 2023 A Beginners Guide : Design Your Own Website With WordPress 2023 Rating: 0 out of 5 stars0 ratingsEthical Hacking Rating: 4 out of 5 stars4/5Linux for Beginners: Linux Command Line, Linux Programming and Linux Operating System Rating: 4 out of 5 stars4/5Cybersecurity: The Beginner's Guide: A comprehensive guide to getting started in cybersecurity Rating: 5 out of 5 stars5/5Practical Data Analysis Rating: 4 out of 5 stars4/5Mastering Kubernetes Rating: 5 out of 5 stars5/5Linux Bible Rating: 0 out of 5 stars0 ratingsDevOps: Introduction to DevOps and its impact on Business Ecosystem: Introduction to DevOps and its impact on Business Ecosystem Rating: 0 out of 5 stars0 ratingsWindows Server 2016 Cookbook Rating: 0 out of 5 stars0 ratingsMastering Proxmox - Second Edition Rating: 0 out of 5 stars0 ratingsLearning Linux Shell Scripting Rating: 4 out of 5 stars4/5Design and Build Modern Datacentres, A to Z practical guide Rating: 3 out of 5 stars3/5Git Essentials Rating: 4 out of 5 stars4/5OpenShift in Action Rating: 0 out of 5 stars0 ratingsGetting Started with VMware Virtual SAN Rating: 0 out of 5 stars0 ratingsEmail Marketing: Strategies To Capture And Engage Your Audience, While Quickly Building An Authority Rating: 0 out of 5 stars0 ratingsUbuntu 20.04 Essentials: A Guide to Ubuntu 20.04 Desktop and Server Editions Rating: 0 out of 5 stars0 ratingsDocker in Action, Second Edition Rating: 3 out of 5 stars3/5Mastering Ansible - Second Edition Rating: 0 out of 5 stars0 ratingsOperating Systems DeMYSTiFieD Rating: 0 out of 5 stars0 ratingsPractical Automation with PowerShell Rating: 0 out of 5 stars0 ratingsBlender 3D: Designing Objects Rating: 1 out of 5 stars1/5Mastering Linux Shell Scripting,: A practical guide to Linux command-line, Bash scripting, and Shell programming Rating: 0 out of 5 stars0 ratingsLearn PowerShell Scripting in a Month of Lunches Rating: 0 out of 5 stars0 ratingsRust for Network Programming and Automation Rating: 0 out of 5 stars0 ratings
Reviews for OpenStack Orchestration
0 ratings0 reviews
Book preview
OpenStack Orchestration - Siddiqui Adnan Ahmed
Table of Contents
OpenStack Orchestration
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Errata
Piracy
Questions
1. Getting Started with the Orchestration Service for OpenStack
Introduction to the OpenStack architecture
Horizon
Nova
Neutron
Swift
Cinder
Keystone
Glance
Ceilometer
Heat
Trove
The Orchestration service for OpenStack
The Heat workflow
The Orchestration authorization model
Password authorization
Keystone trusts authorization
Trusts authorization execution
The authorization model configuration
Stack domain users
Configuring stack domain users
Creating a stack
Summary
2. The OpenStack Architecture
Components of OpenStack
OpenStack node types
The OpenStack logical architecture
TOSCA – Heat ideas and standards
Heat components
The Heat CLI
heat-api
heat-api-cfn
heat-engine
Heat Orchestration Template (HOT) specification
The example architecture 1 (based on the Nova network)
Node hardware specifications
An overview
A detailed description
The example architecture 2 (based on Neutron)
Network layout for OpenStack networking
The internal network
The public network
The VM traffic network (private network)
The physical connectivity of nodes
Individual node connectivity diagrams
Controller nodes
Compute nodes
Network nodes
Storage nodes
Summary
3. Stack Group of Connected Cloud Resources
Heat basics
Stacks
Templates
CFN
Heat Orchestration Template (HOT)
The HOT template example
Heat_template_version
Description
Resources
Properties or parameters
Resource types
Autoscaling
Vertical scaling versus horizontal scaling
Vertical scaling
Horizontal scaling
Autoscaling with Heat
How autoscaling works in Heat
High availability
Stateless versus stateful services
Active/Passive
Active/Active
HA mechanisms for different levels
Horizontal scaling and databases
The approach – the metadata server and cfn-hup
cfn-hup
The metadata server
Benefits
Summary
4. Installation and Configuration of the Orchestration Service
Orchestration module concepts
Installing and configuring Orchestration
Installing and configuring the Orchestration components
Finalize installation
Verify operations
OpenStack Heat installation
Creating a stack with Heat
Creating an advanced template for Heat
Creating a stack
Verifying a stack
Summary
5. Working with Heat
Standards used in Heat
Amazon CloudFormation
Simplified infrastructure management
A quick replication of services
Track changes and control
The TOSCA standard
Heat overview and roadmap
The Heat architecture and CLI
The Heat command-line reference
Usage
Getting help
Heat subcommands
Heat optional arguments
The Heat basic workflow
The Heat CLI tools
The Heat API
The Heat CloudWatch API
Message queue (MQ)
The Heat engine
Heat autoscaling principles
JeOS
Summary
6. Managing Heat
Heat and DevStack
The event stack list
Get the stack list
Create a stack
Show stack details
Show resource details
Update a stack
Delete a stack
The template structure
The CloudFormation template
The AWS template format version
Description
Metadata
Parameters
Mappings
Conditions
Resources
Outputs
Summary
7. Troubleshooting Heat
VM instances cannot connect to the external network or the Internet
Error received during installation – Unable to write random state
Timeout error received while running jeos_create during customization
A template running with incorrect parameters cannot be deleted
Error – internal error process exited while connecting to monitor
It takes too long to create a JeOS
Error – Quota exceeded: code=InstanceLimitExceeded (HTTP 413)
Error – Response from Keystone does not contain a Heat endpoint
Error – Internal Server Error
Error – Provided KeyName is not registered with Nova
A template is not working after editing
Instances shutdown immediately after creation
Yum update fails with dependency problems related to the oz package
Failed to start qpidd
OpenStack daemons can't connect to qpidd
Ubuntu VMs cannot receive DHCP assignments from hosts running CentOS/Fedora
Debugging OpenStack Heat
Heat list returns 503 error
Heat list hangs up
Troubleshooting common OpenStack errors
Error – internal error Failed to create mDNS client: Daemon not running
The solution
Error – Failed to add image
Keystone ValueError – you need to pass either an existing engine or a database uri
Error – No handlers could be found for logger keystoneclient.client
Error – Access denied for user 'keystone'@'openstack1' (using password: YES)
Error – Connect error/bad request to Auth service at URL %(url)s
Summary
Index
OpenStack Orchestration
OpenStack Orchestration
Copyright © 2015 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: October 2015
Production reference: 1201015
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78355-165-1
www.packtpub.com
Credits
Author
Adnan Ahmed Siddiqui
Reviewers
Mostafa A. Hamid
Maksym Lobur
Sreedhar Varma
Commissioning Editor
Neil Alexander
Acquisition Editor
Kevin Colaco
Content Development Editor
Dharmesh Parmar
Technical Editor
Siddhi Rane
Copy Editor
Janbal Dharmaraj
Project Coordinator
Harshal Ved
Proofreader
Safis Editing
Indexer
Priya Sane
Graphics
Disha Haria
Abhinash Sahu
Production Coordinator
Shantanu N. Zagade
Cover Work
Shantanu N. Zagade
About the Author
Adnan Ahmed Siddiqui is an innovative and results-driven leader with over 8 years of success. He is focused on achieving exceptional results in highly competitive environments that demand continuous improvements. He has a proven ability to architect, design, develop, and deliver cost-effective, high-performance technology solutions to meet challenging business demands. Adnan is competent in Information Lifecycle Management (ILM) and Service Delivery Lifecycle (SDLC), covering business case development, team and project management, delivery, implementation, and support. He provides consultancy and advising to various organizations in the USA and Middle East regions in OpenStack, AWS, Citrix, and Microsoft solutions.
He is a founder and CEO of CloudDall INC (www.clouddall.com), a successful company that helps organizations worldwide rapidly migrate their IT infrastructure to the cloud, and IKT Technologies (www.iktechnologies.com). Their business provisioning includes public clouds, hybrid clouds, DaaS (Desktop as a Service), backup and archive, disaster recovery, and customized storage services. CloudDall provides subscription-based services tailored to fit a range of business models resulting in reduced cost, enhanced security, control, and productivity.
In addition to these achievements, he holds a Computer Engineer degree and these certifications: Red Hat Certified Engineer (RHCSA), AWS Certified Solution Architect, Citrix Certified Enterprise Engineer for Virtualization (CCEE), Microsoft Certified Technology Specialist (MCTS), Microsoft Certified Information Technology Professional (MCITP), and Microsoft Certified System Engineer (MCSE). He has also been a Microsoft Certified Trainer (MCT) for 6 years.
About the Reviewers
Mostafa A. Hamid is a CISSP (2013), CEH v8, MCSD, IBM RUP Architect, and MCP (SUNY Potsdam USA).
He is also certified in PHP, JavaScript, Backbone, Java, Spring, Node.js, and XML web services (SUNY Potsdam, USA).
He has a bachelor's degree in management information systems (Modern Academy for Computer Science and Management Technology).
He is also certified in Java (The American University in Cairo).
He has been a technical support at Hilton, a technical support at United Systems, an IT manager at Media Plans, an ICT and IT teacher and software engineer at