SlideShare una empresa de Scribd logo
1 de 28
Descargar para leer sin conexión
MidoNet - Troubleshooting
1MidoNet Troubleshooting, Copyright (c) 2015 Midokura
Troubleshooting
● General Approach
● Typical Issues
● MidoNet Tools
● Getting Help
General Approach
3MidoNet Troubleshooting, Copyright (c) 2015 Midokura
Network Stack
● Multiple layers
Underlay Network
Overlay Network
Topology Simulation
Virtual Network Topology
Network Stack
● Multiple layers
Underlay Network → Physical Environment
Overlay Network → Datapath / Tunnel
Topology Simulation → MidoNet Agent
Virtual Network Topology → Neutron, NSDB
Physical Environment
6MidoNet Troubleshooting, Copyright (c) 2015 Midokura
Physical Network
● Cabling
o Cannot connect to physical nodes
o ethtool → link detected?
o ip link → device status?
● Routing
o Cannot access VMs on
particular node
o netstat -nr
o ip route Overlay Network
Topology Simulation
Virtual Network Topology
Underlay Network
Security Configuration
● Firewall
o Cannot connect to services
o iptables -L
● ACL / SELinux
o Cannot access services
o getenforce
o setenforce
Overlay Network
Topology Simulation
Virtual Network Topology
Underlay Network
Linux Kernel
● Open vSwitch module
o MidoNet Agent does not start
o VMs are not reachable
o modinfo openvswitch
o lsmod | grep openvswitch
● Load manually
o modprobe openvswitch
o insmod /lib/modules/…
Overlay Network
Topology Simulation
Virtual Network Topology
Underlay Network
Clock Synchronization
● Sync clock on all nodes
o Same time zone? JTC != UTC
o ntpd
o ntpdate
● Clocks out of sync?
o NSDB troubles
o 50% packet loss
Overlay Network
Topology Simulation
Virtual Network Topology
Underlay Network
Datapath / Tunnel
11MidoNet Troubleshooting, Copyright (c) 2015 Midokura
Datapath
● VMs unreachable, physical network ok
● Check status of MidoNet datapath
o mm-dpctl --show-dp midonet
o mm-dpctl --dump-dp midonet
o mm-ctl --list-hosts
Overlay Network
Topology Simulation
Virtual Network Topology
Underlay Network
Tunnel
● Tunnel Zone
o Check tunnel-zone with midonet-cli
o Check GRE/VXLAN interfaces
→ mm-dpctl --show-dp midonet
● MTU
o Overhead of tunnel protocols
 GRE (MTU 1454)
 VxLAN (MTU 1450)
Overlay Network
Topology Simulation
Virtual Network Topology
Underlay Network
MidoNet Agent
14MidoNet Troubleshooting, Copyright (c) 2015 Midokura
MidoNet Agent
● MidoNet configuration issues
o e.g. cannot start MidoNet Agent
o Errors show up in the log file
o Check NSDB connections
o ping [NSDB_IP]
o telnet [NSDB_IP] 2181
o telnet [NSDB_IP] 9160
● Otherwise MidoNet bugs...
Overlay Network
Topology Simulation
Virtual Network Topology
Underlay Network
Neutron / NSDB
16MidoNet Troubleshooting, Copyright (c) 2015 Midokura
Neutron / NSDB setup
● Security Groups
o Proper rules added?
●
ICMP, SSH, HTTP
● Gateway Configuration
o neutron router-gateway-set
o neutron router-interface-add
Overlay Network
Virtual NW Topology
Simulation
Virtual NW Topology
Underlay Network
Neutron / NSDB consistency
● DO NOT delete components via MidoNet
o neutron port-list returns error if you delete a port!
o Neutron server error if you delete a bridge!
● Manual rebuild
o Neutron → NSDB
● Use Neutron / Horizon
Overlay Network
Virtual NW Topology
Simulation
Virtual NW Topology
Underlay Network
MidoNet Tools
19MidoNet Troubleshooting, Copyright (c) 2015 Midokura
General CLI
● midonet-cli
o Interactive or script-controlled
o Client to the REST API
o Browse and manipulate topology
o Maintain tunnel zone
o Upgrade MidoNet
o man midonet-cli
Control
● mm-ctl
o Show Agent hosts
o Show VM tap interface mappings
o Bind / unbind ports
Datapath
● mm-dpctl
o Show flows
o Delete flows
o grep by IP / port
Packet Tracing
● mm-trace
o Filters
●
Protocol
●
IP / MAC address
●
Port number
●
…
o mm-trace –help
Statistics
● mm-stat
o Statistics
●
Packets processed
●
Packets dropped
●
Packets on-hold
●
Flows created
●
Latency
●
...
Getting Help
25MidoNet Troubleshooting, Copyright (c) 2015 Midokura
Getting Help
● Chat
– https://slack.midonet.org
● Mailing Lists
– https://lists.midonet.org
● Troubleshooting Guide
– http://docs.midonet.org
Getting Help
● Chat
– https://slack.midonet.org
● Mailing Lists
– https://lists.midonet.org
● Troubleshooting Guide
– http://docs.midonet.org
Thank You!
28MidoNet Troubleshooting, Copyright (c) 2015 Midokura

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Open Ethernet: an open-source approach to modern network design
Open Ethernet: an open-source approach to modern network designOpen Ethernet: an open-source approach to modern network design
Open Ethernet: an open-source approach to modern network design
 
