Bug 1811022
| Summary: | Wrong client used to retrieve Octavia API version | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Maysa Macedo <mdemaced> | |
| Component: | Networking | Assignee: | Maysa Macedo <mdemaced> | |
| Networking sub component: | kuryr | QA Contact: | GenadiC <gcheresh> | |
| Status: | CLOSED ERRATA | Docs Contact: | ||
| Severity: | medium | |||
| Priority: | high | CC: | juriarte, ltomasbo | |
| Version: | 4.4 | |||
| Target Milestone: | --- | |||
| Target Release: | 4.5.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | No Doc Update | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1811104 (view as bug list) | Environment: | ||
| Last Closed: | 2020-07-13 17:18:46 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: | 1819129 | |||
| Bug Blocks: | 1811104 | |||
|
Description
Maysa Macedo
2020-03-06 12:56:49 UTC
Verified in 4.5.0-0.nightly-2020-04-02-004321 on top of OSP 16 RHOS_TRUNK-16.0-RHEL-8-20200324.n.0 compose.
ovn octavia is enabled:
$ openstack loadbalancer provider list
+---------+-------------------------------------------------+
| name | description |
+---------+-------------------------------------------------+
| amphora | The Octavia Amphora driver. |
| octavia | Deprecated alias of the Octavia Amphora driver. |
| ovn | Octavia OVN driver. |
+---------+-------------------------------------------------+
OVN Octavia driver detection worked during installation:
$ oc get cm kuryr-config -n openshift-kuryr -o yaml
...
metadata:
annotations:
networkoperator.openshift.io/kuryr-octavia-provider: ovn << -----------
creationTimestamp: "2020-04-02T08:16:30Z"
name: kuryr-config
namespace: openshift-kuryr
ownerReferences:
- apiVersion: operator.openshift.io/v1
blockOwnerDeletion: true
controller: true
kind: Network
name: cluster
uid: 42ce3d14-9dce-418b-ad9f-bbfcbeb34cfb
resourceVersion: "3085"
selfLink: /api/v1/namespaces/openshift-kuryr/configmaps/kuryr-config
uid: a019788e-6323-4cea-8593-e25fadc1029d
If the config-map is edited (with a different value):
networkoperator.openshift.io/kuryr-octavia-provider: ""
it will be updated correctly with reconciliation:
2020/04/03 08:53:37 Checking OVN Octavia driver support
2020/04/03 08:53:37 Detected Octavia API v2.13.0
2020/04/03 08:53:37 Checking Double Listeners Octavia support
2020/04/03 08:53:37 Detected Octavia API v2.13.0
2020/04/03 08:53:37 OVN Provider is enabled and Kuryr will use it
2020/04/03 08:53:37 Kuryr bootstrap finished
2020/04/03 08:53:37 Starting render phase
2020/04/03 08:53:37 Render phase done, rendered 37 objects
2020/04/03 08:53:37 reconciling (/v1, Kind=ConfigMap) openshift-network-operator/applied-cluster
2020/04/03 08:53:37 update was successful
$ oc get cm kuryr-config -n openshift-kuryr -o yaml
...
metadata:
annotations:
networkoperator.openshift.io/kuryr-octavia-provider: ovn
creationTimestamp: "2020-04-02T08:16:30Z"
name: kuryr-config
namespace: openshift-kuryr
ownerReferences:
- apiVersion: operator.openshift.io/v1
blockOwnerDeletion: true
controller: true
kind: Network
name: cluster
uid: 42ce3d14-9dce-418b-ad9f-bbfcbeb34cfb
resourceVersion: "514532"
selfLink: /api/v1/namespaces/openshift-kuryr/configmaps/kuryr-config
uid: a019788e-6323-4cea-8593-e25fadc1029d
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:2409 |