Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
abhishek-sa1 opened this issue Jun 11, 2024 · 6 comments
Open

Comments

@abhishek-sa1
Copy link

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
Copy link
Author

@samveen @Obihoernchen Can you share your comments

@samveen
Copy link
Member

samveen commented Jun 11, 2024

@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
Copy link
Author

abhishek-sa1 commented Jun 11, 2024

@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
Copy link
Author

abhishek-sa1 commented Jun 12, 2024

@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
Copy link
Member

samveen commented Jun 12, 2024

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
Copy link
Author

I have mentioned xcat.log above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants