Skip to content

Commit ceefc6f

Browse files
committed
Add note for JAVA_OPTS for Java 17
1 parent ace3499 commit ceefc6f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

source/upgrading/upgrade/upgrade_notes.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@ Java version upgraded to Java 17
2323
As of Apache CloudStack 4.20, support for running with Java 17 has been added.
2424
In later versions, support for Java 11 will be removed.
2525

26+
If you are running CloudStack with Java 17, for CloudStack versions 4.20 and later:
27+
* 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:
28+
29+
.. code-block:: bash
30+
31+
--add-opens=java.base/java.lang=ALL-UNNAMED --add-exports=java.base/sun.security.x509=ALL-UNNAMED
32+
33+
* Verify /etc/default/cloudstack-usage is also consistent with the same file in the repository.
34+
* Perform the same check for /etc/default/cloudstack-agent on the hypervisor hosts.
2635

2736
.. include:: _java_version.rst
2837

0 commit comments

Comments
 (0)