This is an automated email from the ASF dual-hosted git repository.

pearl11594 pushed a commit to branch update-j17-info
in repository https://gitbox.apache.org/repos/asf/cloudstack-documentation.git

commit ceefc6f3c37be5caf24a6d6b20ff4bf9f58a9685
Author: Pearl Dsilva <pearl1...@gmail.com>
AuthorDate: Wed Aug 20 09:50:39 2025 -0400

    Add note for JAVA_OPTS for Java 17
---
 source/upgrading/upgrade/upgrade_notes.rst | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/source/upgrading/upgrade/upgrade_notes.rst 
b/source/upgrading/upgrade/upgrade_notes.rst
index 6c763bb2..44935891 100644
--- a/source/upgrading/upgrade/upgrade_notes.rst
+++ b/source/upgrading/upgrade/upgrade_notes.rst
@@ -23,6 +23,15 @@ Java version upgraded to Java 17
 As of Apache CloudStack 4.20, support for running with Java 17 has been added.
 In later versions, support for Java 11 will be removed.
 
+If you are running CloudStack with Java 17, for CloudStack versions 4.20 and 
later:
+  * Verify /etc/default/cloudstack-management is consistent with 
https://github.com/apache/cloudstack/blob/main/packaging/systemd/cloudstack-management.default;
 Specifically, ensure that the following is present in the JAVA_OPTS:
+
+  .. code-block:: bash
+
+   --add-opens=java.base/java.lang=ALL-UNNAMED 
--add-exports=java.base/sun.security.x509=ALL-UNNAMED
+
+  * Verify /etc/default/cloudstack-usage is also consistent with the same file 
in the repository.
+  * Perform the same check for /etc/default/cloudstack-agent on the hypervisor 
hosts.
 
 .. include:: _java_version.rst
 

Reply via email to