Bug 2105629
| Summary: | Service monitor is broken : Its not set to offline when the ovn-controller releases a port binding | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux Fast Datapath | Reporter: | OVN Bot <ovn-bot> |
| Component: | ovn22.06 | Assignee: | OVN Team <ovnteam> |
| Status: | CLOSED ERRATA | QA Contact: | ying xu <yinxu> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | FDP 21.K | CC: | ctrautma, jiji, jishi, mmichels, odivlad |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ovn22.06-22.06.0-17.el8fdp | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-08-01 14:15:14 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
OVN Bot
2022-07-09 04:06:10 UTC
This issue is fixed in ovn22.06-22.06.0-17.el8fdp verified on version:
# rpm -qa|grep ovn
ovn22.06-host-22.06.0-21.el8fdp.x86_64
ovn22.06-22.06.0-21.el8fdp.x86_64
ovn22.06-central-22.06.0-21.el8fdp.x86_64
before remove portbinding:
# ovn-sbctl list service_monitor
_uuid : 40b8d4e3-02ab-4556-b444-55880e44d05a
external_ids : {}
ip : "172.16.103.12"
logical_port : hv0_vm01_vnet1
options : {failure_count="3", interval="5", success_count="3", timeout="20"}
port : 80
protocol : tcp
src_ip : "172.16.103.2"
src_mac : "c2:ed:3f:11:80:8b"
status : online
_uuid : e254ff4b-0083-4d7c-8d2e-30bbf430d99a
external_ids : {}
ip : "172.16.103.11"
logical_port : hv0_vm00_vnet1
options : {failure_count="3", interval="5", success_count="3", timeout="20"}
port : 80
protocol : tcp
src_ip : "172.16.103.2"
src_mac : "c2:ed:3f:11:80:8b"
status : online
[root@dell-per740-53 load_balance]# ovn-sbctl show
Chassis hv1
hostname: dell-per740-53.rhts.eng.pek2.redhat.com
Encap geneve
ip: "20.0.64.25"
options: {csum="true"}
Port_Binding s3_r1
Port_Binding r1_s3
Port_Binding hv1_vm00_vnet1
Port_Binding hv1_vm01_vnet1
Port_Binding s2_r1
Port_Binding r1_s2
Chassis hv0
hostname: dell-per740-54.rhts.eng.pek2.redhat.com
Encap geneve
ip: "20.0.64.26"
options: {csum="true"}
Port_Binding hv0_vm01_vnet1
Port_Binding hv0_vm00_vnet1
after remove portbindding:
ovs-vsctl remove interface hv0_vm01_vnet1 external_ids iface-id
# ovn-sbctl show
Chassis hv1
hostname: dell-per740-53.rhts.eng.pek2.redhat.com
Encap geneve
ip: "20.0.64.25"
options: {csum="true"}
Port_Binding s3_r1
Port_Binding r1_s3
Port_Binding hv1_vm00_vnet1
Port_Binding hv1_vm01_vnet1
Port_Binding s2_r1
Port_Binding r1_s2
Chassis hv0
hostname: dell-per740-54.rhts.eng.pek2.redhat.com
Encap geneve
ip: "20.0.64.26"
options: {csum="true"}
Port_Binding hv0_vm00_vnet1 -------------------------port binding removed
[root@dell-per740-53 load_balance]# ovn-sbctl list service_monitor
_uuid : 40b8d4e3-02ab-4556-b444-55880e44d05a
external_ids : {}
ip : "172.16.103.12"
logical_port : hv0_vm01_vnet1
options : {failure_count="3", interval="5", success_count="3", timeout="20"}
port : 80
protocol : tcp
src_ip : "172.16.103.2"
src_mac : "c2:ed:3f:11:80:8b"
status : offline --------------------status offline
_uuid : e254ff4b-0083-4d7c-8d2e-30bbf430d99a
external_ids : {}
ip : "172.16.103.11"
logical_port : hv0_vm00_vnet1
options : {failure_count="3", interval="5", success_count="3", timeout="20"}
port : 80
protocol : tcp
src_ip : "172.16.103.2"
src_mac : "c2:ed:3f:11:80:8b"
status : online
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (ovn22.06 bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:5789 |