Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-9865

opennms-flows feature does not depend on opennms-web-api

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 22.0.0
    • Fix Version/s: 22.0.0
    • Component/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon - Feb 7th 2018, Horizon - Feb 14th 2018, Horizon - Feb 21st 2018

      Description

      The feature opennms-flows does not depend on the opennms-web-api bundle which causes opennms to not start properly. To reproduce this, the datachoices feature must not be installed by default.

      The exception reflecting the error:

      2018-02-13 11:09:51,578 | ERROR | pool-18-thread-2 | BootFeaturesInstaller            | 9 - org.apache.karaf.features.core - 4.1.2 | Error installing boot features
      org.osgi.service.resolver.ResolutionException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=opennms-flows; type=karaf.feature; version="[22.0.0.SNAPSHOT,22.0.0.SNAPSHOT]"; filter:="(&(osgi.identity=opennms-flows)(type=karaf.feature)(version>=22.0.0.SNAPSHOT)(version<=22.0.0.SNAPSHOT))" [caused by: Unable to resolve opennms-flows/22.0.0.SNAPSHOT: missing requirement [opennms-flows/22.0.0.SNAPSHOT] osgi.identity; osgi.identity=org.opennms.features.flows.rest.impl; type=osgi.bundle; version="[22.0.0.SNAPSHOT,22.0.0.SNAPSHOT]"; resolution:=mandatory [caused by: Unable to resolve org.opennms.features.flows.rest.impl/22.0.0.SNAPSHOT: missing requirement [org.opennms.features.flows.rest.impl/22.0.0.SNAPSHOT] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.opennms.web.utils)(version>=22.0.0)(!(version>=23.0.0)))"]]
          at org.apache.felix.resolver.ResolutionError.toException(ResolutionError.java:42) ~[?:?]
          at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:389) ~[?:?]
          at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:375) ~[?:?]
          at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:347) ~[?:?]
          at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:218) ~[?:?]
          at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:291) ~[?:?]
          at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1233) ~[?:?]
          at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$0(FeaturesServiceImpl.java:1132) ~[?:?]
          at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
          at java.lang.Thread.run(Thread.java:748) [?:?]
      

        Attachments

          Activity

            People

            • Assignee:
              mvr Markus von Rüden
              Reporter:
              mvr Markus von Rüden
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: