Cinder's my_ip is hard coded to HOST_IP instead of selecting based on SERVICE_IP_VERSION

Bug #1838250 reported by Ghanshyam Mann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Undecided
Ghanshyam Mann

Bug Description

Devstack's lib/cinder set the my_ip on cinder side but it hard-code it with HOST_IP[1]. It is no issue for IPv4 env but when you build or run the IPv6 job then this ip is left to set with IPv6. my_ip should be set to HOST_IP or HOST_IPV6 based on SERVICE_IP_VERSION value.

As part of Train community goal 'Support IPv6-Only Deployments', we will expand the 'devstack-tempest-ipv6' job to do IPv6-only deployments verification so we need fix the the my_ip setting.

[1]https://github.com/openstack/devstack/blob/6aeaceb0c4ef078d028fb6605cac2a37444097d8/lib/cinder#L231

Changed in devstack:
assignee: nobody → Ghanshyam Mann (ghanshyammann)
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (master)

Fix proposed to branch: master
Review: https://review.opendev.org/673266

Changed in devstack:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (master)

Reviewed: https://review.opendev.org/673266
Committed: https://git.openstack.org/cgit/openstack/devstack/commit/?id=d331fa7a2d027e98c08aba442c05ba54abc7d6d8
Submitter: Zuul
Branch: master

commit d331fa7a2d027e98c08aba442c05ba54abc7d6d8
Author: Ghanshyam Mann <email address hidden>
Date: Mon Jul 29 10:42:24 2019 +0000

    Set cinder's my_ip based on SERVICE_IP_VERSION value

    Devstack's lib/cinder set the my_ip on cinder side but it
    hard-code it with HOST_IP[1]. It is no issue for IPv4 env
    but when you build or run the IPv6 job then this ip is left
    to set with IPv6. my_ip should be set to HOST_IP or HOST_IPV6
    based on SERVICE_IP_VERSION value.

    As part of Train community goal 'Support IPv6-Only Deployments',
    we will expand the 'devstack-tempest-ipv6' job to do IPv6-only
    deployments verification so we need fix the the my_ip setting.

    Closes-Bug: #1838250

    Depends-On: https://review.opendev.org/#/c/677524/

    [1]https://github.com/openstack/devstack/blob/6aeaceb0c4ef078d028fb6605cac2a37444097d8/lib/cinder#L231

    Change-Id: I71c74e46467a5d3c1bf9c7d683f364cba7cf9d80

Changed in devstack:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.