Upgrade failed on Stage 12 of 14, vSphere Management Pack phase.
Aria Operations 8.17
Aria Operations 8.16
An issue with API call failure in Aria Operations. Alert Plugin of PluginType "Actions" is not enabled.
Error from /storage/log/vcops/log/pakManager/VMwarevSphere-<build-number>/apply_adapter_post_script_stdout.log
Configuring Actions Plugin for Alert processing
Beginning configuration of Actions Alert Plugin
Making get call to see if the plugin is already configured
{'notificationPluginInstances': []}
action not configured, adding plugin now
Ready to make post request to install Actions Alert Plugin
Invalid http response from Post request status code: [500]
Plugin did not get configured
Error from /storage/log/vcops/log/api.log:
2024-08-08T19:12:56,425+0000 INFO [ajp-nio-127.0.0.1-8010-exec-6, hJCl9lZrCG9jOfZTz3RHsRkfKJzSjTJw] server.config.ThrottleFilter - Allowing POST /alertplugins
2024-08-08T19:12:56,515+0000 INFO [ajp-nio-127.0.0.1-8010-exec-6, hJCl9lZrCG9jOfZTz3RHsRkfKJzSjTJw] service.impl.ControllerFacadeFactory$ControllerFacadeInvocationHandler - Controller API call 'PlatformExecutor.createNotificationPlugin' landed on Node: VMware Aria Operations Cluster Node
2024-08-08T19:12:56,515+0000 ERROR [ajp-nio-127.0.0.1-8010-exec-6, hJCl9lZrCG9jOfZTz3RHsRkfKJzSjTJw] service.impl.DefaultNotificationService - No plugin returned in API Result object after create.
2024-08-08T19:12:56,524+0000 ERROR [ajp-nio-127.0.0.1-8010-exec-6, hJCl9lZrCG9jOfZTz3RHsRkfKJzSjTJw] server.controller.AbstractBaseController - ServiceException caught before sending response.
com.vmware.ops.api.common.exceptions.Exceptions$ServiceException: Internal Server error, cause unknown.
at com.vmware.ops.api.common.exceptions.Exceptions.mkInternalServerEx(Exceptions.java:96) ~[platform-api-common-1.70.jar:?]
at com.vmware.ops.api.server.service.impl.DefaultNotificationService.createNotificationPlugin(DefaultNotificationService.java:257) ~[classes/:?]
at com.vmware.ops.api.server.controller.AlertPluginControllers$AlertPluginController.createAlertPlugin(AlertPluginControllers.java:153) ~[classes/:?]
Before trying any changes in the Aria Operations instance, take snapshots as referred on KB How to take a Snapshot of VMware Aria Operations
Perform the following steps on Suite-API UI to enable the Alert Plugin "Action"
https://vrops_primary-node_fqdn_or_ip/suite-apiGET /api/alertpluginsPluginTypeId" field to "Actions", Then click the execute button as per image below{ "notificationPluginInstances": [ { "pluginTypeId": "Actions", "pluginId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "name": "Automated Actions", "description": "Automated Actions", "version": xxxxxxxxxxxxx, "enabled": false, "configValues": [] } ]}
Note:
If the plugin is absent, continue to step 7. (If this is the case, the response from the previous call will be empty)
If the plugin is present, you can go to step 8.
POST /api/alertplugins
with the body of the POST set to:
{ "pluginTypeId": "Actions", "pluginId": null, "name": "Automated Actions", "description": "Automated Actions", "version": 0, "configValues": []}
Click the Execute button.
PUT /api/alertplugins/{pluginId}/enable/{enabled}Set the "enabled" field to "true"
Add the "pluginId" value from step 8 to the "pluginId" field