winterhazel commented on PR #10957:
URL: https://github.com/apache/cloudstack/pull/10957#issuecomment-3801743998

   @RosiKyu I think the issue you are facing is not related to #12515. Instead, 
it may be happening because the value of `js.interpretation.enabled` is 
encrypted in the database, but you are setting it to a decrypted value. This 
way, an exception is thrown when the Management Server attempts to decrypt the 
already decrypted value.
   
   Could you check if the following resolves your issue?
   
   1. Obtain the key used by the Management Server to encrypt the 
configurations.
   
   ```sh
   cat /etc/cloudstack/management/key
   ```
   
   2. Use the EncryptionCLI package from cloud-utils to encrypt the value 
`true` using this key.
   
   ```sh
   java -classpath /usr/share/cloudstack-common/lib/cloudstack-utils.jar 
com.cloud.utils.crypt.EncryptionCLI -p <key of the management server> -i true
   ```
   
   3. Update the setting to the encrypted value.
   
   ```sh
   mysql -u root -p cloud -e "UPDATE configuration SET value='<result of the 
previous command>' WHERE name='js.interpretation.enabled';"
   ```
   
   4. Restart the Management Server
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to