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: Andrew Lake <>
  • Cc: "" <>
  • Subject: Re: [perfsonar-user] Archiving to esmond failed after CentOS6 -> CentOS7 migration
  • Date: Thu, 6 Sep 2018 16:26:36 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:E/d47BdnasH++xNr7OvJnDm8lGMj4u6mDksu8pMizoh2WeGdxc25ZRKN2/xhgRfzUJnB7Loc0qyK6/+mATRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfbF/IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4qF2QxHqlSgHLSY0/mHJhMJtkKJVrhGvpxJ9zI7VfI6aO+FzcbnBcd8GX2dNQtpdWixHD4ihb4UPFe0BPeNAoob+p1sOrAKyCgmyC+Pu1zRGgGL21rA93uUgHwDG2BEgEskTsHvIsdr6LrkSUeGuzKXS0zrMcu5W1C775YPVfB4hpvSMUqhxccrX0UQvCh/KgUiKpoz7PjOVzf4BvHaG4Op9Te6vimgnqx1vrTi1wMcjlJXJipwPxl/a6Cp53Z45JdqlSE5nZd6kF5xQtyKAO4RqRcMiRmdlszs5xL0eoZO3YjIFxIg6yxPadvCLbpWE7xftVOuePTt0mHdoeLyhiBu970etz+jxW8io3FlUtiZIk9vBumoQ2xHS68WLUOZx80ig1DqVygzf9PxILVg6laXFKJMt3r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pe1pgDOhiyFd7Ztg1l6XqnsuUfbGipACxfzQnhCKUTvxlh+Aioj2gsgFAFNaBW+j0W7hDY9VaLd1eNMZFmOzC9C8ytxghoWrVnJFpxau
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Thanks, Andy!


It turns out that the "authtoken_token" in the esmond database has the "NEW" value rather than the migrated value.

I looked at the backup and restore scripts and examined the postgresql database.  I re-"restore" the database, but it

didn't replace the "new" value.  I had to drop the authtoken_token table (one table only) and re-run the restore script one more time.

It then restored the "old" authtoken values. After that I ran the scirpt again and restarted a few daemon last night,


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


In the /var/log/pscheduler/pscheduler.log, we can see successful runs,

...

Sep  6 09:18:39 mammoth-owamp-v4 journal: runner INFO     1575526: Running https://mammoth-v4.noc.ucdavis.edu/pscheduler/tasks/dbc2f80b-d785-4366-94fd-bc64d2a042ba/runs/5e0f34cc-1f84-4499-93ce-1774a0df7f1c
Sep  6 09:18:39 mammoth-owamp-v4 journal: runner INFO     1575526: With traceroute: trace --dest melange-v4.noc.ucdavis.edu --length 40 --source mammoth-v4.noc.ucdavis.edu --hops 64
Sep  6 09:18:39 mammoth-owamp-v4 journal: runner INFO     1575526: Run succeeded.
...

However, I do not see any new data in the web-gui


http://mammoth.noc.ucdavis.edu/toolkit/


Maybe, there are still inconsistency in the postgresql esmond database with cassandra data sources (mixing with new values which were not restore properly).  I will try to drop all esmond tables and re-run restore script.


Thanks again Andy!


Zhi-Wei Lu
IET-CR-Network Operations Center
University of California, Davis
(530) 752-0155

From: Andrew Lake <>
Sent: Thursday, September 6, 2018 6:06:44 AM
To: Zhi-Wei Lu
Cc:
Subject: Re: [perfsonar-user] Archiving to esmond failed after CentOS6 -> CentOS7 migration
 
Hi,

I think maybe one of the steps you have done has gotten things working again, possible it took some time to propagate. If I look at your newest tasks they seem to be archiving successfully to localhost. For example see:


Notice the first JSON blob labelled "archivings" and how it indicates it succeeded in the "diags" section. 

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





Archive powered by MHonArc 2.6.19.

Top of Page