perfsonar-user - Re: [perfsonar-user] perfSONAR hostname not resolving
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: Andrew Lake <>
- To: , Murilo Vetter <>
- Subject: Re: [perfsonar-user] perfSONAR hostname not resolving
- Date: Wed, 10 Jul 2019 08:31:46 -0500
Hi,
The pSConfig agent detects addresses by listing all the interfaces it can see, getting the IPs and doing reverse look-ups on the addresses. I am not sure your exact host setup, but it looks like a couple of those names map to the same address. The code is going to have a hard time figuring out names or interfaces not visible to it if you used those in your template. If you want to explicitly tell it which addresses it should look at in these cases you can add “match-addresses” in /etc/perfsonar/psconfig/pscheduler-agent.json. Example below:
"match-addresses":{
}
Thanks,
Andy
On July 10, 2019 at 8:26:10 AM, Murilo Vetter () wrote:
--Hi List,I am having some trouble about hostname resoluting.Here we are using hostnames on perfSONAR matrix.In some hosts, it seems it is not resolving as I can see in the logs:--2019/07/10 09:15:43 DEBUG pid=234 prog=perfSONAR_PS::PSConfig::PScheduler::Agent::_run_start line=113 guid=66BB449A-A30C-11E9-A41F-D69E42E8E0A6 pscheduler_assist_url=https://localhost/pscheduler match_addresses=["200.128.2.20","monipe-ba-perfsonar","172.17.0.1","200.128.2.21"] msg=Auto-detected match addresses--In a host that it is working, it logs as below:--2019/07/10 08:18:46 DEBUG pid=45729 prog=perfSONAR_PS::PSConfig::BaseAgent::run line=208 guid=7BD7E2E6-A304-11E9-9543-464971BACEAF agent_conf_file=/etc/perfsonar/psconfig/pscheduler-agent.json requesting_agent={"monipe-sc-atraso.rnp.br":{"address":"monipe-sc-atraso.rnp.br"},"200.237.196.20":{"address":"200.237.196.20"},"200.237.196.19":{"address":"200.237.196.19"},"172.17.0.1":{"address":"172.17.0.1"},"monipe-sc-banda.rnp.br":{"address":"monipe-sc-banda.rnp.br"},"monipe-sc-perfsonar":{"address":"monipe-sc-perfsonar"}} msg=Auto-detected requesting agent--In the host that is not resolving DNS, it does not schedule.In the host it seems it is resolving DNS:[root@monipe-ba-perfsonar /]# hostname -Amonipe-ba-atraso.rnp.br monipe-ba-banda.rnp.br monipe-ba-perfsonarAny help to solve this problem?Regards,Murilo Vetter
To unsubscribe from this list: https://lists.internet2.edu/sympa/signoff/perfsonar-user
- [perfsonar-user] perfSONAR hostname not resolving, Murilo Vetter, 07/10/2019
- Re: [perfsonar-user] perfSONAR hostname not resolving, Andrew Lake, 07/10/2019
Archive powered by MHonArc 2.6.19.