i have problem about sfi. can you help me?

17 views
Skip to first unread message

Duy Huynh Anh

unread,
Sep 5, 2013, 2:49:00 PM9/5/13
to sface...@googlegroups.com
i installed SFi-client, but i can't show detailed record information
[root@vn-lab .sfi]# sfi.py show vn-lab.bk.hieu
Traceback (most recent call last):
  File "/usr/bin/sfi.py", line 8, in <module>
    Sfi().main()
  File "/usr/lib/python2.6/site-packages/sfa/client/sfi.py", line 392, in main
    self.bootstrap ()
  File "/usr/lib/python2.6/site-packages/sfa/client/sfi.py", line 492, in bootstrap
    bootstrap.bootstrap_my_gid()
  File "/usr/lib/python2.6/site-packages/sfa/client/sfaclientlib.py", line 193, in bootstrap_my_gid
    self.my_credential()
  File "/usr/lib/python2.6/site-packages/sfa/client/sfaclientlib.py", line 280, in wrapped
    produce_method (self, filename, *args, **kw)
  File "/usr/lib/python2.6/site-packages/sfa/client/sfaclientlib.py", line 134, in my_credential_produce
    credential_string=registry_proxy.GetSelfCredential (certificate_string, self.hrn, "user")
  File "/usr/lib/python2.6/site-packages/sfa/client/sfaserverproxy.py", line 112, in func
    return getattr(self.serverproxy, name)(*args, **kwds)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.6/xmlrpclib.py", line 1235, in request
    self.send_content(h, request_body)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1349, in send_content
    connection.endheaders()
  File "/usr/lib/python2.6/httplib.py", line 868, in endheaders
    self._send_output()
  File "/usr/lib/python2.6/httplib.py", line 740, in _send_output
    self.send(msg)
  File "/usr/lib/python2.6/httplib.py", line 699, in send
    self.connect()
  File "/usr/lib/python2.6/httplib.py", line 1072, in connect
    sock = socket.create_connection((self.host, self.port), self.timeout)
  File "/usr/lib/python2.6/socket.py", line 498, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
socket.gaierror: [Errno -2] Name or service not known

can you help me? 
thank you

Tony Mack

unread,
Sep 5, 2013, 3:55:22 PM9/5/13
to sface...@googlegroups.com
Hi Duy,

It looks like your client is unable to connect to the registry service at vn-lab. Can you reply with the contents of ~/.sfi/sfi_config?

Regards,
Tony
--
You received this message because you are subscribed to the Google Groups "Sface Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sface-users...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out .

Duy Huynh Anh

unread,
Sep 6, 2013, 12:18:57 AM9/6/13
to sface...@googlegroups.com
Hi Tony,
Thank you for your reply. My vn-lab system basics on Planet-Lab, i deployed vn-lab at laboratory, and my  contents of ~/.sfi/sfi_config
SFI_AUTH='vn-lab.bk'
SFI_USER='vn-lab.bk.hieu'
Regards,
Duy


2013/9/6 Tony Mack <tm...@cs.princeton.edu>
You received this message because you are subscribed to a topic in the Google Groups "Sface Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sface-users/a1UePhN0ZNs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sface-users...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.



--
Name: Huynh Anh Duy
SCHOOL : University of Technology HCM city
ID: had_2408

Tony Mack

unread,
Sep 6, 2013, 9:21:57 AM9/6/13
to sface...@googlegroups.com
You can use telnet to check if the registry service is running at the address specified in your sfi_config and that you can reach it. What's the output of:

$ telnet 172.28.13.251 12345
Name: Huynh Anh Duy
SCHOOL : University of Technology HCM city
ID: had_2408




Duy Huynh Anh

unread,
Sep 9, 2013, 12:47:58 AM9/9/13
to sface...@googlegroups.com
Thank Tony, i showed record infomation, when i created new site.
Duy


2013/9/6 Tony Mack <tm...@cs.princeton.edu>
To unsubscribe from this group and all its topics, send an email to sface-users...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages