Hello,
I am using the latest version of Qlustar 12.0 (FOCAL)
I have a question about adding users.
I use the qluman interface and I add an account via the menu
component > ldap
During the creation of the account, I have an error message which is the following:
"Error 1 running add_user_hook /etc/qlustar/common/add-user-hook on beosrv-c:
('Unable to contact slurm controller (connect failure)', 1800)
('Unable to contact slurm controller (connect failure)', 1800)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/qluman-12/qluman-slurm-cli.py", line 66, in main
slurm_acct = SlurmAcct(cf_file, dry_run=args.dryrun, reset_all_qos=args.reset_all_qos)
File "/usr/lib/python3/dist-packages/qluman-12/components/slurm/cli.py", line 87, in __init__
self.get_slurm_ctl_info()
File "/usr/lib/python3/dist-packages/qluman-12/components/slurm/cli.py", line 112, in get_slurm_ctl_info
c = pyslurm.config()
File "pyslurm/pyslurm.pyx", line 376, in pyslurm.pyslurm.config.__cinit__
File "pyslurm/pyslurm.pyx", line 432, in pyslurm.pyslurm.config.__load
ValueError: ('Unable to contact slurm controller (connect failure)', 1800)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/qluman-12/qluman-slurm-cli.py", line 96, in <module>
main()
File "/usr/lib/python3/dist-packages/qluman-12/qluman-slurm-cli.py", line 69, in main
sys.exit(1)
NameError: name 'sys' is not defined
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/qluman-12/qluman-slurm-cli.py", line 66, in main
slurm_acct = SlurmAcct(cf_file, dry_run=args.dryrun, reset_all_qos=args.reset_all_qos)
File "/usr/lib/python3/dist-packages/qluman-12/components/slurm/cli.py", line 87, in __init__
self.get_slurm_ctl_info()
File "/usr/lib/python3/dist-packages/qluman-12/components/slurm/cli.py", line 112, in get_slurm_ctl_info
c = pyslurm.config()
File "pyslurm/pyslurm.pyx", line 376, in pyslurm.pyslurm.config.__cinit__
File "pyslurm/pyslurm.pyx", line 432, in pyslurm.pyslurm.config.__load
ValueError: ('Unable to contact slurm controller (connect failure)', 1800)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/qluman-12/qluman-slurm-cli.py", line 96, in <module>
main()
File "/usr/lib/python3/dist-packages/qluman-12/qluman-slurm-cli.py", line 69, in main
sys.exit(1)
NameError: name 'sys' is not defined"
I delete the account and I recreate the same account.
Qluman gives me a password and I can connect as a user.
Or am I making a mistake
thank you