[OpenStack Day in Korea 2015] Track 3-6 - Archiectural Overview of the Open S...
[OpenStack Day in Korea 2015] Track 3-6 - Archiectural Overview of the Open S...[OpenStack Day in Korea 2015] Track 3-6 - Archiectural Overview of the Open S...
[OpenStack Day in Korea 2015] Track 3-6 - Archiectural Overview of the Open S...
 
OpenContrail SDN for Kubernetes
OpenContrail SDN for KubernetesOpenContrail SDN for Kubernetes
OpenContrail SDN for Kubernetes
 
Introduction to SDN and NFV
Introduction to SDN and NFVIntroduction to SDN and NFV
Introduction to SDN and NFV
 
Campus
CampusCampus
Campus
 
Devconf2017 - Can VMs networking benefit from DPDK
Devconf2017 - Can VMs networking benefit from DPDKDevconf2017 - Can VMs networking benefit from DPDK
Devconf2017 - Can VMs networking benefit from DPDK
 
2014년 오픈소스 기반 플랫폼 기술 세미나 - Let's Start NFV & SDN
2014년 오픈소스 기반 플랫폼 기술 세미나 - Let's Start NFV & SDN2014년 오픈소스 기반 플랫폼 기술 세미나 - Let's Start NFV & SDN
2014년 오픈소스 기반 플랫폼 기술 세미나 - Let's Start NFV & SDN
 
Новые коммутаторы QFX10000. Технология JunOS Fusion
Новые коммутаторы QFX10000. Технология JunOS FusionНовые коммутаторы QFX10000. Технология JunOS Fusion
Новые коммутаторы QFX10000. Технология JunOS Fusion
 
Contrail Enabler for agile cloud services
Contrail Enabler for agile cloud servicesContrail Enabler for agile cloud services
Contrail Enabler for agile cloud services
 
20141102 VyOS 1.1.0 and NIFTY Cloud New Features
20141102 VyOS 1.1.0 and NIFTY Cloud New Features20141102 VyOS 1.1.0 and NIFTY Cloud New Features
20141102 VyOS 1.1.0 and NIFTY Cloud New Features
 
Agile Networking with OpenStack
Agile Networking with OpenStack Agile Networking with OpenStack
Agile Networking with OpenStack
 
Server-side Intelligent Switching using Windows Azure
Server-side Intelligent Switching using Windows AzureServer-side Intelligent Switching using Windows Azure
Server-side Intelligent Switching using Windows Azure
 
CloudX on OpenStack
CloudX on OpenStackCloudX on OpenStack
CloudX on OpenStack
 
네트워크 가상화 보안현황 및 보안연관성
네트워크 가상화 보안현황 및 보안연관성네트워크 가상화 보안현황 및 보안연관성
네트워크 가상화 보안현황 및 보안연관성
 
Switchdev - No More SDK
Switchdev - No More SDKSwitchdev - No More SDK
Switchdev - No More SDK
 
Дизайн отказоустойчивых локальных сетей
Дизайн отказоустойчивых локальных сетейДизайн отказоустойчивых локальных сетей
Дизайн отказоустойчивых локальных сетей
 
WAN - trends and use cases
WAN - trends and use casesWAN - trends and use cases
WAN - trends and use cases
 
SDN/NFV Sudanese Research Group Initiative
SDN/NFV Sudanese Research Group Initiative SDN/NFV Sudanese Research Group Initiative
SDN/NFV Sudanese Research Group Initiative
 
OpenStack networking-sfc flow 분석
OpenStack networking-sfc flow 분석OpenStack networking-sfc flow 분석
OpenStack networking-sfc flow 분석
 
Openstack meetup: NFV and Openstack
Openstack meetup: NFV and OpenstackOpenstack meetup: NFV and Openstack
Openstack meetup: NFV and Openstack
 

Destacado

Destacado (9)

NFV標準化動向 NFVの適用範囲と標準化 – OpenStack最新情報セミナー 2015年4月
NFV標準化動向 NFVの適用範囲と標準化 – OpenStack最新情報セミナー 2015年4月NFV標準化動向 NFVの適用範囲と標準化 – OpenStack最新情報セミナー 2015年4月
NFV標準化動向 NFVの適用範囲と標準化 – OpenStack最新情報セミナー 2015年4月
 
OPNFV詳細編 – OpenStack最新情報セミナー 2015年4月
OPNFV詳細編 – OpenStack最新情報セミナー 2015年4月OPNFV詳細編 – OpenStack最新情報セミナー 2015年4月
OPNFV詳細編 – OpenStack最新情報セミナー 2015年4月
 
NFV/OPNFV概要 – OpenStack最新情報セミナー 2015年4月
NFV/OPNFV概要 – OpenStack最新情報セミナー 2015年4月NFV/OPNFV概要 – OpenStack最新情報セミナー 2015年4月
NFV/OPNFV概要 – OpenStack最新情報セミナー 2015年4月
 
OpenStackネットワーク入門 – OpenStack最新情報セミナー 2015年4月
OpenStackネットワーク入門 – OpenStack最新情報セミナー 2015年4月OpenStackネットワーク入門 – OpenStack最新情報セミナー 2015年4月
OpenStackネットワーク入門 – OpenStack最新情報セミナー 2015年4月
 
HPNFVの取組みとMWC2015 – OpenStack最新情報セミナー 2015年4月
HPNFVの取組みとMWC2015 – OpenStack最新情報セミナー 2015年4月HPNFVの取組みとMWC2015 – OpenStack最新情報セミナー 2015年4月
HPNFVの取組みとMWC2015 – OpenStack最新情報セミナー 2015年4月
 
今さら聞けない人のためのDocker超入門 – OpenStack最新情報セミナー 2015年4月
今さら聞けない人のためのDocker超入門 – OpenStack最新情報セミナー 2015年4月今さら聞けない人のためのDocker超入門 – OpenStack最新情報セミナー 2015年4月
今さら聞けない人のためのDocker超入門 – OpenStack最新情報セミナー 2015年4月
 
Network Test Automation 2015-04-23 #npstudy
Network Test Automation 2015-04-23 #npstudyNetwork Test Automation 2015-04-23 #npstudy
Network Test Automation 2015-04-23 #npstudy
 
ネットワークプログラマビリティ勉強会
ネットワークプログラマビリティ勉強会ネットワークプログラマビリティ勉強会
ネットワークプログラマビリティ勉強会
 
Openflow超解釈
Openflow超解釈Openflow超解釈
Openflow超解釈
 

Similar a MidoNet Trouble Shooting – OpenStack最新情報セミナー 2015年4月

Similar a MidoNet Trouble Shooting – OpenStack最新情報セミナー 2015年4月 (20)

A Skype case study (2011)
A Skype case study (2011)A Skype case study (2011)
A Skype case study (2011)
 
PuppetConf 2016: Why Network Automation Matters, and What You Can Do About It...
PuppetConf 2016: Why Network Automation Matters, and What You Can Do About It...PuppetConf 2016: Why Network Automation Matters, and What You Can Do About It...
PuppetConf 2016: Why Network Automation Matters, and What You Can Do About It...
 
XS Boston 2008 Network Topology
XS Boston 2008 Network TopologyXS Boston 2008 Network Topology
XS Boston 2008 Network Topology
 
CCNA 200-120 Exam Questions
CCNA 200-120 Exam QuestionsCCNA 200-120 Exam Questions
CCNA 200-120 Exam Questions
 
The Considerations for Internet of Things @ 2017
The Considerations for Internet of Things @ 2017The Considerations for Internet of Things @ 2017
The Considerations for Internet of Things @ 2017
 
A trial investigation system for vulnerability on M2M network
A trial investigation system for vulnerability on M2M networkA trial investigation system for vulnerability on M2M network
A trial investigation system for vulnerability on M2M network
 
