Bug 1849598 - [RFE] ImageIO support for IPv6 [RHV clone - 4.3.11]
Summary: [RFE] ImageIO support for IPv6 [RHV clone - 4.3.11]
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-imageio-common
Version: 4.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact: Evelina Shames
URL:
Whiteboard:
Depends On: 1805267
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-22 11:12 UTC by RHV bug bot
Modified: 2024-03-25 16:04 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of: 1805267
Environment:
Last Closed: 2020-09-24 12:09:53 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 99433 0 master ABANDONED nbd: Initial IPv6 support 2021-01-18 09:44:07 UTC
oVirt gerrit 109313 0 master MERGED ipv6: initial IPv6 support for nbd 2021-01-18 09:44:05 UTC
oVirt gerrit 109335 0 master ABANDONED ipv6: add function for determining if we support only IPv6 2021-01-18 09:44:05 UTC
oVirt gerrit 109336 0 master ABANDONED ipv6: add server which supports IPv6 2021-01-18 09:44:05 UTC
oVirt gerrit 109463 0 master MERGED ipv6: support IPv6 in http.Server 2021-01-18 09:44:05 UTC
oVirt gerrit 109464 0 master MERGED ipv6: use :: as default remote host 2021-01-18 09:44:06 UTC
oVirt gerrit 109468 0 master MERGED tests: Fix testutil.ipv6_enabled() 2021-01-18 09:44:06 UTC
oVirt gerrit 109546 0 master MERGED ipv6: make server_address uniform 2021-01-18 09:44:06 UTC
oVirt gerrit 109583 0 master MERGED ipv6: log server address instead of only port 2021-01-18 09:44:06 UTC
oVirt gerrit 109584 0 master MERGED ipv6: generate SSL certificates with IPv6 address 2021-01-18 09:44:06 UTC

Description RHV bug bot 2020-06-22 11:12:48 UTC
+++ This bug is a downstream clone. The original bug is: +++
+++   bug 1805267 +++
======================================================================

Description of problem:

imageio daemon and proxy do not support ipv6. We need to support setup when 
engine and hosts have only ipv6 address.

Known issues:
- daemon and proxy listen only to ipv4
- sending request to daemon using ipv6 url fails in requests library
- NBD ipv6 URLs are not supported in the daemon
- There are no tests using ipv6, so we don't know yet what needs to change

(Originally by Nir Soffer)

Comment 2 RHV bug bot 2020-06-22 11:12:54 UTC
as per discussion with Nir, the behavior should be as follows:

Remote port - accessed by users
- Listen on "::" by default (like vdsm). Supports both ipv4 and ipv6
in the same time.
- Admin can override the address to ipv4 or ipv6 address. In this case
listen to the requested address
   (does not support both ipv6 and ipv4)
- Users should resolve host and connect to the first address that
works (like socket.create_connection())

Control socket - accessed only by engine
- Listen to the first interface resolved for "localhost". Can be ipv6
or ipv4 based on system configuration
- Client need to connect the first working address reported by
getaddrinfo() (like socket.create_connection())

(Originally by Vojtech Juranek)

Comment 4 RHV bug bot 2020-06-22 11:12:59 UTC
(In reply to Vojtech Juranek from comment #2)
Peter, can you ack the solution described in comment 2?

(Originally by Nir Soffer)

Comment 5 RHV bug bot 2020-06-22 11:13:02 UTC
Moving bug to 4.4. We need to clone to 4.3 if we really need to 
add this also in 4.3.

(Originally by Nir Soffer)

Comment 7 RHV bug bot 2020-06-22 11:13:10 UTC
Hi Vojtech,

Can you please provide a clear verification scenario?

(Originally by Avihai Efrat)

Comment 8 RHV bug bot 2020-06-22 11:13:13 UTC
(In reply to Avihai from comment #7)
> Hi Vojtech,
> 
> Can you please provide a clear verification scenario?

upload and download image on IPv4 and/or dual stack environment (to verify there's no regression) and same on IPv6-only environment to verify image upload/download works with IPv6 only.

(Originally by Vojtech Juranek)


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