Bug 44078 - DNS module shows duplicate entries
DNS module shows duplicate entries
Status: RESOLVED DUPLICATE of bug 40839
Product: UCS
Classification: Unclassified
Component: UMC - DNS
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
: 39864 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-03-27 09:39 CEST by Philipp Hahn
Modified: 2021-04-27 11:07 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.171
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
Screenshot (30.77 KB, image/png)
2017-03-27 12:44 CEST, Florian Best
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2017-03-27 09:39:30 CEST
I creates some DNS entries through CLI;
UMC-Web shows 'dc0' twice, once with IP addresses, once without:

request:
{"options":{"superordinate":"zoneName=phahn.test,dc=pt42m,dc=intranet","hidden":false,"objectType":"dns/dns","objectProperty":"None","objectPropertyValue":"","container":"zoneName=phahn.test,dc=pt42m,dc=intranet","scope":"one","fields":["name","$value$","labelObjectType"]},"flavor":"dns/dns"}

response:
{"status": 200, "message": null, "result": [
{"$dn$": "relativeDomainName=dc0,zoneName=phahn.test,dc=pt42m,dc=intranet", "name": "dc0", "$value$": [["192.168.122.4", "2001:4dd0:ff00:8c42:ff17:0123:4567:89ab"]], "$childs$": false, "labelObjectType": "Host Record", "path": "intranet.pt42m:/phahn.test", "$operations$": ["add", "edit", "remove", "search"], "$flags$": [], "objectType": "dns/host_record"},
{"$dn$": "relativeDomainName=dc0,zoneName=phahn.test,dc=pt42m,dc=intranet", "name": "dc0", "$value$": [null], "$childs$": false, "labelObjectType": "Host Record", "path": "intranet.pt42m:/phahn.test", "$operations$": ["add", "edit", "remove", "search"], "$flags$": [], "objectType": "dns/host_record"}]}
Comment 1 Florian Best univentionstaff 2017-03-27 11:56:22 CEST
Is UDM CLI showing it twice, too?
How did you create it?
Comment 2 Florian Best univentionstaff 2017-03-27 12:43:04 CEST
The problem is that this object is detected as dns/txt_record and dns/host_record. There is somewhere already a bug for this.

root@dc0:~# udm dns/txt_record list --superordinate zoneName=phahn.test,dc=pt42m,dc=intranet

DN: relativeDomainName=dc0,zoneName=phahn.test,dc=pt42m,dc=intranet
ARG: None
  txt: Text
  name: dc0
  zonettl: 3 hours

root@dc0:~# udm dns/host_record list --superordinate zoneName=phahn.test,dc=pt42m,dc=intranet

DN: relativeDomainName=dc0,zoneName=phahn.test,dc=pt42m,dc=intranet
ARG: None
  a: 192.168.122.4
  a: 2001:4dd0:ff00:8c42:ff17:0123:4567:89ab
  txt: Text
  mx: 10 dc0.pt42m.intranet
  name: dc0
  zonettl: 3 hours
Comment 3 Florian Best univentionstaff 2017-03-27 12:44:25 CEST
Created attachment 8655 [details]
Screenshot
Comment 4 Philipp Hahn univentionstaff 2017-03-28 11:27:41 CEST
I thinks this is the reverse of Bug #36642
Comment 5 Philipp Hahn univentionstaff 2017-03-29 10:38:48 CEST
*** Bug 39864 has been marked as a duplicate of this bug. ***
Comment 6 Philipp Hahn univentionstaff 2021-04-27 11:07:19 CEST
Fixed with git:18746283071edd46d06602f4b76c621949d43874 since UCS 4.2 July 2017

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