Bug 39913 - No update of ucs-sso record on ip address change
No update of ucs-sso record on ip address change
Status: REOPENED
Product: UCS
Classification: Unclassified
Component: SAML
UCS 4.4
Other Linux
: P5 normal with 2 votes (vote)
: UCS 4.1-x
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-12 14:39 CET by Erik Damrose
Modified: 2021-05-12 09:19 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 2: Will only affect a 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.069
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

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Damrose univentionstaff 2015-11-12 14:39:58 CET
There is currently no mechanism which updates the ucs-sso dns record if a master or backup changes its ip address.
Reexecuting 91univention-saml.inst understandably only adds the new ip address
Comment 1 Stefan Gohmann univentionstaff 2019-01-03 07:18:31 CET
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018.

Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact
your partner or Univention for any questions.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.
Comment 2 Felix Botner univentionstaff 2021-05-12 09:19:07 CEST
still happens with UCS 5-0

# ucs-sso, five.new, dns, five.new
dn: relativeDomainName=ucs-sso,zoneName=five.new,cn=dns,dc=five,dc=new
aRecord: 10.200.7.5
aRecord: 10.200.7.7
aRecord: 10.200.7.8
aRecord: 10.200.7.9


(master had 5 as ip, then 7, 8 and 9)

I think everything we need for that is already there.

/usr/sbin/univention-register-network-address
           client.umc_command('ip/change', {
               'ip': configRegistry.get('interfaces/%s/address' % iface),
               'oldip': configRegistry.get('interfaces/%s/fallback/address' % iface),

we just need to remove "oldip" from the ucs-sso record during the ip/change