A Trial Investigation System for Vulnerability on M2M Network
A Trial Investigation System for Vulnerability on M2M NetworkA Trial Investigation System for Vulnerability on M2M Network
A Trial Investigation System for Vulnerability on M2M Network
 
Mikrotik Hotspot
Mikrotik HotspotMikrotik Hotspot
Mikrotik Hotspot
 
Interconnection Automation For All - Extended - MPS 2023
Interconnection Automation For All - Extended - MPS 2023Interconnection Automation For All - Extended - MPS 2023
Interconnection Automation For All - Extended - MPS 2023
 
Building a Small Datacenter
Building a Small DatacenterBuilding a Small Datacenter
Building a Small Datacenter
 
Openstack Networking and ML2
Openstack Networking and ML2Openstack Networking and ML2
Openstack Networking and ML2
 
Building a Small DC
Building a Small DCBuilding a Small DC
Building a Small DC
 
Internet Protocol Deep-Dive
Internet Protocol Deep-DiveInternet Protocol Deep-Dive
Internet Protocol Deep-Dive
 
Mikrotik Bridge Deep Dive
Mikrotik Bridge Deep DiveMikrotik Bridge Deep Dive
Mikrotik Bridge Deep Dive
 
Secure your network - Segmentation and segregation
Secure your network - Segmentation and segregationSecure your network - Segmentation and segregation
Secure your network - Segmentation and segregation
 
EOIP Deep Dive
EOIP Deep DiveEOIP Deep Dive
EOIP Deep Dive
 
Troubleshooting Layer 2 Ethernet Problem: Loop, Broadcast, Security
Troubleshooting Layer 2 Ethernet Problem: Loop, Broadcast, Security Troubleshooting Layer 2 Ethernet Problem: Loop, Broadcast, Security
Troubleshooting Layer 2 Ethernet Problem: Loop, Broadcast, Security
 
Tutorial WiFi driver code - Opening Nuts and Bolts of Linux WiFi Subsystem
Tutorial WiFi driver code - Opening Nuts and Bolts of Linux WiFi SubsystemTutorial WiFi driver code - Opening Nuts and Bolts of Linux WiFi Subsystem
Tutorial WiFi driver code - Opening Nuts and Bolts of Linux WiFi Subsystem
 
Using Mikrotik Switch Features to Improve Your Network
Using Mikrotik Switch Features to Improve Your Network Using Mikrotik Switch Features to Improve Your Network
Using Mikrotik Switch Features to Improve Your Network
 
QIoT 您專屬的私有雲平台 - 新知講堂 - 20170421
QIoT 您專屬的私有雲平台 - 新知講堂 - 20170421QIoT 您專屬的私有雲平台 - 新知講堂 - 20170421
QIoT 您專屬的私有雲平台 - 新知講堂 - 20170421
 

Más de VirtualTech Japan Inc.

Más de VirtualTech Japan Inc. (20)

5G時代のアプリケーションとは 〜 5G+MECを活用した低遅延アプリの実現へ 〜
5G時代のアプリケーションとは 〜 5G+MECを活用した低遅延アプリの実現へ 〜5G時代のアプリケーションとは 〜 5G+MECを活用した低遅延アプリの実現へ 〜
5G時代のアプリケーションとは 〜 5G+MECを活用した低遅延アプリの実現へ 〜
 
エンジニアが幸せになれる会社を目指します
エンジニアが幸せになれる会社を目指しますエンジニアが幸せになれる会社を目指します
エンジニアが幸せになれる会社を目指します
 
KubeVirt 201 How to Using the GPU
KubeVirt 201 How to Using the GPUKubeVirt 201 How to Using the GPU
KubeVirt 201 How to Using the GPU
 
KubeVirt 101
KubeVirt 101KubeVirt 101
KubeVirt 101
 
今からはじめる! Linuxコマンド入門
今からはじめる! Linuxコマンド入門今からはじめる! Linuxコマンド入門
今からはじめる! Linuxコマンド入門
 
5G時代のアプリケーション開発とは - 5G+MECを活用した低遅延アプリの実現へ
5G時代のアプリケーション開発とは - 5G+MECを活用した低遅延アプリの実現へ5G時代のアプリケーション開発とは - 5G+MECを活用した低遅延アプリの実現へ
5G時代のアプリケーション開発とは - 5G+MECを活用した低遅延アプリの実現へ
 
Kubernetes雑にまとめてみた 2020年8月版
Kubernetes雑にまとめてみた 2020年8月版Kubernetes雑にまとめてみた 2020年8月版
Kubernetes雑にまとめてみた 2020年8月版
 
