Hi,
I have added a design doc for adding a new option -D to pbs_ralter to change duration of the reservation. Please take a look and provide feedback
Thanks,
Tejas
Hi,
I have added a design doc for adding a new option -D to pbs_ralter to change duration of the reservation. Please take a look and provide feedback
Thanks,
Tejas
Please provide more details surrounding failure cases. For example, if I have a running reservation and I decrease the duration to the point where the reservation should have already completed, will the reservation end immediately or will the command produce an error. I’m guessing the same behavior would happen if I use pbs_ralter to set the end time in the past.
Hey @tejas.pai
I have a few comments:
Bhroam
Thanks Mike for the comments.
Changing duration will be equivalent to changing end time of the of the reservation. So all the cases where changing end time fails should apply to changing duration time.
Taking your example above, if duration is changed to a point where the reservation would have ended, PBS will give a bad time specification message to user. This is the same message user gets when changing end time to a point where it should have already ended.
I have now mentioned this in the design doc now.
@bhroam
Is the value of -D a long or a duration? If it is a duration then you should be able to give it 1:00:00. If so, add an example with this form.
It can be both, updated this in the design
Thank you @tejas.pai. I only ask that you add some descriptive text to your examples, explaining what each of them does.