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
- Architecture
- OpenStack Installation Guide for Ubuntu (KO) Overview (liberty)
- OpenStack Installation Guide for Ubuntu (KO) Overview (mitaka)
- OpenStack APIs
- OpenStack Documentation - OpenStack API Quick Start
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 | Provides a web-based self-service portal to interact with OpenStack services, such as launching instances, assigning IP addresses, and configuring access controls. | |
| Compute | Manages the lifecycle of compute instances in an OpenStack environment. Responsibilities include spawning, scheduling, and decommissioning of virtual machines. | |
| Networking | 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 | 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 | Provides persistent block storage to running instances. Its pluggable driver architecture facilitates the creation and management of block storage devices. | |
| Shared services | ||
| Identity service | Provides authentication and authorization services for other OpenStack services. Provides a catalog of endpoints for all OpenStack services. | |
| Image service | Stores and retrieves virtual machine disk images. OpenStack Compute makes use of this during instance provisioning. | |
| Telemetry | Monitors and meters the OpenStack cloud for billing, benchmarking, scalability, and statistical purposes. | |
| Higher-level services | ||
| Orchestration | 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
- OpenStack:DevStack
- Ansible
- Chef
- Puppet
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
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
- FIX SSH/PING TO VMS (METADATA-API ISSUE)
- Openstack can't ping or ssh to instance
- DevStack with Neutron: Cannot ping twice
Network setting
- Why isn't ethernet bridging working with OpenStack?
- OpenStack Networking Tutorial: Single-host FlatDHCPManager
- What is the correct network configuration for a devStack VM (virtualbox)?
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
| Main | |
| Storage | |
| Shared services | |
| Higher-level services | |
| ETC | |
See also
- Classless Inter-Domain Routing (CIDR)
- Network Namespace
- Open vSwitch
- MAAS
- JUJU
- Compatibility layer
- Hypervisor
- Virtual Machine
- Paravirtualization
Favorite site
- OpenStack web site
- OpenStack Korea Community
- Wikipedia (en) OpenStack
- NetApp Cloud: OpenStack
- Main Components of OpenStack
Manuals
- OpenStack mitaka Installation Guide for Ubuntu (ko)
- OpenStack liberty Installation Guide for Debian (ko)
- Chapter 13. Logging and Monitoring
- OpenStack command-line interface cheat sheet
- OPENSTACK MANUALS - OPENSTACK INSTALLATION GUIDE FOR UBUNTU 12.04 (LTS) - HAVANA - Networking
- Provider extension terminology
Network setting
- [Recommended] Installing and Configuring OpenStack in Oracle® Solaris 11.2: Configuring the Neutron L3 Agent
- [Recommended] Configuring Floating IP addresses for Networking in OpenStack Public and Private Clouds
- Nova-network Floating Ip
- OpenStack: Quantum checklist when a virtual machine's network doesn't work
- Configuring the Neutron L3 Agent
- Stackoverflow: Openstack, neutron, Can't ping external network
Guide
- OpenStack Korea Community - OpenSource! OpenStack!
- Deploying OpenStack with Juju and MAAS | Janghoon Sim | 2015.08
- OpenStack Networking Tutorial: Single-host FlatDHCPManager
- Configuring Floating IP addresses for Networking in OpenStack Public and Private Clouds
- A look at the OpenStack architecture
- Building a web service with Docker on OpenStack (15 min) [^0] (with Docker)