Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1150369

Summary: TEST CONNECTION to Remote Content Sources will pass even when the Connection urr is bogus
Product: [JBoss] JBoss Operations Network Reporter: Dasharath Masirkar <dmasirka>
Component: ContentAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED EOL QA Contact: Mike Foley <mfoley>
Severity: low Docs Contact:
Priority: unspecified    
Version: JON 3.2.3CC: fbrychta, loleary, myarboro
Target Milestone: ---   
Target Release: JON 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-20 15:06:35 UTC 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:
Attachments:
Description Flags
screenshot of Test Conection output none

Description Dasharath Masirkar 2014-10-08 05:07:19 UTC
Created attachment 944854 [details]
screenshot of Test Conection output

Description of problem:

while creating the Remote URL Content Source using FTP protocol when configured it with necessary properties details and provided a bogus ftp url in Root Url property then when save the changes and hit TEST CONNECTION button, it passes the test even for ftp url which is no more available.

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

How reproducible:
Always

Steps to Reproduce:
1. In the top menu, click the Administration tab.In the Content menu table on the left, select the Content Sources item.Below the list of current content sources, click the CREATE NEW button.
2. Select the content source type as Remote URL Content Source. And fill the basic details and Configuration as follows and save changes.

Basic Details :

Name:ftp repo for web application
Description:ftp repo for web application archive
Sync Schedule:0 0 3 * * ?
Lazy Load:Yes
Download Mode: DATABASE

Configuration:

Root Url :ftp://127.0.0.1/pub/hello
Index File:content-index.txt

3. Now click the Content Sources and open "ftp repo for web application" then click TEST CONNECTION button

Actual results:
 Test passed - the remote repository for [ftp repo for web application] is available. 

Expected results:
 Test failed - the remote repository for [ftp repo for web application] is not available. java.net.ConnectException:Connection refused

Additional info:
Refer attached screen-shot "RemoteContentSource.png"

Comment 3 Filip Brychta 2019-05-20 15:06:35 UTC
JBoss ON is coming to the end of its product life cycle. For more information regarding this transition, see https://access.redhat.com/articles/3827121.
This bug report/request is being closed. If you feel this issue should not be closed or requires further review, please create a new bug report against the latest supported JBoss ON 3.3 version.