목차

Neutron 설정 확인

OVS / OVN 구별

컨트롤러 노드에서 ovn_metadata_agent, ovn_controller 데몬이 존재하면 OVN
컨테이너 방식인 경우 podman ps -a |grep Up |grep ovn 명령어로 확인 가능하다.

[root@overcloud-controller-0 ~]# podman ps -a |grep Up |grep ovn
6ca81ad1062b  cluster.common.tag/openstack-ovn-northd:pcmklatest                                  /bin/bash /usr/lo...  24 minutes ago  Up 24 minutes ago                  ovn-dbs-bundle-podman-0
75910e1a5e36  director.ctlplane.localdomain:8787/rhosp-rhel8/openstack-neutron-server-ovn:16.2.1  kolla_start           17 minutes ago  Up 17 minutes ago                  neutron_api
2dd68a4dd7a2  director.ctlplane.localdomain:8787/rhosp-rhel8/openstack-nova-novncproxy:16.2.1     kolla_start           17 minutes ago  Up 17 minutes ago                  nova_vnc_proxy
d9a7223174a1  director.ctlplane.localdomain:8787/rhosp-rhel8/openstack-ovn-controller:16.2.1      kolla_start           16 minutes ago  Up 16 minutes ago                  ovn_controller

DVR mode 확인

neutron_api 서비스의 ml2_conf.ini 내용에 distributed_floating_ip 값을 확인한다.

컨테이너 기반인경우

[root@overcloud-controller-0 ~]# podman exec -it neutron_api bash
[neutron@overcloud-controller-0 /]$ cat /etc/neutron/plugins/ml2/ml2_conf.ini 
...
[ovn]
ovn_nb_connection=tcp:172.16.2.253:6641
ovn_sb_connection=tcp:172.16.2.253:6642
ovsdb_connection_timeout=180
neutron_sync_mode=log
ovn_l3_mode=True
vif_type=ovs
ovn_metadata_enabled=True
enable_distributed_floating_ip=False                 ### <<<< 이부분 확인
dns_servers=
[neutron@overcloud-controller-0 /]$