[Planetlab-devel] Unable to log in with SFI
Danny Y. Huang
yh1 at williams.edu
Tue Jun 16 12:11:33 EDT 2009
Hi Larry,
When I tried using plc.williams.yh1, I got a
"geni.util.geniclient.ServerException: : get_credential: Connection Key GID
mismatch: plc.williams.yh1" error. Could you please tell me how I should
configure SFI for it to run properly?
Thank you!
Regards,
Danny
http://sysnet1.cs.williams.edu
PS: Here is the fully traceback:
yh1 at sysnet1:~/geniwrapper/cmdline$* ./sfi.py list ple*
Enter PEM pass phrase: ******* (This is my RSA pass phrase. It asks for my
PEM pass phrase though I have keychain set up.)*
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: Connection Key GID
mismatch: plc.williams.yh1
On Tue, Jun 16, 2009 at 11:49 AM, Larry Peterson <pete.larry at gmail.com>wrote:
> Nope. The account is there. (I just ran "sfi list plc.williams" and saw
> it.)
> There was a narrow window that affected you -- added a new account
> via the PLC interfaces after 4.3 was brought up, since there was a bug
> in the code that does an upcall from PLC to geniwrapper.
>
> Larry
>
> On Tue, Jun 16, 2009 at 11:35 AM, Ihsan Qazi<iqazi at bbn.com> wrote:
> > 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
> >
> > 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> wrote:
> >>
> >> Hi Danny,
> >>
> >> I think the SFI_USER should be set to "plc.princeton.yh1" rather than
> >> "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.
> >> 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
> >>> 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
> >> 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
> >>
> >
> > ________________________________
> > _______________________________________________
> > Devel mailing list
> > 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
> >
> >
>
> _______________________________________________
> 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/01f6648a/attachment.html
More information about the Devel
mailing list