Bug 1461161 - Log Collection fails via IPv6
Summary: Log Collection fails via IPv6
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: GA
: 5.8.1
Assignee: Šimon Lukašík
QA Contact: Tasos Papaioannou
URL:
Whiteboard: ipv6:log_collect
Depends On: 1452224
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-13 17:09 UTC by Satoe Imaishi
Modified: 2022-07-09 08:40 UTC (History)
9 users (show)

Fixed In Version: 5.8.1.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1452224
Environment:
Last Closed: 2017-08-02 17:31:22 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:1758 0 normal SHIPPED_LIVE Important: Red Hat CloudForms security, bug fix, and enhancement update 2017-08-02 21:23:43 UTC

Comment 2 CFME Bot 2017-06-13 17:16:28 UTC
New commit detected on ManageIQ/manageiq/fine:
https://github.com/ManageIQ/manageiq/commit/3b4ce6e91aaf7c7423f4e62ffe986a32af84a390

commit 3b4ce6e91aaf7c7423f4e62ffe986a32af84a390
Author:     Oleg Barenboim <chessbyte>
AuthorDate: Mon Jun 12 14:32:37 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Tue Jun 13 13:10:23 2017 -0400

    Merge pull request #15344 from isimluk/rhbz#1452224
    
    Support IPv6 for log collection
    (cherry picked from commit db6dc4ca84b16bf80f7579bcc515e7a416c1cb27)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1461161

 app/models/file_depot_ftp.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 3 Tasos Papaioannou 2017-06-29 20:34:27 UTC
1.) Anonymous ftp log collection over IPv6 works with a hostname that resolves to an IPv6 address in the URI, e.g., with /etc/hosts:

# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
2001:db8:0:1::129 tpapaioa-cfme

the collection URIs ftp://localhost6/pub/upload and ftp://tpapaioa-cfme/pub/upload connect to ::1 and 2001:db8:0:1::129, respectively.

2.) Specifying an IPv6 address directly in the URI also works:

Log Depot URI        ftp://[::1]/pub/upload
Last Log Collection  2017-06-29 20:33:38 UTC
Last Message         Log files were successfully collected

Log Depot URI        ftp://[2001:db8:0:1::129]/pub/upload
Last Log Collection  2017-06-29 20:30:43 UTC
Last Message         Log files were successfully collected

Comment 5 errata-xmlrpc 2017-08-02 17:31:22 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2017:1758


Note You need to log in before you can comment on or make changes to this bug.