mod-di-converter-storage is unauthorized after upgrade from Nolana to Snapshot

Description

Steps to reproduce the problem:

  1. Create new Rancher environment from R3-2022 branch with load load_reference, load_sample.

  2. Upgrade okapi and all modules of the environment to snapshot version. 

This upgrades mod-data-import-converter-storage-1.15.2 to mod-di-converter-storage-1.16.0-SNAPSHOT.3.

After that we can't use inventory app, as can't list /data-import-profiles/jobProfiles with 401 error Unauthorized

Tested on https://folio-tmp-test-diku.ci.folio.org/

Logs are attached

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

8

Checklist

hide

TestRail: Results

Activity

Show:

Aliaksandr FedasiukJanuary 31, 2023 at 3:00 PM
Edited

The problem is in the strange behaviour of the database: when the role was renamed, DB reset the password for this role. We found a workaround for this case. I will add the necessary changes to the module tomorrow.

Adam DickmeissJanuary 31, 2023 at 2:44 PM

mod-di-converter-storage is going to have the fix which is there the problem is.

Ann-Marie BreauxJanuary 31, 2023 at 2:29 PM

which module would need to have that password authentication fix? MODDICONV or some other one?

Julian LadischJanuary 31, 2023 at 1:39 PM

I don't have time today, I can provide a fix tomorrow.

Aliaksandr FedasiukJanuary 31, 2023 at 12:17 PM

The main issue at the moment is:
2023-01-31 10:18:59.714 [vert.x-eventloop-thread-1] [958717/data-import-profiles] [diku] [5342c152-b7dc-4c73-8075-d4340a8c47a0] [mod_di_converter_storage] WARN ExceptionHelper FATAL: password authentication failed for user "diku_mod_di_converter_storage" (28P01)
io.vertx.pgclient.PgException: FATAL: password authentication failed for user "diku_mod_di_converter_storage" (28P01)

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Folijet

Fix versions

Release

Orchid (R1 2023)

RCA Group

Third party component integration

Affected releases

Orchid (R1 2023)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created January 25, 2023 at 1:42 PM
Updated February 14, 2023 at 11:17 AM
Resolved February 3, 2023 at 11:34 AM
TestRail: Cases
TestRail: Runs