Re: [xcat-user] xdcp -F / updatenode -F "Noderange missing"

2019-10-14 Thread Thomas HUMMEL

On 10/14/19 5:37 PM, Vinícius Ferrão via xCAT-user wrote:

Thomas,

Do you have all the entries in /etc/hosts and on the DNS?


Actually I haven't any node entry in /etc/hosts indeed.


They are redundant, I know, but sometimes xCAT picks values from /etc/hosts and 
sometimes from DNS. This is really a problem, but you get used to it.


Ok.


If you’re unable to create the entries with makehosts, since you said that the 
machine isn’t an xCAT object, you can put the entries manually. xCAT will not 
override.

I assumed this with your feedback, not sure if it’s the problem either.


Thanks for your advice but I think I prefer using short name or IP 
address since it seems to workaround the issue.


--
TH.




___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user


Re: [xcat-user] xdcp -F / updatenode -F "Noderange missing"

2019-10-14 Thread Thomas HUMMEL

On 10/14/19 3:56 PM, Casandra H Qiu wrote:

can u able to run "nslookup maestro-xcat.maestro.pasteur.fr" ?

the "getipaddr' sub routine will failed if can't performs a lookup on 
that name


Hello,

yes I can resolve the name.

Thanks.

--
TH.




___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user


Re: [xcat-user] xdcp -F / updatenode -F "Noderange missing"

2019-10-14 Thread Vinícius Ferrão via xCAT-user
Thomas, 

Do you have all the entries in /etc/hosts and on the DNS? They are redundant, I 
know, but sometimes xCAT picks values from /etc/hosts and sometimes from DNS. 
This is really a problem, but you get used to it.

If you’re unable to create the entries with makehosts, since you said that the 
machine isn’t an xCAT object, you can put the entries manually. xCAT will not 
override.

I assumed this with your feedback, not sure if it’s the problem either.

Thanks,


> On 14 Oct 2019, at 07:14, Thomas HUMMEL  wrote:
> 
> On 10/14/19 11:22 AM, Thomas HUMMEL wrote:
>> On 10/14/19 10:59 AM, Thomas HUMMEL wrote:
>>> following service nodes: ,maestro-xcat.maestro.pasteur.fr
>> Sorry, I juste noticed I had the above typo in my site table :
>> "master",",maestro-xcat.maestro.pasteur.fr",,
>> Now I changed it to
>> "master","maestro-xcat.maestro.pasteur.fr",,
>> I get
>> # xdcp maestro-300 -F /opt/test/synclists/list.synclist
>> Error: [maestro-xcat]: Error from pping
>> But I can pping the node :
>> [root@maestro-xcat opt]# pping maestro-300
>> maestro-300: ping
> 
> I can fix it now but can't quite explain what happens :
> 
> The problem was that pping was not able to pping the master 
> (maestro-xcat.maestro.pasteur.fr) itself.
> 
> I can make it work by
> 
> - either using the ip as the "master" attribute value in the site table
> - or using the non fqdn (maestro-xcat) value in site table
> 
> This is quite confusing as man site mention "The hostname of the xCAT 
> management node, as known by the nodes"
> 
> Note : in any case my maestro-xcat management node is not an xCAT node object 
> itself, which may itself be a bad practice (but it has always worked for me 
> this way)
> 
> Thanks
> 
> --
> TH
> 
> 
> 
> ___
> xCAT-user mailing list
> xCAT-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xcat-user


___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user


Re: [xcat-user] xdcp -F / updatenode -F "Noderange missing"

2019-10-14 Thread Casandra H Qiu

can u able to run "nslookup maestro-xcat.maestro.pasteur.fr"  ?

the "getipaddr' sub routine will failed if can't performs a lookup on that
name


Thanks,
Casandra Qiu

...
Casandra Hong Qiu
Phone: (845) 433-9291, t/l 293-9291
Office: Building 8, 3-B-04
cxh...@us.ibm.com





From:   Thomas HUMMEL 
To: xcat-user@lists.sourceforge.net
Date:   10/14/2019 06:14 AM
Subject:[EXTERNAL] Re: [xcat-user] xdcp -F / updatenode -F "Noderange
missing"



On 10/14/19 11:22 AM, Thomas HUMMEL wrote:
> On 10/14/19 10:59 AM, Thomas HUMMEL wrote:
>
>> following service nodes: ,maestro-xcat.maestro.pasteur.fr
>
> Sorry, I juste noticed I had the above typo in my site table :
>
>
> "master",",maestro-xcat.maestro.pasteur.fr",,
>
> Now I changed it to
>
> "master","maestro-xcat.maestro.pasteur.fr",,
>
> I get
>
> # xdcp maestro-300 -F /opt/test/synclists/list.synclist
> Error: [maestro-xcat]: Error from pping
>
> But I can pping the node :
>
> [root@maestro-xcat opt]# pping maestro-300
> maestro-300: ping

I can fix it now but can't quite explain what happens :

The problem was that pping was not able to pping the master
(maestro-xcat.maestro.pasteur.fr) itself.

I can make it work by

- either using the ip as the "master" attribute value in the site table
- or using the non fqdn (maestro-xcat) value in site table

This is quite confusing as man site mention "The hostname of the xCAT
management node, as known by the nodes"

Note : in any case my maestro-xcat management node is not an xCAT node
object itself, which may itself be a bad practice (but it has always
worked for me this way)

Thanks

--
TH



___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_xcat-2Duser=DwICAg=jf_iaSHvJObTbx-siA1ZOg=n1LR_Py9TQX0dVqfGTbLHUMGx25-C8VtBDS0nCzyNXY=5RVUn1qIBdQmkCvyEa3t1OCSXIFDifVCh9odApOo1-Q=E11Ukagk9-go-3iujk-hZO2DodCB6JcELXETKLRqTpQ=




___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user


Re: [xcat-user] xdcp -F / updatenode -F "Noderange missing"

2019-10-14 Thread Thomas HUMMEL

On 10/14/19 11:22 AM, Thomas HUMMEL wrote:

On 10/14/19 10:59 AM, Thomas HUMMEL wrote:


following service nodes: ,maestro-xcat.maestro.pasteur.fr


Sorry, I juste noticed I had the above typo in my site table :


"master",",maestro-xcat.maestro.pasteur.fr",,

Now I changed it to

"master","maestro-xcat.maestro.pasteur.fr",,

I get

# xdcp maestro-300 -F /opt/test/synclists/list.synclist
Error: [maestro-xcat]: Error from pping

But I can pping the node :

[root@maestro-xcat opt]# pping maestro-300
maestro-300: ping


I can fix it now but can't quite explain what happens :

The problem was that pping was not able to pping the master 
(maestro-xcat.maestro.pasteur.fr) itself.


I can make it work by

- either using the ip as the "master" attribute value in the site table
- or using the non fqdn (maestro-xcat) value in site table

This is quite confusing as man site mention "The hostname of the xCAT 
management node, as known by the nodes"


Note : in any case my maestro-xcat management node is not an xCAT node 
object itself, which may itself be a bad practice (but it has always 
worked for me this way)


Thanks

--
TH



___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user


Re: [xcat-user] xdcp -F / updatenode -F "Noderange missing"

2019-10-14 Thread Thomas HUMMEL

On 10/14/19 10:59 AM, Thomas HUMMEL wrote:


following service nodes: ,maestro-xcat.maestro.pasteur.fr


Sorry, I juste noticed I had the above typo in my site table :


"master",",maestro-xcat.maestro.pasteur.fr",,

Now I changed it to

"master","maestro-xcat.maestro.pasteur.fr",,

I get

# xdcp maestro-300 -F /opt/test/synclists/list.synclist
Error: [maestro-xcat]: Error from pping

But I can pping the node :

[root@maestro-xcat opt]# pping maestro-300
maestro-300: ping

Thanks.

--
TH


___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user


[xcat-user] xdcp -F / updatenode -F "Noderange missing"

2019-10-14 Thread Thomas HUMMEL

Hello,

Using xCAT-server-2.14.6 on CentOS 7.7 x86_64, I'm experiencing the 
following when trying a simple xdcp command :



# find /opt/test/
/opt/test/
/opt/test/synclists
/opt/test/synclists/list.synclist
/opt/test/foobar.txt

# cat /opt/test/foobar.txt
HELLO

# cat /opt/test/synclists/list.synclist
/opt/test/foobar.txt -> /tmp/foobar.txt

# xdcp maestro-300 -F /opt/test/synclists/list.synclist
Error: [maestro-xcat]: Noderange missing in command input
Error: [maestro-xcat]: 
File:/var/xcat/syncfiles/opt/test/synclists/list.synclist does not exist.
Error: [maestro-xcat]: Failed to dispatch command to any of the 
following service nodes: ,maestro-xcat.maestro.pasteur.fr


The same test on a similary configured older xCAT 
xCAT-server-2.11-snap201511300543.noarch / CentOs 6.10) works as expected


Note : I don't use any service node - or at least I don't think I do ;-) 
(so the "Failed to dispatch command to any of the following service 
nodes: ,maestro-xcat.maestro.pasteur.fr" confuses me).


In site table of the old xCAT are the following entries :

"SNsyncfiledir","/var/xcat/syncfiles",,
"nodesyncfiledir","/var/xcat/node/syncfiles",,

In site table of the new xCAT table is the same (I tried "/" for 
"SNsyncfiledir","/var/xcat/syncfiles",, as well but that does not change 
the "Noderange missing" issue)


Can you help me figure out what's going on ?


Thanks

--
Thomas HUMMEL




___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user