Hi,

Thanks for including the patch, though I think it's a workaround (convenient 
for the moment)
hostname IMHO is not the full name with domain name.
For that purpose, there is a column called FQDN.
what is strange for now is that the database is setup with my head fqdn set 
into the 'name' column.


For that reason, I think some cleanup is needed here.
I'll try to have a look if I find time.

Regards,

Olivier.

Le vendredi 27 novembre 2009 23:52:44 geoffroy.val...@free.fr, vous avez écrit :
> Olivier,
> 
> For what i know, the hostname is the full hostname including the domain 
> whereas
> the name is the node name used in OSCAR. However, i am not one of the initial
> ODA developers, therefore i may be wrong.
> 
> Anyway, your patch, even if not perfect is still better than the current code 
> so
> i just checked it in (r9079).
> 
> Thanks,
> 
> 
> Selon Olivier LAHAYE <olivier.lah...@cea.fr>:
> 
> >
> > hostname column is not set in the Nodes table for nodes
> > (set_node_with_group).
> > Unfortunately, this field is required by
> > /var/lib/oscar/packages/sge/api-post-clientdef line 61 (qconf -ah $hostanme)
> >
> > Maybe my patch is bad as there are other fields that are not set at this
> > stage and they may be setup later.
> > The problem is that the hostname must have a value before
> > /var/lib/oscar/packages/sge/api-post-clientdef is run.
> >
> > Or this script could be changed to use the name instead of the hostname to
> > declare the queue....
> >
> > I chose to set the hostname field to name in the Node table when a node is
> > created: patch attached.
> >
> > In the nodes table, what is the difference between name and hostname fields?
> >
> > --
> >     Olivier LAHAYE
> >     CEA Saclay
> >     DRT-LIST-DETECS-SSTM
> >
> 
> 
> 

-- 
        Olivier LAHAYE
        CEA Saclay
        DRT-LIST-DETECS-SSTM

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to