Details
-
Bug
-
Resolution: Done
-
Major
-
jboss-fuse-6.1
-
None
-
%
Description
Karaf command "osgi:list -l" is used to show location of bundles. However, after I successfully installed a patch in my fabric environment. it still shows old bundle version. Although it worked fine in a standalone container after a patch being installed.
Here is steps for applying the patch:
- unzip jboss-fuse-full-6.1.0.redhat-379.zip
- bin/fuse
- fabric:create --wait-for-provisioning
- fabric:version-create 1.1
- patch-apply --version 1.1 --username admin --password admin file:/apps/patches/jboss-fuse-6.1.0.redhat-379-r1.zip
- fabric:container-upgrade 1.1 root
Here are some output:
JBossFuse:karaf@root> osgi:list |grep camel-core [ 142] [Active ] [ ] [ ] [ 50] camel-core (2.12.0.redhat-610394) JBossFuse:karaf@root> osgi:list -l |grep camel-core [ 142] [Active ] [ ] [ ] [ 50] mvn:org.apache.camel/camel-core/2.12.0.redhat-610379 JBossFuse:karaf@root> osgi:list |grep 262 [ 262] [Active ] [ ] [ ] [ 60] JBoss A-MQ Fabric HTTP Discovery (6.1.0.redhat-394) JBossFuse:karaf@root> osgi:list -l |grep 262 [ 262] [Active ] [ ] [ ] [ 60] mvn:org.jboss.amq/mq-http-discovery/6.1.0.redhat-379
You can see the incorrect output by command "osgi:list" with -l option.
However, if I repeat the test with slightly different steps:
- unzip jboss-fuse-full-6.1.0.redhat-379.zip
- bin/patch /apps/patches/jboss-fuse-6.1.0.redhat-379-r1.zip
- bin/fuse
- fabric:create --wait-for-provisioning
- fabric:version-create 1.1
- patch-apply --version 1.1 --username admin --password admin file:/apps/patches/jboss-fuse-6.1.0.redhat-379-r1.zip
- fabric:container-upgrade 1.1 root
Here are some output:
JBossFuse:karaf@root> osgi:list |grep camel-core [ 142] [Active ] [ ] [ ] [ 50] camel-core (2.12.0.redhat-610394) JBossFuse:karaf@root> osgi:list -l |grep camel-core [ 142] [Active ] [ ] [ ] [ 50] mvn:org.apache.camel/camel-core/2.12.0.redhat-610394
You can see that the "osgi:list -l" on the camel-core bundle did show a correct version. However this bundle still shows wrong version though:
JBossFuse:karaf@root> osgi:list -l |grep 264 [ 262] [Active ] [ ] [ ] [ 60] mvn:org.jboss.amq/mq-http-discovery/6.1.0.redhat-379 JBossFuse:karaf@root> osgi:list |grep 264 [ 262] [Active ] [ ] [ ] [ 60] JBoss A-MQ Fabric HTTP Discovery (6.1.0.redhat-394)
Attachments
Issue Links
- relates to
-
ENTESB-2397 Changing feature repo version in fabric profile doesn't trigger change in bundles
- Closed
-
ENTESB-3804 After applying patch, bundle "version" and "location" do not match
- Closed
-
ENTESB-11309 Hawtio osgi tab showing old versions in Location
- Closed