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

nodeset command failed with error randomly, and works after sometime #7446

Closed
abhishek-sa1 opened this issue Jun 14, 2024 · 4 comments
Closed

Comments

@abhishek-sa1
Copy link

abhishek-sa1 commented Jun 14, 2024

nodeset command failed with error randomly

command: nodeset all osimage=ubuntu22.04.3-x86_64-install-compute

Error mentioned below:

Usage: nodeset [COMMAND] [OPTIONS] [ns1 [-ixX] ns2|...]
nodeset: error: No command specified.

Same command works after sometime in same terminal.

@samveen @Obihoernchen

@abhishek-sa1 abhishek-sa1 changed the title nodeset command failed with error randoml;y Jun 14, 2024
@abhishek-sa1
Copy link
Author

I have observed the issue due to xcat environment variables are not set. Command worked after configuring environment variables. Can we use xcat environment variables in .bashrc file?

@samveen
Copy link
Member

samveen commented Jun 18, 2024

@abhishek-sa1 That is usually the case for me. I set up environment variables via ~/.bashrc

@Obihoernchen
Copy link
Member

Do you mean xcat environment variables defined in /etc/profile.d/xcat.sh ?

@abhishek-sa1
Copy link
Author

Yes..commands worked after setting envirornment variables

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