Bug 1400597

Summary: named zone refresh: failure trying master operation cancelled
Product: Red Hat Enterprise Linux 7 Reporter: Sham Antony <santony>
Component: bindAssignee: Petr Menšík <pemensik>
Status: CLOSED INSUFFICIENT_DATA QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: high    
Version: 7.3CC: mruprich, psklenar, santony, thozza
Target Milestone: rcFlags: mruprich: needinfo? (santony)
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-15 14:48:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1420851, 1465928    
Attachments:
Description Flags
slave named conf
none
named and firewalld conf from Master none

Description Sham Antony 2016-12-01 15:03:36 UTC
Description of problem:

Port 53 udp & tcp are opened in firewalld, able to connect to master through port 53.

But getting following failure message when firewalld is turned on

info: zone xxxxxxx/xxxx: refresh: failure trying master x.x.x.x#53 (source 0.0.0.0#0): operation cancelled

Version-Release number of selected component (if applicable):

bind-chroot-9.9.4-38.el7_3.x86_64

How reproducible:

Always when firewalld is turned on

Steps to Reproduce:

1: Setup Master Slave DNS (Chroot)

2: Configure logging on Slave

logging {
        channel chrooted_logfile {
                file "/var/log/named";
                severity info;
                print-time yes;
                print-category yes;
                print-severity yes;
        };
        channel debug_chrooted_logfile {
                file "/var/log/debug_named";
                severity debug;
                print-time yes;
                print-category yes;
                print-severity yes;
        };
        category default { chrooted_logfile; };
        category notify { chrooted_logfile; };
        category config { chrooted_logfile; };
        category update { chrooted_logfile; };
        category lame-servers { null; };
        category resolver { null; };
        category database { null; };
        category security { chrooted_logfile; };
        category xfer-in { chrooted_logfile; };
        category xfer-out { chrooted_logfile; };
};


3: Turn on firewalld on Slave

4: Check debug log

Actual results:

failure trying master operation cancelled

Expected results:

The error should not appear.

Comment 9 Sham Antony 2017-09-18 05:00:39 UTC
Created attachment 1327162 [details]
slave named conf

Comment 16 Sham Antony 2017-10-13 06:44:59 UTC
Created attachment 1338098 [details]
named and firewalld conf from Master