[Planetlab-devel] Unable to log in with SFI

Ihsan Qazi iqazi at bbn.com
Tue Jun 16 11:35:19 EDT 2009


Hi Danny,

This suggests that your record doesn't exist on geniwrapper as yet. 
Since PLC is being updated to version 4.3, your record may not have 
propagated to geniwrapper. I would suggest contacting the support staff 
at Princeton. I also had a similar problem few days back.

regards,
Ihsan

Danny Y. Huang wrote:
> Hi Ihsan,
>
> If my SFI_USER is changed is "plc.princeton.yh1", the following error 
> is obtained when I run "python sfi.py list ple":
>
>     geni.util.geniclient.ServerException: : get_credential: Record not
>     found: plc.princeton.yh1
>
>
> What should my SFI_USER be? Thanks!
>
> Regards,
> Danny
> http://sysnet1.cs.williams.edu <http://sysnet1.cs.williams.edu/>
>
> PS: This is the full traceback:
>
>     yh1 at sysnet1:~/geniwrapper/cmdline$ *./sfi.py list ple*
>     Enter PEM pass phrase:
>     Traceback (most recent call last):
>       File "./sfi.py", line 696, in <module>
>         main()
>       File "./sfi.py", line 367, in main
>         dispatch(command, cmd_opts, cmd_args)
>       File "./sfi.py", line 333, in dispatch
>         globals()[command](cmd_opts, cmd_args)
>       File "./sfi.py", line 383, in list
>         user_cred = get_user_cred()
>       File "./sfi.py", line 135, in get_user_cred
>         user_cred = registry.get_credential(None, "user", user)
>       File "/usr/lib/python2.5/site-packages/geni/util/geniclient.py",
>     line 157, in get_credential
>         cred_str = self.server.get_credential(cred, type, name)
>       File "/usr/lib/python2.5/xmlrpclib.py", line 1147, in __call__
>         return self.__send(self.__name, args)
>       File "/usr/lib/python2.5/xmlrpclib.py", line 1437, in __request
>         verbose=self.__verbose
>       File "/usr/lib/python2.5/xmlrpclib.py", line 1201, in request
>         return self._parse_response(h.getfile(), sock)
>       File "/usr/lib/python2.5/xmlrpclib.py", line 1340, in
>     _parse_response
>         return u.close()
>       File "/usr/lib/python2.5/site-packages/geni/util/geniclient.py",
>     line 30, in close
>         raise ServerException(e.faultString)
>     geni.util.geniclient.ServerException: : get_credential: Record not
>     found: plc.princeton.yh1
>
>
>
>
>
>
>
>
>
> On Tue, Jun 16, 2009 at 10:55 AM, Ihsan Qazi <iqazi at bbn.com 
> <mailto:iqazi at bbn.com>> wrote:
>
>     Hi Danny,
>
>     I think the SFI_USER should be set to "plc.princeton.yh1" rather
>     than "plc.princeton.yh1 at williams.edu"
>     <mailto:plc.princeton.yh1 at williams.edu>.
>
>     regards,
>     Ihsan
>
>     Danny Y. Huang wrote:
>>     Hi,
>>
>>     I'm trying to use the SFI utility in GeniWrapper but I'm unable
>>     to log in. I'm using the princeton PLC. My planet-lab user-name
>>     is yh1 at williams.edu <mailto:yh1 at williams.edu>. Could someone
>>     please tell me how I should configure the configSfi file so that
>>     I can use the SFI utility? I'm trying to incorporate the
>>     GeniWrapper interface for Gush.
>>
>>     This is the error message when I try to run "python
>>     geniwrapper/cmdline/sfi list ple".
>>
>>         geni.util.geniclient.ServerException: : get_credential:
>>         Missing authority: plc.princeton.yh1 at williams
>>
>>
>>     And this is my configSfi.sh file:
>>
>>         export SFI_AUTH=plc.princeton
>>         export SFI_USER=$SFI_AUTH.yh1 at williams.edu
>>         <mailto:SFI_AUTH.yh1 at williams.edu>
>>         export SFI_REGISTRY=http://www.planet-lab.org:12345/
>>         export SFI_SM=http://www.planet-lab.org:12346/
>>
>>
>>     Thank you!
>>
>>     Regards,
>>     Danny Y. Huang
>>     http://sysnet1.cs.williams.edu
>>
>>     PS: This is the full traceback:
>>
>>         yh1 at sysnet1:~/geniwrapper/cmdline$ *./sfi.py list ple*
>>         Enter PEM pass phrase:
>>         Traceback (most recent call last):
>>           File "./sfi.py", line 696, in <module>
>>             main()
>>           File "./sfi.py", line 367, in main
>>             dispatch(command, cmd_opts, cmd_args)
>>           File "./sfi.py", line 333, in dispatch
>>             globals()[command](cmd_opts, cmd_args)
>>           File "./sfi.py", line 383, in list
>>             user_cred = get_user_cred()
>>           File "./sfi.py", line 135, in get_user_cred
>>             user_cred = registry.get_credential(None, "user", user)
>>           File
>>         "/usr/lib/python2.5/site-packages/geni/util/geniclient.py",
>>         line 157, in get_credential
>>             cred_str = self.server.get_credential(cred, type, name)
>>           File "/usr/lib/python2.5/xmlrpclib.py", line 1147, in __call__
>>             return self.__send(self.__name, args)
>>           File "/usr/lib/python2.5/xmlrpclib.py", line 1437, in __request
>>             verbose=self.__verbose
>>           File "/usr/lib/python2.5/xmlrpclib.py", line 1201, in request
>>             return self._parse_response(h.getfile(), sock)
>>           File "/usr/lib/python2.5/xmlrpclib.py", line 1340, in
>>         _parse_response
>>             return u.close()
>>           File
>>         "/usr/lib/python2.5/site-packages/geni/util/geniclient.py",
>>         line 30, in close
>>             raise ServerException(e.faultString)
>>         geni.util.geniclient.ServerException: : get_credential:
>>         Missing authority: plc.princeton.yh1 at williams
>>
>>
>>     ------------------------------------------------------------------------
>>
>>     _______________________________________________
>>     Devel mailing list
>>     Devel at lists.planet-lab.org <mailto:Devel at lists.planet-lab.org>
>>     https://lists.planet-lab.org/mailman/listinfo/devel
>>       
>
>
>     _______________________________________________
>     Devel mailing list
>     Devel at lists.planet-lab.org <mailto:Devel at lists.planet-lab.org>
>     https://lists.planet-lab.org/mailman/listinfo/devel
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Devel mailing list
> Devel at lists.planet-lab.org
> https://lists.planet-lab.org/mailman/listinfo/devel
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.planet-lab.org/pipermail/devel/attachments/20090616/6429292e/attachment-0001.html


More information about the Devel mailing list