Is logical_router‘s options correct?

Asked by XuRong

Devstack Environment,

When I start control node(devstack-152) which has computer function, the data are as follows:

[root@devstack-152 devstack]# ovn-sbctl list chassis
_uuid : 24ffb49a-2952-4599-b94a-d91420aa9fb6
encaps : [af08282b-d73a-4bcb-bcb7-bf1394318484]
external_ids : {datapath-type="", iface-types="geneve,gre,internal,ipsec_gre,lisp,patch,stt,system,tap,vxlan", ovn-bridge-mappings=""}
hostname : "devstack-152"
name : "2b2d12cf-615e-4b04-99a1-db4b0aebb38b"
nb_cfg : 0
vtep_logical_switches: []

[root@devstack-152 devstack]# ovn-nbctl list logical_router
_uuid : 12b6d601-ab0c-42a3-aeb7-bbd1627ee0ee
enabled : true
external_ids : {"neutron:router_name"="router1"}
name : "neutron-84721074-78f7-4267-8d86-1443c3c37148"
nat : []
options : {}-------------------------------------------------------------//options is null???
ports : [24048239-4b93-4589-9aa4-76ee665e28fa, a9034c03-bdbe-4568-b409-027fa1a67625]
static_routes : []

[root@devstack-152 devstack]# ovs-ofctl show br-int
OFPT_FEATURES_REPLY (xid=0x2): dpid:000032d97df0eb44
n_tables:254, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
actions: output enqueue set_vlan_vid set_vlan_pcp strip_vlan mod_dl_src mod_dl_dst mod_nw_src mod_nw_dst mod_nw_tos mod_tp_src mod_tp_dst
 1(patch-lrp-2c58a): addr:42:55:fb:74:0b:57
     config: 0
     state: 0
     speed: 0 Mbps now, 0 Mbps max
 2(patch-2c58a06f-): addr:6a:5b:8a:78:da:31
     config: 0
     state: 0
     speed: 0 Mbps now, 0 Mbps max
 3(patch-b67bb5c9-): addr:2a:48:32:8c:91:3c
     config: 0
     state: 0
     speed: 0 Mbps now, 0 Mbps max
 4(patch-lrp-b67bb): addr:d6:f8:43:46:1b:8b
     config: 0
     state: 0
     speed: 0 Mbps now, 0 Mbps max
 LOCAL(br-int): addr:32:d9:7d:f0:eb:44
     config: PORT_DOWN
     state: LINK_DOWN
     speed: 0 Mbps now, 0 Mbps max
OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0

When I start a compute node(devstack-167),

devstack-152’s data are as follows:
[root@devstack-152 devstack]# ovn-sbctl list chassis
_uuid : 24ffb49a-2952-4599-b94a-d91420aa9fb6
encaps : [af08282b-d73a-4bcb-bcb7-bf1394318484]
external_ids : {datapath-type="", iface-types="geneve,gre,internal,ipsec_gre,lisp,patch,stt,system,tap,vxlan", ovn-bridge-mappings=""}
hostname : "devstack-152"
name : "2b2d12cf-615e-4b04-99a1-db4b0aebb38b"
nb_cfg : 0
vtep_logical_switches: []

_uuid : 8b56ebc2-07c4-44fb-b8c0-b0d1cd0e2747
encaps : [ab0d5cf5-2b04-44ef-bf05-343a7b4a7315]
external_ids : {datapath-type="", iface-types="geneve,gre,internal,ipsec_gre,lisp,patch,stt,system,tap,vxlan", ovn-bridge-mappings=""}
hostname : "devstack-167"
name : "87892dc9-fa5b-4e12-9f41-8a0b5065c2c2"
nb_cfg : 0
vtep_logical_switches: []

[root@devstack-152 devstack]# ovn-nbctl list logical_router
_uuid : 12b6d601-ab0c-42a3-aeb7-bbd1627ee0ee
enabled : true
external_ids : {"neutron:router_name"="router1"}
name : "neutron-84721074-78f7-4267-8d86-1443c3c37148"
nat : []
options : {chassis="87892dc9-fa5b-4e12-9f41-8a0b5065c2c2"}---------------------------------------//only devstack-167???
ports : [24048239-4b93-4589-9aa4-76ee665e28fa, a9034c03-bdbe-4568-b409-027fa1a67625]
static_routes : []

[root@devstack-152 devstack]# ovs-ofctl show br-int
OFPT_FEATURES_REPLY (xid=0x2): dpid:000032d97df0eb44
n_tables:254, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
actions: output enqueue set_vlan_vid set_vlan_pcp strip_vlan mod_dl_src mod_dl_dst mod_nw_src mod_nw_dst mod_nw_tos mod_tp_src mod_tp_dst
 5(ovn-87892d-0): addr:ba:8d:67:a2:33:4e
     config: 0
     state: 0
     speed: 0 Mbps now, 0 Mbps max
 LOCAL(br-int): addr:32:d9:7d:f0:eb:44
     config: PORT_DOWN
     state: LINK_DOWN
     speed: 0 Mbps now, 0 Mbps max
OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0
//----------------port 1~ port 4 is deleted???

devstack-167’s data are as follows:
[root@devstack-167 devstack]# ovs-ofctl show br-int
OFPT_FEATURES_REPLY (xid=0x2): dpid:0000cea95c6eea46
n_tables:254, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
actions: output enqueue set_vlan_vid set_vlan_pcp strip_vlan mod_dl_src mod_dl_dst mod_nw_src mod_nw_dst mod_nw_tos mod_tp_src mod_tp_dst
 1(patch-lrp-2c58a): addr:ea:be:24:f9:77:db
     config: 0
     state: 0
     speed: 0 Mbps now, 0 Mbps max
 2(patch-b67bb5c9-): addr:2e:10:4e:80:29:90
     config: 0
     state: 0
     speed: 0 Mbps now, 0 Mbps max
 3(patch-lrp-b67bb): addr:02:cd:43:e8:d1:3b
     config: 0
     state: 0
     speed: 0 Mbps now, 0 Mbps max
 4(patch-2c58a06f-): addr:52:91:05:ac:a7:56
     config: 0
     state: 0
     speed: 0 Mbps now, 0 Mbps max
 5(ovn-2b2d12-0): addr:ce:df:ff:af:4c:ac
     config: 0
     state: 0
     speed: 0 Mbps now, 0 Mbps max
 LOCAL(br-int): addr:ce:a9:5c:6e:ea:46
     config: PORT_DOWN
     state: LINK_DOWN
     speed: 0 Mbps now, 0 Mbps max
OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0

Why devstack-152's ovs port is deleted?Is logical_router‘s options correct?

Question information

Language:
English Edit question
Status:
Expired
For:
networking-ovn Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.