Uploaded image for project: 'Data Foundation Bugs'
  1. Data Foundation Bugs
  2. DFBUGS-2801

Upgrade start command is failing with expected_version as latest version.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • odf-4.20
    • odf-4.19
    • noobaa-nc
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Committed
    • ?
    • ?
    • 4.20.0-64.konflux
    • Committed
    • Release Note Not Required
    • None

      The current version for noobaa is the latest version i.e. 5.19.0
      [root@new-12 s3-config]# cat system.json |jq

      {{}

        *  *"new-14": {{}

          *    *"current_version": "5.19.0",{}

          *    *"config_dir_version": "1.0.0",{}

          *    *"upgrade_history": {{}

            *      *"successful_upgrades": []{}

          }{}

      But while trying to upgrade the exisiting noobaa again with the latest version it is failing.  

      [root@new-12 s3-config]# /usr/local/bin/noobaa-cli upgrade start --expected_version 5.19.0

      {

        "error":

      {     "code": "UpgradeFailed",     "message": "Upgrade request failed",     "cause": "Error: config_dir_version on system.json and config_fs.config_dir_version match, nothing to upgrade\n    at NCUpgradeManager.upgrade_config_dir (/usr/local/noobaa-core/src/upgrade/nc_upgrade_manager.js:115:19)\n    at async start_config_dir_upgrade (/usr/local/noobaa-core/src/manage_nsfs/upgrade.js:56:29)\n    at async Object.manage_upgrade_operations (/usr/local/noobaa-core/src/manage_nsfs/upgrade.js:24:13)\n    at async main (/usr/local/noobaa-core/src/cmd/manage_nsfs.js:91:13)"   }

      }

      Here in the error cause, it conveys that version is already upgraded, but still error code is "UpgradeFailed" 
      "config_dir_version on system.json and config_fs.config_dir_version match, nothing to upgrade"

       

              jalbo@redhat.com Jacky Albo
              manan-chawla@ibm.com Manan Chawla
              Jacky Albo
              Sagi Hirshfeld Sagi Hirshfeld
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

                Created:
                Updated: