Bug 1799393
Summary: | LB in error status continuosly created without deleting previous ones | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Maysa Macedo <mdemaced> |
Component: | Networking | Assignee: | Maysa Macedo <mdemaced> |
Networking sub component: | kuryr | QA Contact: | Jon Uriarte <juriarte> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | unspecified | CC: | gcheresh, juriarte, ltomasbo, mdulko |
Version: | 4.4 | ||
Target Milestone: | --- | ||
Target Release: | 4.3.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1799178 | Environment: | |
Last Closed: | 2020-03-10 23:53:27 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: | |||
Bug Depends On: | 1799178 | ||
Bug Blocks: |
Description
Maysa Macedo
2020-02-06 16:56:21 UTC
Verified in 4.3.0-0.nightly-2020-02-20-235803 on top of OSP 16 RHOS_TRUNK-16.0-RHEL-8-20200220.n.0 compose. A new LB is created when a LB transitions to ERROR status while it's in PENDING_CREATE status. $ oc new-project test $ oc run --image kuryr/demo pod1 $ oc get pods -o wide NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES pod1-1-deploy 0/1 Completed 0 56s 10.128.107.91 ostest-pshnn-worker-c7smg <none> <none> pod1-1-pb6ch 1/1 Running 0 43s 10.128.107.215 ostest-pshnn-worker-qtckd <none> <none> $ oc expose dc/pod1 --port 80 --target-port 8080 $ oc get svc NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE pod1 ClusterIP 172.30.93.248 <none> 80/TCP 4s LB list: +--------------------------------------+------------+----------------------------------+----------------+---------------------+----------+ | id | name | project_id | vip_address | provisioning_status | provider | +--------------------------------------+------------+----------------------------------+----------------+---------------------+----------+ | 6214b835-dd33-48f7-b11c-eb400a20baff | test/pod1 | fc1c99846fef46ddb4f6f9b61162213f | 172.30.93.248 | PENDING_CREATE | octavia | +--------------------------------------+------------+----------------------------------+----------------+---------------------+----------+ ssh to one controller $ sudo docker exec -it galera-bundle-podman-0 mysql MariaDB [octavia]> use octavia; MariaDB [octavia]> update load_balancer set provisioning_status='ERROR' where id='6214b835-dd33-48f7-b11c-eb400a20baff'; LB list: +--------------------------------------+------------+----------------------------------+----------------+---------------------+----------+ | id | name | project_id | vip_address | provisioning_status | provider | +--------------------------------------+------------+----------------------------------+----------------+---------------------+----------+ | 6214b835-dd33-48f7-b11c-eb400a20baff | test/pod1 | fc1c99846fef46ddb4f6f9b61162213f | 172.30.93.248 | ERROR | octavia | +--------------------------------------+------------+----------------------------------+----------------+---------------------+----------+ +--------------------------------------+------------+----------------------------------+----------------+---------------------+----------+ | id | name | project_id | vip_address | provisioning_status | provider | +--------------------------------------+------------+----------------------------------+----------------+---------------------+----------+ | 6214b835-dd33-48f7-b11c-eb400a20baff | test/pod1 | fc1c99846fef46ddb4f6f9b61162213f | 172.30.93.248 | PENDING_DELETE | octavia | +--------------------------------------+------------+----------------------------------+----------------+---------------------+----------+ A new one is created: +--------------------------------------+------------+----------------------------------+----------------+---------------------+----------+ | id | name | project_id | vip_address | provisioning_status | provider | +--------------------------------------+------------+----------------------------------+----------------+---------------------+----------+ | 8e654842-b888-4093-a962-5dfd67c97dd1 | test/pod1 | fc1c99846fef46ddb4f6f9b61162213f | 172.30.93.248 | PENDING_CREATE | octavia | +--------------------------------------+------------+----------------------------------+----------------+---------------------+----------+ +--------------------------------------+------------+----------------------------------+----------------+---------------------+----------+ | id | name | project_id | vip_address | provisioning_status | provider | +--------------------------------------+------------+----------------------------------+----------------+---------------------+----------+ | 8e654842-b888-4093-a962-5dfd67c97dd1 | test/pod1 | fc1c99846fef46ddb4f6f9b61162213f | 172.30.93.248 | ACTIVE | octavia | +--------------------------------------+------------+----------------------------------+----------------+---------------------+----------+ 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, 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-2020:0676 |