Bug 31969 - [dns/host_record] Objects can not be found if no of the attributes 'aRecord', 'aAAARecord', or 'mXRecord' is set
Summary: [dns/host_record] Objects can not be found if no of the attributes 'aRecord',...
Status: RESOLVED DUPLICATE of bug 32235
Alias: None
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
Version: UNSTABLE
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 3.x
Assignee: UMC maintainers
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-12 16:08 CEST by Lukas Walter
Modified: 2018-04-13 13:28 CEST (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Walter univentionstaff 2013-07-12 16:08:10 CEST
UDM can not find dns/host_records if not at least one of the attributes 'aRecord', 'aAAARecord', or 'mXRecord' is set.

root@master10:~# univention-ldapsearch relativeDomainName=some_host
# some_host, foo.bar, ucs.dev
dn: relativeDomainName=some_host,zoneName=foo.bar,dc=ucs,dc=dev
objectClass: top
objectClass: dNSZone
objectClass: univentionObject
univentionObjectType: dns/host_record
relativeDomainName: some_host
dNSTTL: 10800
zoneName: foo.bar

root@master10:~# udm dns/host_record list --superordinate zoneName=foo.bar,dc=ucs,dc=dev
(no result)


This is caused by a broken identify() function in the dns/host_record.py module, where at least one of the attributes 'aRecord', 'aAAARecord', or 'mXRecord' is expected, otherwise the object will not be classified as dns/host_record.
Comment 1 Florian Best univentionstaff 2016-11-05 00:35:45 CET

*** This bug has been marked as a duplicate of bug 32235 ***