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

Make Current button doesn't work when 2 versions are being compared on Ambari UI

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.1.1
    • 2.4.0
    • ambari-web
    • None

    Description

      PROBLEM:

      From ambari UI, we can hover mouse over the previous versions of any configs and we can an option to make it current. This works fine.

      We also have an feature to compare the current and previous versions. When we do this we get a green button "Make V6 Current"
      (V6 is in my cluster. It can be any version).

      If we click on this we get *"Created from service config version

      {0}"* pop up and again a Make current button.

      Click on it and everything seems ok. But the problem is the previous version is NOT made current.

      This works fine on Safari and firefox but it does NOT work on chrome.

      Attachments:

      1. pics (1).docx - screenshots.

      BUSINESS IMPACT: This caused us lot of issue as we all thought previous configs had been reinstated but it wasn't and our debugging took a complete detour.

      Go Live Date - N/A

      STEPS TO REPRODUCE:

      1. Hover mouse on any previous version and click "compare".
      2. Click "Make Current V6" (Make current for previous version).
      3. Make current confirmation pop-up shows version {0}

      instead of the actual version number.
      4. Click "Make Current" and restart all services marked for "restart".

      EXPECTED RESULT:   The version I choose to make current should be applied.

      ACTUAL RESULT: Previous version is not made current.

      SUPPORT ANALYSIS: Reproduced the issue in-house.

      Attachments

        1. pics (1).docx
          257 kB
          Andrii Tkach
        2. AMBARI-15946.patch
          0.8 kB
          Andrii Tkach

        Activity

          People

            atkach Andrii Tkach
            atkach Andrii Tkach
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: