Hi all,

working on a slurm plugin, I've come to this error.

"slurm_auth_unpack error: packed by slurmctld_p unpack by auth/munge"

it appears when I execute a simple slurm API call from my plugin,

job_info_msg_t * job_ptr;
uint16_t show_flags = 0;
if ((error = slurm_load_job (&job_ptr, job_id, show_flags)) !=
SLURM_SUCCESS )   <--- here

auth/munge is the kind of autorization I have configured. If I change
it, for example to auth/none, the error is similar, something like

"slurm_auth_unpack error: packed by slurmctld_p unpack by auth/none"

This is just at the beginning of the plugin.

I don't know what am I exactly doing wrong. Is it a compilation issue?
Should I initialize the plugin somehow? It does contain an "init"
method, but I am not calling it. Instead, I am just calling the
relevant function from an external application. I don't know whether
this is the correct behaviour though.  Also, I've placed my plugin on
src/plugins/slurmctld/myPlugin (it might be relevant, as error says
"packed with slurmctld..." ).

So, any clues or advices on what am I doing wrong?

Thanks for your help. Best regards,


Manuel

Reply via email to