Skip to Content.
Sympa Menu

perfsonar-user - [perfsonar-user] Re: New Central MA

Subject: perfSONAR User Q&A and Other Discussion

List archive

[perfsonar-user] Re: New Central MA


Chronological Thread 
  • From: Casey Russell <>
  • To: "" <>
  • Subject: [perfsonar-user] Re: New Central MA
  • Date: Fri, 29 Sep 2017 17:28:16 -0500
  • Ironport-phdr: 9a23:lHLpmBzOQouWqELXCy+O+j09IxM/srCxBDY+r6Qd2+IRIJqq85mqBkHD//Il1AaPBtSLraocw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze6/9pnQbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeuBWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbOSxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDwULs6Wymt771zRRDqhicJNzA3/mLKhMJukK1WuwiuqwBlzoPOfI2ZKPhzc6XAdt0aX2pBWcNRWjRfD4ymdIsAEeoANvtEoYngvFsOtgWxBQ2oBOjyzTJHmmX23bAh0+Q6Dw7G2AggEskNsHvOqtX1LrkdUeavwKnO0zrDc+pb1DHg44bGdRAhpOuDXbN2ccfJzUkvFgXFjlaOpoP4PjOV0P4BvHSc7+plTe6vl2AmqwBtojiz2MgskJPFiZ4SylDB7Sl5w5w6JduiSEFlZ96oCp1QuD+GN4ZwX8gsQHlotT4kxrAHpZK2fi0HyJokyhHEd/CKdoeF7g7/WOmNJDp3mG5pdbG6ihu370Ss1OP8W8+p21hQtCVFiMPDtnUV2hzT9MeHTvx981+k2TmV1gDT7vhIIV0umqbHMpIgzaA8moQdsUjZES/2n0L2jKCSdko64OSn9+PnYrD+qp+dMY97lB3+P7wwlsG+Heg1MA0DX2aY9OunyLHu+EL0TKlWgvIql6TWrIzWKMceq6O8HQNZzIgj5w66Dzi80dQYmXcHLEhCeBKCl4XmJ0vOIO3jDfeknVuslDNryuvFPrL7BJXNNGbMkLH7cbZ79UFc1BI/zcpD6JJMFrEBPPXzV1fptNPGFB85PRe0w+HhCNpnzIMSQH+PArSHP6PIqlKI4uMvI/KQZI8OpjrxMfkl5/jyjXAng18de7em3YcJZHyiAPtpPliZMjLQhYJLCWoQsBE5SuXwzUCZXCR7ZnCuUrg66y1hTo+qEM2LEpigmrKa2yGyBNhLfW1cIlGKDXrycYiYAbEBZD/EceF7lTlRfrG6Rp5p7wy1rwL+z/IzJfDJ4TYVsZbL19Fz/eDV0xc/6WonXIymz2iRQjQszSszTDgs0fUnrA==

Group,

     I think I've answered my own question, it would appear that it's the authentication token failing (then not failing back to IP authentication).  Either that, or my IP authentication isn't working.  

The following is from one of the test hosts (pscheduler.log)

Sep 29 17:17:07 ps-ku-bw archiver WARNING  14873162: Failed to archive https://localhost/pscheduler/tasks/e4680bda-019f-43a4-91e1-3669a457f59d/runs/cc2ab95c-986c-4e3e-8161-02d18a1d41ee to esmond: 401: Invalid token.

The results of the run are here:


is that interpretation of what's happening correct?  

If so, I'll have to go through Mesh configurations and test hosts and remove the authentication info (API username and key) from everywhere the MA is configured.


Sincerely,
Casey Russell
Network Engineer
KanREN
phone785-856-9809
2029 Becker Drive, Suite 282
Lawrence, Kansas 66047
linkedin twitter twitter

On Fri, Sep 29, 2017 at 4:40 PM, Casey Russell <> wrote:
Group,

     I've recently activated my new central MA, but posts to the esmond database seem to be failing.  

2001:49d0:23c0:1003::2 - - [29/Sep/2017:16:33:37 -0500] "POST /esmond/perfsonar/archive/ HTTP/1.1" 401 27 "-" "python-requests/2.6.0 CPython/2.6.6 Linux/2.6.32-696.6.3.el6.x86_64"
2001:49d0:23c0:1003::2 - - [29/Sep/2017:16:33:37 -0500] "POST /esmond/perfsonar/archive/ HTTP/1.1" 401 27 "-" "python-requests/2.6.0 CPython/2.6.6 Linux/2.6.32-696.6.3.el6.x86_64"
2001:49d0:23c0:1003::2 - - [29/Sep/2017:16:33:38 -0500] "POST /esmond/perfsonar/archive/ HTTP/1.1" 401 27 "-" "python-requests/2.6.0 CPython/2.6.6 Linux/2.6.32-696.6.3.el6.x86_64"
2001:49d0:23c0:1003::2 - - [29/Sep/2017:16:33:38 -0500] "POST /esmond/perfsonar/archive/ HTTP/1.1" 401 27 "-" "python-requests/2.6.0 CPython/2.6.6 Linux/2.6.32-696.6.3.el6.x86_64"
2001:49d0:23c0:1003::2 - - [29/Sep/2017:16:33:38 -0500] "POST /esmond/perfsonar/archive/ HTTP/1.1" 401 27 "-" "python-requests/2.6.0 CPython/2.6.6 Linux/2.6.32-696.6.3.el6.x86_64"

The 401 would indicate that they're "unauthorized" although they should be allowed by IP (v6) 

(esmond)[root@ps-dashboard esmond]# python esmond/manage.py add_user_ip_address kanren_v6 2001:49d0::/32
<clipping some stuff here for brevity>
Setting timeseries permissions.
IP 2001:49d0::/32 already assigned to kanren_v6, skipping creation

My reading of the documentation indicates if these testing hosts in the mesh are trying to submit an old API key and username, when that fails, it will fall back to IP authorization.  Is that correct?  Is this 401 caused by something in the httpd configs and not esmond specifically?  

I'm open to any guidance here.

Sincerely,
Casey Russell
Network Engineer
KanREN
2029 Becker Drive, Suite 282
Lawrence, Kansas 66047
linkedin twitter twitter




Archive powered by MHonArc 2.6.19.

Top of Page