Uploaded image for project: 'mod-organizations-storage'
  1. mod-organizations-storage
  2. MODORGSTOR-68

Migration issue between Edelweiss and Fameflower

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • None
    • 3.1.0
    • Multi-node K8s cluster backed by vSphere
      Dedicated and separate Postgres 10 database hosts for Okapi and Folio modules
      Dockerized Okapi v2.38.0 running in a cluster of 3

    Description

      Upgraded last release of mod-organizations-storage in Edelweiss to v3.0.1 in Fameflower for an existing tenant with data. Okapi returned the following error during the tenant API call:

      TTP/1.1 400 Bad Request
      Content-Type: text/plain
      content-length: 231
      POST request for mod-organizations-storage-3.0.1 /_/tenant failed with 400: [ " CREATE UNIQUE INDEX IF NOT EXISTS organizations_code_idx_unique ON tern_mod_organizations_storage.organizations (lower(f_unaccent(jsonb->>'code')));" ]
      

      The request sent to Okapi was:

      curl -w '\n' -D - -X POST -H "Content-type: application/json" \
      -d @upgrade.json \
      $OKAPI_URL/_/proxy/tenants/$TENANT_ID/install?deploy=false\&preRelease=false\&tenantParameters=loadSample%3Dfalse%2CloadReference%3Dfalse
      

      In the tenant's Settings - Software versions page for this tenant, it complains about item-storage, with those things being highlighted in yellow - after the upgrade failed.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Andrei_Makaranka Andrei Makaranka
                jroot Jason Root
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases