xcat2 / xcat-core

Code repo for xCAT core packages
Eclipse Public License 1.0
356 stars 170 forks source link

syncfiles return with 1 in one node and returned 0 in another node #7445

Open abhishek-sa1 opened 3 weeks ago

abhishek-sa1 commented 3 weeks ago

syncfiles return with 1 in one node and returned 0 in another node. Due to this node status updated as failed. By running updatenode -F it updated successfully in failed node.

After reprovisioning of OS in same node, syncfiles return with 0.

Is this issue due to any connectivity? Any insights on this?

abhishek-sa1 commented 3 weeks ago

@samveen @Obihoernchen Can you share your comments

samveen commented 3 weeks ago

@abhishek-sa1 Only a log of the script run in the install log can give any insight of what the issue might have been. Without that, it is not possible to know what the issue might have been.

abhishek-sa1 commented 3 weeks ago

@samveen Logs mentioned in xcat.log: Tue Jun 11 08:30:01 UTC 2024 [info]: xcat.deployment.postbootscript: postbootscript start..: syncfiles Tue Jun 11 08:31:05 GMT 2024 [info]: xcat.deployment.postbootscript: postbootscript end...: syncfiles return with 1

abhishek-sa1 commented 3 weeks ago

@samveen log in cluster.log of management node: Jun 11 08:30:51 xcat.deployment.postbootscript INFO postbootscript start..: syncfiles Jun 11 08:30:51 xcat.deployment.postbootscript: INFO Performing syncfiles postscript Jun 11 08:30:51 xcat.deployment.postbootscript: INFO syncfiles: the OS name = Linux Jun 11 08:30:51 xcat[512436]: INFO xCAT: Allowing syncfiles from n1 Jun 11 08:30:51 xcat[512438]: INFO xCAT: Allowing syncfiles from n1 Jun 11 08:31:04 xcat[512485]: INFO xCAT: Allowing syncfiles from n1 Jun 11 08:31:04 xcat[512498]: INFO xCAT: Allowing syncfiles from n1 Jun 11 08:31:05 xcat.deployment.postbootscript: ERR syncfiles: Perform Syncing File action encountered error Jun 11 08:31:05 xcat.deployment.postbootscript INFO postbootscript end...: syncfiles return with 1

samveen commented 3 weeks ago

As the initial error happened on the node during install time, please check the logs installer logs on the node. For yum based installers (RH/Centos/Rocky), the location is usually in /var/log/xcat/ . Looking at the ubuntu installer templates, the same location is also used for ubuntu installs for storing the installer logs.

abhishek-sa1 commented 3 weeks ago

I have mentioned xcat.log above.