MS Teams + OBS Studio (+ OBS Mac Virtual Camera) でのオンラインセミナーのプロトタイプの構築
MS Teams + OBS Studio (+ OBS Mac Virtual Camera) でのオンラインセミナーのプロトタイプの構築MS Teams + OBS Studio (+ OBS Mac Virtual Camera) でのオンラインセミナーのプロトタイプの構築
MS Teams + OBS Studio (+ OBS Mac Virtual Camera) でのオンラインセミナーのプロトタイプの構築
 
5G時代のアプリケーション開発とは
5G時代のアプリケーション開発とは5G時代のアプリケーション開発とは
5G時代のアプリケーション開発とは
 
hbstudy#88 5G+MEC時代のシステム設計
hbstudy#88 5G+MEC時代のシステム設計hbstudy#88 5G+MEC時代のシステム設計
hbstudy#88 5G+MEC時代のシステム設計
 
通信への課題発掘ワークショップ 「5Gイノベーション」の取り組み
通信への課題発掘ワークショップ 「5Gイノベーション」の取り組み通信への課題発掘ワークショップ 「5Gイノベーション」の取り組み
通信への課題発掘ワークショップ 「5Gイノベーション」の取り組み
 
Kubernetes雑にまとめてみた 2019年12月版
Kubernetes雑にまとめてみた 2019年12月版Kubernetes雑にまとめてみた 2019年12月版
Kubernetes雑にまとめてみた 2019年12月版
 
OpenStackを使用したGPU仮想化IaaS環境 事例紹介
OpenStackを使用したGPU仮想化IaaS環境 事例紹介OpenStackを使用したGPU仮想化IaaS環境 事例紹介
OpenStackを使用したGPU仮想化IaaS環境 事例紹介
 
Docker超入門
Docker超入門Docker超入門
Docker超入門
 
5Gにまつわる3つの誤解 - 5G×ライブコンテンツ:5G時代の双方向コンテンツとは
5Gにまつわる3つの誤解 - 5G×ライブコンテンツ:5G時代の双方向コンテンツとは5Gにまつわる3つの誤解 - 5G×ライブコンテンツ:5G時代の双方向コンテンツとは
5Gにまつわる3つの誤解 - 5G×ライブコンテンツ:5G時代の双方向コンテンツとは
 
KubeCon China & MWC Shangai 出張報告
KubeCon China & MWC Shangai 出張報告KubeCon China & MWC Shangai 出張報告
KubeCon China & MWC Shangai 出張報告
 
NTT Docomo's Challenge looking ahead the world pf 5G × OpenStack - OpenStack最...
NTT Docomo's Challenge looking ahead the world pf 5G × OpenStack - OpenStack最...NTT Docomo's Challenge looking ahead the world pf 5G × OpenStack - OpenStack最...
NTT Docomo's Challenge looking ahead the world pf 5G × OpenStack - OpenStack最...
 
Introduction of private cloud in LINE - OpenStack最新情報セミナー(2019年2月)
Introduction of private cloud in LINE - OpenStack最新情報セミナー(2019年2月)Introduction of private cloud in LINE - OpenStack最新情報セミナー(2019年2月)
Introduction of private cloud in LINE - OpenStack最新情報セミナー(2019年2月)
 
Multi-access Edge Computing(MEC)における”Edge”の定義
Multi-access Edge Computing(MEC)における”Edge”の定義Multi-access Edge Computing(MEC)における”Edge”の定義
Multi-access Edge Computing(MEC)における”Edge”の定義
 
Edge Computing Architecture using GPUs and Kubernetes
Edge Computing Architecture using GPUs and KubernetesEdge Computing Architecture using GPUs and Kubernetes
Edge Computing Architecture using GPUs and Kubernetes
 

Último

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

