When running jobs, they are failing with the following error:
Error in submitting query job to CCS Manager: There are no CCS Manager Load Balancers available for job execution.
or
An error occurred in Data Query activity: Blob decryption failed: System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed.
CCS 12.5.x
CCS 12.6.x
The blob the credentials are stored in (specifically the passwords) has become corrupted. Look in the AppServer*.log file and search for an error similar to this.
An error occurred in Data Collection activity: Error in submitting query job to CCS Manager: There are no CCS Manager Load Balancers available for job execution. ---> System.ApplicationException: Error in submitting query job to CCS Manager: There are no CCS Manager Load Balancers available for job execution. ---> Symantec.CSM.AppServer.BladeRunnerJobs.RoutingException: There are no CCS Manager Load Balancers available for job execution. ---> System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed.
An error occurred in Data Query activity: Blob decryption failed: System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed.
This can also happen on Command Based checks:
2022-08-13 06:51:38.487,2022-08-12 23:51:38.487,######,Warning,Standards,AppserverService,4632,,61,UpdateCommandInfoForCommandChecks,,0,1,Command info not specified for the command based check - Name:'5.7 Ensure access to the su command is restricted' Version:'1.0.0' ID:'50026545-####-####-####-e024fd01c2fe'
2022-08-13 06:51:45.805,2022-08-12 23:51:45.805,######,Error,Symantec.CSM.EncryptionManagement,AppserverService,4632,,61,RequestBlobDecryption,,0,1,"Encrypt.RequestBlobDecryption() failed : System.ApplicationException: Blob decryption failed: System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed.
2022-08-13 06:51:45.868,2022-08-12 23:51:45.868,######,Error,QueryParamsJobAttachmentManager,AppserverService,4632,,61,RequestBlobDecryption,,0,1,"Error while attaching attachment-based check query params. : System.ApplicationException: Blob decryption failed: System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed.
2022-08-13 06:51:45.977,2022-08-12 23:51:45.977,######,Error,QueryAdditionalParamManager,AppserverService,4632,,61,RequestBlobDecryption,,0,0,"Error while attaching query params to request : System.ApplicationException: Blob decryption failed: System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed.
2022-08-13 06:51:45.977,2022-08-12 23:51:45.977,######,Error,StandardsModule.Activities,AppserverService,4632,,61,RequestBlobDecryption,,0,0,"Error creating blade job definition in BladeRunnerQueryJob.GetRequestObject() : System.ApplicationException: Blob decryption failed: System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed.
2022-08-13 06:51:45.977,2022-08-12 23:51:45.977,######,Error,AppServer.BladeRunnerJobs,AppserverService,4632,,61,Route,,0,0,"Failed to submit job to DPS Load Balancer ######:5600 spn=CCSManager-###### Exception: Blob decryption failed: System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed.
2022-08-13 06:51:45.977,2022-08-12 23:51:45.977,######,Error,AppServer.WorkFlowSvc,AppserverService,4632,,61,RequestBlobDecryption,,0,0,"Error in BladeJobService.SubmitBladeRunnerJob. : Symantec.CSM.AppServer.BladeRunnerJobs.RoutingException: There are no CCS Manager Load Balancers available for job execution. ---> System.ApplicationException: Blob decryption failed: System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed.
2022-08-13 06:51:45.977,2022-08-12 23:51:45.977,######,Error,AppServer.Activities,AppserverService,4632,,61,RequestBlobDecryption,,0,0,"Error in submitting job to blade for dataCollectionActivity with AdamID=14c5de8c-####-####-####-c5384b563495, InstanceID=a9d6be38-####-####-####-98c8f729c976. There are no CCS Manager Load Balancers available for job execution. : Symantec.CSM.AppServer.BladeRunnerJobs.RoutingException: There are no CCS Manager Load Balancers available for job execution. ---> System.ApplicationException: Blob decryption failed: System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed.
To correct this issue do the following steps for the issue with Credentials.
To correct this issue do the following steps for the issue with Command Based Checks, for predefined standards.
NOTE: In the case of a custom standard/check you will need to either copy from a known good source, or manually recreate the check.
For additional details on how this can happen please refer to the following documentation.
About passphrases for Application Server Service and Encryption Management Service
NOTE: When modifying the Application Server Credentials, you may run into the following error.
Failed to create JobManager Secure storage instance.
If you see that error, then make sure you followed the resolution, and after step 3, reboot the server.
Then go back, and you will now be able to add in the credential/password to create the Secure storage.