percona charm resolves A record even when prefer-ipv6=True

Bug #1729572 reported by Edward Hope-Morley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Percona Cluster Charm
Fix Released
Medium
Edward Hope-Morley

Bug Description

the resolve_hostname_ip function is never called with ipv6=True if prefer-ipv6=True which results in it never resolving to AAAA records - https://github.com/openstack/charm-percona-cluster/blob/master/hooks/percona_utils.py#L697

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-percona-cluster (master)

Fix proposed to branch: master
Review: https://review.openstack.org/517292

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

Reviewed: https://review.openstack.org/517292
Committed: https://git.openstack.org/cgit/openstack/charm-percona-cluster/commit/?id=db18bc2f60b9a8d3135264927a91abbff1fc8c3b
Submitter: Zuul
Branch: master

commit db18bc2f60b9a8d3135264927a91abbff1fc8c3b
Author: Edward Hope-Morley <email address hidden>
Date: Thu Nov 2 12:38:41 2017 +0000

    Ensure that we resolve AAAA if prefer-ipv6 is True

    We currently resolve A records regardless of whether
    prefer-ipv6 is True or False. This patch ensures
    that we request AAAA in the case where prefer-ipv6
    is True.

    Change-Id: I0749cd01e504fb4010addcd91bda3a1f32a03fab
    Closes-Bug: 1729572

Changed in charm-percona-cluster:
status: In Progress → Fix Committed
James Page (james-page)
Changed in charm-percona-cluster:
status: Fix Committed → 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.