perfsonar-user - Re: [perfsonar-user] Re: Running pscheduler inside a linux namespace
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: Murilo Vetter <>
- To: Mark Feit <>
- Cc: "Garnizov, Ivan (RRZE)" <>, perfsonar-user <>
- Subject: Re: [perfsonar-user] Re: Running pscheduler inside a linux namespace
- Date: Thu, 7 Jun 2018 08:40:02 -0300 (BRT)
- Ironport-phdr: 9a23:BSb+oR9nxRLxif9uRHKM819IXTAuvvDOBiVQ1KB21OocTK2v8tzYMVDF4r011RmVBdids6oMotGVmpioYXYH75eFvSJKW713fDhBt/8rmRc9CtWOE0zxIa2iRSU7GMNfSA0tpCnjYgBaF8nkelLdvGC54yIMFRXjLwp1Ifn+FpLPg8it2O2+553ebx9UiDahfLh/MAi4oQLNu8cMnIBsMLwxyhzHontJf+RZ22ZlLk+Nkhj/+8m94odt/zxftPw9+cFAV776f7kjQrxDEDsmKWE169b1uhTFUACC+2ETUmQSkhpPHgjF8BT3VYr/vyfmquZw3jSRMNboRr4oRzut86ZrSAfpiCgZMT457HrXgdF0gK5CvR6tuwBzz4vSbYqINvRxY7ndcMsUS2RBRMZfSS9PDYGyb4USAOUOIedYoY7hp1YVtxSyGRWjC/j1xzNUhHL727Ax3eQ7EQHB2QwtB9UAsGnOrNX0MKcSVv2+w6bWwjXfc/NZxy3945XPfxAkvPGMR7Nwcc7WyUU1CQPKkEmQqZD7MDOPzekNq2+b7/J5WeK0l2ErsRtxoj63xss2kYbJnJsYx1bZ/it3x4Y1IMe3SE99YdO8H5tQtj2aN4trQsw5WW1npCE6yrgetZ6heigK0I4ryAXFa/GBboOG4QrjWf6PLTtkmH5pYqyzihiw/ES61+HxUte43ExKoydDj9LCrGoC1wbJ5ciCUvZ9/lmu2TKI1w3L6+BEIEU0mrHBK5E72LIwjp0TsVzaEi/thEr6lrWWdkM8+uSy8OvneK3qpp6aN4BqlgHzKroiltCjDegiLAQDUWqW9f6h2LDn40H1WrVHguUzkqbDsZDaIcobprS+Aw9Qyosj7gu/Dy2n0NQcmnkLNkxFdwybj4j1JV7OOuv1De+4g1S0iTtr3OzJMqf7ApXLNnjPiqzufaxl505G1AUz1cxf545TCrwZJfLzVFH+tN3EDhIiMgy0xfrnB8tn1oMYR22PHrGVPLnMvlCV++IlO/OMa5MNuDbhN/gl4ObjjWcnll8Hc6mpxpwXaHaiEfR8OkmZfGHsjckbEWoRugo+TffqiEGZUTJNfXqyXqQ85i0lB4K8C4fMWJytjKKb0CilA5JWezMONlfZNH7ydM2qVvYQIHaXLMJgjhQFU6SsUYksyUvouQPnneldI/LQ6xEf4Lf+ztlx4KXtmA0u+CY8W8GAyWCJSCdqk38USiUexKdn5Fd2jE2Fye5ymaoLO8ZU4qZsTx07MZmU8eFmF93oElbEY82ITFHgXNi6HTwrZso225oVaABnHc3khAqVjHniOKMci7HeXM98yanbxXWkYp8lk3s=
--
Murilo Vetter
Analista REMEP-FLN/PoP-SC
PoP-SC - Ponto de Presença da RNP em Santa Catarina
REMEP-FLN - Rede Metropolitana de Educação e Pesquisa da Região de Florianópolis
RNP - Rede Nacional de Ensino e Pesquisa
UFSC - Universidade Federal de Santa Catarina
SETIC - Superintendência de Governança Eletrônica e Tecnologia da Informação e Comunicação
Fundações de Apoio FEESC e FEPESE
--/--
www.pop-sc.rnp.br
remep.pop-sc.rnp.br
CHAMADOS:
+55(48)3721-3000
INOC: 11242*100
Para: "Murilo Vetter" <>, "Garnizov, Ivan (RRZE)" <>
Cc: "perfsonar-user" <>
Enviadas: Quarta-feira, 6 de junho de 2018 14:07:59
Assunto: Re: [perfsonar-user] Re: Running pscheduler inside a linux namespace
Murilo Vetter writes:
# pscheduler task --context '{ "schema": 1, "contexts": [ [ { "context": "linuxnns", "data": { "namespace": "ns-ens224" } } ], [ { "context": "linuxnns", "data": { "namespace": "ns-ens256" } } ] ] }' throughput --source 192.168.0.39 --dest 192.168.0.45 --source-node 192.168.0.43 --dest-node 192.168.0.43
Submitting task...
Unable to post task: Error while tasking 192.168.0.43: Unable to post task to 192.168.0.43: ERRO: Task already exists. All participants must be on separate systems.
Would it have a way to overcome this error, forcing to do the test? Maybe in a future implementation? Or it is not suppose to?
I tried with 2 different IP on the same host with no namespace configured and it showed the same problem.
pScheduler does not allow running of multi-participant tests (throughput and simplestream) where the same server acts as more than one of the participants. Part of it has to do with the way the API’s resource model is organized and part of it has to do with avoiding running resource-intensive tests on the same server at the same time and getting distorted results. Any of the single-participant tests (rtt, trace, latency) will work because there’s no second pScheduler involved and they do everything necessary to exercise the namespace changes. For those, you’d specify a source, a source node and a destination.
I do my testing of this on pairs of VMs with a private segment between them. There’s a utility script in the sources that does the alternate namespace setup and can be customized for your environment: https://github.com/perfsonar/pscheduler/blob/master/scripts/create-netns
--Mark
- Re: [perfsonar-user] Re: Running pscheduler inside a linux namespace, Mark Feit, 06/06/2018
- Re: [perfsonar-user] Re: Running pscheduler inside a linux namespace, Murilo Vetter, 06/07/2018
- RE: [perfsonar-user] Re: Running pscheduler inside a linux namespace, Garnizov, Ivan (RRZE), 06/07/2018
- Re: [perfsonar-user] Re: Running pscheduler inside a linux namespace, Murilo Vetter, 06/07/2018
- RE: [perfsonar-user] Re: Running pscheduler inside a linux namespace, Garnizov, Ivan (RRZE), 06/07/2018
- Re: [perfsonar-user] Re: Running pscheduler inside a linux namespace, Murilo Vetter, 06/07/2018
- RE: [perfsonar-user] Re: Running pscheduler inside a linux namespace, Garnizov, Ivan (RRZE), 06/07/2018
- Re: [perfsonar-user] Re: Running pscheduler inside a linux namespace, Murilo Vetter, 06/07/2018
Archive powered by MHonArc 2.6.19.