Bug 1220818

Summary: Attempt to associate the HTTP content source with repository displays JBWEB000065: HTTP Status 404 error
Product: [Other] RHQ Project Reporter: bkramer <bkramer>
Component: ContentAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.12CC: hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1220816    

Description bkramer 2015-05-12 14:17:40 UTC
Description of problem:
Attempt to associate the HTTP content source with repository displays JBWEB000065: HTTP Status 404 - /rhq/content/repoAssociations-plain.xhtml

Version-Release number of selected component (if applicable):
RHQ 4.12

How reproducible:
Always

Steps to Reproduce:
1. Install and configure RHQ 4.12
2. From RHQ UI navigate to Administration -> Content Source and press "Create New" button; 
3. Click on HTTP Content Source;
4. Define the content source type in the following way:

       Name: Test
       Root Url: http://test.example.redhat.com (for instance)
       Index File: content-index.txt 

5. Click on "Add New" button to add new Package Type;
6. Configure the following properties:
      
       Resource Type Name: Tomcat Server
       Architecture Name: noarch
       Package Type Name: war 
       Resource Type Plugin Name: Tomcat
       Filename Filer: */.war

7.  Press "OK" button to save above configuration and confirm that Test content source is created.
8.  From Administration -> navigate to Repositories and click on "Create New" button to create new repository;
9.  Name: TestRepo and click on "Save";
10. Click on "TestRepo" link name and click on "Associate..." button in "Content Sources Associated with This Repository" section;
11. Click on the check box next to the "Test" content source in the "Available Content Sources" and press "Associate selected" button;


Actual results: 

The following error is shown:

*****************************
JBWEB000065: HTTP Status 404 - /rhq/content/repoAssociations-plain.xhtml


JBWEB000309: type JBWEB000067: Status report
JBWEB000068: message /rhq/content/repoAssociations-plain.xhtml
JBWEB000069: description JBWEB000124: The requested resource is not available.

JBoss Web/7.4.10.Final-redhat-1
*****************************

However, when navigate again to RHQ UI -> Administration -> Repositories -> TestRepo, Test content source will be associated with the repository!


Expected results:

Test content source is properly associated with the repository but no error is shown.

Additional info: