Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Errors in MaDDash log

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Errors in MaDDash log


Chronological Thread 
  • From: Andrew Lake <>
  • To: perfsonar-user <>, Hyojoon Kim <>
  • Subject: Re: [perfsonar-user] Errors in MaDDash log
  • Date: Tue, 9 May 2017 09:46:12 -0400
  • Ironport-phdr: 9a23:0uf1dBNSEvyTfV6Yr4sl6mtUPXoX/o7sNwtQ0KIMzox0LfX6rarrMEGX3/hxlliBBdydsKMbzbKP+Py5EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQtFiT6/bL9oMBm6sArdu8YLjYB/Nqs/1xzFr2dSde9L321oP1WTnxj95se04pFu9jlbtuwi+cBdT6j0Zrw0QrNEAjsoNWA1/9DrugLYTQST/HscU34ZnQRODgPY8Rz1RJbxsi/9tupgxCmXOND9QL4oVTi+6apgVRnlgzoFOTEk6mHaksx+g6BVoBymqBNxzY3abpyLOvViZa7SZ88WSHBbU8tLSyBMAIWxZJYPAeobOuZYqpHwqkcIrRSjHwmjGu3uwSJOiHDs3q01zfkqHAbc0wwmAt0PsG/Zo8vuNKsIV+C60rXIwCzFYvhL1zn9743IfQogofGKRb9wa9DdyU41FwPKllmQpo3lPy+V1uQQqGeX9fZvVeWqi2Mhtgp/oSCvy98xhoXXhY8Z0F7J+T92zYooP9G1SlN3bca6HJdMsyyWLYh7T8M4T211vCs21KcKtYO/cSUIzpks2gTRZOadc4eS5xLuTOaRLil8hHJiYL+/iQi9/Ee6xu34Tca01ExGriVCktnSrnwN1hrT5dabSvZl40utxzWC2xrd5+1eLk04iLDXJpw8zrIok5ocq0XDHiv4mEXsi6+Wc10p9fKu6+v6YrTrvYGTN5RuhgH4LKsuhtSzAf4kPQgWQ2ib5eO82aX7/ULnWrVKgOY2kq7fsJ/AP8QXv7O5AxRL3YY58Bu/Czam0M8EnXkcMl5JYhOHj471O17QOvD4C+mwg0iynDtx2f/JI6DhUd3xKS3bna3vZrF74lQZ1RE+15gL/59OBKoGJvvpH1LqucbwDxklPhayzvq9Tthxy9VaEUKeBa2eN6Wakl6NrrYtJO6KZ6cNojf7IPU54PiogHMkzwwzZ66siLIRZGq1AbxCKkaUKS7lhNsQOWoR+AwzULq52xW5TTdPaiPqDOoH7TYhBdf+AA==

Hi,

Looks like a bug, I filed an issue here: https://github.com/perfsonar/mesh-config/issues/67

You can get around this by changing the type “star” to “disjoint”, “center_address” to “a_member” and “member” to “b_member”. Under the hood it gets converted to disjoint anyways, so it will have the exact same effect. Using the example you shared, it would look like the following:

<group all_ping_star>
   type              disjoint
   a_member    perf-1-delay.r.org
 
   # This should list ALL sensor nodes not used for bandwidth testing.
 ####  b_member            perfbox-6.r.org
 ####  b_member            perfbox-p6.r.org
 ####  b_member            perfbox-p7.r.org
   b_member            perfbox-2.r.org
   b_member            perfbox-3.r.org
   b_member            perf-4-delay.r.org
   b_member            1.2.3.4
   b_member            perf-5-delay.r.org
   b_member            perf-6-delay.r.org
</group>

 
 <group cdn_latency_star>
   type              disjoint
   a_member    4.5.6.7

   # This should list all BDF sensor nodes.
   b_member            perfbox-p6.r.org
   b_member            perfbox-p7.r.org
 </group>


Thanks,
Andy

On May 9, 2017 at 8:57:44 AM, Hyojoon Kim () wrote:

Hello, 

I see periodic error messages (seems every 1 hour) in the MaDDash log file, "/var/log/maddash/meshconfig-guiagent.log”. Could someone help me understand these errors so that I can fix it? 

==
2017/04/17 19:10:58 (8650) ERROR> GUIAgent.pm:258 perfSONAR_PS::MeshConfig::GUIAgent::__generate_maddash_config - Problem generating maddash configuration: Can't locate object method "center_address" via package "perfSONAR_PS::MeshConfig::Config::Group::Disjoint" at /usr/lib/perfsonar/bin/../lib/perfSONAR_PS/MeshConfig/Generators/MaDDash.pm line 241.
2017/04/17 19:10:58 (8650) ERROR> GUIAgent.pm:219 perfSONAR_PS::MeshConfig::GUIAgent::__configure_guis - Problem generating maddash configuration: Problem generating maddash configuration: Can't locate object method "center_address" via package "perfSONAR_PS::MeshConfig::Config::Group::Disjoint" at /usr/lib/perfsonar/bin/../lib/perfSONAR_PS/MeshConfig/Generators/MaDDash.pm line 241.
==

Code snippet from "/usr/lib/perfsonar/lib/perfSONAR_PS/MeshConfig/Generators/MaDDash.pm” is:

 239             my $columnAlgorithm = "all";
 240             if ($test->members->type eq "star") {
 241                 $test->members->center_address(__normalize_addr($test->members->center_address));
 242                 push @row_members$test->members->center_address;
 243                 foreach my $member (@{__normalize_addrs($test->members->members)}) {
 244                     push @column_members$member unless $member eq $test->members->center_address;
 245                 }
 246 
 247                 $column_id = __generate_yaml_key($grid_name)."-column";
 248                 $row_id = __generate_yaml_key($grid_name)."-row";
 249             }


In my mesh.conf file, I see following config lines that have “center_address” in it. I’ve redacted the addresses and hostnames. All “center_address” hosts (perf-1-delay.r.org, 4.5.6.7) are defined in the <organization> -> <site> -> <host> directives.

433 <group all_ping_star>
434   type              star
435   center_address    perf-1-delay.r.org
436 
437   # This should list ALL sensor nodes not used for bandwidth testing.
438 ####  member            perfbox-6.r.org
439 ####  member            perfbox-p6.r.org
440 ####  member            perfbox-p7.r.org
441   member            perfbox-2.r.org
442   member            perfbox-3.r.org
443   member            perf-4-delay.r.org
444   member            1.2.3.4
445   member            perf-5-delay.r.org
446   member            perf-6-delay.r.org
447 </group>
448 
449 
450 <group cdn_latency_star>
451   type              star
452   center_address    4.5.6.7
453 
454   # This should list all BDF sensor nodes.
455   member            perfbox-p6.r.org
456   member            perfbox-p7.r.org
457 </group>


Thanks,
Joon 



Archive powered by MHonArc 2.6.19.

Top of Page