Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-14511

ERROR failed to release FreezeRequest from DatabaseBackupTask

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6.0
    • Fix Version/s: 3.7.0
    • Component/s: Backup
    • Labels:
    • Story Points:
      1
    • Sprint:
      Platform Sprint 106, Platform Sprint 107

      Description

      Database backup task may indicate successful completion, but also report "fail to release FreezeRequest".

      2017-10-04 01:00:00,022+0000 INFO [quartz-4-thread-20] *SYSTEM org.sonatype.nexus.internal.backup.DatabaseBackupTask - Task information:
      2017-10-04 01:00:00,093+0000 INFO [quartz-4-thread-20] *SYSTEM org.sonatype.nexus.internal.backup.DatabaseBackupTask - ID: ab185ceb-4b0a-4cdd-8cfa-dc70f8a7a5f7
      2017-10-04 01:00:00,093+0000 INFO [quartz-4-thread-20] *SYSTEM org.sonatype.nexus.internal.backup.DatabaseBackupTask - Type: db.backup
      2017-10-04 01:00:00,093+0000 INFO [quartz-4-thread-20] *SYSTEM org.sonatype.nexus.internal.backup.DatabaseBackupTask - Name: db-backup-nexusng.example.com
      2017-10-04 01:00:00,093+0000 INFO [quartz-4-thread-20] *SYSTEM org.sonatype.nexus.internal.backup.DatabaseBackupTask - Description: Export configuration & metadata for backup
      2017-10-04 01:00:00,115+0000 INFO [quartz-4-thread-20] *SYSTEM org.sonatype.nexus.internal.backup.DatabaseBackupTask - task named 'db-backup-nexusng.example.com' database backup to location /nexus-data/nexus-backup/
      2017-10-04 01:00:00,459+0000 INFO [quartz-4-thread-20] *SYSTEM org.sonatype.nexus.quartz.internal.QuartzSchedulerSPI - Scheduler put into stand-by mode
      2017-10-04 01:00:00,462+0000 INFO [quartz-4-thread-20] *SYSTEM org.sonatype.nexus.quartz.internal.task.QuartzTaskJob - Task not cancelable: 'db-backup-nexusng.example.com' [db.backup]
      2017-10-04 01:00:00,463+0000 WARN [quartz-4-thread-20] *SYSTEM org.sonatype.nexus.scheduling.internal.TaskActivation - Unable to cancel task: db-backup-nexusng.example.com
      2017-10-04 01:00:06,174+0000 INFO [quartz-4-thread-20] *SYSTEM org.sonatype.nexus.internal.backup.DatabaseBackupTask - database backup of analytics starting
      2017-10-04 01:00:06,179+0000 INFO [quartz-4-thread-20] *SYSTEM org.sonatype.nexus.internal.backup.DatabaseBackupTask - database backup of component starting
      2017-10-04 01:00:08,888+0000 INFO [quartz-4-thread-20] *SYSTEM org.sonatype.nexus.internal.backup.DatabaseBackupTask - database backup of security starting
      2017-10-04 01:00:08,895+0000 INFO [quartz-4-thread-20] *SYSTEM org.sonatype.nexus.internal.backup.DatabaseBackupTask - database backup of audit starting
      2017-10-04 01:00:08,899+0000 INFO [quartz-4-thread-20] *SYSTEM org.sonatype.nexus.internal.backup.DatabaseBackupTask - database backup of config starting
      2017-10-04 01:00:08,904+0000 INFO [quartz-4-thread-20] *SYSTEM org.sonatype.nexus.internal.backup.DatabaseBackupTask - database backup of accesslog starting
      2017-10-04 01:00:14,135+0000 INFO [dbbackup-9-thread-4] *SYSTEM org.sonatype.nexus.internal.backup.DatabaseBackupRunner - database backup of audit completed successfully
      2017-10-04 01:00:15,378+0000 INFO [dbbackup-9-thread-1] *SYSTEM org.sonatype.nexus.internal.backup.DatabaseBackupRunner - database backup of analytics completed successfully
      2017-10-04 01:00:16,580+0000 INFO [dbbackup-9-thread-6] *SYSTEM org.sonatype.nexus.internal.backup.DatabaseBackupRunner - database backup of accesslog completed successfully
      2017-10-04 01:00:23,269+0000 INFO [dbbackup-9-thread-3] *SYSTEM org.sonatype.nexus.internal.backup.DatabaseBackupRunner - database backup of security completed successfully
      2017-10-04 01:00:29,307+0000 INFO [dbbackup-9-thread-2] *SYSTEM org.sonatype.nexus.internal.backup.DatabaseBackupRunner - database backup of component completed successfully
      2017-10-04 01:00:30,871+0000 INFO [dbbackup-9-thread-5] *SYSTEM org.sonatype.nexus.internal.backup.DatabaseBackupRunner - database backup of config completed successfully
      2017-10-04 01:00:30,886+0000 INFO [quartz-4-thread-20] *SYSTEM org.sonatype.nexus.quartz.internal.QuartzSchedulerSPI - Scheduler put into ready mode
      2017-10-04 01:00:30,887+0000 ERROR [quartz-4-thread-20] *SYSTEM org.sonatype.nexus.internal.backup.DatabaseBackupTask - failed to release FreezeRequest{initiatorType=SYSTEM, initiatorId='db-backup-nexusng.example.com', timestamp=2017-10-04T01:00:00.122Z, nodeId='null'}
      2017-10-04 01:00:30,887+0000 INFO [quartz-4-thread-20] *SYSTEM org.sonatype.nexus.internal.backup.DatabaseBackupTask - Task complete
      

      The message implies the database may be left "frozen".

      Expected

      The ERROR message consequences need to be better understood and prevented if possible.
      If there is a marker file stored someplace and its presence changes behavior, then we need to capture that fact in a support zip in some place other than a log file ( ie. sysinfo.json? ) - I suggest sysinfo.json because we cannot infinitely grow the support zip with included files sounds like the actual contents of frozen.marker may be relevant, therefore will be relevant to include the actual file if present, in the support zip.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              wwannemacher Wes Wannemacher
              Reporter:
              plynch Peter Lynch
              Last Updated By:
              Wes Wannemacher
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title