Cinder NetApp ONTAP NFS driver does not accept IPv6 address literal in hostname

Bug #1788419 reported by Alyson on 2018-08-22
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Undecided
Alyson

Bug Description

Cinder NetApp ONTAP driver configured with NFS crashes when IPv6 literal addresses are provided, for example:
[f180::30d9]:/path_to_export/example

This behavior can be reproduced when:
Configuring the driver with IPv6 literal address in nfs_share.
Creating a NFS volume.
Trying to attach the volume to an instance or creating a snapshot from this volume.

summary: - Cinder NetApp ONTAP driver do not accepts IPv6 address literal in
+ Cinder NetApp ONTAP NFS driver does not accept IPv6 address literal in
hostname
description: updated
description: updated
affects: manila → cinder
Changed in cinder:
assignee: nobody → Alyson (alyson-rodrigues-rosa)
tags: added: netapp
tags: added: ipv6
Eric Harney (eharney) wrote :
Changed in cinder:
status: New → In Progress

Reviewed: https://review.openstack.org/596297
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=925376527e356ed14320716d0f72b48b13b8aecb
Submitter: Zuul
Branch: master

commit 925376527e356ed14320716d0f72b48b13b8aecb
Author: Alyson Rosa <email address hidden>
Date: Mon Aug 20 11:23:22 2018 -0300

    Fix IPv6 for Cinder NetApp ONTAP drivers

    NetApp ONTAP driver currently have some issues with IPv6:
     - The URL is not properly formatted when using in management path
     - NFS driver breaks when handling IPv6 addresses
     - iSCSI driver creates a URL that is not properly formatted when
     using IPv6 addresses

    This patch fixes all issues related to IPv6 on NetApp ONTAP drivers.

    Closes-bug: 1788419
    Closes-bug: 1788460
    Change-Id: I6eeca47997c7134d6604874bea48eab7cab6c1a2

Changed in cinder:
status: In Progress → Fix Released

Reviewed: https://review.openstack.org/601409
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=b290b49183200fb9dbc4fff655f00cfaf3c8b67a
Submitter: Zuul
Branch: stable/rocky

commit b290b49183200fb9dbc4fff655f00cfaf3c8b67a
Author: Alyson Rosa <email address hidden>
Date: Mon Aug 20 11:23:22 2018 -0300

    Fix IPv6 for Cinder NetApp ONTAP drivers

    NetApp ONTAP driver currently have some issues with IPv6:
     - The URL is not properly formatted when using in management path
     - NFS driver breaks when handling IPv6 addresses
     - iSCSI driver creates a URL that is not properly formatted when
     using IPv6 addresses

    This patch fixes all issues related to IPv6 on NetApp ONTAP drivers.

    Closes-bug: 1788419
    Closes-bug: 1788460
    Change-Id: I6eeca47997c7134d6604874bea48eab7cab6c1a2
    (cherry picked from commit 925376527e356ed14320716d0f72b48b13b8aecb)

tags: added: in-stable-rocky

Reviewed: https://review.openstack.org/605082
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=40eaa89a9001edda3e1146831b26aaf7ded64c4a
Submitter: Zuul
Branch: stable/queens

commit 40eaa89a9001edda3e1146831b26aaf7ded64c4a
Author: Alyson Rosa <email address hidden>
Date: Mon Aug 20 11:23:22 2018 -0300

    Fix IPv6 for Cinder NetApp ONTAP drivers

    NetApp ONTAP driver currently have some issues with IPv6:
     - The URL is not properly formatted when using in management path
     - NFS driver breaks when handling IPv6 addresses
     - iSCSI driver creates a URL that is not properly formatted when
     using IPv6 addresses

    This patch fixes all issues related to IPv6 on NetApp ONTAP drivers.

    Closes-bug: 1788419
    Closes-bug: 1788460
    Change-Id: I6eeca47997c7134d6604874bea48eab7cab6c1a2
    (cherry picked from commit 925376527e356ed14320716d0f72b48b13b8aecb)
    (cherry picked from commit b290b49183200fb9dbc4fff655f00cfaf3c8b67a)

tags: added: in-stable-queens

This issue was fixed in the openstack/cinder 12.0.4 release.

This issue was fixed in the openstack/cinder 13.0.1 release.

This issue was fixed in the openstack/cinder 14.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers