Discussion:
[perfsonar-user] PWA RPM setup issue
"Brian Tehan" (via perfsonar-user Mailing List)
2021-04-14 21:19:31 UTC
Permalink
Bringing this back up to the top in the hope that someone has seen a similar issue and knows of a fix.

Thanks.

Brian Tehan
Network Engineer | University of Nebraska ITS
Eppley Administration Building
6001 Dodge St EAB009F, Omaha, NE 68182-0051
402.554.6428 | ***@nebraska.edu<mailto:***@nebraska.edu>

From: Brian Tehan
Sent: Tuesday, March 23, 2021 2:04 PM
To: perfsonar-***@internet2.edu
Subject: PWA RPM setup issue

Hello,

I've installed PWA using RPM<https://docs.perfsonar.net/pwa_install_rpm.html> on a CentOS 7 machine that already has PerfSONAR setup and working on it. I'm going through the PWA guide and when I get to User Management<https://docs.perfsonar.net/pwa_user_management.html#listing-accounts> the pwa_auth command throws an error:

[***@nn-lnk-perfsonar ~]$ pwa_auth listuser
/etc/perfsonar/psconfig-web/auth/index.js:103
exports.x509 = {
^

SyntaxError: Unexpected token .
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/usr/lib/perfsonar/psconfig-web-admin/auth/bin/auth.js:9:14)


Also, when I go to https://<hostname>/pwa/api/pwa/health<https://%3chostname%3e/pwa/api/pwa/health> I get the following error:

{"status":"failed","msg":"no hosts!","cache":{"hosts":0,"update_time":1616523927478}}

I feel like I'm missing something, could someone point me in the right direction, please?

Thanks.

Brian Tehan
Network Engineer | University of Nebraska ITS
Eppley Administration Building
6001 Dodge St EAB009F, Omaha, NE 68182-0051
402.554.6428 | ***@nebraska.edu<mailto:***@nebraska.edu>
D'Angelo, Cas
2021-04-14 22:16:00 UTC
Permalink
My RHEL7 install is working. I have to 'sudo /usr/sbin/pwa_auth listuser'
sudo rpm -qa | grep perfsonar
perfsonar-common-4.3.4-1.el7.noarch
perfsonar-graphs-4.3.4-1.el7.noarch
libperfsonar-regulartesting-perl-4.3.4-1.el7.noarch
perfsonar-toolkit-ntp-4.3.4-1.el7.noarch
libperfsonar-esmond-perl-4.3.4-1.el7.noarch
perfsonar-psconfig-pscheduler-devel-4.3.4-1.el7.noarch
perfsonar-psconfig-maddash-4.3.4-1.el7.noarch
libperfsonar-pscheduler-perl-4.3.4-1.el7.noarch
perfsonar-psconfig-utils-4.3.4-1.el7.noarch
perfsonar-psconfig-publisher-4.3.4-1.el7.noarch
libperfsonar-toolkit-perl-4.3.4-1.el7.noarch
perfsonar-toolkit-esmond-utils-4.3.4-1.el7.noarch
perfsonar-centralmanagement-4.3.4-1.el7.noarch
libperfsonar-psconfig-perl-4.3.4-1.el7.noarch
perfsonar-traceroute-viewer-4.3.4-0.a1.0.el7.noarch
perfsonar-psconfig-maddash-devel-4.3.4-1.el7.noarch
perfsonar-lsregistrationdaemon-4.3.4-1.el7.noarch
perfsonar-psconfig-web-admin-auth-4.3.4-1.el7.x86_64
nagios-plugins-perfsonar-4.3.4-1.el7.x86_64
perfsonar-psconfig-web-admin-ui-4.3.4-1.el7.x86_64
libperfsonar-sls-perl-4.3.4-1.el7.noarch
perfsonar-psconfig-web-admin-publisher-4.3.4-1.el7.x86_64
libperfsonar-perl-4.3.4-1.el7.noarch
perfsonar-psconfig-web-admin-shared-4.3.4-1.el7.x86_64
perfsonar-toolkit-library-4.3.4-1.el7.noarch
perfsonar-toolkit-servicewatcher-4.3.4-1.el7.noarch


[photo-logo]
Cas D'Angelo
AVP & Chief Operating Officer OIT
Georgia Tech

p: 404-894-1356
w: it.gatech.edu<https://it.gatech.edu>


Weekly testing makes a difference! Register at mytest.gatech.edu<http://mytest.gatech.edu/> #JacketsProtectJackets


________________________________
From: perfsonar-user-***@internet2.edu <perfsonar-user-***@internet2.edu> on behalf of Brian Tehan <perfsonar-***@internet2.edu>
Sent: Wednesday, April 14, 2021 5:19 PM
To: perfsonar-***@internet2.edu <perfsonar-***@internet2.edu>
Subject: RE: [perfsonar-user] PWA RPM setup issue


Bringing this back up to the top in the hope that someone has seen a similar issue and knows of a fix.



Thanks.



Brian Tehan

Network Engineer | University of Nebraska ITS

Eppley Administration Building

6001 Dodge St EAB009F, Omaha, NE 68182-0051

