[slurm-users] sbatch does not work with Debian image

1,305 views
Skip to first unread message

Sorin Draga

unread,
Mar 14, 2023, 5:20:30 AM3/14/23
to slurm...@schedmd.com

Hello everyone,

I'm trying to run the new Debian image with SLURM, namely debian-11-bullseye-v20230206 but sbatch/sinfo do not seem to work. I installed slurm-client via:

sudo apt-get install slurm-client

but it did not solve the problem:

sinfo: error: resolve_ctls_from_dns_srv: res_nsearch error: Unknown host
sinfo: error: fetch_config: DNS SRV lookup failed
sinfo: error: _establish_config_source: failed to fetch config
sinfo: fatal: Could not establish a configuration source

I am using this image because it provides python 3.9.x out-of-the-box.

It might be that the problem is trivial and I am missing something.

Would appreciate your help and insight

Kind regards,

S

olivier sallou

unread,
Mar 14, 2023, 6:01:30 AM3/14/23
to slurm...@lists.schedmd.com
On Tue, 2023-03-14 at 05:19 -0400, Sorin Draga wrote:
> Hello everyone,
>  
> I'm trying to run the new Debian image with SLURM, namely debian-11-
> bullseye-v20230206 but sbatch/sinfo do not seem to work. I installed
> slurm-client via:
> sudo apt-get install slurm-client
>
> but it did not solve the problem:
>
> sinfo: error: resolve_ctls_from_dns_srv: res_nsearch error: Unknown
> host
> sinfo: error: fetch_config: DNS SRV lookup failed

this is a hostname resolution issue, you should check your slurm.conf
and related dns resolution

Olivier


> sinfo: error: _establish_config_source: failed to fetch config
> sinfo: fatal: Could not establish a configuration source
>
> I am using this image because it provides python 3.9.x out-of-the-
> box.
>
> It might be that the problem is trivial and I am missing something.
>
> Would appreciate your help and insight
>
> Kind regards,
>
> S

--

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

Shunran Zhang

unread,
Mar 14, 2023, 6:34:15 AM3/14/23
to Slurm User Community List
The error message says that slurm cannot find slurm config file. Do you have a local copy of /etc/slurm/* or share the /etc/slurm across NFS, or using DNS & configless slurm?

Sincerely,
S. Zhang

Sorin Draga <sor....@gmail.com>於2023/03/14 18:49寫道:



Sorin Draga

unread,
Mar 15, 2023, 4:13:40 AM3/15/23
to Slurm User Community List
Hello everyone and thank you for the feedback,

@Shunran Zang: Indeed, for some reason there is no slurm.conf file in the /etc/slurm/ directory. We previously used the  ShedMD's CentOS images and things worked fine. Could this be due to the Debian GCP image?

Many thanks!

S

Williams, Jenny Avis

unread,
Aug 26, 2023, 6:15:42 PM8/26/23
to Slurm User Community List

Two of likely several possibilities:

 

The slurm master host name does not resolve.

The rights on /etc/slurm are such that the user running the command cannot read /etc/slurm/slurm.conf

Jenny Williams

UNC Chapel Hill

 

From: slurm-users <slurm-use...@lists.schedmd.com> On Behalf Of Sorin Draga
Sent: Wednesday, March 15, 2023 4:13 AM
To: Slurm User Community List <slurm...@lists.schedmd.com>
Subject: Re: [slurm-users] sbatch does not work with Debian image

 

You don't often get email from sor....@gmail.com. Learn why this is important

Reply all
Reply to author
Forward
0 new messages