Bamboo remote agent hostname in System Properties tab is showing an unexpected value
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
要約
Bamboo Administration >> Agents >> (remote agent) >> System properties (tab) is showing an unexpected (or incorrect / wrong) value for hostname.
For example, on the below tab:
原因
The Java API used by the Bamboo remote agent will attempt to resolve the canonical hostname of the IP Address on the preferred network interface. It may not always match the hostname set on the machine or previously saved as the agent name into $BAMBOO_AGENT_HOME/bamboo-agent.cfg.xml
In the above example, ip-192-168-1-66.ap-southeast-2.compute.internal
is resolved by the DNS lookup for 192.168.1.66
.
ソリューション
Confirm with nslookup
whether the DNS resolution for the reported IP address matches the hostname reported. If it does and it's unexpected, you'll need to correct it within your DNS resolver.
Otherwise it may be an incorrect mapping in your hosts
file (/etc/hosts
or C:\Windows\System32\Drivers\etc\hosts)