Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-7371

BackupPurgeTask can not be scheduled after upgrade

    Details

    • Type: Bug
    • Status: Done
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.0
    • Component/s: backends, upgrade
    • Labels:

      Description

      With 7.0.0-SNAPSHOT rev. d5519aaa973 we hit an issue in upgrade job:

      You have provided options for scheduling this operation as a task but options
      provided for connecting to the server's tasks backend resulted in the
      following error: 'Unwilling to Perform: The Directory Server is not configured
      to allow task org.opends.server.tasks.BackupPurgeTask to be invoked'
      

      This is output of a cmd:

      ./bin/dsbackup purge -h openam.example.com -p 4444 -D "cn=myself" -w password -X  --backupLocation "/tmp/dsbackup_300" --backupId test1_20200720151906837

      Command to reproduce:
      You will need to replace config.cfg by uploaded config.cfg.

      python3 run-pybot.py -v -s backends_group.dsBackupPurge -t purge_backup_id_online DJ

      Steps:

      1. Setup DJ (4.0.0)
      2. Upgrade to 7.0.0
      3. Create 2 new backends test1 and test2
      4. Add data to test1 and test2
      5. stop server
      6. create offline backup of test1
      7. start server
      8. check with dsbackup list that backup exists
      9. run the dsbackup purge cmd above

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ondrej.fuchsik Ondrej Fuchsik
                Reporter:
                ondrej.fuchsik Ondrej Fuchsik
                Dev Assignee:
                Cyril Quinton
                QA Assignee:
                Ondrej Fuchsik
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: