Ticket 7155

Summary: create reservation on DBD_MODIFY_RESV
Product: Slurm Reporter: Nate Rini <nate>
Component: slurmdbdAssignee: Nate Rini <nate>
Status: RESOLVED FIXED QA Contact:
Severity: 4 - Minor Issue    
Priority: --- CC: fullop, marshall, mcoyne, ndobson, sts
Version: 19.05.0   
Hardware: Linux   
OS: Linux   
See Also: https://bugs.schedmd.com/show_bug.cgi?id=7010
https://bugs.schedmd.com/show_bug.cgi?id=6880
https://bugs.schedmd.com/show_bug.cgi?id=6922
https://bugs.schedmd.com/show_bug.cgi?id=7287
https://bugs.schedmd.com/show_bug.cgi?id=7404
Site: SchedMD 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: 19.05.01, 20.02 Target Release: ---
DevPrio: --- Emory-Cloud Sites: ---
Attachments: patch

Description Nate Rini 2019-05-30 13:59:55 MDT
If for any reason, the slurmdbd did not recieve the reservation creation RPC, the DBD_MODIFY_RESV will be rejected. There should be enough information in the DBD_MODIFY_RESV to create the reservation in Slurmdbd instead of erroring out.
Comment 1 Nate Rini 2019-05-30 14:01:12 MDT
Steps to recreate:
start_daemons
scontrol delete reservation=test
cat $SLURM_PREFIX/var/run/slurmdbd.pid |xargs kill
scontrol create reservation ReservationName=test nodecnt=2 users=$(whoami) starttime=now+1 duration=500
scontrol shutdown
unlink ${SLURM_PREFIX}/statesave/dbd.messages
start_daemons
scontrol update reservationname=test nodecnt=3
Comment 8 Danny Auble 2019-07-09 16:59:59 MDT
Comment on attachment 10440 [details]
patch

Thanks Nate, this is now in 19.05 commit 89910fd50a3120bd1d8.
Comment 10 Nate Rini 2019-07-09 18:06:00 MDT
Closing ticket as patch is upstream.