OpenStack
Sankalp Jain
Agenda
• OpenStack Brief Overview
• “Keystone” Identity
• “Storage”
• “Glance” Image
• “Nova” Compute
• “Without Quantum” Networking
• “Quantum” Networking
Open Source Cloud Computing
Software



Eucalyptus



OpenNebula



OpenStack
Open Stack: A Platform for Innovation

“My UI will be easier to
use”

“I need a
different VM
placement policy”

“I have a much better way
to snapshot machine
images”

“I want to report
on my customers
SLAs”
“I’ll build in a
way to share
revenue with my
customer’s”
“I let my customers
span multiple clouds”
What is OpenStack?
 Originated at NASA, with Rackspace
 Driven by an open community process
OpenStack Compute
OpenStack Compute
Three existing projects:
(VMs & VM Networks)
(VMs & VM Networks)
OpenStack Compute
OpenStack Image Service
OpenStack Image Service
OpenStack Image Service
(Image Library & Management)
(Image Library & Management)
Open Object Storage
Multiple hypervisors: Xen, KVM, ESXi, Hyper-V
Releases:
OpenStack Object Store
OpenStack Object Store
(Storage)
(Storage)
Grizzly: April 2013
Folsom: Oct 2012
Grizzly : April 2013: Current
Havana: scheduled for Oct 2013
Open Source Advantages
Leverage the work of a growing community of
developers

Works across multiple hardware infrastructure

Possible to deploy at service providers and onpremise

Amazon AWS Interface Compatibility

Flexible Clustering and Availability Zones

Access Control List (ACL) with policies
management

Network Management, Security Groups, Traffic
Isolation

OpenStack Arhictecture
OpenStack Components (Grizzly
Release)
Agenda
• OpenStack Brief Overview
• “Keystone” Identity
• “Storage”
• “Glance” Image
• “Nova” Compute
• “Without Quantum” Networking
• “Quantum” Networking
Keystone Main Functions
• Provides 4 primary services:
– Identity: User information authentication
– Token: After logged in, replace account-password
– Service catalog: Service units registered
– Policies: Enforces different user levels

• Can be backed by different databases.
– LDAP
– SQL
– Key Value Stores (KVS)
Keystone: Identity
• User information:
– username/password
– Metadata (e-mail, etc.)
– Tenant - organizes users into projects or group.
– Role - define a user’s role and permissions in a project.

• A user must belong to at least one tenant, and
may belong to many tenants
• Roles are assigned to user/tenant pairs
– Common roles: Member, Admin
Keystone: Token
• Once a user’s identity has been verified with a
acc/pswd pair, a short-lived (24 hr) token is
issued.
• Tokens are a stand-in for the acc/pswd.
• OpenStack services hold on to tokens and use
them to query keystone during operations.
• For example, once Nova can use a token to
determine if an authenticated user has
authorization to delete an instance.
Openstack presentation
Openstack presentation
Agenda
• OpenStack Brief Overview
• “Keystone” Identity
• “Storage”
• “Glance” Image
• “Nova” Compute
• “Without Quantum” Networking
• “Quantum” Networking
Storage as a Service
• CAPEX to OPEX based business model.
• Manage storage by well-defined set of remotely
accessible APIs
• Abstracts the actual storage implementation
• This service offers specialized functions: DR, backup,
document sharing, etc.
Using Storage as a Service
• Object
• Block
• File
Storage Available
Ephemeral(On-instance) :
-Used for running Operating System and scratch space
-Persists until VM is terminated
-Access associated with a VM
-Implemented as a filesystem underlying OpenStack Compute
-Administrator configures size setting, based on flavors
-Example: 10GB first disk, 30GB/core second disk
For desktop user PC's internal disk drives are ephemeral; persistent
storage can be considered similar to an external USB drive.
OpenStack Object Storage Swift
What Is It?

• Object Storage is ideal for cost effective, scale-out storage. It
provides a fully distributed, API-accessible storage platform that
can be integrated directly into applications or used for backup,
archiving and data retention.
• Store 3 Copies & use for web, media files
• In production today
– Rackspace’s Cloud Files,
• Architectural overview:
– http://swift.openstack.org/overview_architecture.html
Swift
• Object storage, objects “live” on an endpoint.
– An endpoint could be any storage device

• Every object belongs to a user/account pair.
– keystone tenant : swift account
– keystone user : swift user
– keystone role : swift group

• Proxy, Ring, and Workers
• Account, Container, Object
Openstack presentation
Duplicated storage, load balancing

↑ Logical view

↓Physical arrangement
← Stores real objects
←Stores object metadata

↑Stores container / object metadata
Workers can be a account server, a
container server, or an object server
Openstack presentation
Openstack presentation
Cinder
What Is It?
• Block Storage allows block devices to be exposed and connected
to compute instances for expanded storage, better performance
and integration with enterprise storage platforms.
• OpenStack provides persistent block level storage devices for use
with OpenStack compute instances. Can be exposed to
applications as well.
• Block storage volumes are fully integrated into OpenStack
Compute and the Dashboard allowing for cloud users to manage
their own storage needs.
Cinder (Contd.)


This is block storage (or volumes) and currently there are blueprints
for filesystems like NFS or CIFS share

• Used for adding additional persistent storage to a virtual machine
(VM)
• Persists until deleted
• Access associated with a VM
• Mounted via OpenStack Block-Storage controlled protocol (for
example, iSCSI)
• Sizings based on need
• Example: 1TB "extra hard drive”
Cinder Capabilities










Cinder manages block storage
Volumes attach to VM Instances
Boot from volume
Volumes have a lifecycle independent of VM instance
Admin can create tiers of storage. e.g. two LVM backends, one
with SSD’s and the other with HDD’s.
Users can specify a tier they want when creating a volume.
A backup is an archived copy of a Volume stored in a object store.
A backup is just the data that was written, unlike a snapshot which
is the entire block.
Cinder call flow
Database

Queue

Cinder API

C- scheduler

Cinder Vol

Cinder Vol
Cinder Vol

iSCSI

NFS
Cinder Service



Cinder-api



Cinder-schedular



Cinder-volume
Agenda
• OpenStack Brief Overview
• “Keystone” Identity
• “Storage”
• “Glance” Image
• “Nova” Compute
• “Without Quantum” Networking
• “Quantum” Networking
Glance
• Image storage and indexing.
• Keeps a database of metadata associated with an
image, discover, register, and retrieve.
• Built on top of Swift, images store in Swift
• Two servers:
– Glance-api: public interface for uploading and
managing images.
– Glance-registry: private interface to metadata database

• Support multiple image formats
Openstack presentation
Openstack presentation
Openstack presentation
Openstack presentation
Agenda
• OpenStack Brief Overview
• “Keystone” Identity
• “Storage”
• “Glance” Image
• “Nova” Compute
• “Without Quantum” Networking
• “Quantum” Networking
Nova
• Major components:
– API: public facing interface
– Message Queue: Broker to handle interactions
between services, currently based on RabbitMQ
– Scheduler: coordinates all services, determines
placement of new resources requested
– Compute Worker: hosts VMs, controls hypervisor and
VMs when receives cmds on Msg Queue
– Volume: manages permanent storage
Nova Messaging and Data
• Messaging is managed through RabbitMQ
– Server that allows messages to be posted to channels.
– Subscribers to channels receive messages.
– Services regularly announce availability.
– Scheduler regularly reads for availability.
– Scheduler makes requests to services.

• Persistent data stored in a database.
– VM metadata, network topology, volume metadata, known
services
Messaging (RabbitMQ)
• Get data from point A to point B
• Decouple publishers and consumers
• Queueing for later delivery
• Load balancing and scalability
• RabbitMQ is an AMQP messaging broker
• Advanced Message Queueing Protocol
• Network wire-level protocol
• Internet protocol - like HTTP, TCP - but
ASYNCHRONOUS
Openstack presentation
Openstack presentation
Openstack presentation
Openstack presentation
Openstack presentation
Openstack presentation
Agenda
• OpenStack Brief Overview
• “Keystone” Identity
• “Storage”
• “Glance” Image
• “Nova” Compute
• “Without Quantum” Networking
• “Quantum” Networking
Without Quantum
• Originally, Nova handles all networking by:
– Linux bridge networking
– Virtual interfaces connecting network through the
physical interface
– Assigns VM IP address
– Fixed IP: Returns when VM shuts down
– Floating IP: Can be reassigned online

• Network Manager provides VN to enable compute
servers to interact with each other and the public
network
• A Blog states currently 90% Nova bugs are network related
Original Network Manager
• Each VM network owned by one network host
– Simply a Linux running Nova-network daemon
• Nova Network node is the only gateway
• Flat Network Manager:
– Linux networking bridge forms a subnet
– All instances attached same bridge
– Manually Configure server, controller, and IP
• Flat DHCP Network Manager:
– Add DHCP server along same bridge
• Later: VLAN Network Manager
Bridged Networking
• One network card acts as
many devices.
• Host does not need an IP
address.
• Hypervisor sets virtual MAC
address for guest machine.
• ACISS uses bridges, along
with Virtual Local Area
Networks (VLANs) to
segment traffic and assign
network addresses.
Linux running Nova-network daemon
Network host will act as the gateway
for all the NICs bridged into that
network.
VMs bridged in to a raw Ethernet
device

The only gateway
With security measures
Openstack presentation
What does Quantum provide ?



API for Networking in OpenStack



Nova Integration



OSI Network Layers L2 + L3







Decouples Logical / Tenant view of the network
from Physical / Provider
Provides connectivity to VMs, Decouples logical
/Tenant view of the network from Physical/Provider.
Manage OSI Network Layers L2 & L3 with an API.




Cont...
Not yet full-integraded with Dashboard : only L2 is
working. L3 should be managed from CLI. Horizon
can't manage L3 (routers + floatings IP).
Networking backed by plugins : Open-vSwitch, Linux
Bridge, Cisco, OpenFlow (BigSwitch, Floodlight,
NEC, Ryu, etc), Midonet (Midokura) and NVP
(Nicira /Vmware).
Quantum Openvswitch plugin
The Quantum Openvswitch plugin consists of two
components:
• 1) A plugin loaded at runtime by the Quantum service.
The plugin processes all API calls and stores the
resulting logical network data model and associated
network mappings in a database backend .
• 2) An agent which runs on each compute node (i.e.,
each node running nova-compute). This agent
gathers the configuration and mappings from the
central mysql database and communicates directly
with the local Open vSwitch instance to configure
flows to implement the logical data model.
Openstack presentation
Openstack presentation
Openstack presentation
Openstack presentation
Openstack presentation
Plugin
• The component where the ‘virtual networking’ magic
happens. Fulfills API contract by implementing the ‘Plugin
Interface’
• Tenants expect same behavior from Quantum API
regardless of the particular plugin employed
• Available Quantum Plugins:
– Open vSwitch: Builds isolated networks with OVS and L2-in-L3 tunnels.
– Cisco UCS: Isolation based on VLAN and net-profiles applied to Cisco UCS
– converged network adapters
– Linux Bridge: Build isolated networks with VLAN interfaces and linux bridge
– NTT-Data Ryu: Acts as a proxy for the NTT Ryu platform
– Nicira NVP: Acts as a proxy for the Nicira NVP platform
The Quantum Manager
• Nova’s network manager for Quantum. Forwards network
related requests.
• Also, provides other network services such as IP address
management, DHCP, NAT, Floating IPs…
• Virtual Networking: A label nowadays applied to too many
solutions and products.
– Securely partitioning the network
– Defining virtual network topologies
– Automating network provisioning
Openstack presentation
Openstack presentation
Openstack presentation
Thanks

More Related Content

PDF
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
PPTX
Introduction to openstack
PDF
Cloud Architect Alliance #15: Openstack
PPTX
OpenStack Introduction
PPTX
Cloud Computing Open Stack Compute Node
ODP
Deep Dive: OpenStack Summit (Red Hat Summit 2014)
PDF
OpenStack 101 @ ENEI 2014
PDF
Introduction to cloud and openstack
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
Introduction to openstack
Cloud Architect Alliance #15: Openstack
OpenStack Introduction
Cloud Computing Open Stack Compute Node
Deep Dive: OpenStack Summit (Red Hat Summit 2014)
OpenStack 101 @ ENEI 2014
Introduction to cloud and openstack

What's hot (20)

PPT
Introduction to Apache CloudStack by David Nalley
PDF
OpenStack Explained: Learn OpenStack architecture and the secret of a success...
PPTX
Build public private cloud using openstack
PDF
LISA2017 Big Three Cloud Networking
PPT
Openstack - An introduction/Installation - Presented at Dr Dobb's conference...
ODP
Introducing OpenStack for Beginners
PDF
Openstack 101
PDF
Openstack nova
PPT
Intro to CloudStack Build a Cloud Day
PDF
Open stack korea_uni2u_pdf
PDF
Cloud stack for_beginners
PPTX
PDF
Openstack architecture for the enterprise (Openstack Ireland Meet-up)
PDF
Running an openstack instance
PDF
CloudStack vs OpenStack
PPTX
OpenStack Juno - October 2014
PDF
Vancouver open stack meetup presentation
PPTX
Apache CloudStack from API to UI
PDF
ISC Cloud'13 - Hands-On Tutorial on “Building Your Cloud for HPC, Here & Now,...
Introduction to Apache CloudStack by David Nalley
OpenStack Explained: Learn OpenStack architecture and the secret of a success...
Build public private cloud using openstack
LISA2017 Big Three Cloud Networking
Openstack - An introduction/Installation - Presented at Dr Dobb's conference...
Introducing OpenStack for Beginners
Openstack 101
Openstack nova
Intro to CloudStack Build a Cloud Day
Open stack korea_uni2u_pdf
Cloud stack for_beginners
Openstack architecture for the enterprise (Openstack Ireland Meet-up)
Running an openstack instance
CloudStack vs OpenStack
OpenStack Juno - October 2014
Vancouver open stack meetup presentation
Apache CloudStack from API to UI
ISC Cloud'13 - Hands-On Tutorial on “Building Your Cloud for HPC, Here & Now,...
Ad

Viewers also liked (6)

PPTX
Rapid Development of Data Generators Using Meta Generators in PDGF
PPTX
Baylisa - Dive Into OpenStack
PPTX
Recognizing the parts of speech
PDF
OpenStack Introduction Ecosystem
PPTX
Introduction to OpenStack Cinder
PPTX
Openstack Basic with Neutron
Rapid Development of Data Generators Using Meta Generators in PDGF
Baylisa - Dive Into OpenStack
Recognizing the parts of speech
OpenStack Introduction Ecosystem
Introduction to OpenStack Cinder
Openstack Basic with Neutron
Ad

Similar to Openstack presentation (20)

PDF
OpenStack 101 update
PPTX
Power of OpenStack & Hadoop
PPTX
Openstack: starter level
PPTX
Quick overview of Openstack architecture
PPTX
OpenStack Framework Introduction
PPTX
Openstack meetup-pune-aug22-overview
PPTX
OpenStack
PDF
What is OpenStack and the added value of IBM solutions
PPTX
Openstack Cactus Survey
PDF
Cloud orchestration major tools comparision
PPTX
OpenStack and Windows
PPTX
OpenStack 101
PPTX
OpenStack 101 - All Things Open 2015
PPTX
Getting Started with Apache CloudStack
PPTX
7 - Introduction to OpenStack & SDN by Ady Saputra
PDF
Bitnami Bootcamp. OpenStack
PPTX
OpenStack meetup @ Bangalore on 31st Mar 2018
PDF
OpenStack Block Storage 101
PDF
The Future of SDN in CloudStack by Chiradeep Vittal
PPTX
Cloud computing and OpenStack
OpenStack 101 update
Power of OpenStack & Hadoop
Openstack: starter level
Quick overview of Openstack architecture
OpenStack Framework Introduction
Openstack meetup-pune-aug22-overview
OpenStack
What is OpenStack and the added value of IBM solutions
Openstack Cactus Survey
Cloud orchestration major tools comparision
OpenStack and Windows
OpenStack 101
OpenStack 101 - All Things Open 2015
Getting Started with Apache CloudStack
7 - Introduction to OpenStack & SDN by Ady Saputra
Bitnami Bootcamp. OpenStack
OpenStack meetup @ Bangalore on 31st Mar 2018
OpenStack Block Storage 101
The Future of SDN in CloudStack by Chiradeep Vittal
Cloud computing and OpenStack

Recently uploaded (20)

PPTX
Microsoft User Copilot Training Slide Deck
PPTX
Module 1 Introduction to Web Programming .pptx
PDF
INTERSPEECH 2025 「Recent Advances and Future Directions in Voice Conversion」
PDF
Electrocardiogram sequences data analytics and classification using unsupervi...
PDF
Data Virtualization in Action: Scaling APIs and Apps with FME
PDF
Lung cancer patients survival prediction using outlier detection and optimize...
PDF
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
PPTX
MuleSoft-Compete-Deck for midddleware integrations
PDF
giants, standing on the shoulders of - by Daniel Stenberg
PPTX
agenticai-neweraofintelligence-250529192801-1b5e6870.pptx
PDF
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
PDF
SaaS reusability assessment using machine learning techniques
PDF
zbrain.ai-Scope Key Metrics Configuration and Best Practices.pdf
PDF
Auditboard EB SOX Playbook 2023 edition.
PDF
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
PDF
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
DOCX
Basics of Cloud Computing - Cloud Ecosystem
PDF
Ensemble model-based arrhythmia classification with local interpretable model...
PDF
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
PDF
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
Microsoft User Copilot Training Slide Deck
Module 1 Introduction to Web Programming .pptx
INTERSPEECH 2025 「Recent Advances and Future Directions in Voice Conversion」
Electrocardiogram sequences data analytics and classification using unsupervi...
Data Virtualization in Action: Scaling APIs and Apps with FME
Lung cancer patients survival prediction using outlier detection and optimize...
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
MuleSoft-Compete-Deck for midddleware integrations
giants, standing on the shoulders of - by Daniel Stenberg
agenticai-neweraofintelligence-250529192801-1b5e6870.pptx
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
SaaS reusability assessment using machine learning techniques
zbrain.ai-Scope Key Metrics Configuration and Best Practices.pdf
Auditboard EB SOX Playbook 2023 edition.
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
Basics of Cloud Computing - Cloud Ecosystem
Ensemble model-based arrhythmia classification with local interpretable model...
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf

Openstack presentation

  • 2. Agenda • OpenStack Brief Overview • “Keystone” Identity • “Storage” • “Glance” Image • “Nova” Compute • “Without Quantum” Networking • “Quantum” Networking
  • 3. Open Source Cloud Computing Software  Eucalyptus  OpenNebula  OpenStack
  • 4. Open Stack: A Platform for Innovation “My UI will be easier to use” “I need a different VM placement policy” “I have a much better way to snapshot machine images” “I want to report on my customers SLAs” “I’ll build in a way to share revenue with my customer’s” “I let my customers span multiple clouds”
  • 5. What is OpenStack?  Originated at NASA, with Rackspace  Driven by an open community process OpenStack Compute OpenStack Compute Three existing projects: (VMs & VM Networks) (VMs & VM Networks) OpenStack Compute OpenStack Image Service OpenStack Image Service OpenStack Image Service (Image Library & Management) (Image Library & Management) Open Object Storage Multiple hypervisors: Xen, KVM, ESXi, Hyper-V Releases: OpenStack Object Store OpenStack Object Store (Storage) (Storage) Grizzly: April 2013 Folsom: Oct 2012 Grizzly : April 2013: Current Havana: scheduled for Oct 2013
  • 6. Open Source Advantages Leverage the work of a growing community of developers  Works across multiple hardware infrastructure  Possible to deploy at service providers and onpremise  Amazon AWS Interface Compatibility  Flexible Clustering and Availability Zones  Access Control List (ACL) with policies management  Network Management, Security Groups, Traffic Isolation 
  • 9. Agenda • OpenStack Brief Overview • “Keystone” Identity • “Storage” • “Glance” Image • “Nova” Compute • “Without Quantum” Networking • “Quantum” Networking
  • 10. Keystone Main Functions • Provides 4 primary services: – Identity: User information authentication – Token: After logged in, replace account-password – Service catalog: Service units registered – Policies: Enforces different user levels • Can be backed by different databases. – LDAP – SQL – Key Value Stores (KVS)
  • 11. Keystone: Identity • User information: – username/password – Metadata (e-mail, etc.) – Tenant - organizes users into projects or group. – Role - define a user’s role and permissions in a project. • A user must belong to at least one tenant, and may belong to many tenants • Roles are assigned to user/tenant pairs – Common roles: Member, Admin
  • 12. Keystone: Token • Once a user’s identity has been verified with a acc/pswd pair, a short-lived (24 hr) token is issued. • Tokens are a stand-in for the acc/pswd. • OpenStack services hold on to tokens and use them to query keystone during operations. • For example, once Nova can use a token to determine if an authenticated user has authorization to delete an instance.
  • 15. Agenda • OpenStack Brief Overview • “Keystone” Identity • “Storage” • “Glance” Image • “Nova” Compute • “Without Quantum” Networking • “Quantum” Networking
  • 16. Storage as a Service • CAPEX to OPEX based business model. • Manage storage by well-defined set of remotely accessible APIs • Abstracts the actual storage implementation • This service offers specialized functions: DR, backup, document sharing, etc. Using Storage as a Service • Object • Block • File
  • 17. Storage Available Ephemeral(On-instance) : -Used for running Operating System and scratch space -Persists until VM is terminated -Access associated with a VM -Implemented as a filesystem underlying OpenStack Compute -Administrator configures size setting, based on flavors -Example: 10GB first disk, 30GB/core second disk For desktop user PC's internal disk drives are ephemeral; persistent storage can be considered similar to an external USB drive.
  • 18. OpenStack Object Storage Swift What Is It? • Object Storage is ideal for cost effective, scale-out storage. It provides a fully distributed, API-accessible storage platform that can be integrated directly into applications or used for backup, archiving and data retention. • Store 3 Copies & use for web, media files • In production today – Rackspace’s Cloud Files, • Architectural overview: – http://swift.openstack.org/overview_architecture.html
  • 19. Swift • Object storage, objects “live” on an endpoint. – An endpoint could be any storage device • Every object belongs to a user/account pair. – keystone tenant : swift account – keystone user : swift user – keystone role : swift group • Proxy, Ring, and Workers • Account, Container, Object
  • 21. Duplicated storage, load balancing ↑ Logical view ↓Physical arrangement ← Stores real objects ←Stores object metadata ↑Stores container / object metadata
  • 22. Workers can be a account server, a container server, or an object server
  • 25. Cinder What Is It? • Block Storage allows block devices to be exposed and connected to compute instances for expanded storage, better performance and integration with enterprise storage platforms. • OpenStack provides persistent block level storage devices for use with OpenStack compute instances. Can be exposed to applications as well. • Block storage volumes are fully integrated into OpenStack Compute and the Dashboard allowing for cloud users to manage their own storage needs.
  • 26. Cinder (Contd.)  This is block storage (or volumes) and currently there are blueprints for filesystems like NFS or CIFS share • Used for adding additional persistent storage to a virtual machine (VM) • Persists until deleted • Access associated with a VM • Mounted via OpenStack Block-Storage controlled protocol (for example, iSCSI) • Sizings based on need • Example: 1TB "extra hard drive”
  • 27. Cinder Capabilities         Cinder manages block storage Volumes attach to VM Instances Boot from volume Volumes have a lifecycle independent of VM instance Admin can create tiers of storage. e.g. two LVM backends, one with SSD’s and the other with HDD’s. Users can specify a tier they want when creating a volume. A backup is an archived copy of a Volume stored in a object store. A backup is just the data that was written, unlike a snapshot which is the entire block.
  • 28. Cinder call flow Database Queue Cinder API C- scheduler Cinder Vol Cinder Vol Cinder Vol iSCSI NFS
  • 30. Agenda • OpenStack Brief Overview • “Keystone” Identity • “Storage” • “Glance” Image • “Nova” Compute • “Without Quantum” Networking • “Quantum” Networking
  • 31. Glance • Image storage and indexing. • Keeps a database of metadata associated with an image, discover, register, and retrieve. • Built on top of Swift, images store in Swift • Two servers: – Glance-api: public interface for uploading and managing images. – Glance-registry: private interface to metadata database • Support multiple image formats
  • 36. Agenda • OpenStack Brief Overview • “Keystone” Identity • “Storage” • “Glance” Image • “Nova” Compute • “Without Quantum” Networking • “Quantum” Networking
  • 37. Nova • Major components: – API: public facing interface – Message Queue: Broker to handle interactions between services, currently based on RabbitMQ – Scheduler: coordinates all services, determines placement of new resources requested – Compute Worker: hosts VMs, controls hypervisor and VMs when receives cmds on Msg Queue – Volume: manages permanent storage
  • 38. Nova Messaging and Data • Messaging is managed through RabbitMQ – Server that allows messages to be posted to channels. – Subscribers to channels receive messages. – Services regularly announce availability. – Scheduler regularly reads for availability. – Scheduler makes requests to services. • Persistent data stored in a database. – VM metadata, network topology, volume metadata, known services
  • 39. Messaging (RabbitMQ) • Get data from point A to point B • Decouple publishers and consumers • Queueing for later delivery • Load balancing and scalability • RabbitMQ is an AMQP messaging broker • Advanced Message Queueing Protocol • Network wire-level protocol • Internet protocol - like HTTP, TCP - but ASYNCHRONOUS
  • 46. Agenda • OpenStack Brief Overview • “Keystone” Identity • “Storage” • “Glance” Image • “Nova” Compute • “Without Quantum” Networking • “Quantum” Networking
  • 47. Without Quantum • Originally, Nova handles all networking by: – Linux bridge networking – Virtual interfaces connecting network through the physical interface – Assigns VM IP address – Fixed IP: Returns when VM shuts down – Floating IP: Can be reassigned online • Network Manager provides VN to enable compute servers to interact with each other and the public network • A Blog states currently 90% Nova bugs are network related
  • 48. Original Network Manager • Each VM network owned by one network host – Simply a Linux running Nova-network daemon • Nova Network node is the only gateway • Flat Network Manager: – Linux networking bridge forms a subnet – All instances attached same bridge – Manually Configure server, controller, and IP • Flat DHCP Network Manager: – Add DHCP server along same bridge • Later: VLAN Network Manager
  • 49. Bridged Networking • One network card acts as many devices. • Host does not need an IP address. • Hypervisor sets virtual MAC address for guest machine. • ACISS uses bridges, along with Virtual Local Area Networks (VLANs) to segment traffic and assign network addresses.
  • 50. Linux running Nova-network daemon Network host will act as the gateway for all the NICs bridged into that network. VMs bridged in to a raw Ethernet device The only gateway With security measures
  • 52. What does Quantum provide ?  API for Networking in OpenStack  Nova Integration  OSI Network Layers L2 + L3    Decouples Logical / Tenant view of the network from Physical / Provider Provides connectivity to VMs, Decouples logical /Tenant view of the network from Physical/Provider. Manage OSI Network Layers L2 & L3 with an API.
  • 53.   Cont... Not yet full-integraded with Dashboard : only L2 is working. L3 should be managed from CLI. Horizon can't manage L3 (routers + floatings IP). Networking backed by plugins : Open-vSwitch, Linux Bridge, Cisco, OpenFlow (BigSwitch, Floodlight, NEC, Ryu, etc), Midonet (Midokura) and NVP (Nicira /Vmware).
  • 54. Quantum Openvswitch plugin The Quantum Openvswitch plugin consists of two components: • 1) A plugin loaded at runtime by the Quantum service. The plugin processes all API calls and stores the resulting logical network data model and associated network mappings in a database backend . • 2) An agent which runs on each compute node (i.e., each node running nova-compute). This agent gathers the configuration and mappings from the central mysql database and communicates directly with the local Open vSwitch instance to configure flows to implement the logical data model.
  • 60. Plugin • The component where the ‘virtual networking’ magic happens. Fulfills API contract by implementing the ‘Plugin Interface’ • Tenants expect same behavior from Quantum API regardless of the particular plugin employed • Available Quantum Plugins: – Open vSwitch: Builds isolated networks with OVS and L2-in-L3 tunnels. – Cisco UCS: Isolation based on VLAN and net-profiles applied to Cisco UCS – converged network adapters – Linux Bridge: Build isolated networks with VLAN interfaces and linux bridge – NTT-Data Ryu: Acts as a proxy for the NTT Ryu platform – Nicira NVP: Acts as a proxy for the Nicira NVP platform
  • 61. The Quantum Manager • Nova’s network manager for Quantum. Forwards network related requests. • Also, provides other network services such as IP address management, DHCP, NAT, Floating IPs… • Virtual Networking: A label nowadays applied to too many solutions and products. – Securely partitioning the network – Defining virtual network topologies – Automating network provisioning