When attempting to add a new node to a cluster, the operation fails when attempting to download the metadata from the depreciated repository.
Errors during downloading metadata for repository 'CarbonBlack':
- Curl error (6): Couldn't resolve host name for https://yum.distro.carbonblack.io/enterprise/stable/8/x86_64/repodata/repomd.xml
Error: Failed to download metadata for repo 'CarbonBlack'
The 'yum.distro.carbonblack' repository has been depreciated.
grep -E 'packages.broadcom.com|yum.distro.carbonblack.io' /etc/yum.repos.d/CarbonBlack.repogrep 'gpgkey=' -A 1 /etc/yum.repos.d/CarbonBlack.repo | awk -F'///' '{print "/"$2}' | xargs -I {} sh -c 'scp {} root@remote_host:$(dirname {})'grep 'gpgkey=' -A 1 /etc/yum.repos.d/CarbonBlack.repo | awk -F'///' '{print "/"$2}'/usr/share/cb/cbcluster add-node[CarbonBlack]
name=CarbonBlack
baseurl=https://<user>:<token>@packages.broadcom.com/artifactory/carbonblack-edr/7.9.1-1/$releasever/$basearch
enabled=1
gpgcheck=1
gpgkey=file:///root/cb.asc
file:///root/public.asc
module_hotfixes=1
In the above example, the following files must exist on the node being added:
/root/cb.asc /root/public.asc