Bug 56313 - Create a computer object via udm sets none dns entries for the object.
Create a computer object via udm sets none dns entries for the object.
Status: NEW
Product: UCS
Classification: Unclassified
Component: UMC - Computers
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0-4-errata
Assigned To: Florian Best
:
Depends on: 55459
Blocks:
  Show dependency treegraph
 
Reported: 2023-07-14 09:12 CEST by Mirac Erdemiroglu
Modified: 2024-03-11 11:55 CET (History)
12 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?: 1: Will affect a very few 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.057
Enterprise Customer affected?: Yes
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2023071421000147
Bug group (optional): Regression
Max CVSS v3 score:


Attachments
test30UDM_none_dns_entries_after_create (64.70 KB, image/png)
2024-03-11 11:13 CET, Mirac Erdemiroglu
Details
testUDM_with_dns_entries_manually_added (63.23 KB, image/png)
2024-03-11 11:13 CET, Mirac Erdemiroglu
Details

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Florian Best univentionstaff 2023-07-14 09:15:11 CEST
OK, valid point.

For now, until we publish a fix, dnsForward/ReverseZone and dhcpServer must be set explicitly if a custom IP is used with a network.
btw. why does the customer need to assign a network at all if nothing from it isn't used at all?
Comment 6 Mirac Erdemiroglu univentionstaff 2024-03-11 11:10:45 CET
I apologize if there was not enough information on the bug. 

I have been able to reproduce the customer statement on my test system and no DNS entries are created for the object that I previously created correctly via UDM.


My Test-System:
univention-app info
UCS: 5.0-6 errata974

ucr search --brief role
samba4/role: DC
server/role: domaincontroller_master
system/setup/boot/select/role: true

I add attachments to clarify the failure.


Used commands to create the object:

udm computers/ipmanagedclient create --position "cn=memberserver,cn=computers,dc=miro,dc=intranet" --set name="test30UDM" --set ip="172.168.178.30" --set network="cn=UCS-Net,cn=networks,dc=miro,dc=intranet"


udm computers/ipmanagedclient list --filter cn=test30UDM
cn=test30UDM
DN: cn=test30UDM,cn=memberserver,cn=computers,dc=miro,dc=intranet
  description: None
  domain: None
  fqdn: None
  ip: 172.168.178.30
  name: test30UDM
  network: cn=UCS-Net,cn=networks,dc=miro,dc=intranet


----------------------------------------------------------

udm computers/ipmanagedclient create --position "cn=memberserver,cn=computers,dc=miro,dc=intranet" --set name="testUDM" --set ip="172.168.178.11" --set network="cn=UCS-Net,cn=networks,dc=miro,dc=intranet"


After i add the DNS entries manually via UMC, i get of course the DNS Settings, but this is the regression at this point.


udm computers/ipmanagedclient list --filter cn=testUDM
cn=testUDM
DN: cn=testUDM,cn=memberserver,cn=computers,dc=miro,dc=intranet
  description: None
  dnsEntryZoneForward: zoneName=ucs-net.intranet,cn=dns,dc=miro,dc=intranet 172.168.178.11
  dnsEntryZoneReverse: zoneName=178.168.172.in-addr.arpa,cn=dns,dc=miro,dc=intranet 172.168.178.11
  domain: ucs-net.intranet
  fqdn: testUDM.ucs-net.intranet
  ip: 172.168.178.11
  name: testUDM
  network: cn=UCS-Net,cn=networks,dc=miro,dc=intranet

-----------------------------------------------------------

In the past we had 2 errata updates for the UDM, so those could be the source for the failure.

https://errata.software-univention.de/#/?erratum=5.0x740
https://errata.software-univention.de/#/?erratum=5.0x739

Information from the customer, before the updates were installed, the DNS entries were created correctly.
He compared it with a system UCS 5.0-4 errata 726 on which it works correctly.
Comment 7 Mirac Erdemiroglu univentionstaff 2024-03-11 11:13:16 CET
Created attachment 11200 [details]
test30UDM_none_dns_entries_after_create
Comment 8 Mirac Erdemiroglu univentionstaff 2024-03-11 11:13:54 CET
Created attachment 11201 [details]
testUDM_with_dns_entries_manually_added