MidoNet Trouble Shooting – OpenStack最新情報セミナー 2015年4月

  • 1. MidoNet - Troubleshooting 1MidoNet Troubleshooting, Copyright (c) 2015 Midokura
  • 2. Troubleshooting ● General Approach ● Typical Issues ● MidoNet Tools ● Getting Help
  • 3. General Approach 3MidoNet Troubleshooting, Copyright (c) 2015 Midokura
  • 4. Network Stack ● Multiple layers Underlay Network Overlay Network Topology Simulation Virtual Network Topology
  • 5. Network Stack ● Multiple layers Underlay Network → Physical Environment Overlay Network → Datapath / Tunnel Topology Simulation → MidoNet Agent Virtual Network Topology → Neutron, NSDB
  • 7. Physical Network ● Cabling o Cannot connect to physical nodes o ethtool → link detected? o ip link → device status? ● Routing o Cannot access VMs on particular node o netstat -nr o ip route Overlay Network Topology Simulation Virtual Network Topology Underlay Network
  • 8. Security Configuration ● Firewall o Cannot connect to services o iptables -L ● ACL / SELinux o Cannot access services o getenforce o setenforce Overlay Network Topology Simulation Virtual Network Topology Underlay Network
  • 9. Linux Kernel ● Open vSwitch module o MidoNet Agent does not start o VMs are not reachable o modinfo openvswitch o lsmod | grep openvswitch ● Load manually o modprobe openvswitch o insmod /lib/modules/… Overlay Network Topology Simulation Virtual Network Topology Underlay Network
  • 10. Clock Synchronization ● Sync clock on all nodes o Same time zone? JTC != UTC o ntpd o ntpdate ● Clocks out of sync? o NSDB troubles o 50% packet loss Overlay Network Topology Simulation Virtual Network Topology Underlay Network
  • 11. Datapath / Tunnel 11MidoNet Troubleshooting, Copyright (c) 2015 Midokura
  • 12. Datapath ● VMs unreachable, physical network ok ● Check status of MidoNet datapath o mm-dpctl --show-dp midonet o mm-dpctl --dump-dp midonet o mm-ctl --list-hosts Overlay Network Topology Simulation Virtual Network Topology Underlay Network
  • 13. Tunnel ● Tunnel Zone o Check tunnel-zone with midonet-cli o Check GRE/VXLAN interfaces → mm-dpctl --show-dp midonet ● MTU o Overhead of tunnel protocols  GRE (MTU 1454)  VxLAN (MTU 1450) Overlay Network Topology Simulation Virtual Network Topology Underlay Network
  • 14. MidoNet Agent 14MidoNet Troubleshooting, Copyright (c) 2015 Midokura
  • 15. MidoNet Agent ● MidoNet configuration issues o e.g. cannot start MidoNet Agent o Errors show up in the log file o Check NSDB connections o ping [NSDB_IP] o telnet [NSDB_IP] 2181 o telnet [NSDB_IP] 9160 ● Otherwise MidoNet bugs... Overlay Network Topology Simulation Virtual Network Topology Underlay Network
  • 16. Neutron / NSDB 16MidoNet Troubleshooting, Copyright (c) 2015 Midokura
  • 17. Neutron / NSDB setup ● Security Groups o Proper rules added? ● ICMP, SSH, HTTP ● Gateway Configuration o neutron router-gateway-set o neutron router-interface-add Overlay Network Virtual NW Topology Simulation Virtual NW Topology Underlay Network
  • 18. Neutron / NSDB consistency ● DO NOT delete components via MidoNet o neutron port-list returns error if you delete a port! o Neutron server error if you delete a bridge! ● Manual rebuild o Neutron → NSDB ● Use Neutron / Horizon Overlay Network Virtual NW Topology Simulation Virtual NW Topology Underlay Network
  • 19. MidoNet Tools 19MidoNet Troubleshooting, Copyright (c) 2015 Midokura
  • 20. General CLI ● midonet-cli o Interactive or script-controlled o Client to the REST API o Browse and manipulate topology o Maintain tunnel zone o Upgrade MidoNet o man midonet-cli
  • 21. Control ● mm-ctl o Show Agent hosts o Show VM tap interface mappings o Bind / unbind ports
  • 22. Datapath ● mm-dpctl o Show flows o Delete flows o grep by IP / port
  • 23. Packet Tracing ● mm-trace o Filters ● Protocol ● IP / MAC address ● Port number ● … o mm-trace –help
  • 24. Statistics ● mm-stat o Statistics ● Packets processed ● Packets dropped ● Packets on-hold ● Flows created ● Latency ● ...
  • 25. Getting Help 25MidoNet Troubleshooting, Copyright (c) 2015 Midokura
  • 26. Getting Help ● Chat – https://slack.midonet.org ● Mailing Lists – https://lists.midonet.org ● Troubleshooting Guide – http://docs.midonet.org
  • 27. Getting Help ● Chat – https://slack.midonet.org ● Mailing Lists – https://lists.midonet.org ● Troubleshooting Guide – http://docs.midonet.org
  • 28. Thank You! 28MidoNet Troubleshooting, Copyright (c) 2015 Midokura