Skip to Content.
Sympa Menu

perfsonar-user - RE: [perfsonar-user] Archiving to esmond failed after CentOS6 -> CentOS7 migration

Subject: perfSONAR User Q&A and Other Discussion

List archive

RE: [perfsonar-user] Archiving to esmond failed after CentOS6 -> CentOS7 migration


Chronological Thread 
  • From: Zhi-Wei Lu <>
  • To: Jason Watt <>
  • Cc: "" <>
  • Subject: RE: [perfsonar-user] Archiving to esmond failed after CentOS6 -> CentOS7 migration
  • Date: Wed, 5 Sep 2018 22:13:44 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:HmoyYxRgx5s+hMliWiOeKALnHNpsv+yvbD5Q0YIujvd0So/mwa67ZxKFt8tkgFKBZ4jH8fUM07OQ7/i/HzRYqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba9wIRmssQndqtQdjJd/JKo21hbHuGZDdf5MxWNvK1KTnhL86dm18ZV+7SleuO8v+tBZX6nicKs2UbJXDDI9M2Ao/8LrrgXMTRGO5nQHTGoblAdDDhXf4xH7WpfxtTb6tvZ41SKHM8D6Uaw4VDK/5KpwVhTmlDkIOCI48GHPi8x/kqRboA66pxdix4LYeZyZOOZicq/Ye94RWGhPUdtLVyFZAo2ycZYBD/YPM+hboYnypVoOogexCgS3Huzj1iNEi2Xq0aEm0eksFxzN0gw6H9IJtXTZtNb6NKcTUeyszKbH0zTDZO5Q1zfg9YPFdREgoP+IXbJtasfR1FUgGB7fgVWOqIzlJCmZ2foQvGiG9udtU/+khWAgqwF0uDevx8Esh5HUho0J11/L7zt5wIcuJdGiVkF0fMOkHINRtyGcK4t5XNkiQ2d2tyYm1LEKo4C0czUXyJg/wB7fduCHc4yP4hLkV+adOyt3hHVgeL+5mh288lCgx/XiWsauzFpGsy9InsTRunwQ0hHT5MeKRudh8kqk1zaAyQ/e5+VBLE0xlKfXNYMuzqYtmp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8Zw3l/apHk0cfLBw5tQm6LQ5QCATTqpyQ756pqty4lZeTEfGHa+wiH4BYlXI7d/ZpsPFXzzcp+s3tsrgZnrVjYY71OlC14ckO6RMRuJJx2Yv0VL0FgP53mumC+21TtxxiM2qre3wSfCyvrjb1wKNnMYDGQ=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Since this is a migrate (with data) set up, I don’t know if it expect to use the old or new token/password.

I have tried both, both failed.  I don’t know enough internals of esmond/archiver to manually debug the issue.

 

Zhi-Wei Lu

IET-CR-Network Operations Center

University of California, Davis

(530) 752-0155

 

From: Jason Watt <>
Sent: Wednesday, September 05, 2018 2:40 PM
To: Zhi-Wei Lu <>
Subject: Re: [perfsonar-user] Archiving to esmond failed after CentOS6 -> CentOS7 migration

 

I would verify the password/token in the two files matches.  In the problem I had with 4.0.2, the "configure_esmond --force" correctly updated the " meshconfig-agent-tasks.conf " file, but did not update the password token in the file "psc-archiver-esmond.json".  The fix for me was renaming psc-archiver-esmond.json and letting the "configure_esmond --force" re-create it with the correct password/token.  While 4.1 and 4.0.2 may be different with regard to perfsonar and maddash mesh, I wonder if the "configure_esmond --force" is still not properly updating the json file.

 

On Wed, Sep 5, 2018 at 3:19 PM, Zhi-Wei Lu <> wrote:

Thank you, Andy!

 

After ran the command, I am still getting “Invadlid token” errors!

 

Zhi-Wei Lu

IET-CR-Network Operations Center

University of California, Davis

(530) 752-0155

 

From: Andrew Lake <>
Sent: Wednesday, September 05, 2018 12:05 PM
To: Zhi-Wei Lu <>
Cc:
Subject: Re: [perfsonar-user] Archiving to esmond failed after CentOS6 -> CentOS7 migration

 

Hi,

 

The hostname is fine, looks like maybe it has the wrong api key. Try running the following:

 

/usr/lib/perfsonar/scripts/system_environment/configure_esmond --force

 

My guess is that maybe your old esmond auth token got copied over and the database has a new one (or vice versa). The script above should set it to the correct value by updating the file /etc/perfsonar/psconfig/archives.d/esmond_local.json with the correct "_auth-token" field.

 

 

Thanks,
Andy

 

On Wed, Sep 5, 2018 at 1:46 PM, Zhi-Wei Lu <> wrote:

Hi all,

 

I have just upgraded and migrated a few of my CentOS 6 perfsonar servers to CentOS 7.  I don’t see any new tests recorded.  I then noticed error messages in /var/log/ pscheduler/pscheduler.log

 

Sep  5 10:28:37 mammoth-owamp-v4 journal: runner INFO     1575513: With ping: rtt --count 10 --dest grx-v4.noc.ucdavis.edu --interval PT1S --source mammoth-owamp-v4.noc.ucdavis.edu --length 1000

Sep  5 10:28:46 mammoth-owamp-v4 journal: runner INFO     1575513: Run succeeded.

Sep  5 10:28:47 mammoth-owamp-v4 journal: archiver WARNING  1473429: Failed to archive https://localhost/pscheduler/tasks/44d685eb-40c6-48eb-90c9-fc5dd427e3cc/runs/79c06354-dd20-48c1-afe4-e6bf4fdd0ae2 to esmond: 401: Invalid token.

Sep  5 10:29:02 mammoth-owamp-v4 journal: archiver WARNING  1472536: Failed to archive https://localhost/pscheduler/tasks/c2a13eb2-b022-443d-95b9-42fa62c1859c/runs/44381ff1-71c4-4875-922f-c9cc9b253c29 to esmond: 401: Invalid token.

Sep  5 10:29:47 mammoth-owamp-v4 journal: archiver WARNING  1473429: Failed to archive https://localhost/pscheduler/tasks/44d685eb-40c6-48eb-90c9-fc5dd427e3cc/runs/79c06354-dd20-48c1-afe4-e6bf4fdd0ae2 to esmond: 401: Invalid token.

Sep  5 10:34:47 mammoth-owamp-v4 journal: archiver WARNING  1473429: Failed to archive https://localhost/pscheduler/tasks/44d685eb-40c6-48eb-90c9-fc5dd427e3cc/runs/79c06354-dd20-48c1-afe4-e6bf4fdd0ae2 to esmond: Archiver permanently abandoned registering test after 3 attempt(s): 401: Invalid token.

Sep  5 10:34:47 mammoth-owamp-v4 journal: archiver WARNING  1473429: Gave up archiving https://localhost/pscheduler/tasks/44d685eb-40c6-48eb-90c9-fc5dd427e3cc/runs/79c06354-dd20-48c1-afe4-e6bf4fdd0ae2 to esmond

 

I guess that “localhost” probably should be the real host name, is that right? As I have a few hostnames for the server, which one I should use?  How do I configure perfsonar to use that name?

 

Thank you!

 

Zhi-Wei Lu

IET-CR-Network Operations Center

University of California, Davis

(530) 752-0155

 


--
To unsubscribe from this list: https://lists.internet2.edu/sympa/signoff/perfsonar-user

 


--
To unsubscribe from this list: https://lists.internet2.edu/sympa/signoff/perfsonar-user

 




Archive powered by MHonArc 2.6.19.

Top of Page