A subscription is set to be automatically renewed - the parameter 'Renewal order generation' is set to either 'Generate renewal orders and try to pay them automatically' or to 'Generate renewal orders automatically but pay them manually', however OBAS is not generating renewal orders for the subscription in proper time.
The task is to find all subscriptions which can not be renewed automatically.
Use the following steps to find all subscriptions failing to renew:
- set OBAS log level to DEBUG under Top > Configuration Director > Logging and Errors > Log Settings;
log into the OBAS server by SSH and execute the following command:
# tail -f /var/log/hspc/hspc.log|egrep "renewal_orders: subscr_id=>.*failed"
- run the periodic task 'Recurring payment process along with Invoice and Statements creation procedure' under 'Top > Action Log > Task queue' with the 'Run now' button;
status of the task should change to 'In progress';
- wait until the periodic task is finished, its status should change back to 'Pending';
- check SSH console output, collect subscriptions IDs that appeared in the output (if you do not see any output in the console it means that all renewal orders have been created successfully).