Details
-
Bug
-
Resolution: Done
-
Blocker
-
jboss-fuse-6.1 on OSE
-
None
-
%
Description
If there are multiple patches in RPM (e.g. patch1.zip and patch2.zip), they are sometimes applied in wrong order. This is because output of find is not sorted.
bin/update
150: files=$(find $FUSE_PATCH_DIR -name "*.zip")
The result is patches are applied in wrong order and gear is then deleted (second patch can't be applied).
Gear creation log
fuse already started Waiting for patching service to become available... client: JAVA_HOME not set; results may vary true Patching all profile versions with /var/lib/openshift/54f550a76892df340b000019/fuse//patches/patch2.zip client: JAVA_HOME not set; results may vary Waiting for patching service to become available... client: JAVA_HOME not set; results may vary true Patching all profile versions with /var/lib/openshift/54f550a76892df340b000019/fuse//patches/patch1.zip client: JAVA_HOME not set; results may vary Error executing command: Unable to apply patch Patch was not succesfully applied. You can try to apply this patch again on the container shell using: fabric:patch-apply --all-versions file:/var/lib/openshift/54f550a76892df340b000019/fuse//patches/patch1.zip