[GE issues] [Issue 2922] New - hostname string which contains ip representation only supported when FQDN is enabled

crei crei at sun.com
Thu Feb 19 09:42:03 GMT 2009


http://gridengine.sunsource.net/issues/show_bug.cgi?id=2922
                 Issue #|2922
                 Summary|hostname string which contains ip representation only 
                        |supported when FQDN is enabled
               Component|gridengine
                 Version|6.2u2beta
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P4
            Subcomponent|kernel
             Assigned to|andreas
             Reported by|crei






------- Additional comments from crei at sunsource.net Thu Feb 19 01:41:58 -0800 2009 -------
Gridengine does not correctly support hostnames which contains the ip
representation of the host (e.g. "192.168.141.82" which is the host "host_A" in
the following example).

How to reproduce:

1) Setup host aliasing (or edit /etc/hosts) that the hostname results in a ip
address string:

> cat $SGE_ROOT/default/common/host_aliases 
192.168.141.82 host_A

> $SGE_ROOT/utilbin/sol-amd64/gethostbyname -all host_A
Hostname: host_A
SGE name: 192.168.141.82
Aliases:  
Host Address(es): 192.168.141.82 

The resulting SGE name is "192.168.141.82". 

(It might be necessary to restart the qmaster host)

2) a qhost removes the last 3 ip adress numbers:
> qhost
HOSTNAME                ARCH         NCPU  LOAD  MEMTOT  MEMUSE  SWAPTO  SWAPUS
-------------------------------------------------------------------------------
global                  -               -     -       -       -       -       -
192                     sol-sparc64     2     -    8.0G       -  521.0M       -
host_B                  lx26-amd64      2  0.64    3.9G  597.1M    2.0G   32.0K
host_C                  sol-amd64       4  0.13   15.9G    3.5G   16.0G     0.0
host_D                  lx26-amd64      4  0.62   15.5G    2.7G    8.0G     0.0
host_E                  sol-sparc64     2  0.05    4.0G    2.0G  516.0M     0.0
host_F                  lx26-amd64      4  0.11   15.5G    6.2G    1.9G    1.9G


WORKAROUND:
===========
Use full qualified host resolving (see bootstrap file) and restart qmaster.
=> ignore_fqdn must be set to false

> cat $SGE_ROOT/default/common/bootstrap 
# Version: 6.2u2
#
...
ignore_fqdn             true   
...

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=36&dsMessageId=109651

To unsubscribe from this discussion, e-mail: [issues-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list