Bug 49042 - static IP configuration 127.0.1.1 left-over from USS breaks Samba KDC
static IP configuration 127.0.1.1 left-over from USS breaks Samba KDC
Status: NEW
Product: UCS
Classification: Unclassified
Component: UCS Installer
UCS 4.4
All Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-03-19 17:17 CET by Philipp Hahn
Modified: 2019-05-07 12:59 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 5: Will affect all 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.229
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Ticket number:
Bug group (optional):
Max CVSS v3 score:
hahn: Patch_Available+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2019-03-19 17:17:36 CET
netcfg/4.3-0-0-ucs/1.143/0001-Bug-35435-d-i-Write-UCR-net-configuration.patch configures a static IP address mapping for 127.0.1.1 to the FQDN. This mapping persists even after USS has finished.
Resolving the FQDN might then return 127.0.1.1.
When the UMC diagnostics check "22_kdc_service" uses that address to check the reachability of the Samba KDC, it fails as Samba only listens on 127.0.0.1 and the real IP, but *not* on 127.0.1.1.

The UCRV hosts/static/127.0.1.1 should be removed after successfully provisioning the UCS system by USS.
+++ This bug was initially created as a clone of Bug #35435 comment 3 +++
Comment 1 Philipp Hahn univentionstaff 2019-03-19 17:18:19 CET
UCS technical training 2019-03-21/22
Comment 2 Philipp Hahn univentionstaff 2019-05-06 13:06:06 CEST
UCS technical training 2019-05-08/09
Comment 3 Philipp Hahn univentionstaff 2019-05-06 17:00:16 CEST
git:phahn/49042-host-static-netcfg
Comment 4 Felix Botner univentionstaff 2019-05-07 12:59:25 CEST
good catch, this is also the reason for the "yellow" net installer tests 

-> more /etc/hosts
...

127.0.0.1	localhost
192.168.153.21	slave1.netinstaller.local slave1
127.0.1.1	slave1.netinstaller.local slave1

-> 
E     Exception: ############################
E     ## Check failed: 22_kdc_service - KDC service check
E     The following KDCs were unreachable: tcp slave1.netinstaller.local:88, udp slave1.netinstaller.local:88
E     ########### End #############

81_diagnostic_checks.py:28: Exception

added workaround (ucr unset hosts/static/127.0.1.1) in net-installer.cfg, please remove if this is fixed