Ticket 7155 - create reservation on DBD_MODIFY_RESV
Summary: create reservation on DBD_MODIFY_RESV
Status: RESOLVED FIXED
Alias: None
Product: Slurm
Classification: Unclassified
Component: slurmdbd (show other tickets)
Version: 19.05.0
Hardware: Linux Linux
: --- 4 - Minor Issue
Assignee: Nate Rini
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2019-05-30 13:59 MDT by Nate Rini
Modified: 2019-11-12 09:24 MST (History)
5 users (show)

See Also:
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 (1.98 KB, patch)
2019-05-30 14:14 MDT, Nate Rini
Details | Diff

Note You need to log in before you can comment on or make changes to this ticket.
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.