Skip to content

ipa_dnsrecord: SRV Records are not correctly managed by Identity DNS (IPA) #682

@thekoma

Description

@thekoma

NOTE:
This problem has already been stated in at least 3 issues in the old repo:

ansible/ansible#69621
ansible/ansible#33193
ansible/ansible#66170

There are tentative addressing this problem in the past issues but there is no idempotent solution AFAIK.

SUMMARY

The problem itself:
You should be able to append values to a record or to substitute it if the record already exist.
I.E. Tipically an SRV or a MX record will contain many values and those values may change during time.

ISSUE TYPE
  • Bug Report
COMPONENT NAME

ipa_dnsrecord

ANSIBLE VERSION
ansible 2.9.9
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.6/site-packages/ansible
  executable location = /bin/ansible
  python version = 3.6.8 (default, Dec  5 2019, 15:45:45) [GCC 8.3.1 20191121 (Red Hat 8.3.1-5)]
CONFIGURATION
[root@bastion ~]# ansible-config dump --only-changed
[root@bastion ~]#
OS / ENVIRONMENT
# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.2 (Ootpa)
STEPS TO REPRODUCE
  • Create an SRV record
  • Add a value to the same record
EXPECTED RESULTS
  • You should have two record or one based on a switch that provide if the record should be replaced or appended.
ACTUAL RESULTS
  • The record is updated

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions