[ https://issues.apache.org/jira/browse/AMBARI-14167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Srimanth Gunturi updated AMBARI-14167: -------------------------------------- Attachment: AMBARI-14167.patch Attaching fix where UI is reloaded after express upgrade wizard finishes. {noformat} 10239 tests complete (10 seconds) 104 tests pending [INFO] [INFO] --- apache-rat-plugin:0.11:check (default) @ ambari-web --- [INFO] 51 implicit excludes (use -debug for more details). [INFO] Exclude: .idea/** [INFO] Exclude: package.json [INFO] Exclude: public/** [INFO] Exclude: public-static/** [INFO] Exclude: app/assets/** [INFO] Exclude: vendor/** [INFO] Exclude: node_modules/** [INFO] Exclude: node/** [INFO] Exclude: npm-debug.log [INFO] 1242 resources included (use -debug for more details) [INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 1242 licence. [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 36.724s [INFO] Finished at: Wed Dec 02 18:01:16 PST 2015 [INFO] Final Memory: 8M/23M [INFO] ------------------------------------------------------------------------ {noformat} > After Intra-Stack Upgrade Web Client Still Uses Old Stack Version In Requests > ----------------------------------------------------------------------------- > > Key: AMBARI-14167 > URL: https://issues.apache.org/jira/browse/AMBARI-14167 > Project: Ambari > Issue Type: Bug > Components: ambari-web > Affects Versions: 2.1.3 > Reporter: Srimanth Gunturi > Assignee: Srimanth Gunturi > Fix For: 2.1.3 > > Attachments: AMBARI-14167.patch > > > After upgrading from HDP 2.2 to HDP 2.3, the web client is using the wrong > stack version when making requests to endpoints like validation and > recommendations. > STR: > 1) Install HDP 2.2 (ZooKeeper only is enough) > 2) Perform Express Upgrade to HDP 2.3 > 3) Try to add a service, like Storm > Observe: > {code} > Remote Address:[::1]:8080 > Request URL:http://localhost:8080/api/v1/stacks/HDP/versions/2.2/validations > Request Method:POST > Status Code:200 OK > {code} > and > {code} > Remote Address:[::1]:8080 > Request > URL:http://localhost:8080/api/v1/stacks/HDP/versions/2.2/recommendations > Request Method:POST > Status Code:200 OK > {code} > This causes invalid recommendations and configurations when adding services > after upgrade. If the user logs out and then back in, the correct version is > used. -- This message was sent by Atlassian JIRA (v6.3.4#6332)