Skip to content
Search

OpenStack

lastmod 2020-10-07created 2015-01-1662 edits

OpenStack is an open-source cloud computing project in the IaaS form. It is maintained by the OpenStack Foundation, a nonprofit organization founded in 2012, and is distributed under the Apache License.

OpenStack services

This guide walks through deploying the following key OpenStack services step by step, using a functional example architecture suitable for new OpenStack users with Linux experience: OpenStack services

Service

Project name

Description

Dashboard

Horizon

Provides a web-based self-service portal to interact with OpenStack services, such as launching instances, assigning IP addresses, and configuring access controls.

Compute

Nova

Manages the lifecycle of compute instances in an OpenStack environment. Responsibilities include spawning, scheduling, and decommissioning of virtual machines.

Networking

Neutron

Enables Network-Connectivity-as-a-Service for other OpenStack services, such as OpenStack Compute. Provides an API for users to define networks and the attachments into them. Has a pluggable architecture that supports many popular networking vendors and technologies.

Storage

Object Storage

Swift

Stores and retrieves arbitrary unstructured data objects via a RESTful, HTTP-based API. It is highly fault tolerant with its data replication and scale-out architecture. Its implementation is not like a file server with mountable directories. In this case, it writes objects and files to multiple drives, ensuring the data is replicated across a server cluster to guarantee data integrity.

Block Storage

Cinder

Provides persistent block storage to running instances. Its pluggable driver architecture facilitates the creation and management of block storage devices.

Shared services

Identity service

Keystone

Provides authentication and authorization services for other OpenStack services. Provides a catalog of endpoints for all OpenStack services.

Image service

Glance

Stores and retrieves virtual machine disk images. OpenStack Compute makes use of this during instance provisioning.

Telemetry

Ceilometer

Monitors and meters the OpenStack cloud for billing, benchmarking, scalability, and statistical purposes.

Higher-level services

Orchestration

Heat

Orchestrates multiple composite cloud applications by using either the native HOT template format or the AWS CloudFormation template format, through both an OpenStack-native API and a CloudFormation-compatible query API.

After becoming familiar with basic installation, configuration, operation, and troubleshooting of OpenStack services, you should consider the following steps toward deployment using a production architecture:

  • Determine and implement the necessary core and optional services to meet performance and redundancy requirements.
  • Increase security using methods such as firewalls, encryption, and service policies.
  • Use a deployment tool such as Ansible, Chef, Puppet, or Salt to automate deployment and management of the production environment.

Category

Implement a deployment tool

Command-line example

Some examples you can use on the command line.

$ nova-manage floating list
$ nova floating-ip-bulk-delete 192.168.0.0/24
$ nova-manage floating create --pool=external_network --ip_range=192.168.0.192/26
$ nova floating-ip-pool-list
$ nova floating-ip-create external_network
$ nova add-floating-ip f963d175-283b-4914-a514-3f13a6977416 192.168.0.202
$ nova floating-ip-list
$ ovs-vsctl show
$ service neutron-openvswitch-agent restart

RDO Restart

$ sudo yum install openstack-utils -y
$ openstack-restart

Nalee's IT Story - OpenStack Class

The download list is as follows.

  • Nalee_it_story_-_OpenStack_Class_01~10.zip
  • Nalee_it_story_-_OpenStack_Class_11~20.zip
  • Nalee_it_story_-_OpenStack_Class_21~30.zip
  • Nalee_it_story_-_OpenStack_Class_31~40.zip
  • Nalee_it_story_-_OpenStack_Class_41~51.zip

Troubleshooting

SSH connection timed out

Network setting

Warning: NetworkManager

If a NetworkManager-related warning appears when installing with rdo-icehouse, just stop that service.

$ sudo systemctl disable NetworkManager
$ sudo systemctl stop NetworkManager
$ sudo systemctl status NetworkManager

Cannot remove 30-dm-shutdown.sh Readonly file system

See Dracut#Cannot remove 30-dm-shutdown.sh Readonly file system.

List of OpenStack Service

OpenStack Service

Main

Horizon, Nova, Neutron

Storage

Swift, Cinder

Shared services

Keystone, Glance, Ceilometer

Higher-level services

Heat

ETC

cloud-init

See also

Favorite site

Manuals

Network setting

Guide

Gpu accelerator

author Zer0 sitemap