Bug 1799178
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: | juriarte, mdulko | |
Version: | 4.4 | |||
Target Milestone: | --- | |||
Target Release: | 4.4.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1799393 (view as bug list) | Environment: | ||
Last Closed: | 2020-05-13 21:56:39 UTC | Type: | Bug | |
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: | ||||
Bug Blocks: | 1799393 |
Description
Maysa Macedo
2020-02-06 16:05:02 UTC
Verified in 4.4.0-0.nightly-2020-02-10-234204 on top of OSP 13 2020-01-15.3 puddle. 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 45s 10.128.118.19 ostest-rgz26-worker-kcvx6 <none> <none> pod1-1-xpw4c 1/1 Running 0 20s 10.128.118.3 ostest-rgz26-worker-kcvx6 <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.234.178 <none> 80/TCP 106s $ curl 172.30.234.178 pod1-1-6n8x2: HELLO! I AM ALIVE!!! LB list: +--------------------------------------+------------+----------------------------------+----------------+---------------------+----------+ | id | name | project_id | vip_address | provisioning_status | provider | +--------------------------------------+------------+----------------------------------+----------------+---------------------+----------+ | c8235e02-e0d7-49b1-a601-65f01fd4f2ff | test/pod1 | 127301b33e25457c82852f163cb2eeb7 | 172.30.234.178 | PENDING_CREATE | octavia | +--------------------------------------+------------+----------------------------------+----------------+---------------------+----------+ ssh to one controller $ sudo docker exec -it galera-bundle-docker-0 mysql MariaDB [octavia]> use octavia; MariaDB [octavia]> update load_balancer set provisioning_status='ERROR' where id='c8235e02-e0d7-49b1-a601-65f01fd4f2ff'; LB list: +--------------------------------------+------------+----------------------------------+----------------+---------------------+----------+ | id | name | project_id | vip_address | provisioning_status | provider | +--------------------------------------+------------+----------------------------------+----------------+---------------------+----------+ | c8235e02-e0d7-49b1-a601-65f01fd4f2ff | test/pod1 | 127301b33e25457c82852f163cb2eeb7 | 172.30.234.178 | ERROR | octavia | +--------------------------------------+------------+----------------------------------+----------------+---------------------+----------+ +--------------------------------------+------------+----------------------------------+----------------+---------------------+----------+ | id | name | project_id | vip_address | provisioning_status | provider | +--------------------------------------+------------+----------------------------------+----------------+---------------------+----------+ | c8235e02-e0d7-49b1-a601-65f01fd4f2ff | test/pod1 | 127301b33e25457c82852f163cb2eeb7 | 172.30.234.178 | PENDING_DELETE | octavia | +--------------------------------------+------------+----------------------------------+----------------+---------------------+----------+ A new one is created: +--------------------------------------+------------+----------------------------------+----------------+---------------------+----------+ | id | name | project_id | vip_address | provisioning_status | provider | +--------------------------------------+------------+----------------------------------+----------------+---------------------+----------+ | eda04e9c-5100-4b93-bc77-dc5951b4904c | test/pod1 | 127301b33e25457c82852f163cb2eeb7 | 172.30.234.178 | PENDING_CREATE | octavia | +--------------------------------------+------------+----------------------------------+----------------+---------------------+----------+ +--------------------------------------+------------+----------------------------------+----------------+---------------------+----------+ | id | name | project_id | vip_address | provisioning_status | provider | +--------------------------------------+------------+----------------------------------+----------------+---------------------+----------+ | eda04e9c-5100-4b93-bc77-dc5951b4904c | test/pod1 | 127301b33e25457c82852f163cb2eeb7 | 172.30.234.178 | 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:0581 |