Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Re: Running pscheduler inside a linux namespace

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Re: Running pscheduler inside a linux namespace


Chronological Thread 
  • From: Mark Feit <>
  • To: Murilo Vetter <>, "Garnizov, Ivan (RRZE)" <>
  • Cc: perfsonar-user <>
  • Subject: Re: [perfsonar-user] Re: Running pscheduler inside a linux namespace
  • Date: Wed, 6 Jun 2018 17:07:59 +0000
  • Accept-language: en-US
  • Authentication-results: pop-sc.rnp.br; dkim=none (message not signed) header.d=none;pop-sc.rnp.br; dmarc=none action=none header.from=internet2.edu;
  • Ironport-phdr: 9a23:273g4hXiL5uRPe0anktF2X5Eoa7V8LGtZVwlr6E/grcLSJyIuqrYZRSFv6dThVPEFb/W9+hDw7KP9fy4BCpYud6oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCybL9uLBi6txndutULioZ+N6g9zQfErGFVcOpM32NoIlyTnxf45siu+ZNo7jpdtfE8+cNeSKv2Z6s3Q6BWAzQgKGA1+dbktQLfQguV53sTSXsZnxxVCAXY9h76X5Pxsizntuph3SSRIMP7QawoVTmk8qxmUwHjhjsZODEl8WHXks1wg7xdoBK9vBx03orYbJiIOPZiYq/ReNUXTndDUMlMTSxMGoOyYZUSAeodM+hWrIj9qEcBohalHwagGObvxyVUinPq36A31fkqHwHc3AwnGtIDqHPao8/vNKcRTOu7zLfHzTTfb/hL3jr97YbIfQ4gofGQRr9wcMzRyVUxGAPfiFWft5DlMy2P2usTrmeb8vNtWOSygGAprAFxpyKgxsYqioTRiYIVy0zE9SVkwIkuP9G3VEl7YduiHZBNtC+aL5N7Tt04TG10pSo3z6AKtYOmcCUPxpQqyALTZ+CCfoWK/B3uW+ecLDJ9iX57ZL6yiQ6+/VW8xuD/TMW4zlVHojBbntTDsn0BzQHf5tWaRvdl8EeuxzWC2xzW5+xBI004ibTXJIIkz7M+iJYcq1jMEyr4mErqj6KZbUAp9vWp5uj5fLnroIKXOZVuhQHkKKsun9SyAeQmPQgKWGiW4fyy2aHk80HlXrlGl+A7nK/HvJzDIsQUvbC2DxVS0oY+9xawFDCm0MkenXYaNl5FYAiHj4/1O17QPP/4Efa/g1OqkDtxwPDGI6HhApHKLnjEk7ftZ6py60lZyAYrzNBf4YxbCq0ZLf7tQED9qMHUAxokPwCp3urqDdt924wCVW6TB6KUMr3dvFCJ6+8qJuSAepMZtTjlJ/gg/fHujHs5mVEHfamu2JsacHW4Hvp4LEWYfXrhmdYBEWEWvgUgVuzqjkONUSJNa3qoQa0z+yw7BJq8DYjfXoCtnKCB3CCjE51OeG9GEF6MEWzvd4WCQfgMcjueItJ6kjMaT7isUIsh1RC1tA/m0LprMPDY+iwetZL/ytd1/evTmg8u9TBqFciSzXyCT3wn1l8PEhorxqF7pgRDx0uf3LIw1/lFD91X4LVXXxsmOIT01+tiTsv5HBjHZpGDUgDiCp+JCCs3T8A23ZtGQlh0HZ3itCrx8mvgS+sUibWNQpM96KTdzX/vD8h01jDK2f9yoUMhR55qPHelzoBy9hSbU4vHnkSFv6esaakG2iPRriGOwXfY7xIQaxJ5TaiQBSNXXUDRt9msoxqaF7I=
  • Spamdiagnosticoutput: 1:0

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

 




Archive powered by MHonArc 2.6.19.

Top of Page