perfsonar-user - Re: [perfsonar-user] [EXTERNAL] Re: pscheduler throughput task failing on multihomed test host.
Subject: perfSONAR User Q&A and Other Discussion
List archive
Re: [perfsonar-user] [EXTERNAL] Re: pscheduler throughput task failing on multihomed test host.
Chronological Thread
- From: "Uhl, George D. (GSFC-423.0)[SGT INC]" <>
- To: Andrew Lake <>, "Uhl, George D. (GSFC-423.0)[SGT INC]" <>, "" <>
- Subject: Re: [perfsonar-user] [EXTERNAL] Re: pscheduler throughput task failing on multihomed test host.
- Date: Thu, 29 Aug 2019 14:55:14 +0000
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nasa.gov; dmarc=pass action=none header.from=nasa.gov; dkim=pass header.d=nasa.gov; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zMXTkGfWh10Xkq1QQmHbDsOxih7pvEciuZTiScdXf9I=; b=j72l9ZYLCGSU5RTGN6div1xoRunPEhM3raLHwDe4Zp6oYr3AxKHplwA4ve8pQy1XxUT/5prUSXuNm3f/dAHNy/8blxYd7CiBpCr17kCFNx6cnufhz2K0n7zI6xrPoAw7ot1nNE2n4J7SWSNX8DXMq+1k2Os7v0AJakM9QX+VJypkVjIweBoKnjwke3G3JzhlfyUAWo5Gv/smOjcbtfReHXsLlJywWLsOI23JRUCoXwFxE3oY2ik8P8RYvt6CLXo7NCMG4XzOlArgbZ415Y9OCYQYQnYBA/4yAFxzlzr10rmyH0R+KF4Y+axRTsyRjklleCPq5EtRitC5RuPYkWekFA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dP3aoHg5E6YJC7eP9Nd35UJG8SuGNq2D0zKNNutwfTQ0Sh4WonUQEAOwDsTO6xJsD7imKuRiTbhh9El45kn9qMF39gH7Po3JF70f7upP5DEHQ2yHbj0vLIQVH+quysUbLl32Gq3C0u/p25CRsK/CnlxgTygpOMtg5UnkwvWv5Za4TBf9zCDrDmxnqOhtYI+OpKpCdAavmfyxuK1+sk8fep5ZC6Rhy/TOCl0RoWBpr2zPD1TazTI1n3HLDTXpbL80hiP8CXJuFz+QTxSq6KFvC675djuBfq6wKVlxr5QBVxyRTZrI7hVkiv3C4ennUop1f/3ESFHc0JQ8ingp3TXyUA==
- Dkim-filter: OpenDKIM Filter v2.11.0 ndmsvnpf102.ndc.nasa.gov C9844400A7B3
Andy,
I tried the –lead-bind option and I’m getting a Type error - “invalid arguments to setopt”. I tried this on another multihomed server and received the same error.
Thanks, George
# pscheduler task --lead-bind xxx.xxx.8.206 throughput --source xxx.xxx.8.206 --dest xxx.xxx.197.28 Submitting task... Failed to post task: Internal problem; see system logs.
The 'pscheduler troubleshoot' command may be of use in problem diagnosis. 'pscheduler troubleshoot --help' for more information.
Aug 29 14:47:14 [localhost] journal: pscheduler-api ERROR Exception: TypeError: invalid arguments to setopt Aug 29 14:47:14 [localhost] journal: pscheduler-api ERROR Traceback (most recent call last): Aug 29 14:47:14 [localhost] journal: pscheduler-api ERROR File "/usr/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request Aug 29 14:47:14 [localhost] journal: pscheduler-api ERROR rv = self.dispatch_request() Aug 29 14:47:14 [localhost] journal: pscheduler-api ERROR File "/usr/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request Aug 29 14:47:14 [localhost] journal: pscheduler-api ERROR return self.view_functions[rule.endpoint](**req.view_args) Aug 29 14:47:14 [localhost] journal: pscheduler-api ERROR File "./pschedulerapiserver/tasks.py", line 387, in tasks Aug 29 14:47:14 [localhost] journal: pscheduler-api ERROR File "/usr/lib/python2.7/site-packages/pscheduler/psurl.py", line 102, in url_get Aug 29 14:47:14 [localhost] journal: pscheduler-api ERROR curl = PycURLRunner(url, params, bind, timeout, allow_redirects, headers, verify_keys) Aug 29 14:47:14 [localhost] journal: pscheduler-api ERROR File "/usr/lib/python2.7/site-packages/pscheduler/psurl.py", line 39, in __init__ Aug 29 14:47:14 [localhost] journal: pscheduler-api ERROR self.curl.setopt(pycurl.INTERFACE, bind) Aug 29 14:47:14 [localhost] journal: pscheduler-api ERROR TypeError: invalid arguments to setopt Aug 29 14:47:14 [localhost] journal: pscheduler-api ERROR Internal error 158.39.8.206 POST https://158.39.8.206/pscheduler/tasks: Internal problem; see system logs.
From: Andrew Lake <>
Hi George,
I think you just got the wrong bind option set because there are a couple similar-looking ones that do slightly different things. I think what you want is the following:
pscheduler task --lead-bind xxx.xxx.8.206 throughput --source xxx.xxx.8.206 --dest xxx.xxx.197.28
It looks like its not binding to the right interface when the source pScheduler server tries to talk to the destination server to figure out what tools it supports. The --lead-bind option between “task” and “throughput” tells the lead (the source in this case) to bind to the supplied address when talking to the dest to pass around pscheduler messages. The -B option you gave after “throughput” tells iperf where to bind, but the task you shared is not even getting to that point. I don’t think you need the -B, iperf should bind to the source automatically.
Thanks, Andy
On August 28, 2019 at 11:24:53 AM, Uhl, George D. (GSFC-423.0)[SGT INC] () wrote:
|
- [perfsonar-user] pscheduler throughput task failing on multihomed test host., Uhl, George D. (GSFC-423.0)[SGT INC], 08/28/2019
- Re: [perfsonar-user] pscheduler throughput task failing on multihomed test host., Andrew Lake, 08/29/2019
- Re: [perfsonar-user] [EXTERNAL] Re: pscheduler throughput task failing on multihomed test host., Uhl, George D. (GSFC-423.0)[SGT INC], 08/29/2019
- Re: [perfsonar-user] pscheduler throughput task failing on multihomed test host., Andrew Lake, 08/29/2019
Archive powered by MHonArc 2.6.19.