-
Bug
-
Resolution: Done-Errata
-
Blocker
-
None
-
None
-
None
-
Incidents & Support
-
False
-
-
False
-
-
-
Critical
-
Customer Facing
-
None
Description of problem:
When we create a tackle with auth required (i.e. RHBK is used), we get a failure for the tackle:
message: 'The conditional check ''cr | json_query(''resources[].status.conditions[?type==`Ready`].status'') | first | first | bool'' failed. The error was: You need to install "jmespath" prior to running json_query filter' reason: Failed status: 'True' type: Failure
Version-Release number of selected component (if applicable):
- OCP 4.17
- mta-operator 7.3.0 - temporarily patched to use quay.io/jmontleon/tackle2-operator-container:pr437
How reproducible: always
Steps to Reproduce:
1. install MTA Operator in OCP
2. create Tackle with feature_auth_required: 'true' (see YAML below)
3. navigate to the overview page of that Tackle in OCP (Operators -> Installed Operators -> Migation Toolkit for Applications Operator -> Tackle -> then click on your freshly created tackle instance)
4. Have a look at "Conditions" at the bottom of the page
Actual results:
- Failure is true - and the message is "'The conditional check ''cr | json_query(''resources[].status.conditions[?type==`Ready`].status'') | first | first | bool'' failed. The error was: You need to install "jmespath" prior to running json_query filter'"
- Running is false
- MTA is not available, not all required pods are started
Expected results:
- Failure is false
- Running is true
- MTA is available, all required pods are started
Additional info:
here's the complete YAML of the Tackle:
apiVersion: tackle.konveyor.io/v1alpha1 kind: Tackle metadata: creationTimestamp: '2025-06-04T09:35:09Z' generation: 1 managedFields: … name: tackle namespace: mta-poc resourceVersion: '280936928' uid: a0d49832-92b9-4759-8747-a4a50e352be1 spec: feature_auth_required: 'true' hub_bucket_volume_size: 5Gi maven_data_volume_size: 5Gi rwx_supported: 'false' status: conditions: - lastTransitionTime: '2025-06-04T09:35:52Z' message: '' reason: '' status: 'False' type: Successful - lastTransitionTime: '2025-06-04T09:39:28Z' message: Running reconciliation reason: Running status: 'False' type: Running - ansibleResult: changed: 0 completion: '2025-06-04T09:39:44.205078+00:00' failures: 1 ok: 30 skipped: 43 lastTransitionTime: '2025-06-04T09:35:52Z' message: 'The conditional check ''cr | json_query(''resources[].status.conditions[?type==`Ready`].status'') | first | first | bool'' failed. The error was: You need to install "jmespath" prior to running json_query filter' reason: Failed status: 'True' type: Failure
Background: we currently can not use the mta-operator 7.3.0 as it is, because not all containers have resource requirements set. #439 describes this issue, #437 fixes it - and we are using a custom image for the mta-operator based on this PR.
This is a copy of https://github.com/konveyor/operator/issues/442 - feel free to delete either this or that copy
- links to
-
RHBA-2025:150153 Migration Toolkit for Applications bug fix and enhancement update