Skip to Content.
Sympa Menu

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

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] New Central MA


Chronological Thread 
  • From: Casey Russell <>
  • To: "Garnizov, Ivan (RRZE)" <>
  • Cc: "" <>
  • Subject: Re: [perfsonar-user] New Central MA
  • Date: Tue, 3 Oct 2017 10:16:10 -0500
  • Ironport-phdr: 9a23:aP3mQhBBjaC7U4mno9gvUyQJP3N1i/DPJgcQr6AfoPdwSP37p8+wAkXT6L1XgUPTWs2DsrQf2rqQ6/iocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbQhFgDmwbaluIBmqsA7cqtQYjYx+J6gr1xDHuGFIe+NYxWNpIVKcgRPx7dqu8ZBg7ipdpesv+9ZPXqvmcas4S6dYDCk9PGAu+MLrrxjDQhCR6XYaT24bjwBHAwnB7BH9Q5fxri73vfdz1SWGIcH7S60/VC+85Kl3VhDnlCYHNyY48G7JjMxwkLlbqw+lqxBm3oLYfJ2ZOP94c6jAf90VWHBBU95TWCxPAo2yYYgBAfcfM+lEtITyvUcCoAGkCAWwGO/iyDlFjWL2060g1OQhFBnL0RI6ENIVrnvVrMj+OrsPUeCu16nH0zHDb/dL0jr69IfIaA0hoeqXXb1udcrRzVIiFwDfgVWWs4zqITWV2v4Ls2eF8+ptTOSigHMppQF2pzig3MYsio/Ri4IRy1DE8yZ5z5goKt25Tk53e8KrEJxVty2CK4t3TMIiQ310uCkk0L0Ko4K0fC8PyJg/yB7fbPuHc4eM4h39TuqePTB4hHd9dL6ihhu//lKsxvDhWsS6ylpGsjBJnsXUun0M0xHf8MqKR/ln8ku9wzqDyxjf5vxALE03j6bXNZEsz70qmpYPq0jPAjf6mEbsg6+QbEUr5O6o5/7hYrr4up+RMZJ/hALmMqk2hMCyAPg0PwoLUmiV+umzz6Hv8Ej2TblWkvE7nKzUv4zGKckao6O0BhFZ3pg45Bu5Ejyoys4XnWMdI1JAYB+Hj5bmO1XJIP3gCPewmVWskDNyy/DBP73tHozBL3fdnLv/Zrlx8UFcyA00zdBQ45JbFKsNL+70Wk/0rNDYDxk5PBKow+v/Ftlw158SVGCKD6+XM67dqkOE6+cgLuWQeIMYtjPwJOQ56/PviHI0nEERcbey0pcPbXC3BPVmI0GXYXr2hdcBFH8HsRYkTOz3k12CSiBcZ3K2X68n5TE0EoSmDZ3dSYCrmrCB2jm0HoFOamBcFl+MCWvod5mDW/oUcCKdPNVhkjIfVbimTY8uzwuuuBbny7p8MOXU4DYVtZbi1Nhu++3Tjg8++SZ1D8Sbz2GCUXt0nmUWSD8qwqxzu1JyxUqe0fswv/sNX/Na/fVIQAAkcdb90eV8Q5DIYDDsP53BHFe4S9PgDjgrSNMjxMEmbU9gXdmv2EPtxS2vVpQcjLGaTKYp6bnR23y5c81n1m3d2a0lp1ovRNFCMyugi7IppFubPJLAj0jMz/XiTq8bxiOYsT7blWc=

Ivan,

     When I set up the new MA, I did (per the examples) use a single identifier, with multiple IP blocks, for example 

python esmond/manage.py add_user_ip_address kanren_v4 164.113.0.0/16 198.248.0.0/16 69.77.0.0/17

     Are you saying you've had better luck breaking those up into 3 different entries with 3 different ids like so?

python esmond/manage.py add_user_ip_address kanren_1 164.113.0.0/16
python esmond/manage.py add_user_ip_address kanren_2 198.248.0.0/16
python esmond/manage.py add_user_ip_address kanren_3 69.77.0.0/17


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

On Tue, Oct 3, 2017 at 12:14 AM, Garnizov, Ivan (RRZE) <> wrote:

Hello Casey,

 

Could it be the case, that you are using one and the same identifier for all IP registrations?

In my procedures dating back from 3.5.1 I had to generate different ID for every IP added, unless you add them in network groups.

Please note, this might have changed with the upgrades of pS, but it makes also perfect sense, if it is the case to get these messages on your attempts for subsequent IP authorizations and still  get denied on service requests from “authorized” systems.

 

I believe it would be quite easy to check this suggestion for a single IP and then later consider a more global approach.

 

Regards,

Ivan Garnizov

 

From: [mailto:] On Behalf Of Casey Russell
Sent: Freitag, 29. September 2017 23:41
To:
Subject: [perfsonar-user] New Central MA

 

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

linkedintwittertwitter





Archive powered by MHonArc 2.6.19.

Top of Page