perfsonar-user - Re: [perfsonar-user] "pscheduler-address” undefined in psconfig maddash
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: Andrew Lake <>
- To: ,
- Subject: Re: [perfsonar-user] "pscheduler-address” undefined in psconfig maddash
- Date: Mon, 22 Apr 2019 14:31:23 -0400
Him
Your variable “{% pscheduler-address[0] %}” should be “{% pscheduler_address[0] %}” (underscore instead of hypen) per http://docs.perfsonar.net/psconfig_templates_vars.html#pscheduler-address-variable
Thanks,
Andy
On April 22, 2019 at 2:26:47 PM, () wrote:
Hello,
I had an issue using psconfig agent for maddash. I want to use the "pschduler-
address" to specify address with port because most of my nodes are using a
different pscheduler port . Based on the
schema(https://raw.githubusercontent.com/perfsonar/psconfig/master/doc/psconfig-schema.json),
I added the relevant field in the addresses and tests sections as follows.
However, I got undefined errors from test section using “pscheduler-address”
Please let me know if the notation has been changed. Thank you!
note: the agent works if i use "address"+port instead of "pscheduler-address”.
***Error message:
"Can't use an undefined value as an ARRAY reference at /usr/lib/perfsonar/
bin/../lib/perfSONAR_PS/PSConfig/MaDDash/Agent.pm line 227"
***psconfig config file
"addresses":{
“hostA":{
"address”:"xx",
"pscheduler-address”:"xx:9443"
},
...
"tests":{
"latency_test":{
"type":"latencybg",
"spec":{
"source":"{% address[0] %}",
"dest":"{% address[1] %}",
"source-node":"{% pscheduler-address[0] %}",
"dest-node":"{% pscheduler-address[1] %}",
"packet-interval":0.1,
"packet-count":600
}
}
Regrads,
Xiao Wang
Northwestern University
--
To unsubscribe from this list: https://lists.internet2.edu/sympa/signoff/perfsonar-user
- [perfsonar-user] "pscheduler-address” undefined in psconfig maddash, xiao.wang2, 04/22/2019
- Re: [perfsonar-user] "pscheduler-address” undefined in psconfig maddash, Andrew Lake, 04/22/2019
Archive powered by MHonArc 2.6.19.