SlideShare une entreprise Scribd logo
1  sur  34
Télécharger pour lire hors ligne
System Engineering Laboratory
koain@naver.com
Kim Young Woo
OpenStack Networking and
Installation with Linux Bridge
2016-05-231
2016-05-232
부정확합니다. 전부 믿지 마세요.
Contents
• Openstack Network
• ML2
• Provider Networks and Self-Service Networks(Tenant Networks?,
Project Network?)
• Network Type : Local, Flat, VLAN, GRE and VxLAN
2016-05-233
• 설치 환경 및 구성
• Trouble Shooting
• 결론
2016-05-234
OpenStack Network - ML2
• 기존에 사용되던 L2 Agent(Linux Bridge, OVS)
• 새로운 Plug-in을 작성할 때마다 해줘야 할게 너무 많다.
• 쓸 때 없는 코드들 줄이자
• 개발 및 유지 비용을 줄이자
출처 : https://www.openstack.org/assets/presentation-media/ML2-Past-Present-and-Future.pptx
2016-05-235
OpenStack Network - ML2
• ML2 : Layer 2의 다양하고 복잡한 기술들을 동시에 이용가능하게 하는 Plugin
• Linux Bridge, OVS agent들을 포함하는 상위 개념
• Driver를 통해 Type과 Mechanism을 Pluggable 하게 만든다.
• 같은 네트워크 내에서도 다양한 Mechanism Driver를 이용이 가능하다.
출처 : https://www.openstack.org/assets/presentation-media/ML2-Past-Present-and-Future.pptx
2016-05-236
OpenStack Network - ML2
• ML2 L2 Population 적용 전
출처 : https://www.openstack.org/assets/presentation-media/ML2-Past-Present-and-Future.pptx
2016-05-237
OpenStack Network - ML2
• ML2 L2 Population 적용 전
출처 : https://www.openstack.org/assets/presentation-media/ML2-Past-Present-and-Future.pptx
2016-05-238
OpenStack Network – Provider Networks and Self-Service Networks
• Provider Network와 Self-Service Network(Tenant Networks?, Project Network?)
• Provider Network : L2 서비스와 VLAN 세그멘테이션을 가장 간단하게 구축, L3
서비스에 대해서는 물리 네트워크 인프라에 의존함. VM 간의 Private network, L3
서비스(라우팅), LBaas, FWaas 지원 안함.
• Self-Service Network : VxLAN과 같은 Overlay 세그멘테이션 방식을 사용하여 self-
service를 가능하게 할 수 있음. LBaas, FWaas 지원
• 내가 이해한 두 네트워크의 차이 : 인프라 관리자가 아닌 사람도 가상 네트워크 인프라를
만드는 것이 가능한 네트워크 Self-Service Network. 관리자만 관리가 가능하고 외부
네트워크를 가능하게 해주는 것이 Provider Network.
출처 : http://docs.openstack.org/liberty/install-guide-rdo/overview.html
2016-05-239
OpenStack Network – Network Type : Local, Flat, VLAN, GRE and VxLAN
• Local : 동일한 컴퓨트 노드와 동일한 네트워크에 있는 인스턴스끼리 통신 가능
• Flat(nova-network??) : 모두가 같은 네트워크 대역에 놓여있는 상태. 다른 테넌트에
있는 인스턴스끼리 트래픽 확인이 가능(보안 문제)
• VLAN : VLAN ID(802.1Q tagging)를 이용하여 네트워크를 분리. 같은 VLAN에 있는
인스턴스는 같은 네트워크에 있다고 취급. 다른 테넌트에 있는 인스턴스에 같은 IP할당
가능. 관리자입장에서는 각 테넌트가 같은 Subnet, IP를 사용하더라도 상관없으므로
편리 해졌음. VLAN 수 4096개 제한은 VLAN ID 비트 수가 12개 때문.
• VxLAN and GRE : 오버레이 네트워크를 형성하여 모든 호스트 간 터널을 뚫어 P2P
통신을 가능하게 함(Mesh Network 구성). 24비트 VxLAN ID로 대략 1600만개의 LAN
구성 가능
출처 : http://docs.openstack.org/liberty/networking-guide/intro-os-networking-overview.html
• Liberty 멀티 노드 설치 문서를 참고하여 설치
• Host : Windows 10 Virtual Box 이용
• Controller node(Centos 7) 1대 (192.168.122.10, 10.0.3.4) (3core, 6GB)
• Compute node(Centos 7) 1대 (192.168.122.20, 10.0.3.5) (3core, 6GB)
• Keystone, Glance, Nova, Neutron, Horizon 설치
• Provider Network : Flat, Project Network : VxLAN
2016-05-2310
설치 환경 및 구성
Windows 10
Controller Compute
enp0s3 enp0s8 enp0s3 enp0s8
Management Network(Host-only Network)
192.168.122.x/24
External Network(Nat Network)
10.0.3.x/24
2016-05-2311
설치 환경 및 구성
Controller
Compute
tap
Port
tap
DHCP Namespace
qdhcp
Public Bridge
brq
enp0s3
10.0.3.4
Port
tap
Router Namespace
qrouter
qg qrIptables
tap
DHCP Namespace
qdhcp
Port
tap
Private Bridge
brq
VxLAN
Interface
Port
tap
enp0s8
192.168.122.10
Public Bridge
brq
Iptables
Port
tap
enp0s3
10.0.3.5
Private Bridge
brq
Iptables
Port
tap
VxLAN
Interface
enp0s8
192.168.122.20eth0
Public
Instance
eth0
Private
Instance
Internet
VxLAN
Tunnels
Physical NetworkManagement Network(Host-only Network)
192.168.122.x/24
External Network(Nat Network)
10.0.3.x/24
Public Provider Network
10.0.3.x/24
Private Project Network
10.0.4.x/24
2016-05-2312
설치 환경 및 구성
Controller
Compute
tap
Port
tap
DHCP Namespace
qdhcp
Public Bridge
brq
enp0s3
10.0.3.4
Port
tap
Router Namespace
qrouter
qg qrIptables
tap
DHCP Namespace
qdhcp
Port
tap
Private Bridge
brq
VxLAN
Interface
Port
tap
enp0s8
192.168.122.10
Public Bridge
brq
Iptables
Port
tap
enp0s3
10.0.3.5
Private Bridge
brq
Iptables
Port
tap
VxLAN
Interface
enp0s8
192.168.122.20eth0
Public
Instance
eth0
Private
Instance
VxLAN
Tunnels
Physical Network
2016-05-2313
설치 환경 및 구성
Controller
Compute
tap
Port
tap
DHCP Namespace
qdhcp
Public Bridge
brq
enp0s3
10.0.3.4
Port
tap
Router Namespace
qrouter
qg qrIptables
tap
DHCP Namespace
qdhcp
Port
tap
Private Bridge
brq
VxLAN
Interface
Port
tap
enp0s8
192.168.122.10
Public Bridge
brq
Iptables
Port
tap
enp0s3
10.0.3.5
Private Bridge
brq
Iptables
Port
tap
VxLAN
Interface
enp0s8
192.168.122.20eth0
Public
Instance
eth0
Private
Instance
VxLAN
Tunnels
Physical Network
2016-05-2314
설치 환경 및 구성
Controller
Compute
tap
Port
tap
DHCP Namespace
qdhcp
Public Bridge
brq
enp0s3
10.0.3.4
Port
tap
Router Namespace
qrouter
qg qrIptables
tap
DHCP Namespace
qdhcp
Port
tap
Private Bridge
brq
VxLAN
Interface
Port
tap
enp0s8
192.168.122.10
Public Bridge
brq
Iptables
Port
tap
enp0s3
10.0.3.5
Private Bridge
brq
Iptables
Port
tap
VxLAN
Interface
enp0s8
192.168.122.20eth0
Public
Instance
eth0
Private
Instance
VxLAN
Tunnels
Physical Network
2016-05-2315
설치 환경 및 구성
Controller
Compute
tap
Port
tap
DHCP Namespace
qdhcp
Public Bridge
brq
enp0s3
10.0.3.4
Port
tap
Router Namespace
qrouter
qg qrIptables
tap
DHCP Namespace
qdhcp
Port
tap
Private Bridge
brq
VxLAN
Interface
Port
tap
enp0s8
192.168.122.10
Public Bridge
brq
Iptables
Port
tap
enp0s3
10.0.3.5
Private Bridge
brq
Iptables
Port
tap
VxLAN
Interface
enp0s8
192.168.122.20eth0
Public
Instance
eth0
Private
Instance
VxLAN
Tunnels
Physical Network
2016-05-2316
설치 환경 및 구성
Controller
Compute
tap
Port
tap
DHCP Namespace
qdhcp
Public Bridge
brq
enp0s3
10.0.3.4
Port
tap
Router Namespace
qrouter
qg qrIptables
tap
DHCP Namespace
qdhcp
Port
tap
Private Bridge
brq
VxLAN
Interface
Port
tap
enp0s8
192.168.122.10
Public Bridge
brq
Iptables
Port
tap
enp0s3
10.0.3.5
Private Bridge
brq
Iptables
Port
tap
VxLAN
Interface
enp0s8
192.168.122.20eth0
Public
Instance
eth0
Private
Instance
VxLAN
Tunnels
Physical Network
2016-05-2317
설치 환경 및 구성
Controller
Compute
tap
Port
tap
DHCP Namespace
qdhcp
Public Bridge
brq
enp0s3
10.0.3.4
Port
tap
Router Namespace
qrouter
qg qrIptables
tap
DHCP Namespace
qdhcp
Port
tap
Private Bridge
brq
VxLAN
Interface
Port
tap
enp0s8
192.168.122.10
Public Bridge
brq
Iptables
Port
tap
enp0s3
10.0.3.5
Private
brq
Iptables
Port
tap
VxLAN
Interface
enp0s8
192.168.122.20eth0
Public
Instance
eth0
Private
Instance
VxLAN
Tunnels
Physical Network
2016-05-2318
설치 환경 및 구성
Controller
Compute
tap
Port
tap
DHCP Namespace
qdhcp
Public Bridge
brq
enp0s3
10.0.3.4
Port
tap
Router Namespace
qrouter
qg qrIptables
tap
DHCP Namespace
qdhcp
Port
tap
Private Bridge
brq
VxLAN
Interface
Port
tap
enp0s8
192.168.122.10
Public Bridge
brq
Iptables
Port
tap
enp0s3
10.0.3.5
Private
brq
Iptables
Port
tap
VxLAN
Interface
enp0s8
192.168.122.20eth0
Public
Instance
eth0
Private
Instance
VxLAN
Tunnels
Physical Network
2016-05-2319
설치 환경 및 구성
Controller
Compute
tap
Port
tap
DHCP Namespace
qdhcp
Public Bridge
brq
enp0s3
10.0.3.4
Port
tap
Router Namespace
qrouter
qg qrIptables
tap
DHCP Namespace
qdhcp
Port
tap
Private Bridge
brq
VxLAN
Interface
Port
tap
enp0s8
192.168.122.10
Public Bridge
brq
Iptables
Port
tap
enp0s3
10.0.3.5
Private
brq
Iptables
Port
tap
VxLAN
Interface
enp0s8
192.168.122.20eth0
Public
Instance
eth0
Private
Instance
VxLAN
Tunnels
Physical Network
2016-05-2320
설치 환경 및 구성
• Nova-vnc로 접속
2016-05-2321
설치 환경 및 구성
• 포트 포워딩으로 외부에서 접속
2016-05-2322
설치 환경 및 구성
• 질문!!
• Private Network의 인스턴스에게 Floating IP를 할당했는데 왜 NIC는 늘어나지
않는지… 상태는 왜 비활성화되어 있는지
2016-05-2323
Trouble Shooting
•NTP 설정 문제
• 매뉴얼대로 하면 Controller 노드와 Compute 노드가 동기화가 안됨
• 방화벽 설정 필요
# firewall-cmd --permanent --zone=public --add-port=123/udp
# firewall-cmd --reload
2016-05-2324
Trouble Shooting
•DB Access deny 에러
• 예) 1045, "Access denied for user 'neutron'@'controller'
• 계정 설정 문제, DB 비밀번호 및 설정 파일 확인
2016-05-2325
Trouble Shooting
•Rabbitmq 통신 에러
• ERROR oslo.messaging._drivers.impl_rabbit [req-0387616a-9695-471a-8520-
21bd503285ce - - - - -] AMQP server on controller:5672 is unreachable: [Errno 113]
EHOSTUNREACH. Trying again in 2 seconds.]
• 방화벽 문제
# firewall-cmd --permanent --zone=public --add-port=5672/tcp
# firewall-cmd --reload
2016-05-2326
Trouble Shooting
•Rabbitmq 통신 에러
• [compute node, nova log] AMQP server controller:5672 closed the connection. Check login credentials: Socket close
• [controller rabbitmq log]
=ERROR REPORT==== 15-May-2016::10:27:23 ===
closing AMQP connection <0.7769.0> (192.168.122.10:34042 -> 192.168.122.10:5672):
{handshake_error,starting,0,
{amqp_error,access_refused,
"AMQPLAIN login refused: user 'openstack' - invalid credentials",
'connection.start_ok'}}
• Rabbitmq 계정 문제
# rabbitmqctl add_user openstack "PASSWORD“
# rabbitmqctl set_permissions openstack ".*" ".*" ".*"
2016-05-2327
Trouble Shooting
•Neutron linuxbridge 에러
• [controller neutron linuxbridge log] AMQP server controller:5672 closed the connection. Check login
credentials: Socket close
• [compute neutron linuxbridge log] AttributeError: 'LinuxBridgeNeutronAgentRPC' object has no
attribute 'plugin_rpc'
• 원인 모름 재부팅 후 해결
2016-05-2328
Trouble Shooting
•문제의 시작
• 각 머신에서 호스트 네임을 안 바꿔서 그런지 nova-manage service list나 neutron
agent-list와 같은 명령어를 입력했을 때 host가 “localhost.localdomain”으로 출력
• 마음에 들지 않음 각 머신 호스트 네임을 바꾸고 재시작
• 명령어 입력 시 이전의 호스트네임이 남아있음… 더 마음에 안 듬…
2016-05-2329
Trouble Shooting
•문제의 시작
• Nova와 Neutron DB에 접근해서 직접 삭제
2016-05-2330
Trouble Shooting
•인스턴스 구동 시 문제
• nova hypervisor list 명령어 시 에러가 남. 하이퍼바이저를 못 찾아서
구동이 안 되는 건가?
• LinuxBridge 로그에 계속해서 에러
• Error in agent loop. Devices info: {'current': set(['tap4e0eaaa4-d9', 'tapc5683608-db', 'tap164d30dd-3d', 'tapbd79f0fd-b1']),
'removed': set([]), 'added': set(['tap4e0eaaa4-d9', 'tapc5683608-db', 'tap164d30dd-3d', 'tapbd79f0fd-b1']), 'updated': set([])}Error
in agent loop. Devices info: {'current': set(['tap4e0eaaa4-d9', 'tapc5683608-db', 'tap164d30dd-3d', 'tapbd79f0fd-b1']), 'removed':
set([]), 'added': set(['tap4e0eaaa4-d9', 'tapc5683608-db', 'tap164d30dd-3d', 'tapbd79f0fd-b1']), 'updated': set([])}
• Nova api 로그에도 에러, 여기저기 에러~
• Exception.ComputeHostNotFound(host=host) 2016-05-17 06:42:37.514 3155 ERROR nova.api.openstack.extensions Comput
eHostNotFound: Compute host localhost.localdomain could not be found.
2016-05-2331
Trouble Shooting
•인스턴스 구동 시 문제
•DB에서 호스트네임을 가져오는 듯 함
2016-05-2332
Trouble Shooting
•인스턴스 구동 시 문제
•DB에서 호스트네임을 가져오는 듯 함
2016-05-2333
Trouble Shooting
•인스턴스 구동 시 문제
•Nova DB의 compute_nodes 테이블의 해당 튜플 삭제
•Nova hypervisor-list 정상적으로 동작
•그래도 인스턴스 구동 안됨 ㅋㅋㅋㅋ
•한참을 헤매다가 컴퓨트 노드의 local_ip 설정이 잘 못
되어 있는 것 발견. 드디어 해결.
2016-05-2334
결론
•네트워크는 어렵다.
•설치 진행하기 전에 호스트네임을 꼭 바꾸자. 설치 중간에
절대 바꾸지 말자.
•정신 똑바로 차리고 오타 내지 말자.

Contenu connexe

Tendances

debugging openstack neutron /w openvswitch
debugging openstack neutron /w openvswitchdebugging openstack neutron /w openvswitch
debugging openstack neutron /w openvswitch어형 이
 
OpenvSwitch Deep Dive
OpenvSwitch Deep DiveOpenvSwitch Deep Dive
OpenvSwitch Deep Diverajdeep
 
[OpenStack Days Korea 2016] Track1 - Monasca를 이용한 Cloud 모니터링
[OpenStack Days Korea 2016] Track1 - Monasca를 이용한 Cloud 모니터링[OpenStack Days Korea 2016] Track1 - Monasca를 이용한 Cloud 모니터링
[OpenStack Days Korea 2016] Track1 - Monasca를 이용한 Cloud 모니터링OpenStack Korea Community
 
[MeetUp][1st] 오리뎅이의_쿠버네티스_네트워킹
[MeetUp][1st] 오리뎅이의_쿠버네티스_네트워킹[MeetUp][1st] 오리뎅이의_쿠버네티스_네트워킹
[MeetUp][1st] 오리뎅이의_쿠버네티스_네트워킹InfraEngineer
 
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교 및 구축 방법
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교  및 구축 방법[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교  및 구축 방법
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교 및 구축 방법Open Source Consulting
 
20150511 jun lee_openstack neutron 분석 (최종)
20150511 jun lee_openstack neutron 분석 (최종)20150511 jun lee_openstack neutron 분석 (최종)
20150511 jun lee_openstack neutron 분석 (최종)rootfs32
 
[OpenStack 하반기 스터디] Interoperability with ML2: LinuxBridge, OVS and SDN
[OpenStack 하반기 스터디] Interoperability with ML2: LinuxBridge, OVS and SDN[OpenStack 하반기 스터디] Interoperability with ML2: LinuxBridge, OVS and SDN
[OpenStack 하반기 스터디] Interoperability with ML2: LinuxBridge, OVS and SDNOpenStack Korea Community
 
[OpenStack Days Korea 2016] Track2 - 아리스타 OpenStack 연동 및 CloudVision 솔루션 소개
[OpenStack Days Korea 2016] Track2 - 아리스타 OpenStack 연동 및 CloudVision 솔루션 소개[OpenStack Days Korea 2016] Track2 - 아리스타 OpenStack 연동 및 CloudVision 솔루션 소개
[OpenStack Days Korea 2016] Track2 - 아리스타 OpenStack 연동 및 CloudVision 솔루션 소개OpenStack Korea Community
 
Packet flow on openstack
Packet flow on openstackPacket flow on openstack
Packet flow on openstackAchhar Kalia
 
Open vSwitch 패킷 처리 구조
Open vSwitch 패킷 처리 구조Open vSwitch 패킷 처리 구조
Open vSwitch 패킷 처리 구조Seung-Hoon Baek
 
[MeetUp][2nd] 오리뎅이의_쿠버네티스_네트워킹_v1.2
[MeetUp][2nd] 오리뎅이의_쿠버네티스_네트워킹_v1.2[MeetUp][2nd] 오리뎅이의_쿠버네티스_네트워킹_v1.2
[MeetUp][2nd] 오리뎅이의_쿠버네티스_네트워킹_v1.2InfraEngineer
 
OpenStack Networking
OpenStack NetworkingOpenStack Networking
OpenStack NetworkingIlya Shakhat
 
OVN - Basics and deep dive
OVN - Basics and deep diveOVN - Basics and deep dive
OVN - Basics and deep diveTrinath Somanchi
 
Deep dive into Kubernetes Networking
Deep dive into Kubernetes NetworkingDeep dive into Kubernetes Networking
Deep dive into Kubernetes NetworkingSreenivas Makam
 
Introduction to Docker storage, volume and image
Introduction to Docker storage, volume and imageIntroduction to Docker storage, volume and image
Introduction to Docker storage, volume and imageejlp12
 
Kubernetes Networking
Kubernetes NetworkingKubernetes Networking
Kubernetes NetworkingCJ Cullen
 
Automation with ansible
Automation with ansibleAutomation with ansible
Automation with ansibleKhizer Naeem
 

Tendances (20)

debugging openstack neutron /w openvswitch
debugging openstack neutron /w openvswitchdebugging openstack neutron /w openvswitch
debugging openstack neutron /w openvswitch
 
OpenvSwitch Deep Dive
OpenvSwitch Deep DiveOpenvSwitch Deep Dive
OpenvSwitch Deep Dive
 
[OpenStack Days Korea 2016] Track1 - Monasca를 이용한 Cloud 모니터링
[OpenStack Days Korea 2016] Track1 - Monasca를 이용한 Cloud 모니터링[OpenStack Days Korea 2016] Track1 - Monasca를 이용한 Cloud 모니터링
[OpenStack Days Korea 2016] Track1 - Monasca를 이용한 Cloud 모니터링
 
[MeetUp][1st] 오리뎅이의_쿠버네티스_네트워킹
[MeetUp][1st] 오리뎅이의_쿠버네티스_네트워킹[MeetUp][1st] 오리뎅이의_쿠버네티스_네트워킹
[MeetUp][1st] 오리뎅이의_쿠버네티스_네트워킹
 
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교 및 구축 방법
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교  및 구축 방법[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교  및 구축 방법
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교 및 구축 방법
 
20150511 jun lee_openstack neutron 분석 (최종)
20150511 jun lee_openstack neutron 분석 (최종)20150511 jun lee_openstack neutron 분석 (최종)
20150511 jun lee_openstack neutron 분석 (최종)
 
[OpenStack 하반기 스터디] Interoperability with ML2: LinuxBridge, OVS and SDN
[OpenStack 하반기 스터디] Interoperability with ML2: LinuxBridge, OVS and SDN[OpenStack 하반기 스터디] Interoperability with ML2: LinuxBridge, OVS and SDN
[OpenStack 하반기 스터디] Interoperability with ML2: LinuxBridge, OVS and SDN
 
[OpenStack Days Korea 2016] Track2 - 아리스타 OpenStack 연동 및 CloudVision 솔루션 소개
[OpenStack Days Korea 2016] Track2 - 아리스타 OpenStack 연동 및 CloudVision 솔루션 소개[OpenStack Days Korea 2016] Track2 - 아리스타 OpenStack 연동 및 CloudVision 솔루션 소개
[OpenStack Days Korea 2016] Track2 - 아리스타 OpenStack 연동 및 CloudVision 솔루션 소개
 
Packet flow on openstack
Packet flow on openstackPacket flow on openstack
Packet flow on openstack
 
Open vSwitch 패킷 처리 구조
Open vSwitch 패킷 처리 구조Open vSwitch 패킷 처리 구조
Open vSwitch 패킷 처리 구조
 
[MeetUp][2nd] 오리뎅이의_쿠버네티스_네트워킹_v1.2
[MeetUp][2nd] 오리뎅이의_쿠버네티스_네트워킹_v1.2[MeetUp][2nd] 오리뎅이의_쿠버네티스_네트워킹_v1.2
[MeetUp][2nd] 오리뎅이의_쿠버네티스_네트워킹_v1.2
 
OpenStack Networking
OpenStack NetworkingOpenStack Networking
OpenStack Networking
 
OVN - Basics and deep dive
OVN - Basics and deep diveOVN - Basics and deep dive
OVN - Basics and deep dive
 
Docker by Example - Basics
Docker by Example - Basics Docker by Example - Basics
Docker by Example - Basics
 
Meetup 23 - 02 - OVN - The future of networking in OpenStack
Meetup 23 - 02 - OVN - The future of networking in OpenStackMeetup 23 - 02 - OVN - The future of networking in OpenStack
Meetup 23 - 02 - OVN - The future of networking in OpenStack
 
Deep dive into Kubernetes Networking
Deep dive into Kubernetes NetworkingDeep dive into Kubernetes Networking
Deep dive into Kubernetes Networking
 
Docker swarm
Docker swarmDocker swarm
Docker swarm
 
Introduction to Docker storage, volume and image
Introduction to Docker storage, volume and imageIntroduction to Docker storage, volume and image
Introduction to Docker storage, volume and image
 
Kubernetes Networking
Kubernetes NetworkingKubernetes Networking
Kubernetes Networking
 
Automation with ansible
Automation with ansibleAutomation with ansible
Automation with ansible
 

En vedette

OpenStack 인스턴스 간략 사용자_매뉴얼(liberty)_v1
OpenStack 인스턴스 간략 사용자_매뉴얼(liberty)_v1OpenStack 인스턴스 간략 사용자_매뉴얼(liberty)_v1
OpenStack 인스턴스 간략 사용자_매뉴얼(liberty)_v1Ji-Woong Choi
 
OpenStack and private cloud
OpenStack and private cloudOpenStack and private cloud
OpenStack and private cloudSK Telecom
 
Openstack에 컨트리뷰션 해보기
Openstack에 컨트리뷰션 해보기Openstack에 컨트리뷰션 해보기
Openstack에 컨트리뷰션 해보기영우 김
 
Commication Framework in OpenStack
Commication Framework in OpenStackCommication Framework in OpenStack
Commication Framework in OpenStackSean Chang
 
[2015-05월 세미나] 파이선 초심자의 Openstack
[2015-05월 세미나] 파이선 초심자의 Openstack[2015-05월 세미나] 파이선 초심자의 Openstack
[2015-05월 세미나] 파이선 초심자의 OpenstackOpenStack Korea Community
 
Automating OpenStack Deployment with Fuel
Automating OpenStack Deployment with FuelAutomating OpenStack Deployment with Fuel
Automating OpenStack Deployment with FuelTomasz Zen Napierala
 
Messaging Standards and Systems - AMQP & RabbitMQ
Messaging Standards and Systems - AMQP & RabbitMQMessaging Standards and Systems - AMQP & RabbitMQ
Messaging Standards and Systems - AMQP & RabbitMQPOSSCON
 
Openstack Study Nova 1
Openstack Study Nova 1Openstack Study Nova 1
Openstack Study Nova 1Jinho Shin
 
오픈스택! 이틀이면할수있다! 시즌2
오픈스택! 이틀이면할수있다! 시즌2오픈스택! 이틀이면할수있다! 시즌2
오픈스택! 이틀이면할수있다! 시즌2Nalee Jang
 
Open technet openstack
Open technet openstackOpen technet openstack
Open technet openstackNalee Jang
 
오픈스택 커뮤니티 소개 및 기술 동향
오픈스택 커뮤니티 소개 및 기술 동향오픈스택 커뮤니티 소개 및 기술 동향
오픈스택 커뮤니티 소개 및 기술 동향Nalee Jang
 
[OpenStack Days Korea 2016] Track1 - 카카오는 오픈스택 기반으로 어떻게 5000VM을 운영하고 있을까?
[OpenStack Days Korea 2016] Track1 - 카카오는 오픈스택 기반으로 어떻게 5000VM을 운영하고 있을까?[OpenStack Days Korea 2016] Track1 - 카카오는 오픈스택 기반으로 어떻게 5000VM을 운영하고 있을까?
[OpenStack Days Korea 2016] Track1 - 카카오는 오픈스택 기반으로 어떻게 5000VM을 운영하고 있을까?OpenStack Korea Community
 

En vedette (12)

OpenStack 인스턴스 간략 사용자_매뉴얼(liberty)_v1
OpenStack 인스턴스 간략 사용자_매뉴얼(liberty)_v1OpenStack 인스턴스 간략 사용자_매뉴얼(liberty)_v1
OpenStack 인스턴스 간략 사용자_매뉴얼(liberty)_v1
 
OpenStack and private cloud
OpenStack and private cloudOpenStack and private cloud
OpenStack and private cloud
 
Openstack에 컨트리뷰션 해보기
Openstack에 컨트리뷰션 해보기Openstack에 컨트리뷰션 해보기
Openstack에 컨트리뷰션 해보기
 
Commication Framework in OpenStack
Commication Framework in OpenStackCommication Framework in OpenStack
Commication Framework in OpenStack
 
[2015-05월 세미나] 파이선 초심자의 Openstack
[2015-05월 세미나] 파이선 초심자의 Openstack[2015-05월 세미나] 파이선 초심자의 Openstack
[2015-05월 세미나] 파이선 초심자의 Openstack
 
Automating OpenStack Deployment with Fuel
Automating OpenStack Deployment with FuelAutomating OpenStack Deployment with Fuel
Automating OpenStack Deployment with Fuel
 
Messaging Standards and Systems - AMQP & RabbitMQ
Messaging Standards and Systems - AMQP & RabbitMQMessaging Standards and Systems - AMQP & RabbitMQ
Messaging Standards and Systems - AMQP & RabbitMQ
 
Openstack Study Nova 1
Openstack Study Nova 1Openstack Study Nova 1
Openstack Study Nova 1
 
오픈스택! 이틀이면할수있다! 시즌2
오픈스택! 이틀이면할수있다! 시즌2오픈스택! 이틀이면할수있다! 시즌2
오픈스택! 이틀이면할수있다! 시즌2
 
Open technet openstack
Open technet openstackOpen technet openstack
Open technet openstack
 
오픈스택 커뮤니티 소개 및 기술 동향
오픈스택 커뮤니티 소개 및 기술 동향오픈스택 커뮤니티 소개 및 기술 동향
오픈스택 커뮤니티 소개 및 기술 동향
 
[OpenStack Days Korea 2016] Track1 - 카카오는 오픈스택 기반으로 어떻게 5000VM을 운영하고 있을까?
[OpenStack Days Korea 2016] Track1 - 카카오는 오픈스택 기반으로 어떻게 5000VM을 운영하고 있을까?[OpenStack Days Korea 2016] Track1 - 카카오는 오픈스택 기반으로 어떻게 5000VM을 운영하고 있을까?
[OpenStack Days Korea 2016] Track1 - 카카오는 오픈스택 기반으로 어떻게 5000VM을 운영하고 있을까?
 

Similaire à 오픈스택 멀티노드 설치 후기

[OpenStack Days Korea 2016] Innovating OpenStack Network with SDN solution
[OpenStack Days Korea 2016] Innovating OpenStack Network with SDN solution[OpenStack Days Korea 2016] Innovating OpenStack Network with SDN solution
[OpenStack Days Korea 2016] Innovating OpenStack Network with SDN solutionOpenStack Korea Community
 
[OpenStack Days Korea 2016] Track2 - How to speed up OpenStack network with P...
[OpenStack Days Korea 2016] Track2 - How to speed up OpenStack network with P...[OpenStack Days Korea 2016] Track2 - How to speed up OpenStack network with P...
[OpenStack Days Korea 2016] Track2 - How to speed up OpenStack network with P...OpenStack Korea Community
 
150416 OpenStack Networking with Neutron Jieun, Kim
150416 OpenStack Networking with Neutron Jieun, Kim150416 OpenStack Networking with Neutron Jieun, Kim
150416 OpenStack Networking with Neutron Jieun, Kimjieun kim
 
[온라인교육시리즈] 네이버클라우드플랫폼 주요 업데이트 - 윤진규 클라우드 솔루션 아키텍트
[온라인교육시리즈] 네이버클라우드플랫폼 주요 업데이트 - 윤진규 클라우드 솔루션 아키텍트[온라인교육시리즈] 네이버클라우드플랫폼 주요 업데이트 - 윤진규 클라우드 솔루션 아키텍트
[온라인교육시리즈] 네이버클라우드플랫폼 주요 업데이트 - 윤진규 클라우드 솔루션 아키텍트NAVER CLOUD PLATFORMㅣ네이버 클라우드 플랫폼
 
3rd SDN Interest Group Seminar-Session 3 (130123)
3rd SDN Interest Group Seminar-Session 3 (130123)3rd SDN Interest Group Seminar-Session 3 (130123)
3rd SDN Interest Group Seminar-Session 3 (130123)NAIM Networks, Inc.
 
오픈소스로 구축하는 클라우드 이야기
오픈소스로 구축하는 클라우드 이야기오픈소스로 구축하는 클라우드 이야기
오픈소스로 구축하는 클라우드 이야기Nalee Jang
 
2nd SDN Interest Group Seminar-Session3 (121218)
2nd SDN Interest Group Seminar-Session3 (121218)2nd SDN Interest Group Seminar-Session3 (121218)
2nd SDN Interest Group Seminar-Session3 (121218)NAIM Networks, Inc.
 
802.1X 적용 사례(차세대 정보보안을 위한 동적 네트워크 환경 구성과 접근통제)
802.1X 적용 사례(차세대 정보보안을 위한 동적 네트워크 환경 구성과 접근통제)802.1X 적용 사례(차세대 정보보안을 위한 동적 네트워크 환경 구성과 접근통제)
802.1X 적용 사례(차세대 정보보안을 위한 동적 네트워크 환경 구성과 접근통제)MinChoul Lee
 
클라우드 환경을 위한 네트워크 가상화와 NSX(기초편)
클라우드 환경을 위한 네트워크 가상화와 NSX(기초편)클라우드 환경을 위한 네트워크 가상화와 NSX(기초편)
클라우드 환경을 위한 네트워크 가상화와 NSX(기초편)Laehyoung Kim
 
멀티클라우드 Service Mesh
멀티클라우드 Service Mesh멀티클라우드 Service Mesh
멀티클라우드 Service MeshJeong-Ho Na
 
[TeamStudy-022] Docker
[TeamStudy-022] Docker[TeamStudy-022] Docker
[TeamStudy-022] DockerWonjun Hwang
 
클라우드의 대세 쿠버네티스란 무엇인가?(윤성훈 클라우드 솔루션 아키텍트) - Webinar
클라우드의 대세 쿠버네티스란 무엇인가?(윤성훈 클라우드 솔루션 아키텍트) - Webinar클라우드의 대세 쿠버네티스란 무엇인가?(윤성훈 클라우드 솔루션 아키텍트) - Webinar
클라우드의 대세 쿠버네티스란 무엇인가?(윤성훈 클라우드 솔루션 아키텍트) - WebinarNAVER CLOUD PLATFORMㅣ네이버 클라우드 플랫폼
 
Mcollective orchestration tool 소개
Mcollective orchestration tool 소개Mcollective orchestration tool 소개
Mcollective orchestration tool 소개태준 문
 
Private cloud network architecture (2018)
Private cloud network architecture (2018)Private cloud network architecture (2018)
Private cloud network architecture (2018)Gasida Seo
 
Akka.NET 으로 만드는 온라인 게임 서버 (NDC2016)
Akka.NET 으로 만드는 온라인 게임 서버 (NDC2016)Akka.NET 으로 만드는 온라인 게임 서버 (NDC2016)
Akka.NET 으로 만드는 온라인 게임 서버 (NDC2016)Esun Kim
 
AWS Community Day 2022 - Nitro Enclave를 이용하여 안전하게 고객 정보 다...
AWS Community Day 2022 - Nitro Enclave를 이용하여 안전하게 고객 정보 다...AWS Community Day 2022 - Nitro Enclave를 이용하여 안전하게 고객 정보 다...
AWS Community Day 2022 - Nitro Enclave를 이용하여 안전하게 고객 정보 다...JooHyung Kim
 

Similaire à 오픈스택 멀티노드 설치 후기 (20)

[OpenStack Days Korea 2016] Innovating OpenStack Network with SDN solution
[OpenStack Days Korea 2016] Innovating OpenStack Network with SDN solution[OpenStack Days Korea 2016] Innovating OpenStack Network with SDN solution
[OpenStack Days Korea 2016] Innovating OpenStack Network with SDN solution
 
[OpenStack Days Korea 2016] Track2 - How to speed up OpenStack network with P...
[OpenStack Days Korea 2016] Track2 - How to speed up OpenStack network with P...[OpenStack Days Korea 2016] Track2 - How to speed up OpenStack network with P...
[OpenStack Days Korea 2016] Track2 - How to speed up OpenStack network with P...
 
150416 OpenStack Networking with Neutron Jieun, Kim
150416 OpenStack Networking with Neutron Jieun, Kim150416 OpenStack Networking with Neutron Jieun, Kim
150416 OpenStack Networking with Neutron Jieun, Kim
 
[온라인교육시리즈] 네이버클라우드플랫폼 주요 업데이트 - 윤진규 클라우드 솔루션 아키텍트
[온라인교육시리즈] 네이버클라우드플랫폼 주요 업데이트 - 윤진규 클라우드 솔루션 아키텍트[온라인교육시리즈] 네이버클라우드플랫폼 주요 업데이트 - 윤진규 클라우드 솔루션 아키텍트
[온라인교육시리즈] 네이버클라우드플랫폼 주요 업데이트 - 윤진규 클라우드 솔루션 아키텍트
 
3rd SDN Interest Group Seminar-Session 3 (130123)
3rd SDN Interest Group Seminar-Session 3 (130123)3rd SDN Interest Group Seminar-Session 3 (130123)
3rd SDN Interest Group Seminar-Session 3 (130123)
 
오픈소스로 구축하는 클라우드 이야기
오픈소스로 구축하는 클라우드 이야기오픈소스로 구축하는 클라우드 이야기
오픈소스로 구축하는 클라우드 이야기
 
2nd SDN Interest Group Seminar-Session3 (121218)
2nd SDN Interest Group Seminar-Session3 (121218)2nd SDN Interest Group Seminar-Session3 (121218)
2nd SDN Interest Group Seminar-Session3 (121218)
 
KAFKA 3.1.0.pdf
KAFKA 3.1.0.pdfKAFKA 3.1.0.pdf
KAFKA 3.1.0.pdf
 
20150115 AWS BlackBelt - Amazon VPC (Korea)
20150115 AWS BlackBelt - Amazon VPC (Korea)20150115 AWS BlackBelt - Amazon VPC (Korea)
20150115 AWS BlackBelt - Amazon VPC (Korea)
 
802.1X 적용 사례(차세대 정보보안을 위한 동적 네트워크 환경 구성과 접근통제)
802.1X 적용 사례(차세대 정보보안을 위한 동적 네트워크 환경 구성과 접근통제)802.1X 적용 사례(차세대 정보보안을 위한 동적 네트워크 환경 구성과 접근통제)
802.1X 적용 사례(차세대 정보보안을 위한 동적 네트워크 환경 구성과 접근통제)
 
클라우드 환경을 위한 네트워크 가상화와 NSX(기초편)
클라우드 환경을 위한 네트워크 가상화와 NSX(기초편)클라우드 환경을 위한 네트워크 가상화와 NSX(기초편)
클라우드 환경을 위한 네트워크 가상화와 NSX(기초편)
 
Kafka slideshare
Kafka   slideshareKafka   slideshare
Kafka slideshare
 
멀티클라우드 Service Mesh
멀티클라우드 Service Mesh멀티클라우드 Service Mesh
멀티클라우드 Service Mesh
 
[TeamStudy-022] Docker
[TeamStudy-022] Docker[TeamStudy-022] Docker
[TeamStudy-022] Docker
 
클라우드의 대세 쿠버네티스란 무엇인가?(윤성훈 클라우드 솔루션 아키텍트) - Webinar
클라우드의 대세 쿠버네티스란 무엇인가?(윤성훈 클라우드 솔루션 아키텍트) - Webinar클라우드의 대세 쿠버네티스란 무엇인가?(윤성훈 클라우드 솔루션 아키텍트) - Webinar
클라우드의 대세 쿠버네티스란 무엇인가?(윤성훈 클라우드 솔루션 아키텍트) - Webinar
 
Mcollective orchestration tool 소개
Mcollective orchestration tool 소개Mcollective orchestration tool 소개
Mcollective orchestration tool 소개
 
kt-cloud
kt-cloudkt-cloud
kt-cloud
 
Private cloud network architecture (2018)
Private cloud network architecture (2018)Private cloud network architecture (2018)
Private cloud network architecture (2018)
 
Akka.NET 으로 만드는 온라인 게임 서버 (NDC2016)
Akka.NET 으로 만드는 온라인 게임 서버 (NDC2016)Akka.NET 으로 만드는 온라인 게임 서버 (NDC2016)
Akka.NET 으로 만드는 온라인 게임 서버 (NDC2016)
 
AWS Community Day 2022 - Nitro Enclave를 이용하여 안전하게 고객 정보 다...
AWS Community Day 2022 - Nitro Enclave를 이용하여 안전하게 고객 정보 다...AWS Community Day 2022 - Nitro Enclave를 이용하여 안전하게 고객 정보 다...
AWS Community Day 2022 - Nitro Enclave를 이용하여 안전하게 고객 정보 다...
 

Dernier

JMP 기능의 확장 및 내재화의 핵심 JMP-Python 소개
JMP 기능의 확장 및 내재화의 핵심 JMP-Python 소개JMP 기능의 확장 및 내재화의 핵심 JMP-Python 소개
JMP 기능의 확장 및 내재화의 핵심 JMP-Python 소개JMP Korea
 
JMP를 활용한 가속열화 분석 사례
JMP를 활용한 가속열화 분석 사례JMP를 활용한 가속열화 분석 사례
JMP를 활용한 가속열화 분석 사례JMP Korea
 
데이터 분석 문제 해결을 위한 나의 JMP 활용법
데이터 분석 문제 해결을 위한 나의 JMP 활용법데이터 분석 문제 해결을 위한 나의 JMP 활용법
데이터 분석 문제 해결을 위한 나의 JMP 활용법JMP Korea
 
공학 관점에서 바라본 JMP 머신러닝 최적화
공학 관점에서 바라본 JMP 머신러닝 최적화공학 관점에서 바라본 JMP 머신러닝 최적화
공학 관점에서 바라본 JMP 머신러닝 최적화JMP Korea
 
JMP가 걸어온 여정, 새로운 도약 JMP 18!
JMP가 걸어온 여정, 새로운 도약 JMP 18!JMP가 걸어온 여정, 새로운 도약 JMP 18!
JMP가 걸어온 여정, 새로운 도약 JMP 18!JMP Korea
 
(독서광) 인간이 초대한 대형 참사 - 대형 참사가 일어날 때까지 사람들은 무엇을 하고 있었는가?
(독서광) 인간이 초대한 대형 참사 - 대형 참사가 일어날 때까지 사람들은 무엇을 하고 있었는가?(독서광) 인간이 초대한 대형 참사 - 대형 참사가 일어날 때까지 사람들은 무엇을 하고 있었는가?
(독서광) 인간이 초대한 대형 참사 - 대형 참사가 일어날 때까지 사람들은 무엇을 하고 있었는가?Jay Park
 
실험 설계의 평가 방법: Custom Design을 중심으로 반응인자 최적화 및 Criteria 해석
실험 설계의 평가 방법: Custom Design을 중심으로 반응인자 최적화 및 Criteria 해석실험 설계의 평가 방법: Custom Design을 중심으로 반응인자 최적화 및 Criteria 해석
실험 설계의 평가 방법: Custom Design을 중심으로 반응인자 최적화 및 Criteria 해석JMP Korea
 
JMP를 활용한 전자/반도체 산업 Yield Enhancement Methodology
JMP를 활용한 전자/반도체 산업 Yield Enhancement MethodologyJMP를 활용한 전자/반도체 산업 Yield Enhancement Methodology
JMP를 활용한 전자/반도체 산업 Yield Enhancement MethodologyJMP Korea
 

Dernier (8)

JMP 기능의 확장 및 내재화의 핵심 JMP-Python 소개
JMP 기능의 확장 및 내재화의 핵심 JMP-Python 소개JMP 기능의 확장 및 내재화의 핵심 JMP-Python 소개
JMP 기능의 확장 및 내재화의 핵심 JMP-Python 소개
 
JMP를 활용한 가속열화 분석 사례
JMP를 활용한 가속열화 분석 사례JMP를 활용한 가속열화 분석 사례
JMP를 활용한 가속열화 분석 사례
 
데이터 분석 문제 해결을 위한 나의 JMP 활용법
데이터 분석 문제 해결을 위한 나의 JMP 활용법데이터 분석 문제 해결을 위한 나의 JMP 활용법
데이터 분석 문제 해결을 위한 나의 JMP 활용법
 
공학 관점에서 바라본 JMP 머신러닝 최적화
공학 관점에서 바라본 JMP 머신러닝 최적화공학 관점에서 바라본 JMP 머신러닝 최적화
공학 관점에서 바라본 JMP 머신러닝 최적화
 
JMP가 걸어온 여정, 새로운 도약 JMP 18!
JMP가 걸어온 여정, 새로운 도약 JMP 18!JMP가 걸어온 여정, 새로운 도약 JMP 18!
JMP가 걸어온 여정, 새로운 도약 JMP 18!
 
(독서광) 인간이 초대한 대형 참사 - 대형 참사가 일어날 때까지 사람들은 무엇을 하고 있었는가?
(독서광) 인간이 초대한 대형 참사 - 대형 참사가 일어날 때까지 사람들은 무엇을 하고 있었는가?(독서광) 인간이 초대한 대형 참사 - 대형 참사가 일어날 때까지 사람들은 무엇을 하고 있었는가?
(독서광) 인간이 초대한 대형 참사 - 대형 참사가 일어날 때까지 사람들은 무엇을 하고 있었는가?
 
실험 설계의 평가 방법: Custom Design을 중심으로 반응인자 최적화 및 Criteria 해석
실험 설계의 평가 방법: Custom Design을 중심으로 반응인자 최적화 및 Criteria 해석실험 설계의 평가 방법: Custom Design을 중심으로 반응인자 최적화 및 Criteria 해석
실험 설계의 평가 방법: Custom Design을 중심으로 반응인자 최적화 및 Criteria 해석
 
JMP를 활용한 전자/반도체 산업 Yield Enhancement Methodology
JMP를 활용한 전자/반도체 산업 Yield Enhancement MethodologyJMP를 활용한 전자/반도체 산업 Yield Enhancement Methodology
JMP를 활용한 전자/반도체 산업 Yield Enhancement Methodology
 

오픈스택 멀티노드 설치 후기

  • 1. System Engineering Laboratory koain@naver.com Kim Young Woo OpenStack Networking and Installation with Linux Bridge 2016-05-231
  • 3. Contents • Openstack Network • ML2 • Provider Networks and Self-Service Networks(Tenant Networks?, Project Network?) • Network Type : Local, Flat, VLAN, GRE and VxLAN 2016-05-233 • 설치 환경 및 구성 • Trouble Shooting • 결론
  • 4. 2016-05-234 OpenStack Network - ML2 • 기존에 사용되던 L2 Agent(Linux Bridge, OVS) • 새로운 Plug-in을 작성할 때마다 해줘야 할게 너무 많다. • 쓸 때 없는 코드들 줄이자 • 개발 및 유지 비용을 줄이자 출처 : https://www.openstack.org/assets/presentation-media/ML2-Past-Present-and-Future.pptx
  • 5. 2016-05-235 OpenStack Network - ML2 • ML2 : Layer 2의 다양하고 복잡한 기술들을 동시에 이용가능하게 하는 Plugin • Linux Bridge, OVS agent들을 포함하는 상위 개념 • Driver를 통해 Type과 Mechanism을 Pluggable 하게 만든다. • 같은 네트워크 내에서도 다양한 Mechanism Driver를 이용이 가능하다. 출처 : https://www.openstack.org/assets/presentation-media/ML2-Past-Present-and-Future.pptx
  • 6. 2016-05-236 OpenStack Network - ML2 • ML2 L2 Population 적용 전 출처 : https://www.openstack.org/assets/presentation-media/ML2-Past-Present-and-Future.pptx
  • 7. 2016-05-237 OpenStack Network - ML2 • ML2 L2 Population 적용 전 출처 : https://www.openstack.org/assets/presentation-media/ML2-Past-Present-and-Future.pptx
  • 8. 2016-05-238 OpenStack Network – Provider Networks and Self-Service Networks • Provider Network와 Self-Service Network(Tenant Networks?, Project Network?) • Provider Network : L2 서비스와 VLAN 세그멘테이션을 가장 간단하게 구축, L3 서비스에 대해서는 물리 네트워크 인프라에 의존함. VM 간의 Private network, L3 서비스(라우팅), LBaas, FWaas 지원 안함. • Self-Service Network : VxLAN과 같은 Overlay 세그멘테이션 방식을 사용하여 self- service를 가능하게 할 수 있음. LBaas, FWaas 지원 • 내가 이해한 두 네트워크의 차이 : 인프라 관리자가 아닌 사람도 가상 네트워크 인프라를 만드는 것이 가능한 네트워크 Self-Service Network. 관리자만 관리가 가능하고 외부 네트워크를 가능하게 해주는 것이 Provider Network. 출처 : http://docs.openstack.org/liberty/install-guide-rdo/overview.html
  • 9. 2016-05-239 OpenStack Network – Network Type : Local, Flat, VLAN, GRE and VxLAN • Local : 동일한 컴퓨트 노드와 동일한 네트워크에 있는 인스턴스끼리 통신 가능 • Flat(nova-network??) : 모두가 같은 네트워크 대역에 놓여있는 상태. 다른 테넌트에 있는 인스턴스끼리 트래픽 확인이 가능(보안 문제) • VLAN : VLAN ID(802.1Q tagging)를 이용하여 네트워크를 분리. 같은 VLAN에 있는 인스턴스는 같은 네트워크에 있다고 취급. 다른 테넌트에 있는 인스턴스에 같은 IP할당 가능. 관리자입장에서는 각 테넌트가 같은 Subnet, IP를 사용하더라도 상관없으므로 편리 해졌음. VLAN 수 4096개 제한은 VLAN ID 비트 수가 12개 때문. • VxLAN and GRE : 오버레이 네트워크를 형성하여 모든 호스트 간 터널을 뚫어 P2P 통신을 가능하게 함(Mesh Network 구성). 24비트 VxLAN ID로 대략 1600만개의 LAN 구성 가능 출처 : http://docs.openstack.org/liberty/networking-guide/intro-os-networking-overview.html
  • 10. • Liberty 멀티 노드 설치 문서를 참고하여 설치 • Host : Windows 10 Virtual Box 이용 • Controller node(Centos 7) 1대 (192.168.122.10, 10.0.3.4) (3core, 6GB) • Compute node(Centos 7) 1대 (192.168.122.20, 10.0.3.5) (3core, 6GB) • Keystone, Glance, Nova, Neutron, Horizon 설치 • Provider Network : Flat, Project Network : VxLAN 2016-05-2310 설치 환경 및 구성 Windows 10 Controller Compute enp0s3 enp0s8 enp0s3 enp0s8 Management Network(Host-only Network) 192.168.122.x/24 External Network(Nat Network) 10.0.3.x/24
  • 11. 2016-05-2311 설치 환경 및 구성 Controller Compute tap Port tap DHCP Namespace qdhcp Public Bridge brq enp0s3 10.0.3.4 Port tap Router Namespace qrouter qg qrIptables tap DHCP Namespace qdhcp Port tap Private Bridge brq VxLAN Interface Port tap enp0s8 192.168.122.10 Public Bridge brq Iptables Port tap enp0s3 10.0.3.5 Private Bridge brq Iptables Port tap VxLAN Interface enp0s8 192.168.122.20eth0 Public Instance eth0 Private Instance Internet VxLAN Tunnels Physical NetworkManagement Network(Host-only Network) 192.168.122.x/24 External Network(Nat Network) 10.0.3.x/24 Public Provider Network 10.0.3.x/24 Private Project Network 10.0.4.x/24
  • 12. 2016-05-2312 설치 환경 및 구성 Controller Compute tap Port tap DHCP Namespace qdhcp Public Bridge brq enp0s3 10.0.3.4 Port tap Router Namespace qrouter qg qrIptables tap DHCP Namespace qdhcp Port tap Private Bridge brq VxLAN Interface Port tap enp0s8 192.168.122.10 Public Bridge brq Iptables Port tap enp0s3 10.0.3.5 Private Bridge brq Iptables Port tap VxLAN Interface enp0s8 192.168.122.20eth0 Public Instance eth0 Private Instance VxLAN Tunnels Physical Network
  • 13. 2016-05-2313 설치 환경 및 구성 Controller Compute tap Port tap DHCP Namespace qdhcp Public Bridge brq enp0s3 10.0.3.4 Port tap Router Namespace qrouter qg qrIptables tap DHCP Namespace qdhcp Port tap Private Bridge brq VxLAN Interface Port tap enp0s8 192.168.122.10 Public Bridge brq Iptables Port tap enp0s3 10.0.3.5 Private Bridge brq Iptables Port tap VxLAN Interface enp0s8 192.168.122.20eth0 Public Instance eth0 Private Instance VxLAN Tunnels Physical Network
  • 14. 2016-05-2314 설치 환경 및 구성 Controller Compute tap Port tap DHCP Namespace qdhcp Public Bridge brq enp0s3 10.0.3.4 Port tap Router Namespace qrouter qg qrIptables tap DHCP Namespace qdhcp Port tap Private Bridge brq VxLAN Interface Port tap enp0s8 192.168.122.10 Public Bridge brq Iptables Port tap enp0s3 10.0.3.5 Private Bridge brq Iptables Port tap VxLAN Interface enp0s8 192.168.122.20eth0 Public Instance eth0 Private Instance VxLAN Tunnels Physical Network
  • 15. 2016-05-2315 설치 환경 및 구성 Controller Compute tap Port tap DHCP Namespace qdhcp Public Bridge brq enp0s3 10.0.3.4 Port tap Router Namespace qrouter qg qrIptables tap DHCP Namespace qdhcp Port tap Private Bridge brq VxLAN Interface Port tap enp0s8 192.168.122.10 Public Bridge brq Iptables Port tap enp0s3 10.0.3.5 Private Bridge brq Iptables Port tap VxLAN Interface enp0s8 192.168.122.20eth0 Public Instance eth0 Private Instance VxLAN Tunnels Physical Network
  • 16. 2016-05-2316 설치 환경 및 구성 Controller Compute tap Port tap DHCP Namespace qdhcp Public Bridge brq enp0s3 10.0.3.4 Port tap Router Namespace qrouter qg qrIptables tap DHCP Namespace qdhcp Port tap Private Bridge brq VxLAN Interface Port tap enp0s8 192.168.122.10 Public Bridge brq Iptables Port tap enp0s3 10.0.3.5 Private Bridge brq Iptables Port tap VxLAN Interface enp0s8 192.168.122.20eth0 Public Instance eth0 Private Instance VxLAN Tunnels Physical Network
  • 17. 2016-05-2317 설치 환경 및 구성 Controller Compute tap Port tap DHCP Namespace qdhcp Public Bridge brq enp0s3 10.0.3.4 Port tap Router Namespace qrouter qg qrIptables tap DHCP Namespace qdhcp Port tap Private Bridge brq VxLAN Interface Port tap enp0s8 192.168.122.10 Public Bridge brq Iptables Port tap enp0s3 10.0.3.5 Private brq Iptables Port tap VxLAN Interface enp0s8 192.168.122.20eth0 Public Instance eth0 Private Instance VxLAN Tunnels Physical Network
  • 18. 2016-05-2318 설치 환경 및 구성 Controller Compute tap Port tap DHCP Namespace qdhcp Public Bridge brq enp0s3 10.0.3.4 Port tap Router Namespace qrouter qg qrIptables tap DHCP Namespace qdhcp Port tap Private Bridge brq VxLAN Interface Port tap enp0s8 192.168.122.10 Public Bridge brq Iptables Port tap enp0s3 10.0.3.5 Private brq Iptables Port tap VxLAN Interface enp0s8 192.168.122.20eth0 Public Instance eth0 Private Instance VxLAN Tunnels Physical Network
  • 19. 2016-05-2319 설치 환경 및 구성 Controller Compute tap Port tap DHCP Namespace qdhcp Public Bridge brq enp0s3 10.0.3.4 Port tap Router Namespace qrouter qg qrIptables tap DHCP Namespace qdhcp Port tap Private Bridge brq VxLAN Interface Port tap enp0s8 192.168.122.10 Public Bridge brq Iptables Port tap enp0s3 10.0.3.5 Private brq Iptables Port tap VxLAN Interface enp0s8 192.168.122.20eth0 Public Instance eth0 Private Instance VxLAN Tunnels Physical Network
  • 20. 2016-05-2320 설치 환경 및 구성 • Nova-vnc로 접속
  • 21. 2016-05-2321 설치 환경 및 구성 • 포트 포워딩으로 외부에서 접속
  • 22. 2016-05-2322 설치 환경 및 구성 • 질문!! • Private Network의 인스턴스에게 Floating IP를 할당했는데 왜 NIC는 늘어나지 않는지… 상태는 왜 비활성화되어 있는지
  • 23. 2016-05-2323 Trouble Shooting •NTP 설정 문제 • 매뉴얼대로 하면 Controller 노드와 Compute 노드가 동기화가 안됨 • 방화벽 설정 필요 # firewall-cmd --permanent --zone=public --add-port=123/udp # firewall-cmd --reload
  • 24. 2016-05-2324 Trouble Shooting •DB Access deny 에러 • 예) 1045, "Access denied for user 'neutron'@'controller' • 계정 설정 문제, DB 비밀번호 및 설정 파일 확인
  • 25. 2016-05-2325 Trouble Shooting •Rabbitmq 통신 에러 • ERROR oslo.messaging._drivers.impl_rabbit [req-0387616a-9695-471a-8520- 21bd503285ce - - - - -] AMQP server on controller:5672 is unreachable: [Errno 113] EHOSTUNREACH. Trying again in 2 seconds.] • 방화벽 문제 # firewall-cmd --permanent --zone=public --add-port=5672/tcp # firewall-cmd --reload
  • 26. 2016-05-2326 Trouble Shooting •Rabbitmq 통신 에러 • [compute node, nova log] AMQP server controller:5672 closed the connection. Check login credentials: Socket close • [controller rabbitmq log] =ERROR REPORT==== 15-May-2016::10:27:23 === closing AMQP connection <0.7769.0> (192.168.122.10:34042 -> 192.168.122.10:5672): {handshake_error,starting,0, {amqp_error,access_refused, "AMQPLAIN login refused: user 'openstack' - invalid credentials", 'connection.start_ok'}} • Rabbitmq 계정 문제 # rabbitmqctl add_user openstack "PASSWORD“ # rabbitmqctl set_permissions openstack ".*" ".*" ".*"
  • 27. 2016-05-2327 Trouble Shooting •Neutron linuxbridge 에러 • [controller neutron linuxbridge log] AMQP server controller:5672 closed the connection. Check login credentials: Socket close • [compute neutron linuxbridge log] AttributeError: 'LinuxBridgeNeutronAgentRPC' object has no attribute 'plugin_rpc' • 원인 모름 재부팅 후 해결
  • 28. 2016-05-2328 Trouble Shooting •문제의 시작 • 각 머신에서 호스트 네임을 안 바꿔서 그런지 nova-manage service list나 neutron agent-list와 같은 명령어를 입력했을 때 host가 “localhost.localdomain”으로 출력 • 마음에 들지 않음 각 머신 호스트 네임을 바꾸고 재시작 • 명령어 입력 시 이전의 호스트네임이 남아있음… 더 마음에 안 듬…
  • 29. 2016-05-2329 Trouble Shooting •문제의 시작 • Nova와 Neutron DB에 접근해서 직접 삭제
  • 30. 2016-05-2330 Trouble Shooting •인스턴스 구동 시 문제 • nova hypervisor list 명령어 시 에러가 남. 하이퍼바이저를 못 찾아서 구동이 안 되는 건가? • LinuxBridge 로그에 계속해서 에러 • Error in agent loop. Devices info: {'current': set(['tap4e0eaaa4-d9', 'tapc5683608-db', 'tap164d30dd-3d', 'tapbd79f0fd-b1']), 'removed': set([]), 'added': set(['tap4e0eaaa4-d9', 'tapc5683608-db', 'tap164d30dd-3d', 'tapbd79f0fd-b1']), 'updated': set([])}Error in agent loop. Devices info: {'current': set(['tap4e0eaaa4-d9', 'tapc5683608-db', 'tap164d30dd-3d', 'tapbd79f0fd-b1']), 'removed': set([]), 'added': set(['tap4e0eaaa4-d9', 'tapc5683608-db', 'tap164d30dd-3d', 'tapbd79f0fd-b1']), 'updated': set([])} • Nova api 로그에도 에러, 여기저기 에러~ • Exception.ComputeHostNotFound(host=host) 2016-05-17 06:42:37.514 3155 ERROR nova.api.openstack.extensions Comput eHostNotFound: Compute host localhost.localdomain could not be found.
  • 31. 2016-05-2331 Trouble Shooting •인스턴스 구동 시 문제 •DB에서 호스트네임을 가져오는 듯 함
  • 32. 2016-05-2332 Trouble Shooting •인스턴스 구동 시 문제 •DB에서 호스트네임을 가져오는 듯 함
  • 33. 2016-05-2333 Trouble Shooting •인스턴스 구동 시 문제 •Nova DB의 compute_nodes 테이블의 해당 튜플 삭제 •Nova hypervisor-list 정상적으로 동작 •그래도 인스턴스 구동 안됨 ㅋㅋㅋㅋ •한참을 헤매다가 컴퓨트 노드의 local_ip 설정이 잘 못 되어 있는 것 발견. 드디어 해결.
  • 34. 2016-05-2334 결론 •네트워크는 어렵다. •설치 진행하기 전에 호스트네임을 꼭 바꾸자. 설치 중간에 절대 바꾸지 말자. •정신 똑바로 차리고 오타 내지 말자.