Incompatibility of interfaces & versions on various of environments

Description

Despite to all requirements were settled up correctly on target environment: https://folio-testing-sprint-okapi.ci.folio.org/

Including, serviceDiscovery, moduleDescriptors and the same version of modules deployed physically:

 

When we’re trying to enable:

[     {         "id": "edge-users-1.6.0-SNAPSHOT.3",         "action": "enable"     },     {         "id": "edge-inventory-1.7.0-SNAPSHOT.3",         "action": "enable"     } ]

Module(s) looking for release version and failing with below error:

Incompatible version for module mod-orders-12.9.0-SNAPSHOT.952 interface locations. Need 3.1. Have 3.0/mod-inventory-storage-27.1.4

Another variation of this problem:

Caught exception: org.folio.utilities.RequestException: Bad Request(400) - POST request for mod-data-export-spring-3.2.2 /_/tenant failed with 400: {"errors":[{"message":"[400 Bad Request] during [POST] to [http://perms/users/d82e7307-36ac-4296-8e0a-b9d025eb03ec/permissions?indexField=userId] [PermissionsClient#addPermission(String,Permission)]: [Permission by name 'data-export.job.send.item.execute' does not exist]","type":"BadRequest","code":"400 BAD_REQUEST"}],"total_records":1}

when we’re trying to reinstall modules with option reinstall=true it is causing error:

[ { "id": "40621ac3-dde3-4e28-8d46-365b0d0c5b52", "complete": true, "startDate": "2024-10-15T03:30:00.891989805Z", "endDate": "2024-10-15T03:30:02.995930254Z", "modules": [ { "id": "okapi-5.3.0", "from": "okapi-5.3.0", "action": "enable", "stage": "done" }, { "id": "mod-data-export-spring-3.2.2", "action": "disable", "message": "POST request for mod-data-export-spring-3.2.2 /_/tenant failed with 400: {\"errors\":[{\"message\":\"[400 Bad Request] during [POST] to [http://perms/users/d82e7307-36ac-4296-8e0a-b9d025eb03ec/permissions?indexField=userId] [PermissionsClient#addPermission(String,Permission)]: [Permission by name 'data-export.job.send.item.execute' does not exist]\",\"type\":\"BadRequest\",\"code\":\"400 BAD_REQUEST\"}],\"total_records\":1}", "stage": "invoke" }, { "id": "edge-fqm-2.0.1", "action": "disable", "stage": "pending" }, { "id": "folio_lists-3.0.1", "action": "disable", "stage": "pending" }, { "id": "mod-lists-2.0.6", "action": "disable", "stage": "pending" }, { "id": "mod-fqm-manager-2.0.4", "action": "disable", "stage": "pending" }, { "id": "folio_gobi-settings-3.1.0", "action": "disable", "stage": "pending" }, { "id": "mod-gobi-2.8.1", "action": "disable", "stage": "pending" }, { "id": "mod-orders-12.8.8", "action": "disable", "stage": "pending" }, { "id": "mod-finance-4.9.0", "action": "disable", "stage": "pending" }, { "id": "mod-inventory-storage-27.1.3", "from": "mod-inventory-storage-28.0.0-SNAPSHOT.1038", "action": "enable", "stage": "pending" }, { "id": "folio_stripes-inventory-components-1.0.109000000411", "action": "disable", "stage": "pending" } ] }, { "id": "b123598b-34e6-436e-bdf6-84c67a9a490c", "complete": true, "startDate": "2024-10-15T03:35:03.701908492Z", "endDate": "2024-10-15T03:35:04.391478666Z", "modules": [ { "id": "okapi-5.3.0", "from": "okapi-5.3.0", "action": "enable", "stage": "done" }, { "id": "mod-data-export-spring-3.2.2", "action": "disable", "message": "POST request for mod-data-export-spring-3.2.2 /_/tenant failed with 400: {\"errors\":[{\"message\":\"[400 Bad Request] during [POST] to [http://perms/users/d82e7307-36ac-4296-8e0a-b9d025eb03ec/permissions?indexField=userId] [PermissionsClient#addPermission(String,Permission)]: [Permission by name 'data-export.job.send.item.execute' does not exist]\",\"type\":\"BadRequest\",\"code\":\"400 BAD_REQUEST\"}],\"total_records\":1}", "stage": "invoke" }, { "id": "edge-fqm-2.0.1", "action": "disable", "stage": "pending" }, { "id": "folio_lists-3.0.1", "action": "disable", "stage": "pending" }, { "id": "mod-lists-2.0.6", "action": "disable", "stage": "pending" }, { "id": "mod-fqm-manager-2.0.4", "action": "disable", "stage": "pending" }, { "id": "folio_gobi-settings-3.1.0", "action": "disable", "stage": "pending" }, { "id": "mod-gobi-2.8.1", "action": "disable", "stage": "pending" }, { "id": "mod-orders-12.8.8", "action": "disable", "stage": "pending" }, { "id": "mod-finance-4.9.0", "action": "disable", "stage": "pending" }, { "id": "mod-inventory-storage-27.1.3", "from": "mod-inventory-storage-28.0.0-SNAPSHOT.1038", "action": "enable", "stage": "pending" }, { "id": "folio_stripes-inventory-components-1.0.109000000411", "action": "disable", "stage": "pending" } ] } ]

Even though action is equal to DISABLE, module(s) looking for some permission(s)

Aims: investigate this issue, collect artifacts & logs for further ticket routing.

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

4

Checklist

hide

Activity

Show:

Eldiiar DuishenalievOctober 18, 2024 at 6:54 AM

Eldiiar DuishenalievOctober 17, 2024 at 9:03 AM

Eldiiar DuishenalievOctober 17, 2024 at 9:03 AM

This issue got much broader impact:

mod-lists\ui-lists has triggered this sequence of incompatible interface versions.

Eldiiar DuishenalievOctober 15, 2024 at 12:31 PM

According to the conversation, disabling of dependent modules is caused by several interfaces bumping up: https://folio-project.slack.com/archives/C58TABALV/p1728974944173449

Meaning interfaces mismatch across modules is causing this behavior.

Arsen AtoyanOctober 15, 2024 at 10:45 AM

On subtenant when i try to update consortia module from release to snapshot it fails by this error

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Kitfox

RCA Group

TBD

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created October 15, 2024 at 10:03 AM
Updated October 18, 2024 at 6:54 AM
Resolved October 18, 2024 at 6:54 AM
TestRail: Cases
TestRail: Runs