Description of problem: After successful installation of RHQ server following link http://xx.xx.xx.xx:7080/agentupdate/download returns HTTP Status 404 Version-Release number of selected component (if applicable): Version: 3.2.0.ER2 Build Number: 9bf6f76:371eac0 How reproducible: 100% Steps to Reproduce: 1. ./rhqctl install 2. login 3. go to Administration->Downloads->Download agent (http://xx.xx.xx.xx:7080/agentupdate/download) Actual results: HTTP Status 404 Expected results: link works Additional info: All links on http://xx.xx.xx.xx:7080/downloads/ are broken. (agent, CLI client, bundle deployer,.. )
The problem comes from the implementation of BZ1000065. portal-war context has been move from '/' to '/portal' and all the links here have not been updated. As a workaround, you can add '/portal' in the middle of the broken URLs. For example, turn: http://localhost:7080/client/download into: http://localhost:7080/portal/client/download
Is it possible to preserve original links? Different agent download link would break our automation.. (i guess not just ours)
Fixed 'Downloads' page broken links in master commit 12317968d83d7ca408b01e7b9715364215fd5907 Author: Thomas Segismont <tsegismo> Date: Mon Sep 30 16:23:01 2013 +0200 Re-assigning to Jiri who is looking at how already installed agent will be able to auto-update.
Preserving the original paths not to break the existing scripts (as mentioned in comment 2). The servlets responsible for serving the data were moved from portal war module to its own war files. branch: master link: http://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?id=a91848332 time: 2013-10-01 01:32:50 +0200 commit: a91848332427bcf365fccece1dcc6805009e68ad author: Jirka Kremser - jkremser message: [BZ 1013489] - It is not possible to download an agent from RHQ server (HTTP Status 404) - Introducing three new simple wars for handling the "/agentupdate/{download|version}", "/client/{download|version}" and "/downloads/*". Besides fixing this bug, this commit should help to remove portal war in the future.
Moving to ON_QA for testing.
verified on ER3