Neutron at Scale Justin Hammond - Developer

Slides:



Advertisements
Similar presentations
© 2012 Entrinsik, Inc. Informer Administration Exploring the system menu and functions PRESENTER: Jason Vorenkamp| Informer Software Engineer| March 2012.
Advertisements

© 2012 IBM Corporation Architecture of Quantum Folsom Release Yong Sheng Gong ( 龚永生 ) gongysh #openstack-dev Quantum Core developer.
Neutron What’s new in Havana? Arvind Somya Software Engineer Cisco Systems Inc.
Seamless migration from Nova-network to Neutron in eBay production Chengyuan Li, Han Zhou.
Managing Open vSwitch Across a Large Heterogeneous Fleet
It’s the App, Stupid! Orchestration, Automation, Scaling & What’s in Between Yaron Parasol, Uri
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 6 Managing and Administering DNS in Windows Server 2008.
SDN in Openstack - A real-life implementation Leo Wong.
 Introduction Originally developed by Open Software Foundation (OSF), which is now called The Open Group ( Provides a set of tools and.
Distributed components
Zhipeng (Howard) Huang
Internet Networking Spring 2006 Tutorial 12 Web Caching Protocols ICP, CARP.
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #13 Web Caching Protocols ICP, CARP.
Internet Networking Spring 2002 Tutorial 13 Web Caching Protocols ICP, CARP.
Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.
Microsoft Virtual Academy Module 4 Creating and Configuring Virtual Machine Networks.
OpenFlow Switch Limitations. Background: Current Applications Traffic Engineering application (performance) – Fine grained rules and short time scales.
Overview SAP Basis Functions. SAP Technical Overview Learning Objectives What the Basis system is How does SAP handle a transaction request Differentiating.
Virtual LANs. VLAN introduction VLANs logically segment switched networks based on the functions, project teams, or applications of the organization regardless.
Additional SugarCRM details for complete, functional, and portable deployment.
Institute of Computer and Communication Network Engineering OFC/NFOEC, 6-10 March 2011, Los Angeles, CA Lessons Learned From Implementing a Path Computation.
Chapter 8: Virtual LAN (VLAN)
Rick Lopez, Director of Quality Engineering Rainya Mosher, Dev Manager, Deploy Infrastructure Deploying from OpenStack Trunk into a Production Environment.
Openstack on Openstack how to bootstrap a cloud Paul Voccio Director, Infrastructure Engineering Rackspace.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 9 Virtual Trunking Protocol.
EXPOSING OVS STATISTICS FOR Q UANTUM USERS Tomer Shani Advanced Topics in Storage Systems Spring 2013.
CoprHD and OpenStack Ideas for future.
Hiearchial Caching in Traffic Server. Hiearchial Caching  A set of techniques and mechanisms to increase the size and performance of network caches.
Document Name CONFIDENTIAL Version Control Version No.DateType of ChangesOwner/ Author Date of Review/Expiry The information contained in this document.
By Nitin Bahadur Gokul Nadathur Department of Computer Sciences University of Wisconsin-Madison Spring 2000.
Launch Amazon Instance. Amazon EC2 Amazon Elastic Compute Cloud (Amazon EC2) provides resizable computing capacity in the Amazon Web Services (AWS) cloud.
Co-ordination & Harmonisation of Advanced e-Infrastructures for Research and Education Data Sharing Grant.
© 2015 MetricStream, Inc. All Rights Reserved. AWS server provisioning © 2015 MetricStream, Inc. All Rights Reserved. By, Srikanth K & Rohit.
Introduction to OpenStack OSCON 2011 James Turnbull - Puppet Labs Eric Day - Rackspace.
Network Virtualization Ben Pfaff Nicira Networks, Inc.
SDN controllers App Network elements has two components: OpenFlow client, forwarding hardware with flow tables. The SDN controller must implement the network.
Security on OpenStack 11/7/2013
Essentials of UrbanCode Deploy v6.1 QQ147
Web application hosting with Openshift, and Docker images
Virtual Local Area Networks or VLANs
Section 6 Object Storage Gateway (RADOS-GW)
Ops Manager API, Puppet and OpenStack – Fully automated orchestration from scratch! MongoDB World 2016.
NOX: Towards an Operating System for Networks
HPE OneView for Microsoft System Center
Server Concepts Dr. Charles W. Kann.
Introducing To Networking
Tomi Juvonen SW Architect, Nokia
Working at a Small-to-Medium Business or ISP – Chapter 7
Virtual LANs.
Complete 1z0-161 Exam Dumps - Pass In 24 Hours - Dumps4download.us
Internet Networking recitation #12
Acutelearn Amazon Web Services Training Classroom Training Instructor led trainings at Acutelearn premises Corporate Training Custom tailored trainings.
Working at a Small-to-Medium Business or ISP – Chapter 7
Replication Middleware for Cloud Based Storage Service
OpenStack Octavia, Kubernetes, and Terraform
Distributed Content in the Network: A Backbone View
Network Virtualization
Working at a Small-to-Medium Business or ISP – Chapter 7
Searchlight Lei Zhang Search service for OpenStack
OpenStack-alapú privát felhő üzemeltetés
Mix & Match: Resource Federation
AWS Cloud Computing Masaki.
Automating Security Operations using Phantom
Saravana Kumar CEO/Founder - Kovai Atomic Scope – Product Update.
IST346: Scalability.
Server Management and Automation Windows Server 2012 R2
PerformanceBridge Application Suite and Practice 2.0 IT Specifications
Computer Networks Protocols
Bending Ironic for Big Iron
06 | SQL Server and the Cloud
Presentation transcript:

Neutron at Scale Justin Hammond - Developer Andy Hill - Systems Engineer Chad Norgan - Systems Engineer

Scope of the Talk Rackspace is early in Neutron implementation Migrating from older versions of Quantum/Melange used since the launch of our public cloud Scope of this talk is primarily Nova ⬄ Neutron interaction and the challenges we faced deploying Neutron at scale

What we mean when we say “at scale” Tens of thousands of compute nodes Hundreds of thousands of instances Most instances have two or more ports RACKSPACE® HOSTING | WWW.RACKSPACE.COM

Implementation Requirements Maintain backwards compatibility with existing products Neutron will be the ultimate authoritative source for network state IP Address Management (IPAM) Modular network drivers so Neutron can service heterogeneous port types Enable new products to easily integrate into our public cloud offering RACKSPACE® HOSTING | WWW.RACKSPACE.COM

Implementation Details Quark Plugin: Open source plugin for Neutron v2 API with IPAM Custom database migration from Melange/Quantum->Neutron/Quark Wafflehaus middleware collection RACKSPACE® HOSTING | WWW.RACKSPACE.COM

Rackspace’s Neutron Implementation Active/Passive Load Balancers Neutron-api nodes running quark plugin with wafflehaus Active/Passive database with slave Our neutron service consists of Pair of load balancers Handle routing the incoming requests to available nodes Health checks of pool members Anywhere from 2 to 8 Neutron-api nodes Each node running worker/core Service neutron requests Wafflehaus on WSGI layer DNS Auth Context ddi Active/Passive pair of neutron-dbs for quark plugin stoneth through pacemaker and corosync read only slave for backups RACKSPACE® HOSTING | WWW.RACKSPACE.COM

Wafflehaus Overview Wafflehaus is a middleware for some specific Rackspace requirements Very simple way to minimize upstream diffs Upstream efforts better spent on work that benefits the broader community RACKSPACE® HOSTING | WWW.RACKSPACE.COM

Wafflehaus - “The API Mullet” Business logic in the front, party in the back RACKSPACE® HOSTING | WWW.RACKSPACE.COM

Wafflehaus middlewares Wafflehaus Explained Wafflehaus middlewares Neutron-api Quark plugin API Request Part of me would like to add an arrow from one of the waffles back to API. And make it red. Does the request body contain particular UUIDs Would this request violate policy? Add this tag to the request header RACKSPACE® HOSTING | WWW.RACKSPACE.COM

Wafflehaus middlewares Wafflehaus Explained Wafflehaus middlewares Neutron-api Quark plugin API Request RACKSPACE® HOSTING | WWW.RACKSPACE.COM

Calls to Keystone RACKSPACE® HOSTING | WWW.RACKSPACE.COM Build Melange/Quantum Neutron (trunk) Wafflehaus + no-auth Build 5 per port Delete Info Cache Update LOTS TOTAL TOO MANY RACKSPACE® HOSTING | WWW.RACKSPACE.COM

Wafflehaus and No-Auth Middleware PTR for 10.1.2.3? DNS Server API Request x-forwarded-for Neutron-api with wafflehaus PTR at compute.trusted.domain A for compute.trusted.domain? A at 10.1.2.3 RACKSPACE® HOSTING | WWW.RACKSPACE.COM

Wafflehaus Explained [composite:neutronapi_v2_0] use = call:neutron.auth:pipeline_factory noauth = dns_filter request_id catch_errors extensions neutronapiapp_v2_0 keystone = request_id catch_errors authtoken keystonecontext extensions neutronapiapp_v2_0 [filter:dns_filter] paste.filter_factory = wafflehaus.dns_filter.whitelist:filter_factory whitelist = trusted.domain enabled = true RACKSPACE® HOSTING | WWW.RACKSPACE.COM

Call Volume Before & After rax.io/neutron_lon_combined rax.io/neutron_lon_launch

Call Volume Before & After

On Info Cache Updates Nova caches a copy of the instance’s network information (info cache) Cache is refreshed on instance operations which reach out to Neutron Callback system is needed RACKSPACE® HOSTING | WWW.RACKSPACE.COM

On Info Cache Updates (continued) Happens on nova-compute restart Also happens every heal_instance_info_cache_interval (default 1m) Currently 6 calls to Neutron per port Set heal_instance_info_cache_interval=0 RACKSPACE® HOSTING | WWW.RACKSPACE.COM

nova-cells and Info Cache Updates Child cells periodically sync with parent cells Migration to Neutron exposed upstream bug that was corrected in rpc network api, not neutron Cache updates were sent from child cells to global cells faster than global cells could process Delays other messages from being processed rax.io/cellsgrowth https://cdn2-b.examiner.com/sites/default/files/styles/article_large/hash/79/4c/794cf0ba3508fa0495ae6f56ddf367b1.jpg?itok=9IAlqrWM

What’s needed Callback system between nova and neutron Read-only database slave usage Cells support Nova & Neutron: Fewer calls that do more (e.g., 1 API call, many ports) RACKSPACE® HOSTING | WWW.RACKSPACE.COM

What’s next Publicly expose neutron Security Groups extension support through OVS flows Something about using wafflehaus to make an RPC Adaptor for neutron api? (notes) RACKSPACE® HOSTING | WWW.RACKSPACE.COM

Links Patches, Blueprints https://review.openstack.org/#/c/88484/ (Neutron, Nova and Cells) https://blueprints.launchpad.net/neutron/+spec/nova-event-callback https://review.openstack.org/#/c/57517/ (noauth python-neutronclient) https://blueprints.launchpad.net/neutron/+spec/ovs-firewall-driver (OVS Firewall Driver) Projects https://github.com/rackerlabs/quark https://github.com/roaet/wafflehaus Something about using wafflehaus to make an RPC Adaptor for neutron api? (notes) RACKSPACE® HOSTING | WWW.RACKSPACE.COM