Description of problem: An IPv6 FTP server cannot be validated for log collection, and log collection via anonymous FTP fails with the same errors that validation fails with. Two failure modes: 1. URI parsing fails, error message: "bad URI(is not URI?)" 2. getaddrinfo call fails: getaddrinfo: Name or service not known Failure mode 1: If the address is entered into the URI field 'bare' (feed:beef::1) the 'validate' button results in this error message. Same error if anon-ftp is configured with no validation and a log collection is triggered. Failuire mode 2: If the address is entered in the URL field with the IPv6 URI delimiters ([feed:beef::1]), the validate button or anon-ftp collection results in a getaddrinfo failure. I have tested with various delimiter escaping (\[, \\[), and these delimiters are getting parsed but are not handled correctly. I can tell they're getting parsed because a form validated/saved with \[feed:beef::1\] shows modifications in the URL displayed in the GUI/log. Version-Release number of selected component (if applicable): 5.8.0.13 How reproducible: 100% Steps to Reproduce: 1. Deploy IPv6 appliance 2. Deploy IPv6 FTP server (used vsftpd on F25 for testing, should not matter) 3. Attempt to configure FTP server for log collection Actual results: Validation failure messages, two modes. Expected results: Validated authentication for FTP server, or anonymous connections over IPv6 when configured. I do not expect that the user need to delimit their IPv6 addresses in the URI field, CFME should be able to detect the address type and apply the correct URL formatting. Additional info:
https://github.com/ManageIQ/manageiq/pull/15344
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/65dd7a6559364a1ab1422341ce13ec0100465b53 commit 65dd7a6559364a1ab1422341ce13ec0100465b53 Author: Šimon Lukašík <isimluk> AuthorDate: Fri Jun 9 09:41:02 2017 +0200 Commit: Šimon Lukašík <isimluk> CommitDate: Fri Jun 9 09:41:02 2017 +0200 Support IPv6 for log collection Unwrap [] parenthesis around IPv6 address https://bugzilla.redhat.com/show_bug.cgi?id=1452224 app/models/file_depot_ftp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Failed on 5.9.0.2. When trying to create a log depot for Anonymous FTP, only the Type field is visible. The Depot Name and URI are all missing. When selecting the regular FTP type, the username and password-related fields (and Validate button) are also missing. The same problems exists for all types except Red Hat Dropbox. Once Red Hat Dropbox is selected, the Depot Name and URI fields appear, and they stay visible when selecting any other type, but username and password-related fields are still missing for types that require them.
Using version 5.9.0.8 I can see all the required fields for all the types of Log Depot. Can you retest with that version Tasos?
Moving this back to ON_QA as the issue reported seems to be resolved in 5.9.0.8.
Verified on 5.9.0.9.