perfsonar-user - Re: [perfsonar-user] problem with "python esmond/manage.py list" command after 3.5.1 upgrade
Subject: perfSONAR User Q&A and Other Discussion
List archive
Re: [perfsonar-user] problem with "python esmond/manage.py list" command after 3.5.1 upgrade
Chronological Thread
- From: Andrew Lake <>
- To: "Christopher J. Tengi" <>
- Cc: PerfSonar Users <>
- Subject: Re: [perfsonar-user] problem with "python esmond/manage.py list" command after 3.5.1 upgrade
- Date: Mon, 14 Mar 2016 13:29:23 -0400
Hi Chris,
WRT to your question about "manage.py list", I can't say I have used the list command before (which is not to say it didn't work in a previous django version). You should be able to do what you want by doing the python27 stuff and then running the following:
python esmond/manage.py dumpdata api.UserIpAddress
Its not perfect but should list all the IPs. Another option is to setup the Django admin GUI by running the command "python esmond/manage.py createsuperuser" to create and admin user and the using it to login at https://<yourhost>/esmond/admin. There should be a "User Ip Addresses" link on the main page you can use to manage the addresses.
Hope that helps,
Andy
On Wed, Mar 9, 2016 at 10:58 AM, Christopher J. Tengi <> wrote:
We are using IP-based authentication on our MA, and I noticed today that we were getting a number of “401 UNAUTHORIZED” errors for an endpoint that I *thought* I had added for IP auth. So, I got onto the MA and tried using the list command (after doing the python27 shuffle). Here are the results:
==========
(esmond)[root@perfsonar-ma-2 esmond]# python esmond/manage.py list
System check identified some issues:
WARNINGS:
api.IfRef.ipAddr: (fields.W900) IPAddressField has been deprecated. Support for it (except in historical migrations) will be removed in Django 1.9.
HINT: Use GenericIPAddressField instead.
api.LSPOpStatus.dstAddr: (fields.W900) IPAddressField has been deprecated. Support for it (except in historical migrations) will be removed in Django 1.9.
HINT: Use GenericIPAddressField instead.
api.LSPOpStatus.srcAddr: (fields.W900) IPAddressField has been deprecated. Support for it (except in historical migrations) will be removed in Django 1.9.
HINT: Use GenericIPAddressField instead.
==========
If there is another way to list the users/hosts I’ve added for IP-based authentication, I’d be happy to use it, but I *think* this is what I’m supposed to use, right? Assuming that this may be upgrade-related, please let me know what I can do to help resolve this issue. If it’s me, just slap me. :-)
Thanks,
/Chris
- [perfsonar-user] problem with "python esmond/manage.py list" command after 3.5.1 upgrade, Christopher J. Tengi, 03/09/2016
- Re: [perfsonar-user] problem with "python esmond/manage.py list" command after 3.5.1 upgrade, Humberto Galiza, 03/09/2016
- Re: [perfsonar-user] problem with "python esmond/manage.py list" command after 3.5.1 upgrade, Humberto Galiza, 03/09/2016
- Re: [perfsonar-user] problem with "python esmond/manage.py list" command after 3.5.1 upgrade, Daniel Doyle, 03/09/2016
- Re: [perfsonar-user] problem with "python esmond/manage.py list" command after 3.5.1 upgrade, Humberto Galiza, 03/09/2016
- Re: [perfsonar-user] problem with "python esmond/manage.py list" command after 3.5.1 upgrade, Daniel Doyle, 03/09/2016
- Re: [perfsonar-user] problem with "python esmond/manage.py list" command after 3.5.1 upgrade, Andrew Lake, 03/14/2016
Archive powered by MHonArc 2.6.16.