OpenStack Orchestration
5/5
()
About this ebook
Related to OpenStack Orchestration
Related ebooks
Mastering OpenStack Rating: 1 out of 5 stars1/5Practical OneOps Rating: 0 out of 5 stars0 ratingsNative Docker Clustering with Swarm Rating: 0 out of 5 stars0 ratingsOpenStack Networking Essentials Rating: 0 out of 5 stars0 ratingsOpenStack Administration with Ansible 2 - Second Edition Rating: 0 out of 5 stars0 ratingsTroubleshooting OpenStack Rating: 0 out of 5 stars0 ratingsDevOps for Networking Rating: 0 out of 5 stars0 ratingsLearning Docker Rating: 5 out of 5 stars5/5OpenStack Sahara Essentials Rating: 0 out of 5 stars0 ratingsImplementing Azure Solutions Rating: 0 out of 5 stars0 ratingsHybrid Cloud Management with Red Hat CloudForms Rating: 0 out of 5 stars0 ratingsOpenStack for Architects Rating: 0 out of 5 stars0 ratingsHands-On Microservices with Kubernetes: Build, deploy, and manage scalable microservices on Kubernetes Rating: 5 out of 5 stars5/5OpenStack Essentials - Second Edition Rating: 0 out of 5 stars0 ratingsLearning Ansible 2 - Second Edition Rating: 5 out of 5 stars5/5OpenStack Object Storage (Swift) Essentials Rating: 0 out of 5 stars0 ratingsLearning AirWatch Rating: 5 out of 5 stars5/5Software-Defined Networking (SDN) with OpenStack Rating: 0 out of 5 stars0 ratingsImplementing Cloud Design Patterns for AWS Rating: 0 out of 5 stars0 ratingsVMware Performance and Capacity Management - Second Edition Rating: 0 out of 5 stars0 ratingsNginx Essentials Rating: 0 out of 5 stars0 ratingsAWS Security Cookbook: Practical solutions for managing security policies, monitoring, auditing, and compliance with AWS Rating: 0 out of 5 stars0 ratingsMonitoring Elasticsearch Rating: 0 out of 5 stars0 ratingsImplementing DevOps on AWS Rating: 0 out of 5 stars0 ratingsBuild Serverless Apps on Kubernetes with Knative: Build, deploy, and manage serverless applications on Kubernetes (English Edition) Rating: 0 out of 5 stars0 ratingsMicroservices Deployment Cookbook Rating: 0 out of 5 stars0 ratingsArchitecting the Cloud Complete Self-Assessment Guide Rating: 0 out of 5 stars0 ratingsZabbix Network Monitoring Essentials Rating: 0 out of 5 stars0 ratingsEVPN For VxLAN A Complete Guide - 2020 Edition Rating: 0 out of 5 stars0 ratingsDevOps Practices Complete Self-Assessment Guide Rating: 0 out of 5 stars0 ratings
Computers For You
Mastering ChatGPT: 21 Prompts Templates for Effortless Writing Rating: 5 out of 5 stars5/5Standard Deviations: Flawed Assumptions, Tortured Data, and Other Ways to Lie with Statistics Rating: 4 out of 5 stars4/5The Invisible Rainbow: A History of Electricity and Life Rating: 4 out of 5 stars4/5Elon Musk Rating: 4 out of 5 stars4/5101 Awesome Builds: Minecraft® Secrets from the World's Greatest Crafters Rating: 4 out of 5 stars4/5CompTIA IT Fundamentals (ITF+) Study Guide: Exam FC0-U61 Rating: 0 out of 5 stars0 ratingsThe ChatGPT Millionaire Handbook: Make Money Online With the Power of AI Technology Rating: 0 out of 5 stars0 ratingsEverybody Lies: Big Data, New Data, and What the Internet Can Tell Us About Who We Really Are Rating: 4 out of 5 stars4/5Slenderman: Online Obsession, Mental Illness, and the Violent Crime of Two Midwestern Girls Rating: 4 out of 5 stars4/5Alan Turing: The Enigma: The Book That Inspired the Film The Imitation Game - Updated Edition Rating: 4 out of 5 stars4/5Procreate for Beginners: Introduction to Procreate for Drawing and Illustrating on the iPad Rating: 0 out of 5 stars0 ratingsCompTIA Security+ Practice Questions Rating: 2 out of 5 stars2/5Creating Online Courses with ChatGPT | A Step-by-Step Guide with Prompt Templates Rating: 4 out of 5 stars4/5Ultimate Guide to Mastering Command Blocks!: Minecraft Keys to Unlocking Secret Commands Rating: 5 out of 5 stars5/5SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5Grokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5People Skills for Analytical Thinkers Rating: 5 out of 5 stars5/5Deep Search: How to Explore the Internet More Effectively Rating: 5 out of 5 stars5/5Remote/WebCam Notarization : Basic Understanding Rating: 3 out of 5 stars3/5The Hacker Crackdown: Law and Disorder on the Electronic Frontier Rating: 4 out of 5 stars4/5Dawn of the New Everything: Encounters with Reality and Virtual Reality Rating: 4 out of 5 stars4/5ChatGPT Ultimate User Guide - How to Make Money Online Faster and More Precise Using AI Technology Rating: 0 out of 5 stars0 ratingsHow to Create Cpn Numbers the Right way: A Step by Step Guide to Creating cpn Numbers Legally Rating: 4 out of 5 stars4/5Master Builder Roblox: The Essential Guide Rating: 4 out of 5 stars4/5
Reviews for OpenStack Orchestration
1 rating0 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