Univention Bugzilla – Full Text Bug Listing |
Summary: | App Appliance: Some LDAP objects still contain default network address | ||
---|---|---|---|
Product: | UCS | Reporter: | Alexander Kläser <klaeser> |
Component: | System setup | Assignee: | Erik Damrose <damrose> |
Status: | CLOSED FIXED | QA Contact: | Florian Best <best> |
Severity: | normal | ||
Priority: | P5 | CC: | damrose, gohmann |
Version: | UCS 4.1 | ||
Target Milestone: | UCS 4.2-0-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | Bug Report | What type of bug is this?: | 2: Improvement: Would be a product improvement |
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.023 | Enterprise Customer affected?: | |
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | Appliance, Cleanup | |
Max CVSS v3 score: |
Description
Alexander Kläser
2016-12-08 15:25:34 CET
Its worse in UCS 4.2, as the IP adresses for installed apps on the portal is also not updated. There was no nice mechanism to update the information for portal_entry objects until bug #43671 was fixed. Now the old ip address has to be set as an 'old' ip address during reconfiguration in system setup, lets set UCR system/setup/boot/old_ipv4 QA: no old ip address should be in the app appliance after fast demo mode was selected (grep for 10.203) r79433 univention-system-setup 10.0.10-17A~4.2.0.201705181750 r79434 yaml r79435 configure UCRv during appliance creation @Erik: how can I test this? @Florian: Grab an old UCS 4.1 appliance, e.g. kopano: /var/univention/buildsystem2/mirror/appcenter/univention-apps/4.1/kopano-core/ Install and select fast demo mode in system setup. The LDAP will not be re-provisioned. After activating the appliance, search the LDAP for old ip addresses, starting with 10.203... In a new appliance, e.g. /var/univention/buildsystem2/mirror/appcenter.test/univention-apps/4.2/kopano-core/, all ip addresses should have been updated to the one configured during system setup, when fast demo mode is selected. The current appliances don't boot into the system setup but show a login prompt. For the QA I used omar:/var/univention/buildsystem2/temp/edamrose/Univention-App-kopano-core-virtualbox.ova which has an old system setup installed. I installed the latest version manually and ucr set system/setup/boot/old_ipv4=10.203.10.40. Prior the following ldap entries exixted: root@master:~# univention-ldapsearch -LLL | ldapsearch-wrapper | grep 10\.2 aRecord: 10.200.27.202 aRecord: 10.203.10.40 sambaSID: S-1-5-21-2143303088-2788026720-2782765010-11012 univentionNextIp: 10.200.27.1 univentionNetwork: 10.200.27.0 univentionDhcpDomainNameServers: 10.203.10.40 sambaPrimaryGroupSID: S-1-5-21-2143303088-2788026720-2782765010-11012 aRecord: 10.200.27.202 univentionPortalEntryLink: http://10.203.10.40/webapp univentionPortalEntryLink: https://10.203.10.40/webapp univentionPortalEntryLink: https://10.203.10.40/webmeetings univentionPortalEntryLink: http://10.203.10.40/webmeetings univentionPortalEntryLink: https://10.203.10.40/univention/portal/ univentionPortalEntryLink: http://10.203.10.40/univention/portal/ After a reboot with system setup the following correct entries exists: # univention-ldapsearch -LLL | ldapsearch-wrapper | grep 10\.2 aRecord: 10.200.27.202 aRecord: 10.200.27.202 sambaSID: S-1-5-21-2143303088-2788026720-2782765010-11012 univentionNextIp: 10.200.27.1 univentionNetwork: 10.200.27.0 univentionDhcpDomainNameServers: 10.200.27.202 sambaPrimaryGroupSID: S-1-5-21-2143303088-2788026720-2782765010-11012 aRecord: 10.200.27.202 univentionPortalEntryLink: http://10.200.27.202/webapp univentionPortalEntryLink: https://10.200.27.202/webapp univentionPortalEntryLink: https://10.200.27.202/webmeetings univentionPortalEntryLink: http://10.200.27.202/webmeetings univentionPortalEntryLink: http://10.200.27.202/univention/portal/ univentionPortalEntryLink: https://10.200.27.202/univention/portal/ # ucr get system/setup/boot/old_ipv4 I reproduced the problem on a UCS 4.1 System. |