Uploaded image for project: 'Okapi'
  1. Okapi
  2. OKAPI-1112

Okapi fails install operation when supertenant secured

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P1
    • Resolution: Cannot Reproduce
    • None
    • None
    • None
    • Core: Platform
    • TBD

    Description

      Overview:

      On Rancher environment we faced with issue that install operation fails with okapi-5.0.0-SNAPSHOT.802 on mod-pubsub when supertenant secured.

      Looks like it is affected by this changes: https://github.com/folio-org/okapi/commit/83b1551002e159985d89e06c71baa569304a6719
      Steps to Reproduce:

      1. Secure supertenant
      2. Execute install operation

      Expected Results:

      Install for all modules 'done'
      Actual Results:

      Install fails on mod-pubsub

       

      Tenant operation failed for module mod-pubsub-2.7.0-SNAPSHOT.203: Failed to add permissions pubsub.events.post for pub-sub user. Received status code 403: Cannot add immutable permission pubsub.events.post not owned by operating user 0bbe8166-b10b-43e2-819e-621d312e16be

      Additional Information:
      Okapi version: 5.0.0-SNAPSHOT.802

       

      Error from okapi log

       

      2022-07-20T15:11:08,163	WARN	?	Activation of module 'mod-pubsub-2.7.0-SNAPSHOT.203' for tenant 'diku' failed: Tenant operation failed for module mod-pubsub-2.7.0-SNAPSHOT.203: Failed to add permissions pubsub.events.post for pub-sub user. Received status code 403: Cannot add immutable permission pubsub.events.post not owned by operating user 0bbe8166-b10b-43e2-819e-621d312e16be	
      2022-07-20T15:11:08,164	INFO	?	job complete	
      2022-07-20T15:11:08,164	WARN	?	job failed	io.vertx.core.impl.NoStackTraceThrowable: Tenant operation failed for module mod-pubsub-2.7.0-SNAPSHOT.203: Failed to add permissions pubsub.events.post for pub-sub user. Received status code 403: Cannot add immutable permission pubsub.events.post not owned by operating user 0bbe8166-b10b-43e2-819e-621d312e16be | 
      2022-07-20T15:11:08,164	WARN	?	Tenant operation failed for module mod-pubsub-2.7.0-SNAPSHOT.203: Failed to add permissions pubsub.events.post for pub-sub user. Received status code 403: Cannot add immutable permission pubsub.events.post not owned by operating user 0bbe8166-b10b-43e2-819e-621d312e16be	io.vertx.core.impl.NoStackTraceThrowable: Tenant operation failed for module mod-pubsub-2.7.0-SNAPSHOT.203: Failed to add permissions pubsub.events.post for pub-sub user. Received status code 403: Cannot add immutable permission pubsub.events.post not owned by operating user 0bbe8166-b10b-43e2-819e-621d312e16be | 
      2022-07-20T15:11:08,164	INFO	?	241094/proxy RES 500 9203862us okapi Tenant operation failed for module mod-pubsub-2.7.0-SNAPSHOT.203: Failed to add permissions pubsub.events.post for pub-sub user. Received status code 403: Cannot add immutable permission pubsub.events.post not owned by operating user 0bbe8166-b10b-43e2-819e-621d312e16be	
      2022-07-20T15:11:08,164	ERROR	?	HTTP response code=500 msg=Tenant operation failed for module mod-pubsub-2.7.0-SNAPSHOT.203: Failed to add permissions pubsub.events.post for pub-sub user. Received status code 403: Cannot add immutable permission pubsub.events.post not owned by operating user 0bbe8166-b10b-43e2-819e-621d312e16be 

       

       

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                Haimanov Oleksandr
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases