Bug 2013545 - Service binding created outside topology is not visible
Summary: Service binding created outside topology is not visible
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.8
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 4.10.0
Assignee: Mohammed Saud
QA Contact: Debsmita Santra
URL:
Whiteboard:
Depends On:
Blocks: 2017484
TreeView+ depends on / blocked
 
Reported: 2021-10-13 07:57 UTC by Mohammed Saud
Modified: 2022-03-10 16:19 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
* Before this update, the service binding connector did not appear in topology if you used a `resource` property instead of a `kind` property to define a `ServiceBinding` custom resource (CR). This update resolves the issue by reading the CR's `resource` property to display the connector on the topology. (link:https://bugzilla.redhat.com/show_bug.cgi?id=2013545[BZ#2013545])
Clone Of:
Environment:
Last Closed: 2022-03-10 16:19:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 10227 0 None open Bug 2013545: Check for resource in ServiceBinding spec's service reference 2021-10-13 08:01:05 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:19:54 UTC

Description Mohammed Saud 2021-10-13 07:57:48 UTC
Description of problem:

Sample:
apiVersion: binding.operators.coreos.com/v1alpha1
kind: ServiceBinding
metadata:
  selfLink: >-
    /apis/binding.operators.coreos.com/v1alpha1/namespaces/wtrocki-fix/servicebindings/mmclaugh-inventory-91a1
  resourceVersion: '8509826'
  name: mmclaugh-inventory-91a1
  uid: b04e7a2c-7cfc-4796-b57b-4558d20b6156
  creationTimestamp: '2021-04-21T16:22:07Z'
  generation: 2
  managedFields:
    - apiVersion: binding.operators.coreos.com/v1alpha1
      fieldsType: FieldsV1
      fieldsV1:
        'f:metadata':
          'f:finalizers':
            .: {}
            'v:"finalizer.servicebinding.openshift.io"': {}
        'f:status':
          .: {}
          'f:conditions':
            .: {}
            'k:{"type":"CollectionReady"}':
              .: {}
              'f:lastTransitionTime': {}
              'f:message': {}
              'f:reason': {}
              'f:status': {}
              'f:type': {}
            'k:{"type":"InjectionReady"}':
              .: {}
              'f:lastTransitionTime': {}
              'f:message': {}
              'f:reason': {}
              'f:status': {}
              'f:type': {}
            'k:{"type":"Ready"}':
              .: {}
              'f:lastTransitionTime': {}
              'f:message': {}
              'f:reason': {}
              'f:status': {}
              'f:type': {}
          'f:secret': {}
      manager: manager
      operation: Update
      time: '2021-04-21T16:22:07Z'
    - apiVersion: binding.operators.coreos.com/v1alpha1
      fieldsType: FieldsV1
      fieldsV1:
        'f:spec':
          .: {}
          'f:application':
            .: {}
            'f:group': {}
            'f:name': {}
            'f:resource': {}
            'f:version': {}
          'f:bindAsFiles': {}
          'f:services': {}
      manager: rhoas
      operation: Update
      time: '2021-04-21T16:22:07Z'
    - apiVersion: binding.operators.coreos.com/v1alpha1
      fieldsType: FieldsV1
      fieldsV1:
        'f:spec':
          'f:detectBindingResources': {}
      manager: Mozilla
      operation: Update
      time: '2021-04-21T16:40:02Z'
  namespace: wtrocki-fix
  finalizers:
    - finalizer.servicebinding.openshift.io
spec:
  application:
    group: apps
    name: nginx-sample
    resource: deployments
    version: v1
  bindAsFiles: true
  detectBindingResources: true
  services:
    - group: rhoas.redhat.com
      name: mmclaugh-inventory
      resource: kafkaconnections
      version: v1alpha1
status:
  conditions:
    - lastTransitionTime: '2021-04-21T16:22:07Z'
      message: ''
      reason: DataCollected
      status: 'True'
      type: CollectionReady
    - lastTransitionTime: '2021-04-21T16:22:07Z'
      message: ''
      reason: ApplicationUpdated
      status: 'True'
      type: InjectionReady
    - lastTransitionTime: '2021-04-21T16:22:07Z'
      message: ''
      reason: ApplicationsBound
      status: 'True'
      type: Ready
  secret: mmclaugh-inventory-91a1-ff90e502

Creating binding from UI will work (the only noticable difference is name of the binding resource)
Refreshing page or any other operation doesn't seem to work.

Note that this problem happens to RHOAS plugin.
Binding is fully functional and operator works


Version-Release number of selected component (if applicable):
4.8


How reproducible:
Always


Actual results:
Service binding edge is not visible


Expected results:
Edge should be visible

Comment 3 Debsmita Santra 2021-10-28 15:46:55 UTC
verified on 4.10.0-0.nightly-2021-10-27-230233

Comment 8 errata-xmlrpc 2022-03-10 16:19:33 UTC
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 (Moderate: OpenShift Container Platform 4.10.3 security 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/RHSA-2022:0056


Note You need to log in before you can comment on or make changes to this bug.