openstack-ansible-security newalias task fails if disable_ipv6 true

Bug #1538268 reported by Alex
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Undecided
Major Hayden

Bug Description

If you set disable_ipv6: true, then the newalias rehash task will fail with:

# newaliases
newaliases: fatal: parameter inet_interfaces: no local interface found for ::1
#

as /etc/postfitx/mynetworks contains:

mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128

which does not exist.

Revision history for this message
Bjoern (bjoern-t) wrote :

openstack-ansible is not managing the postfix configuration., I'm not sure how this is related

Revision history for this message
Alex (akrohn) wrote :

Just to be clear, this is openstack-ansible-security project, not openstack-ansible (was told in IRC bugs for that still go here). openstack-ansible-security installs and configures postfix (sets interfaces, turns off relaying, etc)

Changed in openstack-ansible:
assignee: nobody → Major Hayden (rackerhacker)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-security (master)

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

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

Reviewed: https://review.openstack.org/275768
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-security/commit/?id=945bd869f428433d50fefaf523633ac76b699335
Submitter: Jenkins
Branch: master

commit 945bd869f428433d50fefaf523633ac76b699335
Author: Major Hayden <email address hidden>
Date: Wed Feb 3 09:37:37 2016 -0600

    Fix Postfix mynetworks if IPv6 is disabled

    If a deployer sets disable_ipv6 = yes, we should ensure that the
    mynetworks directive in /etc/postfix/main.cf contains only IPv4
    addresses. The `newalias` command fails if IPv6 addresses appear
    in mynetworks but IPv6 is disable system-wide.

    Closes-bug: 1538268
    Change-Id: I45f09d631e9b81554f8463851143fd27c9f51ead

Changed in openstack-ansible:
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.