CSP plugin OSGi dependency error repeatedly logged at Bitbucket Mirror 10.2 startup

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Medium
    • None
    • Affects Version/s: 10.2.0
    • None
    • Severity 3 - Minor

      Issue Summary

      CSP plugin OSGi dependency error repeatedly logged at Bitbucket Mirror 10.2 startup

      Steps to Reproduce

      1. Install Bitbucket 10.2 as a Mirror instance
      2. Start the mirror service.
      3. Check the mirror log (atlassian-bitbucket.log) around startup time.

      Expected Results

      If the plugin is not required on mirrors, it should be packaged/marked such that it does not attempt to start and therefore does not log an ERROR. 

      Actual Results

      The following exception is thrown in the atlassian-bitbucket.log file:

      Cannot determine required plugins, cannot resolve bundle 'com.atlassian.bitbucket.server.bitbucket-content-security-policy'Detected an error (BundleException) enabling the plugin 'com.atlassian.bitbucket.server.bitbucket-content-security-policy' :Unable to resolve com.atlassian.bitbucket.server.bitbucket-content-security-policy [21](R 21.0): missing requirement [com.atlassian.bitbucket.server.bitbucket-content-security-policy [21](R 21.0)] osgi.wiring.package; (osgi.wiring.package=com.atlassian.plugins.cdn.api)

      This doesn't affect the Startup and Mirror functionality. 

      Workaround

      Currently there is no known workaround for this behaviour. A workaround will be added here when available. 

              Assignee:
              Unassigned
              Reporter:
              Kalyan Kumar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: