Description of problem: Trying to deploy IBM block CSI operator. Added below in the status x-descriptors: This is the description in csv: - description: Is the controller ready? displayName: Controller Ready path: controllerReady x-descriptors: - 'urn:alm:descriptor:io.kubernetes.phase' - description: Is the node ready? displayName: Node Ready path: nodeReady x-descriptors: - 'urn:alm:descriptor:io.kubernetes.phase' The above descriptor is not reflecting the corrrect status. The nodeReady and ControllerReady status are updated in the pod status filed inside the pod definition. somehow the descriptor is not referring to the kubernetes status field from the pod definition. This is the operator. https://github.com/IBM/ibm-block-csi-operator Version-Release number of selected component (if applicable): 4.1.8
Setting to the active development version (4.4) for investigation. Any needed fixes or backports will result in cloned BZs.
Hi, Suresh. I'm having a hard time following the issue as described. Can you please provide detailed steps on reproducing the bug per the Bugzilla template?
The `urn:alm:descriptor:io.kubernetes.phase` requires that the value be a string. The `status.controllerReady` and `status.nodeReady` values for this resource are boolean values. This is why no value is showing up. `urn:alm:descriptor:io.kubernetes.phase` is not the right descriptor for this field. You should be able to use the `urn:alm:descriptor:text` status descriptor to show the boolean value.
(In reply to Samuel Padgett from comment #4) > The `urn:alm:descriptor:io.kubernetes.phase` requires that the value be a > string. The `status.controllerReady` and `status.nodeReady` values for this > resource are boolean values. This is why no value is showing up. > > `urn:alm:descriptor:io.kubernetes.phase` is not the right descriptor for > this field. You should be able to use the `urn:alm:descriptor:text` status > descriptor to show the boolean value. It doesn't work. Before using the kubernetess.phase, we tried using the text descriptor: This was the description in csv: - description: Is the controller ready? displayName: Controller Ready path: controllerReady x-descriptors: - 'urn:alm:descriptor:text' - description: Is the node ready? displayName: Node Ready path: nodeReady x-descriptors: - 'urn:alm:descriptor:text' It always show "none" in the value field no the console. To reproduce, we can simply install the ibm-block-csi-operator from the operator hub and then edit the CSV to include above.
Install 3scale operator, add bellow content in its csv: specDescriptors: - description: spec test displayName: SSPPEECCTT TTEESSTT path: tteesstt value: 'True' x-descriptors: - 'urn:alm:descriptor:text' statusDescriptors: - description: status test displayName: STATUS TTEESSTT path: test value: 'True' x-descriptors: - 'urn:alm:descriptor:text' create APIManager instance, check overview page it will have the new field with value true: SSPPEECCTT TTEESSTT spec test True STATUS TTEESSTT True 4.1.0-0.nightly-2020-02-03-232838
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:0399
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days