[slurm-users] AccountingStorageLoc option has been removed and fatal error

2023-06-13 Thread Joe Kline

I was configuring slurm for an ubuntu 22.04 lts host.

It is version 21.08.5 ( from the ubuntu repo ).

I added these lines to /etc/slurm.conf

AccountingStorageType=accounting_storage/filetxt
AccountingStorageLoc=/var/log/slurm/accounting
AccountingStoreJobComment=YES

When I restart the slurm services I get :

fatal: The AccountingStorageLoc option has been removed. It is safe to 
remove from your configuration.


If I comment them out I don't get the error.

Is there some option or something I'm missing?

Is text file storage for accounting no longer an option?

Thanks,

joe



Re: [slurm-users] AccountingStorageLoc option has been removed and fatal error

2023-06-13 Thread Michael Gutteridge
Hi

I couldn't find an announcement anywhere, but filetxt looks to have been
removed in version 20.11 (see here

and
here
).
slurmdbd seems to be the only option at this time.  The
"AccountingStorageLoc" only has meaning in the context of the
filetxt plugin, hence the error.  I think your options are to do without
accounting (if possible in your environment) or set up SlurmDBD.

It's confusing as it looks like some Slurm docs still indicate this

as an option.

 - Michael


On Tue, Jun 13, 2023 at 11:23 AM Joe Kline  wrote:

> I was configuring slurm for an ubuntu 22.04 lts host.
>
> It is version 21.08.5 ( from the ubuntu repo ).
>
> I added these lines to /etc/slurm.conf
>
> AccountingStorageType=accounting_storage/filetxt
> AccountingStorageLoc=/var/log/slurm/accounting
> AccountingStoreJobComment=YES
>
> When I restart the slurm services I get :
>
> fatal: The AccountingStorageLoc option has been removed. It is safe to
> remove from your configuration.
>
> If I comment them out I don't get the error.
>
> Is there some option or something I'm missing?
>
> Is text file storage for accounting no longer an option?
>
> Thanks,
>
> joe
>
>


Re: [slurm-users] AccountingStorageLoc option has been removed and fatal error

2023-06-13 Thread Joe Kline

Michael,

yeah, I was digging and found those links as well a bit after I posted.

I wonder how easy it would be to add/create a slurmdbd plugin for 
sqlite? (I'm not trying to well-volunteer myself necessarily...but I 
will be poking around in the git repo some, but my C skills are 
miniscule to none)


We aren't too crazy about credentials in a plain text file.

Thanks for confirming my suspicions,

joe