Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-4241

RBAC Plugin is broken with latest Backstage version (1.31)

Prepare for Y ReleasePrepare for Z ReleaseRemove QuarterXMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.4
    • 1.4
    • RBAC Plugin
    • None
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • 1
    • RHDH Plugins 3264

      Description of problem:

      RBAC Plugin breaks in Backstage 1.31 with the following error:

      [backend]: /home/vrabbi/kubetopus/kubetopus-ui/node_modules/@backstage/backend-app-api/src/wiring/BackendInitializer.ts:147
      [backend]: throw new Error(
      [backend]: ^
      [backend]:
      [backend]:
      [backend]: Error: Service or extension point dependencies of plugin 'permission' are missing for the following ref(s): serviceRef{core.identity}
      [backend]: at BackendInitializer.#getInitDeps (/home/vrabbi/kubetopus/kubetopus-ui/node_modules/@backstage/backend-app-api/src/wiring/BackendInitializer.ts:147:13)
      [backend]: at <anonymous> (/home/vrabbi/kubetopus/kubetopus-ui/node_modules/@backstage/backend-app-api/src/wiring/BackendInitializer.ts:328:30)
      [backend]: at async Promise.all (index 6)
      [backend]: at BackendInitializer.#doStart (/home/vrabbi/kubetopus/kubetopus-ui/node_modules/@backstage/backend-app-api/src/wiring/BackendInitializer.ts:278:5)
      [backend]: at BackendInitializer.start (/home/vrabbi/kubetopus/kubetopus-ui/node_modules/@backstage/backend-app-api/src/wiring/BackendInitializer.ts:187:5)
      [backend]: at BackstageBackend.start (/home/vrabbi/kubetopus/kubetopus-ui/node_modules/@backstage/backend-app-api/src/wiring/BackstageBackend.ts:38:11)

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. install backstage 1.31
      2. Add the RBAC backend plugin
      3. Try to start backstage

      Actual results:

      Backstage crashes and wont start

      Expected results:

      Reproducibility (Always/Intermittent/Only Once):

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

              oandriie Aleksander Andriienko
              shlomofan scott rosenberg (Inactive)
              RHIDP - Plugins
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: