Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Secondary NodeIPs are not properly exposed as NodePort Services #4304

Open
tssurya opened this issue Apr 23, 2024 · 1 comment
Open

Secondary NodeIPs are not properly exposed as NodePort Services #4304

tssurya opened this issue Apr 23, 2024 · 1 comment
Labels
kind/support Ask a question or get support for anything in ovn-kubernetes

Comments

@tssurya
Copy link
Member

tssurya commented Apr 23, 2024

# ovn-nbctl list Chassis_Template_Var
_uuid               : 758a7f63-c24b-44ce-bb7f-5f28cdfb7987
chassis             : "761a855c-9aaf-44d7-80df-dd6d229135f2"
external_ids        : {}
variables           : {NODEIP_IPv4_0="172.19.0.2", NODEIP_IPv4_1="172.20.0.3", NODEIP_IPv4_2="10.10.10.2", NODEIP_IPv4_3="172.19.0.2"}

versus:

sh-5.2# ovn-nbctl ls-lb-list ovn-control-plane                                                                                                                               
UUID                                    LB                  PROTO      VIP                     IPs                                                                           
003226a1-011e-4635-87ff-b1a5a813ee48    Service_default/    tcp        10.96.0.1:443           172.19.0.2:6443                                                               
e1bb4ddd-9619-41cd-9678-a7c016d47efc    Service_kube-sys    tcp        10.96.0.10:53           10.244.2.3:53,10.244.2.5:53                                                   
                                                            tcp        10.96.0.10:9153         10.244.2.3:9153,10.244.2.5:9153                                               
b066d4f2-d10f-48e5-9a0d-6ca4d514a1bf    Service_kube-sys    udp        10.96.0.10:53           10.244.2.3:53,10.244.2.5:53                                                   
db1bdb9d-520d-4dfd-adc2-4e4466c63ac4    Service_metallb-    tcp        10.96.59.189:443        10.244.1.3:9443                                                               
9de095fb-f56f-40c2-995e-ff7fe58f7bab    Service_services    tcp        ^NODEIP_IPv4_0:32653    10.244.0.4:80,10.244.1.5:80,10.244.2.7:80                                     
                                                            tcp        ^NODEIP_IPv4_1:32653    10.244.0.4:80,10.244.1.5:80,10.244.2.7:80                                     
56a4cd33-5a01-4442-b334-a9f0d4f7a8c2    Service_services    udp        ^NODEIP_IPv4_0:30664    10.244.0.4:90,10.244.1.5:90,10.244.2.7:90                                     
                                                            udp        ^NODEIP_IPv4_1:30664    10.244.0.4:90,10.244.1.5:90,10.244.2.7:90                                     
ac571edf-f28d-48aa-a48b-5aec2b8b10c7    Service_services    tcp        169.254.169.3:31043     10.244.0.4:80                                                                 
                                                            tcp        172.19.0.2:31043        10.244.0.4:80,10.244.1.5:80,10.244.2.7:80                                     
                                                            tcp        172.20.0.3:31043        10.244.0.4:80,10.244.1.5:80,10.244.2.7:80                                     
f73667c4-8659-43df-bc6e-27e0c420d36e    Service_services    udp        169.254.169.3:30776     10.244.0.4:90                                                                 
                                                            udp        172.19.0.2:30776        10.244.0.4:90,10.244.1.5:90,10.244.2.7:90                                     
                                                            udp        172.20.0.3:30776        10.244.0.4:90,10.244.1.5:90,10.244.2.7:90                                     
0561d053-0b91-4337-bc39-814178637f40    Service_services    udp        10.96.222.137:91        10.244.0.4:90,10.244.1.5:90,10.244.2.7:90                                     
a162494c-eba1-43de-b83b-436e3b65f6e0    Service_services    tcp        10.96.222.137:81        10.244.0.4:80,10.244.1.5:80,10.244.2.7:80                                     
b9940e96-d335-457d-9ee5-11fefe012b58    Service_services    udp        10.96.176.162:91        10.244.0.4:90,10.244.1.5:90,10.244.2.7:90                                     
cd3329b3-299c-4370-9638-cc5cd77807f2    Service_services    tcp        10.96.176.162:81        10.244.0.4:80,10.244.1.5:80,10.244.2.7:80                        
@tssurya tssurya added the kind/support Ask a question or get support for anything in ovn-kubernetes label Apr 23, 2024
@tssurya
Copy link
Member Author

