need to add a log message to alps_cancel_reservation to aid in debugging

Description

In alps_cancel_reservation we should print a log message if we return out of this function because there is no ALPS reservation associated to the job:
/* Return success if no reservation present. */
if (pjob->ji_extended.ji_ext.ji_reservation < 0 ||
pjob->ji_extended.ji_ext.ji_pagg == 0) {
return (0);
}

This will help with debugging.

Currently a customer is seeing a problem where PBS makes an ALPS reservation. Then there is some problem while trying to run the job or end the job...a delete job is received by the mom from the server. But then there is no evidence of PBS trying to cancel the ALPS reservation. This can lead to the ALPS reservation sticking around and causing PBS to get out of sync with ALPS.

The log message won't solve the problem, but it will make debugging the problem easier (if the problem can be seen when the debugging level is higher).

Acceptance Criteria

None

Status

Assignee

Unassigned

Reporter

Former user

Severity

None

OS

None

Start Date

None

Pull Request URL

None

Components

Priority

High
Configure