SlideShare a Scribd company logo
Contrail deployment experience 
Jakub Pavlik
About me 
Jakub Pavlík 
• Cloud Platform Engineer 
• 3 years in Cloud 
• 2 years in OpenStack
tcp cloud a.s. 
• #1 deployer of OpenStack solutions in Czech Republic 
• 2 years experiences with OpenStack 
• Basic two products 
• TCP Private Cloud – on premises, hosted in arbitrary 
place 
• TCP Virtual Private Cloud (TCP VPC)– hosted in TCP, 
pay per use, tenant = customer (Contrail based)
TCP VPC Contrail/OpenStack Facts 
• Contrail 1.05 with Havana on CentOS 6.4 
• High Availability OpenStack architecture based on 
Corrosync/Pacemaker, HAProxy and MySQL Galera 
• 3x OpenStack Controllers, 2x Contrail Controllers – all 
virtual machines except one OpenStack Controller 
(because of Fibre Channel) 
• Not deployed by Fabric, but by SaltStack 
• Own solution for monitoring and metering/billing
Contrail/OpenStack Deployment 
Not Fabric – Why? 
• Fabric is great for showcase or standalone deployment 
• Fabric is not suitable for deploying OpenStack, because each 
deployment is different (cinder backend, glance backend) 
• Fabric does not deploy HA OpenStack for now 
• OpenStack config files needs to be extended for other items 
• Each company prefers different configuration management 
(puppet, salt, chef) 
• Fabric HA deployment of Contrail is not HA 
• Next releases are better 
Recommendations 
• There should be guide for integration Contrail with existing 
OpenStack and maybe steps for manual configuration 
without Fabric
Deployment issues with 1.05 
Fabric HA is not HA 
• Other config nodes refers to ip address of first node (e.g. discovery 
service) 
• There is no VIP address in HAProxy 
Bug in nova.conf 
• service_down_time = 100000 
Bad configuration for nova live migration 
• Nova.conf and libvirtd.conf must include parameters for doing live 
migration 
No options for cinder and glance backend 
• Config optimization and options inside of Fabric are missing
OpenStack modules – TCP VPC
OpenStack HA 
TCP VPC 
VIP 
HAProxy HAProxy HAProxy 
Contrail Config 
with Analytics & 
WebUI 
Contrail 
Control 
Contrail 
Database 
Openstack 
Controller 
MySQL RabbitMQ 
Contrail 
Database 
Openstack 
Controller 
GALERA 
Zookee 
per 
Cassandra 
Zookee 
per 
Cassandra 
MySQL RabbitMQ 
Contrail 
Control 
Contrail 
Database 
Cassandra 
Openstack 
Controller 
Zookee 
per 
MySQL RabbitMQ 
Contrail Config 
with Analytics & 
WebUI 
Bond Interface 
Pacemaker 
Corosync 
Contrail Config 
with Analytics & 
WebUI 
Pacemaker 
Corosync
OpenStack HA Architecture
Contrail screens from environment
OpenContrail deployment experience
HA issues 
Restoring BGP peering after failure one of control 
nodes 
• Sometimes joining control node after failure 
desynchronize BGP peering and whole 
floating ips are down for 20-60 sec. 
• Solved by deploying three config nodes and 
two control nodes 
Configuration files 
• Problems can be solved better configuration. 
• Native HA in Contrail release 1.10
General issues 
Cassandra problem 
• Flow records grow up very quickly. /etc/contrail/vizd_param 
ANALYTICS_DATA_TTL=8 
MTU configuration at MX and QFabric 
• MTU size for North-South communication is set to 
1550 QFabric and 1554 MX (at the end we had to 
increase to 9000 MTU) 
Bug in instance snapshot 
• qemu-img convert has bad parameters on CentOS
General issues 
Nova floating ip attaching 
• nova floating-ip-associate does not work – 
causes problems with existing PaaS tools 
Details for almost all issues are at user mailing list 
• All issues was discussed at list by me and 
most of them are successfully solved.
Pre-production 1.10 release 
• Migration from CentOS to Ubuntu 
• Full HA – 3 nodes together with OpenStack
Thank you for your attention! 
Questions?

More Related Content

