perfsonar-user - RE: [perfsonar-user] MTU SAFE error ?
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: Louis-Berthier Soullière <>
- To: Louis-Berthier Soullière <>, "" <>
- Subject: RE: [perfsonar-user] MTU SAFE error ?
- Date: Mon, 15 Jul 2019 15:09:23 +0000
- Arc-authentication-results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=ssss.gouv.qc.ca;dmarc=pass action=none header.from=ssss.gouv.qc.ca;dkim=pass header.d=ssss.gouv.qc.ca;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=6p8umeBbksHw4mMlGhKaJynzVC+9UWknmduwPkUngyo=; b=L+aWWD7eXmD2flCPk3T9gmGFM1Y3k4X1qRgsUvJErKtbAGTTqE2+FfDOxTGeh3/zG5k+xmhtax3D5BokDkUmI/sdz0C/NL6Qrnzc82cuMrdX2Z1FC0YOWwBOA98SBC/QCJq7H6/GDzp71fnRNfFvitf4XVjaL0dG4U597XsE5HqSWTWRQyp/l7xDA051jndNbswH9Y3sl0Mg7F6qOICXS9z6YJ6ZNEU35B917Moj3Rmt6mcD7TtUOmsN2J32QsxQxDoeOhtJN5qgxDg+H9QwCMjsD++WKRgMQYjqmJUCVhwAT7CFzx/wcsxlIq5OyRzxM2HnOZee52C7XWf13qXIrQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n57kiHvmXeWrGl7gotkzDLIT5BsyTn1OepMo8vkCQDM0BA6m8XUlkJiX25GLohvojnV7aQTHBFqXYps3BtPxORcuco8JUep9Sr7b40sCJBaesqm+lFGfjNdjlQO0WM9EWywUTXYolgK4qI4jvlO7ocPv4siHsmmv3q9OKNxrnsiTD1z9lomT3B+W9KG/J2aUHXY2LDdxYevDArwofn7COGF8muCCYZ9F7sxOiIYKmbEKVBgiYDGDgYLX3OF9ugfh4b7xafle80GKUyOf40V4w2B2GK/oAe76eICzK4fp2xITJYGi9shkfagcASfdn5l6TgQMNne75Cg2qUm+d6WgUg==
I did some more investigation and :
Simulating latency with a host in LAN does not allow to reproduce the problem.With that out of the way, I dug into the api and found where the mtu test is done :
The file python-pscheduler/pscheduler/pscheduler/mtu.py use tracepath to get the mtu, so I tried to use it manually :
LOCALHOST # tracepath 10.249.143.17 1: perfsonar.reg00.rtss.qc.ca 0.093ms reached Resume: pmtu 65535 hops 1 back 1
SAME SUBNET HOST # tracepath 10.x.x.2 1?: [LOCALHOST] pmtu 1500 1: host1 2.009ms !H 1: host1 1.341ms !H Resume: pmtu 1500
WAN HOST # tracepath 10.x.x.1 1?: [LOCALHOST] pmtu 1500 1: host1 12.314ms 1: host1 46.396ms 2: host2 1.691ms asymm 3 3: host3 1.431ms 4: host4 1.234ms asymm 6 5: host5 1.225ms asymm 6 6: host6 1.855ms 7: host7 5.872ms 8: host8 5.252ms asymm 9 9: host9 5.803ms 10: host10 6.891ms 11: host11 6.822ms 12: host12 6.287ms pmtu 1460 12: host12 557.388ms 13: host13 556.250ms 14: host14 558.090ms 15: host15 558.033ms reached Resume: pmtu 1460 hops 15 back 15
The "resume" line seems to output differently depending on the number of hops?!
Could it be why pscheduler report "too many values to unpack"
Thanks!
Louis
De :
[mailto:]
De la part de Louis-Berthier Soullière
Hi!
When I launch a troubleshoot, I get an error and I can't find how to fix it.
# pscheduler troubleshoot 10.x.x.1
Performing basic troubleshooting of localhost and 10.x.x.1.
localhost:
Measuring MTU... 65535 (Local) Looking for pScheduler... OK. Checking clock... OK. Exercising API... Status... Tests... Tools... OK. Idle test.... 7 seconds.... Checking archiving... OK.
10.x.x.1 :
Measuring MTU... Failed. too many values to unpack
# cat /var/log/pscheduler/pscheduler.log
Jul 15 08:04:36 localhost journal: pscheduler-api ERROR Exception: ValueError: too many values to unpack Jul 15 08:04:36 localhost journal: pscheduler-api ERROR Traceback (most recent call last): Jul 15 08:04:36 localhost journal: pscheduler-api ERROR File "./pschedulerapiserver/admin.py", line 104, in mtu_safe Jul 15 08:04:36 localhost journal: pscheduler-api ERROR ValueError: too many values to unpack Jul 15 08:04:36 localhost journal: pscheduler-api ERROR Internal error ::1 GET https://localhost/pscheduler/mtu-safe: too many values to unpack
If I use the REST-API directly :
# links https://localhost/pscheduler/mtu-safe?dest=10.x.x.1 (over satellite)
too many values to unpack
I'm running this test over satellite with a latency of 530 ish ms. The real MTU is 1460.
If I do the test with a local IP :
# links https://localhost/pscheduler/mtu-safe?dest=10.x.x.2 (LAN)
{"message": "1500+", "safe": true}
Running beta ISO : pS-Toolkit-4.2.0b1-CentOS7-FullInstall-x86_64-2019Jul09
Thanks!
Louis |
- [perfsonar-user] MTU SAFE error ?, Louis-Berthier Soullière, 07/15/2019
- RE: [perfsonar-user] MTU SAFE error ?, Louis-Berthier Soullière, 07/15/2019
- <Possible follow-up(s)>
- Re: [perfsonar-user] MTU SAFE error ?, Mark Feit, 07/15/2019
Archive powered by MHonArc 2.6.19.