FengXiaohu created AMBARI-26017:
-----------------------------------

             Summary: ambari-agent host registration failed, `public_host_name` 
field is too long
                 Key: AMBARI-26017
                 URL: https://issues.apache.org/jira/browse/AMBARI-26017
             Project: Ambari
          Issue Type: Bug
          Components: ambari-agent, ambari-server
    Affects Versions: trunk, 2.6.2
            Reporter: FengXiaohu
         Attachments: image-2023-10-23-17-27-29-741.png, 
image-2023-10-23-17-28-47-606.png, image-2023-10-23-17-29-31-124.png

In ambari version 2.6, my centos service can connect to the external public 
network. When I installed ambari, the following error messageĀ 

!image-2023-10-23-17-27-29-741.png|width=615,height=133!

appeared when registering the agent node. I temporarily expanded the 
hosts.public_host_name field in the pgsql database to character varying(30000) 
and found that this field stored A very long html code,I checked the code for 
registering the host in the agent and found that there is an IP address of 
169.254.169.254. My host can work with this IP. After I changed this code to 
the following form,

!image-2023-10-23-17-28-47-606.png|width=536,height=135!

change

!image-2023-10-23-17-29-31-124.png|width=562,height=135!

the host registration was normal after restarting ambari-agent. , there is no 
error message in ambari-server. I feel this problem is a bug.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to