2015年11月
NTTコミュニケーションズ
技術開発部
OpenStack Summit 2015 Tokyo
興味をひいたセッション
Copyright © NTT Communications Corporation. All right reserved.
Copyright © NTT Communications Corporation. All right reserved.
自己紹介
🔸名前
三井貴之
🔸経歴
・2015.5~
NTTCOM 技術開発部
クラウドコアTU
OpenStack team
1
Copyright © NTT Communications Corporation. All right reserved.
このセッションを紹介します
1. OpenStack Trivia
2. I Can’t Ping My VM!
Learn How to Debug
Neutron and Solve
Common Problems
2
Copyright © NTT Communications Corporation. All right reserved.
Trivia
3
https://www.youtube.com/watch?v=5uGIV6RKoTw
Copyright © NTT Communications Corporation. All right reserved.
発表者紹介
4
David Medberry
- Time Warner Cable
- OpenStack Community
leader for 4+ years
「Frisbee thrower as long as I can
remember...」
Copyright © NTT Communications Corporation. All right reserved.
トリビアがいっぱいある
5
https://www.youtube.com/watch?v=5uGIV6RKoTw
Copyright © NTT Communications Corporation. All right reserved.
誰?
6
https://www.youtube.com/watch?v=5uGIV6RKoTw
Copyright © NTT Communications Corporation. All right reserved.
Principal Enginner
7
https://www.youtube.com/watch?v=5uGIV6RKoTw
Copyright © NTT Communications Corporation. All right reserved.
このオプションを使うのは?
OpenStackのaffiliated service
で、
次のオプションを使うものは?
--yes-i-really-really-mean-it
8
Copyright © NTT Communications Corporation. All right reserved.
CEPHだそうです
既存ストレージプールを削除するときに
使用
#ceph osd delete {pool-name} [{pool-
name} --yes-i-really-really-mean-it]
9
Copyright © NTT Communications Corporation. All right reserved.
What summit introduced DevStack?
10
DevStackが紹介されたSummitは?
https://www.youtube.com/watch?v=5uGIV6RKoTw
Copyright © NTT Communications Corporation. All right reserved.
BOSTON, 2011
11
https://www.youtube.com/watch?v=5uGIV6RKoTw
Copyright © NTT Communications Corporation. All right reserved.
First Two subproject?
OpenStackサブプロジェクトで、
一番目と2番目は?
12
https://www.youtube.com/watch?v=5uGIV6RKoTw
Copyright © NTT Communications Corporation. All right reserved.
Nova&Swfit
13
最初にNova,Swift
次にglance
Copyright © NTT Communications Corporation. All right reserved.
地名
地名がついたプロジェクトは?
14
Copyright © NTT Communications Corporation. All right reserved.
地名がついたプロジェクト
Sahara サハラ砂漠
Oslo ノルウェー王国首都
Murano ヴェネツィアにある島
Manila フィリピン共和国首都
Kolla ノルウェー南部の山
15
Copyright © NTT Communications Corporation. All right reserved.
このセッションを紹介します
1. OpenStack Trivia
2. I Can’t Ping My VM!
Learn How to Debug
Neutron and Solve
Common Problems
16
Copyright © NTT Communications Corporation. All right reserved.
発表者紹介
Rossella Sblendido
Software Engineer, SUSE
Neutron Core Reviewer
17
Copyright © NTT Communications Corporation. All right reserved.
構成
• Can’t ping/ssh VM private IP
– DHCP Agent
– OpenVSwitch
– Linux Bridge
• Can’t ping/ssh VM external IP
– L3 Agent
• Can’t reach the Metadata Server
• Vif plugging Timeout
– L2 Agent
• コマンド紹介
18
Copyright © NTT Communications Corporation. All right reserved.
わかりやすく丁寧な解説
シチュエーション毎に、コンポーネントの
仕組みを丁寧に解説
19
https://www.youtube.com/watch?v=aNA8Pvewu2M
Copyright © NTT Communications Corporation. All right reserved.
わかりやすく丁寧な解説
シチュエーション毎に、コンポーネントの
仕組みを丁寧に解説
20
https://www.youtube.com/watch?v=aNA8Pvewu2M
初心者にオススメ
Copyright © NTT Communications Corporation. All right reserved.
チェックリストも
• Can’t ping/ssh VM private
IP
– VM up?
– /var/log/nova/*
/var/log/neutron/*
– セキュリティグループ
– DHCP Agentは動いてる?
– DHCP namespaceでdnsmasqが
動いているか?
– 通るVLAN IDを使っているか?
21
https://www.youtube.com/watch?v=aNA8Pvewu2M
• Can’t ping/ssh VM external
IP
– セキュリティグループ
– Private IPにpingが打てるか?
– Routerにpingが打てるか?
– RouterからFIPを使ってVMに
pingが打てるか?
– ovs-vsctl show
• Can’t reach metadata
server
– Metadata agent up?
– Metadata proxy up?
– look log(neutron-metadata-
agent nova-metadata-agent)
– Router namespaceから
metadata serverに繋がるか?
– 使用イメージがoption121に対応
しているか?
• Vif plugging timeout
– Look log(neutron server、l2
agent)
– vif_pluggin_timeout
– rpc_thead_pool_size
– rpc_conn_pool_size
Copyright © NTT Communications Corporation. All right reserved.
チェックリストも
• Can’t ping/ssh VM private
IP
– VM up?
– /var/log/nova/*
/var/log/neutron/*
– セキュリティグループ
– DHCP Agentは動いてる?
– DHCP namespaceでdnsmasqが
動いているか?
– 通るVLAN IDを使っているか?
22
https://www.youtube.com/watch?v=aNA8Pvewu2M
• Can’t ping/ssh VM external
IP
– セキュリティグループ
– Private IPにpingが打てるか?
– Routerにpingが打てるか?
– RouterからFIPを使ってVMに
pingが打てるか?
– ovs-vsctl show
• Can’t reach metadata
server
– Metadata agent up?
– Metadata proxy up?
– look log(neutron-metadata-
agent nova-metadata-agent)
– Router namespaceから
metadata serverに繋がるか?
– 使用イメージがoption121に対応
しているか?
• Vif plugging timeout
– Look log(neutron server、l2
agent)
– vif_pluggin_timeout
– rpc_thead_pool_size
– rpc_conn_pool_size
Tcpdump all the way
Copyright © NTT Communications Corporation. All right reserved.
使えるコマンド
23
• general
– ip addr
– route –n
– iptables –L
– arp
– brctl show
– brctl show br-name
• Tcpdump
– tcpdump -i eth0 -n ip proto gre
– tcpdump -envi br-int
– ip netns exec qrouter-UUID
tcpdump -i qr-63eaxxxxx icmp
– tcpdump -i eth0 -n arp or icmp
– ovs-vsctl show
– tcpdump -i any -n icmp
• Namespace
– Ip netns list
– ip netns exec qrouter-UUID ip
link
– ip netns exec qrouter-UUID
route –n
– ip netns exec qrouter-UUID
iptables -L -t nat
• Openvswitch
– ovs-vsctl show
– ovs-dpctl show
– ovs-dpctl dump-flows
– ovs-ofctl dump-flows
– ovs-ofctl dump-flows br-tun
table=21
Copyright © NTT Communications Corporation. All right reserved.
詳細はYoutubeで
24
1. OpenStack Trivia
https://www.youtube.com/watch?v=5uGIV
6RKoTw
2. I Can’t Ping My VM!
https://www.youtube.com/watch?v=
aNA8Pvewu2M

OpenStack Summit Tokyo 興味をひいたセッション

  • 1.
    2015年11月 NTTコミュニケーションズ 技術開発部 OpenStack Summit 2015Tokyo 興味をひいたセッション Copyright © NTT Communications Corporation. All right reserved.
  • 2.
    Copyright © NTTCommunications Corporation. All right reserved. 自己紹介 🔸名前 三井貴之 🔸経歴 ・2015.5~ NTTCOM 技術開発部 クラウドコアTU OpenStack team 1
  • 3.
    Copyright © NTTCommunications Corporation. All right reserved. このセッションを紹介します 1. OpenStack Trivia 2. I Can’t Ping My VM! Learn How to Debug Neutron and Solve Common Problems 2
  • 4.
    Copyright © NTTCommunications Corporation. All right reserved. Trivia 3 https://www.youtube.com/watch?v=5uGIV6RKoTw
  • 5.
    Copyright © NTTCommunications Corporation. All right reserved. 発表者紹介 4 David Medberry - Time Warner Cable - OpenStack Community leader for 4+ years 「Frisbee thrower as long as I can remember...」
  • 6.
    Copyright © NTTCommunications Corporation. All right reserved. トリビアがいっぱいある 5 https://www.youtube.com/watch?v=5uGIV6RKoTw
  • 7.
    Copyright © NTTCommunications Corporation. All right reserved. 誰? 6 https://www.youtube.com/watch?v=5uGIV6RKoTw
  • 8.
    Copyright © NTTCommunications Corporation. All right reserved. Principal Enginner 7 https://www.youtube.com/watch?v=5uGIV6RKoTw
  • 9.
    Copyright © NTTCommunications Corporation. All right reserved. このオプションを使うのは? OpenStackのaffiliated service で、 次のオプションを使うものは? --yes-i-really-really-mean-it 8
  • 10.
    Copyright © NTTCommunications Corporation. All right reserved. CEPHだそうです 既存ストレージプールを削除するときに 使用 #ceph osd delete {pool-name} [{pool- name} --yes-i-really-really-mean-it] 9
  • 11.
    Copyright © NTTCommunications Corporation. All right reserved. What summit introduced DevStack? 10 DevStackが紹介されたSummitは? https://www.youtube.com/watch?v=5uGIV6RKoTw
  • 12.
    Copyright © NTTCommunications Corporation. All right reserved. BOSTON, 2011 11 https://www.youtube.com/watch?v=5uGIV6RKoTw
  • 13.
    Copyright © NTTCommunications Corporation. All right reserved. First Two subproject? OpenStackサブプロジェクトで、 一番目と2番目は? 12 https://www.youtube.com/watch?v=5uGIV6RKoTw
  • 14.
    Copyright © NTTCommunications Corporation. All right reserved. Nova&Swfit 13 最初にNova,Swift 次にglance
  • 15.
    Copyright © NTTCommunications Corporation. All right reserved. 地名 地名がついたプロジェクトは? 14
  • 16.
    Copyright © NTTCommunications Corporation. All right reserved. 地名がついたプロジェクト Sahara サハラ砂漠 Oslo ノルウェー王国首都 Murano ヴェネツィアにある島 Manila フィリピン共和国首都 Kolla ノルウェー南部の山 15
  • 17.
    Copyright © NTTCommunications Corporation. All right reserved. このセッションを紹介します 1. OpenStack Trivia 2. I Can’t Ping My VM! Learn How to Debug Neutron and Solve Common Problems 16
  • 18.
    Copyright © NTTCommunications Corporation. All right reserved. 発表者紹介 Rossella Sblendido Software Engineer, SUSE Neutron Core Reviewer 17
  • 19.
    Copyright © NTTCommunications Corporation. All right reserved. 構成 • Can’t ping/ssh VM private IP – DHCP Agent – OpenVSwitch – Linux Bridge • Can’t ping/ssh VM external IP – L3 Agent • Can’t reach the Metadata Server • Vif plugging Timeout – L2 Agent • コマンド紹介 18
  • 20.
    Copyright © NTTCommunications Corporation. All right reserved. わかりやすく丁寧な解説 シチュエーション毎に、コンポーネントの 仕組みを丁寧に解説 19 https://www.youtube.com/watch?v=aNA8Pvewu2M
  • 21.
    Copyright © NTTCommunications Corporation. All right reserved. わかりやすく丁寧な解説 シチュエーション毎に、コンポーネントの 仕組みを丁寧に解説 20 https://www.youtube.com/watch?v=aNA8Pvewu2M 初心者にオススメ
  • 22.
    Copyright © NTTCommunications Corporation. All right reserved. チェックリストも • Can’t ping/ssh VM private IP – VM up? – /var/log/nova/* /var/log/neutron/* – セキュリティグループ – DHCP Agentは動いてる? – DHCP namespaceでdnsmasqが 動いているか? – 通るVLAN IDを使っているか? 21 https://www.youtube.com/watch?v=aNA8Pvewu2M • Can’t ping/ssh VM external IP – セキュリティグループ – Private IPにpingが打てるか? – Routerにpingが打てるか? – RouterからFIPを使ってVMに pingが打てるか? – ovs-vsctl show • Can’t reach metadata server – Metadata agent up? – Metadata proxy up? – look log(neutron-metadata- agent nova-metadata-agent) – Router namespaceから metadata serverに繋がるか? – 使用イメージがoption121に対応 しているか? • Vif plugging timeout – Look log(neutron server、l2 agent) – vif_pluggin_timeout – rpc_thead_pool_size – rpc_conn_pool_size
  • 23.
    Copyright © NTTCommunications Corporation. All right reserved. チェックリストも • Can’t ping/ssh VM private IP – VM up? – /var/log/nova/* /var/log/neutron/* – セキュリティグループ – DHCP Agentは動いてる? – DHCP namespaceでdnsmasqが 動いているか? – 通るVLAN IDを使っているか? 22 https://www.youtube.com/watch?v=aNA8Pvewu2M • Can’t ping/ssh VM external IP – セキュリティグループ – Private IPにpingが打てるか? – Routerにpingが打てるか? – RouterからFIPを使ってVMに pingが打てるか? – ovs-vsctl show • Can’t reach metadata server – Metadata agent up? – Metadata proxy up? – look log(neutron-metadata- agent nova-metadata-agent) – Router namespaceから metadata serverに繋がるか? – 使用イメージがoption121に対応 しているか? • Vif plugging timeout – Look log(neutron server、l2 agent) – vif_pluggin_timeout – rpc_thead_pool_size – rpc_conn_pool_size Tcpdump all the way
  • 24.
    Copyright © NTTCommunications Corporation. All right reserved. 使えるコマンド 23 • general – ip addr – route –n – iptables –L – arp – brctl show – brctl show br-name • Tcpdump – tcpdump -i eth0 -n ip proto gre – tcpdump -envi br-int – ip netns exec qrouter-UUID tcpdump -i qr-63eaxxxxx icmp – tcpdump -i eth0 -n arp or icmp – ovs-vsctl show – tcpdump -i any -n icmp • Namespace – Ip netns list – ip netns exec qrouter-UUID ip link – ip netns exec qrouter-UUID route –n – ip netns exec qrouter-UUID iptables -L -t nat • Openvswitch – ovs-vsctl show – ovs-dpctl show – ovs-dpctl dump-flows – ovs-ofctl dump-flows – ovs-ofctl dump-flows br-tun table=21
  • 25.
    Copyright © NTTCommunications Corporation. All right reserved. 詳細はYoutubeで 24 1. OpenStack Trivia https://www.youtube.com/watch?v=5uGIV 6RKoTw 2. I Can’t Ping My VM! https://www.youtube.com/watch?v= aNA8Pvewu2M