Skip to Content.
Sympa Menu

perfsonar-user - [perfsonar-user] pscheduler client localhost resolution

Subject: perfSONAR User Q&A and Other Discussion

List archive

[perfsonar-user] pscheduler client localhost resolution


Chronological Thread 
  • From: Ezra Kissel <>
  • To:
  • Subject: [perfsonar-user] pscheduler client localhost resolution
  • Date: Wed, 16 Jan 2019 18:03:02 -0500
  • Ironport-phdr: 9a23:JAyTXBd+4urcQBwGzvlBmoSvlGMj4u6mDksu8pMizoh2WeGdxcS6Zx7h7PlgxGXEQZ/co6odzbaO4+a4ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTahYr5+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v6bpgRh31hycdLzM37mHZhNFzgqxVrh2uqABwzYHPbYGJNvdzZL/Rcc8USGdDWMtaSixPApm7b4sKF+cPMudZr5PnqFATqBW+BBKsBPjxxT9Mm3T72rM10uUiEQHHxwwgBMwBsHDPodX0MqcdTOG1w7POzTrZdf9Zxyry6JXRfx0nvPqCU7Vwcc/LxkkuEQPIllqQqY35PzOVy+QCqHKX4PZnVeKqk2InqgdxrSWuxsg2jInGnJgZxU7Z+iVkxos+ON62SFZjbNK5HpZduDuWOop1T884XW1kpjo2xqcItJKlZCQG1ZoqywPFZ/Cab4SF4wjvWeWLLTtlhH9od7SyjAuo/0e60O3zTMy03U5KriVbltnMsWgA1wbU6secS/t9+F2t2SuO1wDP8eFIO0E0lbfBJ5E/37Ewi4IfsUXFHiDohEX7lLKae0sr9+Sy6unqYa/qqoGCO4NokA3zPLoiltS6AesiMwgOW2ab+f671L3m5UD2XrRLjv43kqnCq5DVO8Abq7W4Aw9Tz4kj6gywDzG839gCg3YIMU9FdAqdj4f1I1HOPOz4DfCnjlS0jjhr3f7GPqbmApXLNHfDiq7tfatm60FC0go+1tRf55NPCrEdO/L/RFX9tN3eDh8lLQO02eDnB8th1o8AQ26AHLKWML6B+WOPs/oiOeeXY4kconPgMPU/z//okXIjn1IBJ++k0YZERmq/G6FLMV+QKVntmcwMFS9esxg9TffxhVmqUDhfZn+0VuQx6ixtW9HuNpvKWo342O/J5yy8BJADPm0=

Hi,

After performing a CentOS 7 bundle install of 4.1 and pointing the pscheduler instance to an existing Mesh configuration, the scheduler works correctly and is running tests according to the pscheduler log. However, the Toolkit webUI, and output of 'psconfig pscheduler-tasks' is empty.

Looking at the output of /var/log/perfsonar/psconfig-pscheduler-agent-transactions.log we see the following Errors:

2019/01/16 13:25:01 INFO guid=0948A0DE-19BC-11E9-976C-E03174F665AE action=list url=https://localhost/pscheduler msg=Getting task list from https://localhost/pscheduler
2019/01/16 13:25:01 ERROR guid=0948A0DE-19BC-11E9-976C-E03174F665AE action=list url=https://localhost/pscheduler msg=Error getting hostname from https://localhost/pscheduler: HTTP/1.1 404 Not Found
2019/01/16 13:25:01 ERROR guid=0948A0DE-19BC-11E9-976C-E03174F665AE url=https://localhost/pscheduler action=check_assist_server msg=Error checking assist server: HTTP/1.1 404 Not Found

However, this URL is perfectly resolvable from the command line:

[ezkissel@um-ps01 ~]$ curl https://localhost/pscheduler/tasks -k
["https://localhost/pscheduler/tasks/8917f287-0d7e-4d74-bedc-4010cb5ca9c4";, "https://localhost/pscheduler/tasks/6fa7615c-5273-4c39-b1e1-5503d172c26c";, "https://localhost/pscheduler/tasks/e4be97b3-e44d-4a32-8b6f-ceb2de76d556";, "https://localhost/pscheduler/tasks/e173668d-9d38-424d-9e97-3035506323de";, "https://localhost/pscheduler/tasks/7cebe09a-16b3-403c-beb7-eced912dfda7";, "https://localhost/pscheduler/tasks/5b14b6b0-c180-46c8-90cc-4b2e56b37543";, "https://localhost/pscheduler/tasks/e8fa8d3e-98a7-45e1-9d96-ea07a6a2cc0c";, "https://localhost/pscheduler/tasks/a198de56-f1a0-43ea-b9b3-27492cd249cc";, "https://localhost/pscheduler/tasks/41a339dc-d63f-4c38-9502-7c4e6317dd07";]

For context, this is the second host we setup in this manner, i.e. using the CentOS bundle install. The first one is working fine but it is a single-homed host. The same log above on the first host shows the pscheduler client is using the FQDN instead of localhost. This second host is multi-homed but 'localhost' resolution is working fine so it's unclear why that resolution is failing.

https://github.com/perfsonar/perl-shared/blob/master/lib/perfSONAR_PS/Client/PScheduler/TaskManager.pm#L118

Another data point is that /var/lib/perfsonar/psconfig/psc_tracker is not generated on the second, multi-homed host. We are not sure if this is a symptom of the previous errors or the cause. On the first host that file is generated and works correctly:

[ezkissel@iu-ps01 ~]$ cat /var/lib/perfsonar/psconfig/psc_tracker
{
"archives" : {
"+afor695Bl0KlYEfcsJW/Q" : "nzmF+zjtFIb6seWzuIpYmQ",
"HMdfRseLSjUtK0X1GXnvfA" : "HMdfRseLSjUtK0X1GXnvfA"
},
"leads" : {
"https://iu-ps01.open.sice.indiana.edu/pscheduler"; : {
"success_time" : 1547647170
}
}
}

We are at a loss at the moment as the two hosts are nearly identical configuration-wise except that one is multi-homed and the other is not.

Any ideas?

thanks,
- ezra



Archive powered by MHonArc 2.6.19.

Top of Page