Di Li created AMBARI-11935:
------------------------------

             Summary: Rolling upgrade after a downgrade fails the precheck with 
error "All hosts should have target version installed"
                 Key: AMBARI-11935
                 URL: https://issues.apache.org/jira/browse/AMBARI-11935
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.1.0
            Reporter: Di Li
             Fix For: 2.1.0


1. Perform rolling upgrade
2. Clicked Downgrade once it reached the "Finalize" step.
3. Once the downgrade finished successfully, went to the "Stack and  Versions" 
page and clicked the Rolling upgrade button.
4. The rolling upgrade failed the precheck with error "All hosts should have 
target version installed"

The binaries (RPMs) however were installed. 
This seems to be a issue in the database and the 
HostsRepositoryVersionCheck.java where the check expects the BI 4.1 repo on 
each host to be in the "INSTALLED" state, whereas the database still has the 
state as "UPGRADED" after the downgrade.

Workaround is to click the "Reinstall Packages" button first, wait for the 
reinstall to finish (should be very quickly as the RPMs were already 
installed), then click Rolling Upgrade.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to