PDF
OpenContrail Cloudwatt Feedback
PDF
Accelerating SDN Applications with Open Source Network Overlays
PPTX
Contrail Basics
PPSX
Contrail Deep-dive - Cloud Network Services at Scale
PDF
Using OpenContrail with Kubernetes
PDF
Kubernetes OpenContrail Meetup
PPTX
Secure Multi Tenant Cloud with OpenContrail
PDF
Deployment of Juniper Contrail in AVG Technologies
OpenContrail Cloudwatt Feedback
Accelerating SDN Applications with Open Source Network Overlays
Contrail Basics
Contrail Deep-dive - Cloud Network Services at Scale
Using OpenContrail with Kubernetes
Kubernetes OpenContrail Meetup
Secure Multi Tenant Cloud with OpenContrail
Deployment of Juniper Contrail in AVG Technologies

What's hot (20)

PDF
OpenStack Astara
PDF
PLNOG 13: Nicolai van der Smagt: SDN
PPTX
Network Monitoring and Analytics
PPTX
Neutron DVR
PDF
OpenStack and OpenContrail for FreeBSD platform by Michał Dubiel
PDF
Intro to OpenStack Astara (Spring '16)
PPTX
Can the Open vSwitch (OVS) bottleneck be resolved? - Erez Cohen - OpenStack D...
PPTX
Meetup 23 - 02 - OVN - The future of networking in OpenStack
PPTX
Scaling OpenStack Networking Beyond 4000 Nodes with Dragonflow - Eshed Gal-Or...
PPSX
Service Chaining - Cloud Network Services at Scale
PPTX
Cloudstack conference open_contrail v4
PDF
Overview of OpenDaylight Container Orchestration Engine Integration
PPTX
L2 and L3 agent restructure
PPTX
OpenStack: Virtual Routers On Compute Nodes
PDF
VPNaaS in Neutron
PDF
OpenStack in Action 4! Emilien Macchi & Sylvain Afchain - What's new in neutr...
PDF
Improving Network Application Performance using Load Aware Libeventdev
PPTX
OpenDaylight Netvirt and Neutron - Mike Kolesnik, Josh Hershberg - OpenStack ...
PDF
Neutron high availability open stack architecture openstack israel event 2015
PPTX
OpenStack High Availability
OpenStack Astara
PLNOG 13: Nicolai van der Smagt: SDN
Network Monitoring and Analytics
Neutron DVR
OpenStack and OpenContrail for FreeBSD platform by Michał Dubiel
Intro to OpenStack Astara (Spring '16)
Can the Open vSwitch (OVS) bottleneck be resolved? - Erez Cohen - OpenStack D...
Meetup 23 - 02 - OVN - The future of networking in OpenStack
Scaling OpenStack Networking Beyond 4000 Nodes with Dragonflow - Eshed Gal-Or...
Service Chaining - Cloud Network Services at Scale
Cloudstack conference open_contrail v4
Overview of OpenDaylight Container Orchestration Engine Integration
L2 and L3 agent restructure
OpenStack: Virtual Routers On Compute Nodes
VPNaaS in Neutron
OpenStack in Action 4! Emilien Macchi & Sylvain Afchain - What's new in neutr...
Improving Network Application Performance using Load Aware Libeventdev
OpenDaylight Netvirt and Neutron - Mike Kolesnik, Josh Hershberg - OpenStack ...
Neutron high availability open stack architecture openstack israel event 2015
OpenStack High Availability
Ad

Viewers also liked (20)

PDF
Cloud Network Virtualization with Juniper Contrail
PPTX
OpenStack Ousts vCenter for DevOps and Unites IT Silos at AVG Technologies
PPTX
OpenContrail Implementations
PPTX
OpenContrail Experience tcp cloud OpenStack Summit Tokyo
PPTX
Open contrail slides for BANV meetup
PDF
NFV SDN Summit March 2014 D3 03 bruno_rijsman NFV with OpenContrail
PPTX
○○○で作るOpenStack+Contrail環境
PDF
OpenStack Journey in Tieto Elastic Cloud
PDF
Opencontrail network virtualization
PPTX
Operators experience and perspective on SDN with VLANs and L3 Networks
PDF
Kubernetes SDN performance and architecture
PDF
【EPN Seminar Nov.10.2015】 Services Function Chaining Architecture, Standardiz...
PDF
Evolve or Die: Enterprise Ready OpenStack upgrades with Kubernetes
PPTX
How to size up an Apache Cassandra cluster (Training)
PPTX
Planning your OpenStack PoC
PDF
Deep dive into highly available open stack architecture openstack summit va...
PDF
OpenFlow 1.5.1
PDF
Open daylight and Openstack
PPTX
Module 5: YANG Tutorial - part 1
PDF
Open Source Backends for OpenStack Neutron
Cloud Network Virtualization with Juniper Contrail
OpenStack Ousts vCenter for DevOps and Unites IT Silos at AVG Technologies
OpenContrail Implementations
OpenContrail Experience tcp cloud OpenStack Summit Tokyo
Open contrail slides for BANV meetup
NFV SDN Summit March 2014 D3 03 bruno_rijsman NFV with OpenContrail
○○○で作るOpenStack+Contrail環境
OpenStack Journey in Tieto Elastic Cloud
Opencontrail network virtualization
Operators experience and perspective on SDN with VLANs and L3 Networks
Kubernetes SDN performance and architecture
【EPN Seminar Nov.10.2015】 Services Function Chaining Architecture, Standardiz...
Evolve or Die: Enterprise Ready OpenStack upgrades with Kubernetes
How to size up an Apache Cassandra cluster (Training)
Planning your OpenStack PoC
Deep dive into highly available open stack architecture openstack summit va...
OpenFlow 1.5.1
Open daylight and Openstack
Module 5: YANG Tutorial - part 1
Open Source Backends for OpenStack Neutron
Ad

Similar to OpenContrail deployment experience (20)

PPTX
Contrail at AllegroGroup
PDF
OpenStack Federated Cloud Services using API-Proxy and third party solutions
PPTX
PLNOG 13: Michał Dubiel: OpenContrail software architecture
PPT
Open Nebula An Innovative Open Source Toolkit For Building Cloud Solutions ...
PDF
As a Service: Cloud Foundry on OpenStack - Lessons Learnt
KEY
Openstack In Real Life
PDF
StarlingX - A Platform for the Distributed Edge | Ildiko Vancsa
PDF
PLNOG 17 - Nicolai van der Smagt - Building and connecting the eBay Classifie...
PDF
OSDC 2015: Martin Gerhard Loschwitz - Kristian Köhntopp | 45 Minutes of OpenS...
PDF
OSDC 2015: Martin Gerhard Loschwitz - Kristian Köhntopp | 45 Minutes of OpenS...
PDF
StarlingX - Driving Compute to the Edge with OpenStack
PPTX
OpenStack HA
PDF
Control Plane Architectures: Design Solutions
PPTX
TECNIRIS@: OpenNebula Tutorial
PPTX
Managing Container Clusters in OpenStack Native Way
PPTX
OpenStack & Cloud Foundry (OpenStack Fall 2012 Summit)
PDF
Building Clouds One 1.4
PDF
OpenContrail Overview
PDF
OpenStack User Committee - Havana Summit
PPTX
Using OpenStack In a Traditional Hosting Environment
Contrail at AllegroGroup
OpenStack Federated Cloud Services using API-Proxy and third party solutions
PLNOG 13: Michał Dubiel: OpenContrail software architecture
Open Nebula An Innovative Open Source Toolkit For Building Cloud Solutions ...
As a Service: Cloud Foundry on OpenStack - Lessons Learnt
Openstack In Real Life
StarlingX - A Platform for the Distributed Edge | Ildiko Vancsa
PLNOG 17 - Nicolai van der Smagt - Building and connecting the eBay Classifie...
OSDC 2015: Martin Gerhard Loschwitz - Kristian Köhntopp | 45 Minutes of OpenS...
OSDC 2015: Martin Gerhard Loschwitz - Kristian Köhntopp | 45 Minutes of OpenS...
StarlingX - Driving Compute to the Edge with OpenStack
OpenStack HA
Control Plane Architectures: Design Solutions
TECNIRIS@: OpenNebula Tutorial
Managing Container Clusters in OpenStack Native Way
OpenStack & Cloud Foundry (OpenStack Fall 2012 Summit)
Building Clouds One 1.4
OpenContrail Overview
OpenStack User Committee - Havana Summit
Using OpenStack In a Traditional Hosting Environment

Recently uploaded (20)

PPT
Teaching material agriculture food technology
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
cuic standard and advanced reporting.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Electronic commerce courselecture one. Pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Cloud computing and distributed systems.
PDF
KodekX | Application Modernization Development
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Teaching material agriculture food technology
Spectral efficient network and resource selection model in 5G networks
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Understanding_Digital_Forensics_Presentation.pptx
NewMind AI Weekly Chronicles - August'25 Week I
Reach Out and Touch Someone: Haptics and Empathic Computing
Advanced methodologies resolving dimensionality complications for autism neur...
Review of recent advances in non-invasive hemoglobin estimation
cuic standard and advanced reporting.pdf
Network Security Unit 5.pdf for BCA BBA.
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Diabetes mellitus diagnosis method based random forest with bat algorithm
Electronic commerce courselecture one. Pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
The AUB Centre for AI in Media Proposal.docx
Unlocking AI with Model Context Protocol (MCP)
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Cloud computing and distributed systems.
KodekX | Application Modernization Development
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...

OpenContrail deployment experience

  • 2. About me Jakub Pavlík • Cloud Platform Engineer • 3 years in Cloud • 2 years in OpenStack
  • 3. tcp cloud a.s. • #1 deployer of OpenStack solutions in Czech Republic • 2 years experiences with OpenStack • Basic two products • TCP Private Cloud – on premises, hosted in arbitrary place • TCP Virtual Private Cloud (TCP VPC)– hosted in TCP, pay per use, tenant = customer (Contrail based)
  • 4. TCP VPC Contrail/OpenStack Facts • Contrail 1.05 with Havana on CentOS 6.4 • High Availability OpenStack architecture based on Corrosync/Pacemaker, HAProxy and MySQL Galera • 3x OpenStack Controllers, 2x Contrail Controllers – all virtual machines except one OpenStack Controller (because of Fibre Channel) • Not deployed by Fabric, but by SaltStack • Own solution for monitoring and metering/billing
  • 5. Contrail/OpenStack Deployment Not Fabric – Why? • Fabric is great for showcase or standalone deployment • Fabric is not suitable for deploying OpenStack, because each deployment is different (cinder backend, glance backend) • Fabric does not deploy HA OpenStack for now • OpenStack config files needs to be extended for other items • Each company prefers different configuration management (puppet, salt, chef) • Fabric HA deployment of Contrail is not HA • Next releases are better Recommendations • There should be guide for integration Contrail with existing OpenStack and maybe steps for manual configuration without Fabric
  • 6. Deployment issues with 1.05 Fabric HA is not HA • Other config nodes refers to ip address of first node (e.g. discovery service) • There is no VIP address in HAProxy Bug in nova.conf • service_down_time = 100000 Bad configuration for nova live migration • Nova.conf and libvirtd.conf must include parameters for doing live migration No options for cinder and glance backend • Config optimization and options inside of Fabric are missing
  • 8. OpenStack HA TCP VPC VIP HAProxy HAProxy HAProxy Contrail Config with Analytics & WebUI Contrail Control Contrail Database Openstack Controller MySQL RabbitMQ Contrail Database Openstack Controller GALERA Zookee per Cassandra Zookee per Cassandra MySQL RabbitMQ Contrail Control Contrail Database Cassandra Openstack Controller Zookee per MySQL RabbitMQ Contrail Config with Analytics & WebUI Bond Interface Pacemaker Corosync Contrail Config with Analytics & WebUI Pacemaker Corosync
  • 10. Contrail screens from environment
  • 12. HA issues Restoring BGP peering after failure one of control nodes • Sometimes joining control node after failure desynchronize BGP peering and whole floating ips are down for 20-60 sec. • Solved by deploying three config nodes and two control nodes Configuration files • Problems can be solved better configuration. • Native HA in Contrail release 1.10
  • 13. General issues Cassandra problem • Flow records grow up very quickly. /etc/contrail/vizd_param ANALYTICS_DATA_TTL=8 MTU configuration at MX and QFabric • MTU size for North-South communication is set to 1550 QFabric and 1554 MX (at the end we had to increase to 9000 MTU) Bug in instance snapshot • qemu-img convert has bad parameters on CentOS
  • 14. General issues Nova floating ip attaching • nova floating-ip-associate does not work – causes problems with existing PaaS tools Details for almost all issues are at user mailing list • All issues was discussed at list by me and most of them are successfully solved.
  • 15. Pre-production 1.10 release • Migration from CentOS to Ubuntu • Full HA – 3 nodes together with OpenStack
  • 16. Thank you for your attention! Questions?