Thanks a lot for your help. Its working now! Regards, Shobha and Deepa
On Sun, Sep 26, 2010 at 1:24 AM, Richard Gass <[email protected]> wrote: > Do the following : > > data.baseDataObject.hosts[1].name="mypcname" > data.baseDataObject.save() > > in the clustermanager session > > Without looking, I suspect this is because when the nodemanager scraps > information about the host, it pulls the hostname "mypcname", which > doesn't match "localhost". > > > RIchard > > > On Sun, Sep 26, 2010 at 12:48 AM, shobha diwakar > <[email protected]> wrote: > > Hello Everyone > > We are setting up Tashi on a single test machine. We have completed the > > following steps: > > 1../bin/clustermanager.py > > > > In [1]: from tashi.rpycservices.rpyctypes import Host, HostState, Network > > > > In [2]: data.baseDataObject.hosts[1] = > > Host(d={'id':1,'name':'localhost','state': HostState.Normal,'up':False}) > > > > In [3]: data.baseDataObject.save() > > > > In [4]: import threading > > > > In [5]: data.baseDataObject.hosts[1]._lock = threading.Lock() > > > > 2. ./bin/nodemanager.py > > > > On running the nodemanager we get the following error: > > > > TashiException: {'msg': 'A host with name mypcname is not identifiable', > > 'errno': 5} > > > > Has anyone encountered this issue before? What could be the reason this > is > > occuring. Please let us know if anyone has any suggestions. Thanks. > > > > Regards, > > > > Shobha and Deepa > > > > > > -- > Richard Gass >
