<div dir="ltr"><div><div><div><div>Hi Team,<br><br></div>I have done the installation of packstack pike using ovn as mechanism driver on centos. I have one controller and two compute nodes. <br><br></div>- Created one tenant geneve based network (added as port to router) and a flat external network (set as gateway for router).</div><div><br></div><div>~~~<br>[root@controller ~(keystone_admin)]# rpm -qa | awk '/openvswitch-ovn/ {print $1}'<br>openvswitch-ovn-common-2.7.2-3.1fc27.el7.x86_64<br>openvswitch-ovn-host-2.7.2-3.1fc27.el7.x86_64<br>openvswitch-ovn-central-2.7.2-3.1fc27.el7.x86_64<br>~~~</div><div><br></div>I am trying to find a compute node on which my gateway router is hosted and also the command to check the health of distributed logical routers. <br><br></div>It seems like that "lrp-get-gateway-chassis" command is not present in the version which I am using. <br><div><div><div><div><div><br></div><div><p>~~~<br>[root@controller ~]# ovn-nbctl lrp-get-gateway-chassis<br>ovn-nbctl: unknown command 'lrp-get-gateway-chassis'; use --help for help</p><p>[root@controller ~]# ovn-nbctl --help | grep -i gateway</p><p>~~~</p><p>Output of ovn-nbctl show. <br></p><p>~~~<br></p><p>[root@controller ~(keystone_admin)]# ovn-nbctl show<br> switch 0d413d9c-7f23-4ace-9a8a-29817b3b33b5 (neutron-89113f8b-bc01-46b1-84fb-edd5d606879c)<br> port 6fe3cab5-5f84-44c8-90f2-64c21b489c62<br> addresses: ["fa:16:3e:fa:d6:d3 10.10.10.9"]<br> port 397c019e-9bc3-49d3-ac4c-4aeeb1b3ba3e<br> addresses: ["router"]<br> port 4c72cee2-35b7-4bcd-8c77-135a22d16df1<br> addresses: ["fa:16:3e:55:3f:be 10.10.10.4"]<br> switch 1ec08997-0899-40d1-9b74-0a25ef476c00 (neutron-e411bbe8-e169-4268-b2bf-d5959d9d7260)<br> port provnet-e411bbe8-e169-4268-b2bf-d5959d9d7260<br> addresses: ["unknown"]<br> port b95e9ae7-5c91-4037-8d2c-660d4af00974<br> addresses: ["router"]<br> router 7418a4e7-abff-4af7-85f5-6eea2ede9bea (neutron-67dc2e78-e109-4dac-acce-b71b2c944dc1)<br> port lrp-b95e9ae7-5c91-4037-8d2c-660d4af00974<br> mac: "fa:16:3e:52:20:7c"<br> networks: ["<a href="http://192.168.122.50/24">192.168.122.50/24</a>"]<br> port lrp-397c019e-9bc3-49d3-ac4c-4aeeb1b3ba3e<br> mac: "fa:16:3e:87:28:40"<br> networks: ["<a href="http://10.10.10.1/24">10.10.10.1/24</a>"]<br>~~~<br></p><br><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div>Thanks & Regards,</div>
<div>Vikrant Aggarwal</div><br><div><br><span></span><span></span></div></div></div></div>
</div></div></div></div></div></div>