Closed mohatb closed 5 years ago
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.
Hello Team - any update ?
When I SSH'd into the computer I found that the file still had the template placeholders in it, e.g.
$ cat /opt/azure/containers/setup-custom-search-domains.sh
--
#!/bin/bash
set -x
source /opt/azure/containers/provision_source.sh
echo " dns-search <searchDomainName>" \| tee -a /etc/network/interfaces.d/50-cloud-init.cfg
systemctl_restart 20 5 10 restart networking
wait_for_apt_locks
retrycmd_if_failure 10 5 120 apt-get -y install realmd sssd sssd-tools samba-common samba samba-common python2.7 samba-libs packagekit
wait_for_apt_locks
echo "<searchDomainRealmPassword>" \| realm join -U <searchDomainRealmUser>@$(echo "<searchDomainName>" \| tr /a-z/ /A-Z/) $(echo "<searchDomainName>" \| tr /a-z/ /A-Z/)
digging in the code a bit this morning I saw a file name kubelet.sh
that had a sed
command that looked like it should fix this; perhaps kubelet.sh now doesn't happen until after this file is invoked?
If you try to do this on a ubuntu 18.04 based image ("distro": "aks-ubuntu-18.04",
) it won't work because the first line is to add to /etc/network/interfaces.d/50-cloud-init.cfg
, which doesn't exist as ifupdown
has been replaced with netplan
@unwashedmeme check https://github.com/Azure/aks-engine/pull/1635
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug
When using customSearchDomain the deployment fails with the below error:
looking at code 80 and I see it related to setup setup-custom-search-domains.sh https://github.com/Azure/acs-engine/blob/master/parts/k8s/setup-custom-search-domains.sh
++ when ssh to the master node and looking at cluster-provision.log we see the below error at the end of the file.
sudo: unable to resolve host k8s-master-34763407-0
Steps To Reproduce
Expected behavior
AKS Engine version
Version: v0.37.4 GitCommit: 9e8364ee9 GitTreeState: clean
Kubernetes version
latest provided by aks-engine
Additional context