Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-4482

[patching] patch:list shows patch as installed even-though installation failed with exception

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: jboss-fuse-6.2.1
    • Fix Version/s: jboss-fuse-6.3
    • Component/s: Patching
    • Labels:
      None
    • Sprint:
      Sprint 5 - towards ER2

      Description

      • JBoss fuse 6.2 GA with patch management from build 078
      • windows server 2012 R2

         
        patch:add file://...build 73
        patch:add file://...build 78
        JBossFuse:karaf@root> patch:install jboss-fuse-full-6.2.1.redhat-073
        ...
        ...
        Caused by: java.io.IOException: Destination 'C:\jboss-fuse-6.2.0.redhat-133\etc'
         directory cannot be created
                at io.fabric8.patch.management.io.EOLFixingFileUtils.doCopyDirectory(EOL
        FixingFileUtils.java:105)
                at io.fabric8.patch.management.io.EOLFixingFileUtils.copyDirectory(EOLFi
        xingFileUtils.java:79)
                at io.fabric8.patch.management.impl.GitPatchManagementServiceImpl.copyMa
        nagedDirectories(GitPatchManagementServiceImpl.java:2453)
                at io.fabric8.patch.management.impl.GitPatchManagementServiceImpl.applyC
        hanges(GitPatchManagementServiceImpl.java:2576)
                at io.fabric8.patch.management.impl.GitPatchManagementServiceImpl.commit
        Installation(GitPatchManagementServiceImpl.java:961)
                ... 22 more
        Error executing command: Destination 'C:\jboss-fuse-6.2.0.redhat-133\etc' direct
        ory cannot be created
        JBossFuse:karaf@root> patch:list
        [name]                           [installed] [description]
        jboss-fuse-full-6.2.1.redhat-073 true
        jboss-fuse-full-6.2.1.redhat-078 false
        JBossFuse:karaf@root>
        

      For some reason folder $FUSE_HOME/etc was marked as "read only".
      I don't know how/why it was set as read only, but it's the reason of patch:install failure.

      Point is - why is patch 73 marked as installed?

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  grgrzybek Grzegorz Grzybek
                  Reporter:
                  jludvice Josef Ludvicek
                  Tester:
                  Josef Ludvicek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: