Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-12730

Ambari Server schema upgrade should prompt about backups

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.2
    • Component/s: ambari-server
    • Labels:
      None

      Description

      When users perform "ambari-server upgrade", we should prompt the user to confirm they have backed-up the Ambari DB and Ambari .properties file before proceeding. User runs "ambari-server upgrade"...what do you think about this flow + output?

      Performing ambari-server schema upgrade...
      Confirm you have made a backup of /etc/ambari-server/conf/ambari.properties [y/n] (y)? 
      Ambari Server configured for Embedded Postgres. Confirm you have made a backup of the Ambari Server database  [y/n] (y)? 
      

      In the above, replace Embedded Postgres with Existing Postgres, Existing MySQL or Existing Oracle as appropriate.

      1. AMBARI-12730.patch
        9 kB
        Vitaly Brodetskyi

        Issue Links

          Activity

          Hide
          vbrodetskyi Vitaly Brodetskyi added a comment -

          Committed to trunk and branch-2.1

          Show
          vbrodetskyi Vitaly Brodetskyi added a comment - Committed to trunk and branch-2.1
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Ambari-branch-2.1 #363 (See https://builds.apache.org/job/Ambari-branch-2.1/363/)
          AMBARI-12730. Ambari Server schema upgrade should prompt about backups.(vbrodetskyi) (vbrodetskyi: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=a38409c09f21d8c245da30033b655c58cbc38582)

          • ambari-server/src/main/python/ambari_server/serverUpgrade.py
          • ambari-server/src/main/python/ambari_server/serverConfiguration.py
          • ambari-server/src/test/python/TestAmbariServer.py
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Ambari-branch-2.1 #363 (See https://builds.apache.org/job/Ambari-branch-2.1/363/ ) AMBARI-12730 . Ambari Server schema upgrade should prompt about backups.(vbrodetskyi) (vbrodetskyi: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=a38409c09f21d8c245da30033b655c58cbc38582 ) ambari-server/src/main/python/ambari_server/serverUpgrade.py ambari-server/src/main/python/ambari_server/serverConfiguration.py ambari-server/src/test/python/TestAmbariServer.py
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Ambari-trunk-Commit #3265 (See https://builds.apache.org/job/Ambari-trunk-Commit/3265/)
          AMBARI-12730. Ambari Server schema upgrade should prompt about backups.(vbrodetskyi) (vbrodetskyi: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e482d7c4eec310f4dba16eb4853b48c7f5b1cbe5)

          • ambari-server/src/test/python/TestAmbariServer.py
          • ambari-server/src/main/python/ambari_server/serverUpgrade.py
          • ambari-server/src/main/python/ambari_server/serverConfiguration.py
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Ambari-trunk-Commit #3265 (See https://builds.apache.org/job/Ambari-trunk-Commit/3265/ ) AMBARI-12730 . Ambari Server schema upgrade should prompt about backups.(vbrodetskyi) (vbrodetskyi: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e482d7c4eec310f4dba16eb4853b48c7f5b1cbe5 ) ambari-server/src/test/python/TestAmbariServer.py ambari-server/src/main/python/ambari_server/serverUpgrade.py ambari-server/src/main/python/ambari_server/serverConfiguration.py

            People

            • Assignee:
              vbrodetskyi Vitaly Brodetskyi
              Reporter:
              vbrodetskyi Vitaly Brodetskyi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development