tssurya commented Apr 23, 2024

versus:

sh-5.2# ovn-nbctl list Chassis_Template_Var                                                                                                                                  
_uuid               : 758a7f63-c24b-44ce-bb7f-5f28cdfb7987                                                                                                                   
chassis             : "761a855c-9aaf-44d7-80df-dd6d229135f2"                                                                                                                 
external_ids        : {}                                                                                                                                                     
variables           : {NODEIP_IPv4_0="10.10.10.2", NODEIP_IPv4_1="172.19.0.2", NODEIP_IPv4_2="172.19.1.1", NODEIP_IPv4_3="172.20.0.3"}           
sh-5.2# ovn-nbctl ls-lb-list ovn-control-plane                                                                                                                               
UUID                                    LB                  PROTO      VIP                     IPs                                                                           
003226a1-011e-4635-87ff-b1a5a813ee48    Service_default/    tcp        10.96.0.1:443           172.19.0.2:6443                                                               
e1bb4ddd-9619-41cd-9678-a7c016d47efc    Service_kube-sys    tcp        10.96.0.10:53           10.244.2.3:53,10.244.2.5:53                                                   
                                                            tcp        10.96.0.10:9153         10.244.2.3:9153,10.244.2.5:9153
b066d4f2-d10f-48e5-9a0d-6ca4d514a1bf    Service_kube-sys    udp        10.96.0.10:53           10.244.2.3:53,10.244.2.5:53
db1bdb9d-520d-4dfd-adc2-4e4466c63ac4    Service_metallb-    tcp        10.96.59.189:443        10.244.1.3:9443
ef473552-3549-4b87-89db-1aa3f517f640    Service_services    tcp        ^NODEIP_IPv4_0:31995    10.244.0.5:80,10.244.1.6:80,10.244.2.8:80
                                                            tcp        ^NODEIP_IPv4_1:31995    10.244.0.5:80,10.244.1.6:80,10.244.2.8:80
                                                            tcp        ^NODEIP_IPv4_2:31995    10.244.0.5:80,10.244.1.6:80,10.244.2.8:80
                                                            tcp        ^NODEIP_IPv4_3:31995    10.244.0.5:80,10.244.1.6:80,10.244.2.8:80
172baa81-de55-4dd8-b20f-63928dffe934    Service_services    udp        10.10.10.2:32253        10.244.0.5:90,10.244.1.6:90,10.244.2.8:90
                                                            udp        169.254.169.3:32253     10.244.0.5:90
                                                            udp        172.19.0.2:32253        10.244.0.5:90,10.244.1.6:90,10.244.2.8:90
                                                            udp        172.19.1.1:32253        10.244.0.5:90,10.244.1.6:90,10.244.2.8:90
                                                            udp        172.20.0.3:32253        10.244.0.5:90,10.244.1.6:90,10.244.2.8:90
9a2d9a5e-7e37-4537-bfc7-dcb6054fe0d2    Service_services    tcp        10.10.10.2:31370        10.244.0.5:80,10.244.1.6:80,10.244.2.8:80
                                                            tcp        169.254.169.3:31370     10.244.0.5:80
                                                            tcp        172.19.0.2:31370        10.244.0.5:80,10.244.1.6:80,10.244.2.8:80
                                                            tcp        172.19.1.1:31370        10.244.0.5:80,10.244.1.6:80,10.244.2.8:80
                                                            tcp        172.20.0.3:31370        10.244.0.5:80,10.244.1.6:80,10.244.2.8:80

when it works fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Ask a question or get support for anything in ovn-kubernetes
Projects
None yet
Development

No branches or pull requests

1 participant