402.554.6428 | ***@nebraska.edu<mailto:***@nebraska.edu>



From: Brian Tehan
Sent: Tuesday, March 23, 2021 2:04 PM
To: perfsonar-***@internet2.edu
Subject: PWA RPM setup issue



Hello,



I’ve installed PWA using RPM<https://docs.perfsonar.net/pwa_install_rpm.html> on a CentOS 7 machine that already has PerfSONAR setup and working on it. I’m going through the PWA guide and when I get to User Management<https://docs.perfsonar.net/pwa_user_management.html#listing-accounts> the pwa_auth command throws an error:



[***@nn-lnk-perfsonar ~]$ pwa_auth listuser

/etc/perfsonar/psconfig-web/auth/index.js:103

exports.x509 = {

^



SyntaxError: Unexpected token .

at createScript (vm.js:56:10)

at Object.runInThisContext (vm.js:97:10)

at Module._compile (module.js:549:28)

at Object.Module._extensions..js (module.js:586:10)

at Module.load (module.js:494:32)

at tryModuleLoad (module.js:453:12)

at Function.Module._load (module.js:445:3)

at Module.require (module.js:504:17)

at require (internal/module.js:20:19)

at Object.<anonymous> (/usr/lib/perfsonar/psconfig-web-admin/auth/bin/auth.js:9:14)





Also, when I go to https://<hostname>/pwa/api/pwa/health<https://%3chostname%3e/pwa/api/pwa/health> I get the following error:



{"status":"failed","msg":"no hosts!","cache":{"hosts":0,"update_time":1616523927478}}



I feel like I’m missing something, could someone point me in the right direction, please?



Thanks.



Brian Tehan

Network Engineer | University of Nebraska ITS

Eppley Administration Building

6001 Dodge St EAB009F, Omaha, NE 68182-0051

402.554.6428 | ***@nebraska.edu<mailto:***@nebraska.edu>
"Brian Tehan" (via perfsonar-user Mailing List)
2021-04-19 14:31:22 UTC
Permalink
Hello Cas,

I went through that list of packages and everything matches on our server except perfsonar-centralmanagement-4.3.4-1.el7.noarch. Does MaDDash require a Central Management Archive?

I also tried running the 'sudo /usr/sbin/pwa_auth listuser' command, however I still get the same error message.

Thanks!

Brian Tehan
Network Engineer | University of Nebraska ITS
Eppley Administration Building
6001 Dodge St EAB009F, Omaha, NE 68182-0051
402.554.6428 | ***@nebraska.edu<mailto:***@nebraska.edu>

From: D'Angelo, Cas <***@oit.gatech.edu>
Sent: Wednesday, April 14, 2021 5:16 PM
To: perfsonar-***@internet2.edu; Brian Tehan <***@nebraska.edu>
Subject: Re: PWA RPM setup issue

Non-NU Email
________________________________
My RHEL7 install is working. I have to 'sudo /usr/sbin/pwa_auth listuser'
sudo rpm -qa | grep perfsonar
perfsonar-common-4.3.4-1.el7.noarch
perfsonar-graphs-4.3.4-1.el7.noarch
libperfsonar-regulartesting-perl-4.3.4-1.el7.noarch
perfsonar-toolkit-ntp-4.3.4-1.el7.noarch
libperfsonar-esmond-perl-4.3.4-1.el7.noarch
perfsonar-psconfig-pscheduler-devel-4.3.4-1.el7.noarch
perfsonar-psconfig-maddash-4.3.4-1.el7.noarch
libperfsonar-pscheduler-perl-4.3.4-1.el7.noarch
perfsonar-psconfig-utils-4.3.4-1.el7.noarch
perfsonar-psconfig-publisher-4.3.4-1.el7.noarch
libperfsonar-toolkit-perl-4.3.4-1.el7.noarch
perfsonar-toolkit-esmond-utils-4.3.4-1.el7.noarch
perfsonar-centralmanagement-4.3.4-1.el7.noarch
libperfsonar-psconfig-perl-4.3.4-1.el7.noarch
perfsonar-traceroute-viewer-4.3.4-0.a1.0.el7.noarch
perfsonar-psconfig-maddash-devel-4.3.4-1.el7.noarch
perfsonar-lsregistrationdaemon-4.3.4-1.el7.noarch
perfsonar-psconfig-web-admin-auth-4.3.4-1.el7.x86_64
nagios-plugins-perfsonar-4.3.4-1.el7.x86_64
perfsonar-psconfig-web-admin-ui-4.3.4-1.el7.x86_64
libperfsonar-sls-perl-4.3.4-1.el7.noarch
perfsonar-psconfig-web-admin-publisher-4.3.4-1.el7.x86_64
libperfsonar-perl-4.3.4-1.el7.noarch
perfsonar-psconfig-web-admin-shared-4.3.4-1.el7.x86_64
perfsonar-toolkit-library-4.3.4-1.el7.noarch
perfsonar-toolkit-servicewatcher-4.3.4-1.el7.noarch


[photo-logo]
Cas D'Angelo
AVP & Chief Operating Officer OIT
Georgia Tech

p: 404-894-1356
w: it.gatech.edu<https://urldefense.proofpoint.com/v2/url?u=https-3A__it.gatech.edu&d=DwMF-g&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=8JA0awxkXvLQfQXtQq9MIXOERwvRFde-r56wSnMyfk0&m=ucYdFt3ahF0VvbgQhaqQ-0LygAlci5VjNOiq-COpUG4&s=ML6eR-GM10mK8GICJvZuKdRFDQTwUHsGRwCU6f7Uu4s&e=>


Weekly testing makes a difference! Register at mytest.gatech.edu<https://urldefense.proofpoint.com/v2/url?u=http-3A__mytest.gatech.edu_&d=DwMF-g&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=8JA0awxkXvLQfQXtQq9MIXOERwvRFde-r56wSnMyfk0&m=ucYdFt3ahF0VvbgQhaqQ-0LygAlci5VjNOiq-COpUG4&s=GR16grwrHDQaOcPIVv7XhlyuBBvoJM7i7vMa8SxfgSo&e=> #JacketsProtectJackets


________________________________
From: perfsonar-user-***@internet2.edu<mailto:perfsonar-user-***@internet2.edu> <perfsonar-user-***@internet2.edu<mailto:perfsonar-user-***@internet2.edu>> on behalf of Brian Tehan <perfsonar-***@internet2.edu<mailto:perfsonar-***@internet2.edu>>
Sent: Wednesday, April 14, 2021 5:19 PM
To: perfsonar-***@internet2.edu<mailto:perfsonar-***@internet2.edu> <perfsonar-***@internet2.edu<mailto:perfsonar-***@internet2.edu>>
Subject: RE: [perfsonar-user] PWA RPM setup issue


Bringing this back up to the top in the hope that someone has seen a similar issue and knows of a fix.



Thanks.



Brian Tehan

Network Engineer | University of Nebraska ITS

Eppley Administration Building

6001 Dodge St EAB009F, Omaha, NE 68182-0051

402.554.6428 | ***@nebraska.edu<mailto:***@nebraska.edu>



From: Brian Tehan
Sent: Tuesday, March 23, 2021 2:04 PM
To: perfsonar-***@internet2.edu<mailto:perfsonar-***@internet2.edu>
Subject: PWA RPM setup issue



Hello,



I've installed PWA using RPM<https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.perfsonar.net_pwa-5Finstall-5Frpm.html&d=DwMF-g&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=8JA0awxkXvLQfQXtQq9MIXOERwvRFde-r56wSnMyfk0&m=ucYdFt3ahF0VvbgQhaqQ-0LygAlci5VjNOiq-COpUG4&s=MP3R3o1mS_ZkB-imVPPm0FXMo9QPiSlObp7hiekd6OQ&e=> on a CentOS 7 machine that already has PerfSONAR setup and working on it. I'm going through the PWA guide and when I get to User Management<https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.perfsonar.net_pwa-5Fuser-5Fmanagement.html-23listing-2Daccounts&d=DwMF-g&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=8JA0awxkXvLQfQXtQq9MIXOERwvRFde-r56wSnMyfk0&m=ucYdFt3ahF0VvbgQhaqQ-0LygAlci5VjNOiq-COpUG4&s=CamuYNHG1DxxcRVMRTt878KBdiVLNu7zIznCKGeUV9M&e=> the pwa_auth command throws an error:



[***@nn-lnk-perfsonar ~]$ pwa_auth listuser

/etc/perfsonar/psconfig-web/auth/index.js:103

exports.x509 = {

^



SyntaxError: Unexpected token .

at createScript (vm.js:56:10)

at Object.runInThisContext (vm.js:97:10)

at Module._compile (module.js:549:28)

at Object.Module._extensions..js (module.js:586:10)

at Module.load (module.js:494:32)

at tryModuleLoad (module.js:453:12)

at Function.Module._load (module.js:445:3)

at Module.require (module.js:504:17)

at require (internal/module.js:20:19)

at Object.<anonymous> (/usr/lib/perfsonar/psconfig-web-admin/auth/bin/auth.js:9:14)





Also, when I go to https://<hostname>/pwa/api/pwa/health<https://urldefense.proofpoint.com/v2/url?u=https-3A__-253chostname-253e_pwa_api_pwa_health&d=DwMF-g&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=8JA0awxkXvLQfQXtQq9MIXOERwvRFde-r56wSnMyfk0&m=ucYdFt3ahF0VvbgQhaqQ-0LygAlci5VjNOiq-COpUG4&s=LFzh0PpLr1sHuoWvwxD9V7dxOdsC1CvPp_e4FVKz-Og&e=> I get the following error:



{"status":"failed","msg":"no hosts!","cache":{"hosts":0,"update_time":1616523927478}}



I feel like I'm missing something, could someone point me in the right direction, please?



Thanks.



Brian Tehan

Network Engineer | University of Nebraska ITS

Eppley Administration Building

6001 Dodge St EAB009F, Omaha, NE 68182-0051

402.554.6428 | ***@nebraska.edu<mailto:***@nebraska.edu>

Loading...