Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-9117

Jenkins hangs in the shutdown mode after thinBackup is triggered

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      thinBackup triggers a backup job and did not return from the shutdown mode

        Attachments

          Issue Links

            Activity

            Hide
            fmerrow Frank Merrow added a comment -

            Windows . . .

            And yes! It took a few minutes, but if I kept hitting refresh eventually the "shutdown" message went away!!! It was the first time I had seen this, but then typically I don't hit refresh . . .

            So . . . I get where you are coming from wanting a stable system to backup . . . but this seems like a pretty heavy handed way to get it. It is a pretty shocking thing for a user to see who isn't in the know . . . and if they have the ability, they are likely to cancel on you anyway.

            Plus on my "almost nothing" Jenkins the backup took 1 minute or so . . . on our big production Jenkins with all the data and history, it will be interesting to see how long it lasts . . . it could be awhile.

            Clearly this is upsetting (to users) enough that it will have to be done at night, but we are a world wide 7/24 operation. I have a smaller community to upset in Hyderabad than I do in San Diego, but it is hard to select a backup time that won't alarm one of them. Plus night time is the time for "big builds" . . . the multi-hour things nobody want to do during the day . . . I am reluctant to take a big chunk of time out of that already busy schedule . . . no easy solutions here.

            It might be interesting to see if KK would add a new "mode" . . . shutdown like in that tables/files don't change, but instead of a big red banner saying shutdown, a (say) blue banner saying "backup in progress" . . . something to clue the user into the "real situation".

            Thanks for looking into this . . . sorry the solution is "I just didn't understand" . . .

            Frank

            Show
            fmerrow Frank Merrow added a comment - Windows . . . And yes! It took a few minutes, but if I kept hitting refresh eventually the "shutdown" message went away!!! It was the first time I had seen this, but then typically I don't hit refresh . . . So . . . I get where you are coming from wanting a stable system to backup . . . but this seems like a pretty heavy handed way to get it. It is a pretty shocking thing for a user to see who isn't in the know . . . and if they have the ability, they are likely to cancel on you anyway. Plus on my "almost nothing" Jenkins the backup took 1 minute or so . . . on our big production Jenkins with all the data and history, it will be interesting to see how long it lasts . . . it could be awhile. Clearly this is upsetting (to users) enough that it will have to be done at night, but we are a world wide 7/24 operation. I have a smaller community to upset in Hyderabad than I do in San Diego, but it is hard to select a backup time that won't alarm one of them. Plus night time is the time for "big builds" . . . the multi-hour things nobody want to do during the day . . . I am reluctant to take a big chunk of time out of that already busy schedule . . . no easy solutions here. It might be interesting to see if KK would add a new "mode" . . . shutdown like in that tables/files don't change, but instead of a big red banner saying shutdown, a (say) blue banner saying "backup in progress" . . . something to clue the user into the "real situation". Thanks for looking into this . . . sorry the solution is "I just didn't understand" . . . Frank
            Hide
            tofuatjava Thomas Fürer added a comment -

            @frank
            can I close this issue now?

            i have removed the shutdown state from the backup. only if you restore the system you need the shutdown mode.

            Show
            tofuatjava Thomas Fürer added a comment - @frank can I close this issue now? i have removed the shutdown state from the backup. only if you restore the system you need the shutdown mode.
            Hide
            fmerrow Frank Merrow added a comment -

            Well, there are several folks on this ticket (in fact I am not the creator), but I feel the situation has been explained (and even fixed given backup won't cause the issue only restore will). (Note I looked and saw 1.5 was available, I installed it and verified the problem does not exist in that version.)

            With the caveat that I am not the created, it is okay with me if you close the ticket.

            THANK YOU!

            Frank

            Show
            fmerrow Frank Merrow added a comment - Well, there are several folks on this ticket (in fact I am not the creator), but I feel the situation has been explained (and even fixed given backup won't cause the issue only restore will). (Note I looked and saw 1.5 was available, I installed it and verified the problem does not exist in that version.) With the caveat that I am not the created, it is okay with me if you close the ticket. THANK YOU! Frank
            Hide
            tofuatjava Thomas Fürer added a comment -

            fixed in 1.5
            additionaly jenkins is not put in the shutdown mode for the backup anymore

            Show
            tofuatjava Thomas Fürer added a comment - fixed in 1.5 additionaly jenkins is not put in the shutdown mode for the backup anymore
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: tofuatgit
            Path:
            src/main/java/org/jvnet/hudson/plugins/thinbackup/ThinBackupPeriodicWork.java
            http://jenkins-ci.org/commit/thin-backup-plugin/6d363ab67abf2260d8d759d06f690fb564b3e3b9
            Log:
            fix JENKINS-9117: Jenkins hangs in the shutdown mode after thinBackup is triggered

            git-svn-id: https://svn.jenkins-ci.org/trunk/hudson/plugins/thinBackup@39091 71c3de6d-444a-0410-be80-ed276b4c234a

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: tofuatgit Path: src/main/java/org/jvnet/hudson/plugins/thinbackup/ThinBackupPeriodicWork.java http://jenkins-ci.org/commit/thin-backup-plugin/6d363ab67abf2260d8d759d06f690fb564b3e3b9 Log: fix JENKINS-9117 : Jenkins hangs in the shutdown mode after thinBackup is triggered git-svn-id: https://svn.jenkins-ci.org/trunk/hudson/plugins/thinBackup@39091 71c3de6d-444a-0410-be80-ed276b4c234a

              People

              • Assignee:
                tofuatjava Thomas Fürer
                Reporter:
                tofuatjava Thomas Fürer
              • Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: