[ https://issues.apache.org/jira/browse/KARAF-7775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Varga updated KARAF-7775: -------------------------------- Description: Observed in OpenDaylight, probably for quite some time, but now it made debugging a bit not nice. What we have is the following install: {noformat} 2023-10-23T15:41:16,239 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | Changes to perform: 2023-10-23T15:41:16,239 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | Region: root 2023-10-23T15:41:16,240 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | Bundles to install: 2023-10-23T15:41:16,240 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.opendaylight.odlparent/karaf.branding/12.0.9 2023-10-23T15:41:16,240 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.api/1.0.1 2023-10-23T15:41:16,241 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.cm/1.3.2 2023-10-23T15:41:16,241 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.core/1.10.3 2023-10-23T15:41:16,241 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.aries.jmx/org.apache.aries.jmx.api/1.1.5 2023-10-23T15:41:16,241 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.aries.jmx/org.apache.aries.jmx.blueprint.api/1.2.0 2023-10-23T15:41:16,241 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.aries.jmx/org.apache.aries.jmx.blueprint.core/1.2.0 2023-10-23T15:41:16,241 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.aries.jmx/org.apache.aries.jmx.core/1.1.8 2023-10-23T15:41:16,241 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.aries.jmx/org.apache.aries.jmx.whiteboard/1.2.0 2023-10-23T15:41:16,242 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.aries.proxy/org.apache.aries.proxy/1.1.13 2023-10-23T15:41:16,242 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.aries.quiesce/org.apache.aries.quiesce.api/1.0.0 2023-10-23T15:41:16,242 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.aries/org.apache.aries.util/1.1.3 2023-10-23T15:41:16,242 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.felix/org.apache.felix.scr/2.2.6 2023-10-23T15:41:16,242 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.geronimo.specs/geronimo-atinject_1.0_spec/1.0 2023-10-23T15:41:16,242 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.bundle/org.apache.karaf.bundle.blueprintstate/4.4.4 2023-10-23T15:41:16,242 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.bundle/org.apache.karaf.bundle.core/4.4.4 2023-10-23T15:41:16,242 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.blueprint/4.4.4 2023-10-23T15:41:16,243 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.features/4.4.4 2023-10-23T15:41:16,243 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.kar/4.4.4 2023-10-23T15:41:16,243 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.wrap/4.4.4 2023-10-23T15:41:16,243 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.diagnostic/org.apache.karaf.diagnostic.boot/4.4.4 2023-10-23T15:41:16,243 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.diagnostic/org.apache.karaf.diagnostic.core/4.4.4 2023-10-23T15:41:16,243 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.features/org.apache.karaf.features.command/4.4.4 2023-10-23T15:41:16,243 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.instance/org.apache.karaf.instance.core/4.4.4 2023-10-23T15:41:16,243 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.command/4.4.4 2023-10-23T15:41:16,244 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.config/4.4.4 2023-10-23T15:41:16,244 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.modules/4.4.4 2023-10-23T15:41:16,244 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.kar/org.apache.karaf.kar.core/4.4.4 2023-10-23T15:41:16,244 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.log/org.apache.karaf.log.core/4.4.4 2023-10-23T15:41:16,244 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.management/org.apache.karaf.management.server/4.4.4 2023-10-23T15:41:16,244 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.package/org.apache.karaf.package.core/4.4.4 2023-10-23T15:41:16,244 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.scr/org.apache.karaf.scr.management/4.4.4 2023-10-23T15:41:16,244 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.scr/org.apache.karaf.scr.state/4.4.4 2023-10-23T15:41:16,244 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.service/org.apache.karaf.service.core/4.4.4 2023-10-23T15:41:16,245 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.shell/org.apache.karaf.shell.commands/4.4.4 2023-10-23T15:41:16,245 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.shell/org.apache.karaf.shell.console/4.4.4 2023-10-23T15:41:16,245 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.shell/org.apache.karaf.shell.core/4.4.4 2023-10-23T15:41:16,245 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.shell/org.apache.karaf.shell.ssh/4.4.4 2023-10-23T15:41:16,245 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.shell/org.apache.karaf.shell.table/4.4.4 2023-10-23T15:41:16,245 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.system/org.apache.karaf.system.core/4.4.4 2023-10-23T15:41:16,245 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.sshd/sshd-osgi/2.10.0 2023-10-23T15:41:16,245 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.sshd/sshd-scp/2.10.0 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.sshd/sshd-sftp/2.10.0 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.jline/jline/3.21.0 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ow2.asm/asm/9.5 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ow2.asm/asm-commons/9.5 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ow2.asm/asm-tree/9.5 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ow2.asm/asm-analysis/9.5 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ow2.asm/asm-util/9.5 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.base/ops4j-base-exec/1.5.1 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.base/ops4j-base-io/1.5.1 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.base/ops4j-base-lang/1.5.1 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.base/ops4j-base-monitors/1.5.1 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.base/ops4j-base-net/1.5.1 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.base/ops4j-base-spi/1.5.1 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.base/ops4j-base-store/1.5.1 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.base/ops4j-base-util-property/1.5.1 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.pax.exam/pax-exam/4.13.5 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.pax.exam/pax-exam-extender-service/4.13.5 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.pax.exam/pax-exam-inject/4.13.5 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.pax.exam/pax-exam-invoker-junit/4.13.5 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.pax.exam/pax-exam-container-rbc/4.13.5 2023-10-23T15:41:16,248 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.pax.swissbox/pax-swissbox-core/1.8.4 2023-10-23T15:41:16,248 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.pax.swissbox/pax-swissbox-extender/1.8.4 2023-10-23T15:41:16,248 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.pax.swissbox/pax-swissbox-framework/1.8.4 2023-10-23T15:41:16,248 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.pax.swissbox/pax-swissbox-lifecycle/1.8.4 2023-10-23T15:41:16,248 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.pax.swissbox/pax-swissbox-tracker/1.8.4 2023-10-23T15:41:16,248 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.pax.tipi/org.ops4j.pax.tipi.hamcrest.core/1.3.0.1 2023-10-23T15:41:16,248 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.pax.tipi/org.ops4j.pax.tipi.junit/4.12.0.1 2023-10-23T15:41:16,248 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.pax.url/pax-url-wrap/2.6.14/jar/uber 2023-10-23T15:41:16,248 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.osgi/org.osgi.service.component/1.5.0 {noformat} e.g. we are installing both 'shell' and 'scr' features via: {code:xml} <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <features xmlns="http://karaf.apache.org/xmlns/features/v1.6.0" name="170431fd-2268-45b6-ad7f-976d56d29dc4"> <repository>mvn:org.apache.karaf.features/framework/4.4.4/xml/features</repository> <repository>mvn:org.opendaylight.odlparent/features-odlparent/13.0.6-SNAPSHOT/xml/features</repository> <repository>mvn:tech.pantheon.triemap/pt-triemap/1.3.1/xml/features</repository> <repository>mvn:org.apache.karaf.features/standard/4.4.4/xml/features</repository> <feature name="fb32070e-5d6d-47e2-9d1f-28b91155ce8e" version="0.0.0"> <feature version="4.4.4" prerequisite="false" dependency="false">framework</feature> <feature version="4.4.4" prerequisite="false" dependency="false">standard</feature> <feature version="4.4.4" prerequisite="false" dependency="false">ssh</feature> <feature version="4.4.4" prerequisite="false" dependency="false">scr</feature> <bundle>mvn:org.apache.aries.quiesce/org.apache.aries.quiesce.api/1.0.0</bundle> <bundle>mvn:org.apache.felix/org.apache.felix.metatype/1.2.4</bundle> <bundle>mvn:org.opendaylight.odlparent/karaf.branding/13.0.6-SNAPSHOT</bundle> <bundle>mvn:org.opendaylight.odlparent/bcpkix-framework-ext/13.0.6-SNAPSHOT</bundle> <bundle>mvn:org.opendaylight.odlparent/bcprov-framework-ext/13.0.6-SNAPSHOT</bundle> <bundle>mvn:org.opendaylight.odlparent/bcutil-framework-ext/13.0.6-SNAPSHOT</bundle> </feature> </features> {code} This causes a refresh of karaf.config.core in: {noformat} 2023-10-23T15:41:16,249 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | Stopping bundles: 2023-10-23T15:41:16,249 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | org.apache.karaf.config.core/4.4.4 2023-10-23T15:41:16,254 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | Installing bundles: 2023-10-23T15:41:16,254 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.opendaylight.odlparent/karaf.branding/12.0.9 [...] 2023-10-23T15:41:16,378 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | Refreshing bundles: 2023-10-23T15:41:16,378 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | org.apache.karaf.config.core/4.4.4 (Should be wired to: org.apache.karaf.shell.core/4.4.4 (through osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.karaf.shell.api.action)(&(version>=4.4.0)(!(version>=5.0.0))))"; resolution:="optional")) 2023-10-23T15:41:16,552 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | Starting bundles: 2023-10-23T15:41:16,554 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | org.ops4j.pax.url.wrap/2.6.14 [...] {noformat} I think this should be fixed by splitting out karaf.config.command from karaf.config.core and installing it conditionally, just as there is karaf.features.{core,command}. was: Observed in OpenDaylight, probably for quite some time, but now it made debugging a bit not nice. What we have is the following install: {noformat} 2023-10-23T15:41:16,239 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | Changes to perform: 2023-10-23T15:41:16,239 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | Region: root 2023-10-23T15:41:16,240 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | Bundles to install: 2023-10-23T15:41:16,240 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.opendaylight.odlparent/karaf.branding/12.0.9 2023-10-23T15:41:16,240 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.api/1.0.1 2023-10-23T15:41:16,241 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.cm/1.3.2 2023-10-23T15:41:16,241 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.core/1.10.3 2023-10-23T15:41:16,241 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.aries.jmx/org.apache.aries.jmx.api/1.1.5 2023-10-23T15:41:16,241 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.aries.jmx/org.apache.aries.jmx.blueprint.api/1.2.0 2023-10-23T15:41:16,241 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.aries.jmx/org.apache.aries.jmx.blueprint.core/1.2.0 2023-10-23T15:41:16,241 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.aries.jmx/org.apache.aries.jmx.core/1.1.8 2023-10-23T15:41:16,241 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.aries.jmx/org.apache.aries.jmx.whiteboard/1.2.0 2023-10-23T15:41:16,242 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.aries.proxy/org.apache.aries.proxy/1.1.13 2023-10-23T15:41:16,242 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.aries.quiesce/org.apache.aries.quiesce.api/1.0.0 2023-10-23T15:41:16,242 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.aries/org.apache.aries.util/1.1.3 2023-10-23T15:41:16,242 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.felix/org.apache.felix.scr/2.2.6 2023-10-23T15:41:16,242 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.geronimo.specs/geronimo-atinject_1.0_spec/1.0 2023-10-23T15:41:16,242 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.bundle/org.apache.karaf.bundle.blueprintstate/4.4.4 2023-10-23T15:41:16,242 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.bundle/org.apache.karaf.bundle.core/4.4.4 2023-10-23T15:41:16,242 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.blueprint/4.4.4 2023-10-23T15:41:16,243 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.features/4.4.4 2023-10-23T15:41:16,243 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.kar/4.4.4 2023-10-23T15:41:16,243 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.wrap/4.4.4 2023-10-23T15:41:16,243 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.diagnostic/org.apache.karaf.diagnostic.boot/4.4.4 2023-10-23T15:41:16,243 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.diagnostic/org.apache.karaf.diagnostic.core/4.4.4 2023-10-23T15:41:16,243 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.features/org.apache.karaf.features.command/4.4.4 2023-10-23T15:41:16,243 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.instance/org.apache.karaf.instance.core/4.4.4 2023-10-23T15:41:16,243 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.command/4.4.4 2023-10-23T15:41:16,244 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.config/4.4.4 2023-10-23T15:41:16,244 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.modules/4.4.4 2023-10-23T15:41:16,244 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.kar/org.apache.karaf.kar.core/4.4.4 2023-10-23T15:41:16,244 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.log/org.apache.karaf.log.core/4.4.4 2023-10-23T15:41:16,244 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.management/org.apache.karaf.management.server/4.4.4 2023-10-23T15:41:16,244 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.package/org.apache.karaf.package.core/4.4.4 2023-10-23T15:41:16,244 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.scr/org.apache.karaf.scr.management/4.4.4 2023-10-23T15:41:16,244 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.scr/org.apache.karaf.scr.state/4.4.4 2023-10-23T15:41:16,244 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.service/org.apache.karaf.service.core/4.4.4 2023-10-23T15:41:16,245 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.shell/org.apache.karaf.shell.commands/4.4.4 2023-10-23T15:41:16,245 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.shell/org.apache.karaf.shell.console/4.4.4 2023-10-23T15:41:16,245 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.shell/org.apache.karaf.shell.core/4.4.4 2023-10-23T15:41:16,245 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.shell/org.apache.karaf.shell.ssh/4.4.4 2023-10-23T15:41:16,245 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.shell/org.apache.karaf.shell.table/4.4.4 2023-10-23T15:41:16,245 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.karaf.system/org.apache.karaf.system.core/4.4.4 2023-10-23T15:41:16,245 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.sshd/sshd-osgi/2.10.0 2023-10-23T15:41:16,245 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.sshd/sshd-scp/2.10.0 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.apache.sshd/sshd-sftp/2.10.0 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.jline/jline/3.21.0 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ow2.asm/asm/9.5 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ow2.asm/asm-commons/9.5 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ow2.asm/asm-tree/9.5 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ow2.asm/asm-analysis/9.5 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ow2.asm/asm-util/9.5 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.base/ops4j-base-exec/1.5.1 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.base/ops4j-base-io/1.5.1 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.base/ops4j-base-lang/1.5.1 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.base/ops4j-base-monitors/1.5.1 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.base/ops4j-base-net/1.5.1 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.base/ops4j-base-spi/1.5.1 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.base/ops4j-base-store/1.5.1 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.base/ops4j-base-util-property/1.5.1 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.pax.exam/pax-exam/4.13.5 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.pax.exam/pax-exam-extender-service/4.13.5 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.pax.exam/pax-exam-inject/4.13.5 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.pax.exam/pax-exam-invoker-junit/4.13.5 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.pax.exam/pax-exam-container-rbc/4.13.5 2023-10-23T15:41:16,248 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.pax.swissbox/pax-swissbox-core/1.8.4 2023-10-23T15:41:16,248 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.pax.swissbox/pax-swissbox-extender/1.8.4 2023-10-23T15:41:16,248 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.pax.swissbox/pax-swissbox-framework/1.8.4 2023-10-23T15:41:16,248 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.pax.swissbox/pax-swissbox-lifecycle/1.8.4 2023-10-23T15:41:16,248 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.pax.swissbox/pax-swissbox-tracker/1.8.4 2023-10-23T15:41:16,248 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.pax.tipi/org.ops4j.pax.tipi.hamcrest.core/1.3.0.1 2023-10-23T15:41:16,248 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.pax.tipi/org.ops4j.pax.tipi.junit/4.12.0.1 2023-10-23T15:41:16,248 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.ops4j.pax.url/pax-url-wrap/2.6.14/jar/uber 2023-10-23T15:41:16,248 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | mvn:org.osgi/org.osgi.service.component/1.5.0 {noformat} e.g. we are installing both 'shell' and 'scr' features via: {code:xml} <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <features xmlns="http://karaf.apache.org/xmlns/features/v1.6.0" name="170431fd-2268-45b6-ad7f-976d56d29dc4"> <repository>mvn:org.apache.karaf.features/framework/4.4.4/xml/features</repository> <repository>mvn:org.opendaylight.odlparent/features-odlparent/13.0.6-SNAPSHOT/xml/features</repository> <repository>mvn:tech.pantheon.triemap/pt-triemap/1.3.1/xml/features</repository> <repository>mvn:org.apache.karaf.features/standard/4.4.4/xml/features</repository> <feature name="fb32070e-5d6d-47e2-9d1f-28b91155ce8e" version="0.0.0"> <feature version="4.4.4" prerequisite="false" dependency="false">framework</feature> <feature version="4.4.4" prerequisite="false" dependency="false">standard</feature> <feature version="4.4.4" prerequisite="false" dependency="false">ssh</feature> <feature version="4.4.4" prerequisite="false" dependency="false">scr</feature> <bundle>mvn:org.apache.aries.quiesce/org.apache.aries.quiesce.api/1.0.0</bundle> <bundle>mvn:org.apache.felix/org.apache.felix.metatype/1.2.4</bundle> <bundle>mvn:org.opendaylight.odlparent/karaf.branding/13.0.6-SNAPSHOT</bundle> <bundle>mvn:org.opendaylight.odlparent/bcpkix-framework-ext/13.0.6-SNAPSHOT</bundle> <bundle>mvn:org.opendaylight.odlparent/bcprov-framework-ext/13.0.6-SNAPSHOT</bundle> <bundle>mvn:org.opendaylight.odlparent/bcutil-framework-ext/13.0.6-SNAPSHOT</bundle> </feature> </features> {code} This causes a refresh of karaf.config.core in: {noformat} 2023-10-23T15:41:16,249 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | Stopping bundles: 2023-10-23T15:41:16,249 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | org.apache.karaf.config.core/4.4.4 2023-10-23T15:41:16,254 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | Installing bundles: [...] 2023-10-23T15:41:16,378 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | Refreshing bundles: 2023-10-23T15:41:16,378 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | org.apache.karaf.config.core/4.4.4 (Should be wired to: org.apache.karaf.shell.core/4.4.4 (through osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.karaf.shell.api.action)(&(version>=4.4.0)(!(version>=5.0.0))))"; resolution:="optional")) 2023-10-23T15:41:16,552 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | Starting bundles: 2023-10-23T15:41:16,554 | INFO | features-3-thread-1 | FeaturesServiceImpl | 17 - org.apache.karaf.features.core - 4.4.4 | org.ops4j.pax.url.wrap/2.6.14 [...] {noformat} I think this should be fixed by splitting out karaf.config.command from karaf.config.core and installing it conditionally, just as there is karaf.features.{core,command}. > Installing shell feature causes org.apache.karaf.config.core refresh > -------------------------------------------------------------------- > > Key: KARAF-7775 > URL: https://issues.apache.org/jira/browse/KARAF-7775 > Project: Karaf > Issue Type: Bug > Components: karaf > Affects Versions: 4.4.4 > Reporter: Robert Varga > Priority: Major > > Observed in OpenDaylight, probably for quite some time, but now it made > debugging a bit not nice. > What we have is the following install: > {noformat} > 2023-10-23T15:41:16,239 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | Changes to perform: > 2023-10-23T15:41:16,239 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | Region: root > 2023-10-23T15:41:16,240 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | Bundles to > install: > 2023-10-23T15:41:16,240 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.opendaylight.odlparent/karaf.branding/12.0.9 > 2023-10-23T15:41:16,240 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.api/1.0.1 > 2023-10-23T15:41:16,241 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.cm/1.3.2 > 2023-10-23T15:41:16,241 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.core/1.10.3 > 2023-10-23T15:41:16,241 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.aries.jmx/org.apache.aries.jmx.api/1.1.5 > 2023-10-23T15:41:16,241 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.aries.jmx/org.apache.aries.jmx.blueprint.api/1.2.0 > 2023-10-23T15:41:16,241 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.aries.jmx/org.apache.aries.jmx.blueprint.core/1.2.0 > 2023-10-23T15:41:16,241 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.aries.jmx/org.apache.aries.jmx.core/1.1.8 > 2023-10-23T15:41:16,241 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.aries.jmx/org.apache.aries.jmx.whiteboard/1.2.0 > 2023-10-23T15:41:16,242 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.aries.proxy/org.apache.aries.proxy/1.1.13 > 2023-10-23T15:41:16,242 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.aries.quiesce/org.apache.aries.quiesce.api/1.0.0 > 2023-10-23T15:41:16,242 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.aries/org.apache.aries.util/1.1.3 > 2023-10-23T15:41:16,242 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.felix/org.apache.felix.scr/2.2.6 > 2023-10-23T15:41:16,242 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.geronimo.specs/geronimo-atinject_1.0_spec/1.0 > 2023-10-23T15:41:16,242 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.karaf.bundle/org.apache.karaf.bundle.blueprintstate/4.4.4 > 2023-10-23T15:41:16,242 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.karaf.bundle/org.apache.karaf.bundle.core/4.4.4 > 2023-10-23T15:41:16,242 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.blueprint/4.4.4 > 2023-10-23T15:41:16,243 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.features/4.4.4 > 2023-10-23T15:41:16,243 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.kar/4.4.4 > 2023-10-23T15:41:16,243 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.wrap/4.4.4 > 2023-10-23T15:41:16,243 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.karaf.diagnostic/org.apache.karaf.diagnostic.boot/4.4.4 > 2023-10-23T15:41:16,243 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.karaf.diagnostic/org.apache.karaf.diagnostic.core/4.4.4 > 2023-10-23T15:41:16,243 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.karaf.features/org.apache.karaf.features.command/4.4.4 > 2023-10-23T15:41:16,243 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.karaf.instance/org.apache.karaf.instance.core/4.4.4 > 2023-10-23T15:41:16,243 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.command/4.4.4 > 2023-10-23T15:41:16,244 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.config/4.4.4 > 2023-10-23T15:41:16,244 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.modules/4.4.4 > 2023-10-23T15:41:16,244 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.karaf.kar/org.apache.karaf.kar.core/4.4.4 > 2023-10-23T15:41:16,244 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.karaf.log/org.apache.karaf.log.core/4.4.4 > 2023-10-23T15:41:16,244 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.karaf.management/org.apache.karaf.management.server/4.4.4 > 2023-10-23T15:41:16,244 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.karaf.package/org.apache.karaf.package.core/4.4.4 > 2023-10-23T15:41:16,244 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.karaf.scr/org.apache.karaf.scr.management/4.4.4 > 2023-10-23T15:41:16,244 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.karaf.scr/org.apache.karaf.scr.state/4.4.4 > 2023-10-23T15:41:16,244 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.karaf.service/org.apache.karaf.service.core/4.4.4 > 2023-10-23T15:41:16,245 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.karaf.shell/org.apache.karaf.shell.commands/4.4.4 > 2023-10-23T15:41:16,245 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.karaf.shell/org.apache.karaf.shell.console/4.4.4 > 2023-10-23T15:41:16,245 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.karaf.shell/org.apache.karaf.shell.core/4.4.4 > 2023-10-23T15:41:16,245 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.karaf.shell/org.apache.karaf.shell.ssh/4.4.4 > 2023-10-23T15:41:16,245 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.karaf.shell/org.apache.karaf.shell.table/4.4.4 > 2023-10-23T15:41:16,245 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.karaf.system/org.apache.karaf.system.core/4.4.4 > 2023-10-23T15:41:16,245 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.sshd/sshd-osgi/2.10.0 > 2023-10-23T15:41:16,245 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.sshd/sshd-scp/2.10.0 > 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.apache.sshd/sshd-sftp/2.10.0 > 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.jline/jline/3.21.0 > 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.ow2.asm/asm/9.5 > 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.ow2.asm/asm-commons/9.5 > 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.ow2.asm/asm-tree/9.5 > 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.ow2.asm/asm-analysis/9.5 > 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.ow2.asm/asm-util/9.5 > 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.ops4j.base/ops4j-base-exec/1.5.1 > 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.ops4j.base/ops4j-base-io/1.5.1 > 2023-10-23T15:41:16,246 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.ops4j.base/ops4j-base-lang/1.5.1 > 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.ops4j.base/ops4j-base-monitors/1.5.1 > 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.ops4j.base/ops4j-base-net/1.5.1 > 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.ops4j.base/ops4j-base-spi/1.5.1 > 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.ops4j.base/ops4j-base-store/1.5.1 > 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.ops4j.base/ops4j-base-util-property/1.5.1 > 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.ops4j.pax.exam/pax-exam/4.13.5 > 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.ops4j.pax.exam/pax-exam-extender-service/4.13.5 > 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.ops4j.pax.exam/pax-exam-inject/4.13.5 > 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.ops4j.pax.exam/pax-exam-invoker-junit/4.13.5 > 2023-10-23T15:41:16,247 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.ops4j.pax.exam/pax-exam-container-rbc/4.13.5 > 2023-10-23T15:41:16,248 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.ops4j.pax.swissbox/pax-swissbox-core/1.8.4 > 2023-10-23T15:41:16,248 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.ops4j.pax.swissbox/pax-swissbox-extender/1.8.4 > 2023-10-23T15:41:16,248 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.ops4j.pax.swissbox/pax-swissbox-framework/1.8.4 > 2023-10-23T15:41:16,248 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.ops4j.pax.swissbox/pax-swissbox-lifecycle/1.8.4 > 2023-10-23T15:41:16,248 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.ops4j.pax.swissbox/pax-swissbox-tracker/1.8.4 > 2023-10-23T15:41:16,248 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.ops4j.pax.tipi/org.ops4j.pax.tipi.hamcrest.core/1.3.0.1 > 2023-10-23T15:41:16,248 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.ops4j.pax.tipi/org.ops4j.pax.tipi.junit/4.12.0.1 > 2023-10-23T15:41:16,248 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.ops4j.pax.url/pax-url-wrap/2.6.14/jar/uber > 2023-10-23T15:41:16,248 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.osgi/org.osgi.service.component/1.5.0 > {noformat} > e.g. we are installing both 'shell' and 'scr' features via: > {code:xml} > <?xml version="1.0" encoding="UTF-8" standalone="yes"?> > <features xmlns="http://karaf.apache.org/xmlns/features/v1.6.0" > name="170431fd-2268-45b6-ad7f-976d56d29dc4"> > > <repository>mvn:org.apache.karaf.features/framework/4.4.4/xml/features</repository> > > <repository>mvn:org.opendaylight.odlparent/features-odlparent/13.0.6-SNAPSHOT/xml/features</repository> > > <repository>mvn:tech.pantheon.triemap/pt-triemap/1.3.1/xml/features</repository> > > <repository>mvn:org.apache.karaf.features/standard/4.4.4/xml/features</repository> > <feature name="fb32070e-5d6d-47e2-9d1f-28b91155ce8e" version="0.0.0"> > <feature version="4.4.4" prerequisite="false" > dependency="false">framework</feature> > <feature version="4.4.4" prerequisite="false" > dependency="false">standard</feature> > <feature version="4.4.4" prerequisite="false" > dependency="false">ssh</feature> > <feature version="4.4.4" prerequisite="false" > dependency="false">scr</feature> > > <bundle>mvn:org.apache.aries.quiesce/org.apache.aries.quiesce.api/1.0.0</bundle> > <bundle>mvn:org.apache.felix/org.apache.felix.metatype/1.2.4</bundle> > > <bundle>mvn:org.opendaylight.odlparent/karaf.branding/13.0.6-SNAPSHOT</bundle> > > <bundle>mvn:org.opendaylight.odlparent/bcpkix-framework-ext/13.0.6-SNAPSHOT</bundle> > > <bundle>mvn:org.opendaylight.odlparent/bcprov-framework-ext/13.0.6-SNAPSHOT</bundle> > > <bundle>mvn:org.opendaylight.odlparent/bcutil-framework-ext/13.0.6-SNAPSHOT</bundle> > </feature> > </features> > {code} > This causes a refresh of karaf.config.core in: > {noformat} > 2023-10-23T15:41:16,249 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | Stopping bundles: > 2023-10-23T15:41:16,249 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > org.apache.karaf.config.core/4.4.4 > 2023-10-23T15:41:16,254 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | Installing bundles: > 2023-10-23T15:41:16,254 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > mvn:org.opendaylight.odlparent/karaf.branding/12.0.9 > [...] > 2023-10-23T15:41:16,378 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | Refreshing bundles: > 2023-10-23T15:41:16,378 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > org.apache.karaf.config.core/4.4.4 (Should be wired to: > org.apache.karaf.shell.core/4.4.4 (through osgi.wiring.package; > filter:="(&(osgi.wiring.package=org.apache.karaf.shell.api.action)(&(version>=4.4.0)(!(version>=5.0.0))))"; > resolution:="optional")) > 2023-10-23T15:41:16,552 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | Starting bundles: > 2023-10-23T15:41:16,554 | INFO | features-3-thread-1 | FeaturesServiceImpl > | 17 - org.apache.karaf.features.core - 4.4.4 | > org.ops4j.pax.url.wrap/2.6.14 > [...] > {noformat} > I think this should be fixed by splitting out karaf.config.command from > karaf.config.core and installing it conditionally, just as there is > karaf.features.{core,command}. -- This message was sent by Atlassian Jira (v8.20.10#820010)