You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by ge...@gump.apache.org on 2004/06/25 17:33:08 UTC

[jira] Commented: (GUMP-71) Gump Run GUID should use hostname and FQDN

The following comment has been added to this issue:

     Author: Adam Jack
    Created: Fri, 25 Jun 2004 8:32 AM
       Body:
I don't think we can do much more with the code, this becomes a configuration issue (I beleive):

# Generate a GUID (or close)
import md5
import socket        
m=md5.new()
self.guid = socket.getfqdn()  + ':' + workspace.getName() + ':' + default.datetime
m.update(self.guid)
self.hexguid=m.hexdigest().upper()     
log.debug('Run GUID [' + `self.guid` + '] using [' + `self.hexguid` + ']')    
        
>From the manual:

getfqdn( [name]) 

Return a fully qualified domain name for name. If name is omitted or empty, it is interpreted as the local host. To find the fully qualified name, the hostname returned by gethostbyaddr() is checked, then aliases for the host, if available. The first name which includes a period is selected. In case no fully qualified domain name is available, the hostname is returned. New in version 2.0. 
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/GUMP-71?page=comments#action_36346

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/GUMP-71

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: GUMP-71
    Summary: Gump Run GUID should use hostname and FQDN
       Type: Improvement

     Status: Unassigned
   Priority: Minor

    Project: Gump
 Components: 
             Python
   Versions:
             unspecified

   Assignee: 
   Reporter: Nick Chalko

    Created: Fri, 25 Jun 2004 8:10 AM
    Updated: Fri, 25 Jun 2004 8:32 AM

Description:
The gump run is looks like this
brutus:brutus-public:20040624 21:00:11

it should look like  
brutus.apache.org:brutus-public:20040624 21:00:11




---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org