Ticket 3278 - mysql plugin naming issue prevents slurmdbd starting
Summary: mysql plugin naming issue prevents slurmdbd starting
Status: RESOLVED WONTFIX
Alias: None
Product: Slurm
Classification: Unclassified
Component: Database (show other tickets)
Version: 16.05.5
Hardware: Linux Linux
: --- 6 - No support contract
Assignee: Jacob Jenson
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2016-11-21 12:29 MST by rpoyner
Modified: 2017-11-03 15:35 MDT (History)
0 users

See Also:
Site: -Other-
Alineos Sites: ---
Atos/Eviden Sites: ---
Confidential Site: ---
Coreweave sites: ---
Cray Sites: ---
DS9 clusters: ---
HPCnow Sites: ---
HPE Sites: ---
IBM Sites: ---
NOAA SIte: ---
OCF Sites: ---
Recursion Pharma Sites: ---
SFW Sites: ---
SNIC sites: ---
Linux Distro: ---
Machine Name:
CLE Version:
Version Fixed:
Target Release: ---
DevPrio: ---
Emory-Cloud Sites: ---


Attachments

Note You need to log in before you can comment on or make changes to this ticket.
Description rpoyner 2016-11-21 12:29:18 MST
This is an issue with slurmdbd built from source, with stock options.

slurmdbd looks for accounting_mysql.so but the version in lib/slurm is named accounting_storage_mysql.so.


/app/slurm/sbin/slurmdbd -D -vvvv
slurmdbd: debug3: Trying to load plugin /app/slurm-16.05.5/lib/slurm/auth_munge.so
slurmdbd: debug:  auth plugin for Munge (http://code.google.com/p/munge/) loaded
slurmdbd: debug3: Success.
slurmdbd: debug3: Trying to load plugin /app/slurm-16.05.5/lib/slurm/accounting_mysql.so
slurmdbd: error: Couldn't find the specified plugin name for accounting/mysql looking at all files
slurmdbd: error: cannot find accounting_storage plugin for accounting/mysql
slurmdbd: error: cannot create accounting_storage context for accounting/mysql
slurmdbd: fatal: Unable to initialize accounting/mysql accounting storage plugin

This can be worked around by providing symlinks to the correct names:

accounting_mysql.a -> accounting_storage_mysql.a
accounting_mysql.la -> accounting_storage_mysql.la
accounting_mysql.so -> accounting_storage_mysql.so

Causes slurmdbd to run correctly.
Comment 2 Jacob Jenson 2017-11-03 15:35:21 MDT
Before this ticket can be sent to the support team we need to put a support contract in place for your site. Please let me know if you would like to discuss Slurm support.