Symptoms
Once I place a follow-up order to add resources to the subscription it failed:
Task ID
82919
Task name
Provisioning "AddonInstallationTask" for APS application Windows Azure Pack APS Package
Task description
Provisioning resource b4c8b3a1-8696-4a62-8659-284303a13393 of type 'addon-task' (http://www.parallels.com/infrastructure/internal/addon-task/1.0) for APS application 'Windows Azure Pack APS Package-1.4-307'
Subscription ID
1
Queue name
aps_application_instance9 subscription_id1
Method name
taskExecuteWorkflow
Execution status
Failed
Start not earlier than
Aug-12-2016 22:25
Finished
Aug-12-2016 22:25
Output
APS Application Error:
406 Not Acceptable
[ApplicationUnknownError] Provisioning: resource b4c8b3a1-8696-4a62-8659-284303a13393 of type 'addon-task' (http://www.parallels.com/infrastructure/internal/addon-task/1.0) for APS application 'Windows Azure Pack APS Package-1.4-307': P100001: Operation failed; details: [Failed to synchronization subscription , 1000020].
Body: {
"error": "ApplicationUnknownError",
"message": "P100001: Operation failed; details: [Failed to synchronization subscription , 1000020]",
"http_request": "POST /addon-task to '0.0.0.0:4485'"
}
The following message appears in /var/log/WAP/errors.log
:
2016-08-12 22:23:56,696 ERROR AddonTaskApsResourceImpl [apsc(3)] - Failed to complete add-on synchronization for subscription [1000020]
com.parallels.wap.exceptions.AzureException: [AZURE] {"Code":"MaxAddOnOccurenceReached","Message":"Maximum number of occurences for this add-on has been reached.","Details":[]}
Placed order presumes 10 items of add-on resource, but limit configured in WAP is 1 per plan.
Cause
WAP was a special add-on configuration parameter: number of add-ons per plan. In this case WAP plan is configured to allow 1 add-on per subscription based on this plan.
Resolution
- Increase number of add-ons per plan in WAP admin portal
- Click on
synchronize
inAdd-ons
tab in WAP APS instance - Re-submit the task