Skip to content

Commit 60ee4df

Browse files
committed
add new page
1 parent 37a11c7 commit 60ee4df

File tree

2 files changed

+44
-1
lines changed

2 files changed

+44
-1
lines changed

source/upgrading/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Contents:
4242
.. toctree::
4343
:maxdepth: 1
4444

45-
upgrade/upgrade_notes
45+
upgrade/upgrade_java_17_notes
4646
upgrade/mysql
4747
upgrade/valid_source
4848
upgrade/upgrade-4.20
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
.. Licensed to the Apache Software Foundation (ASF) under one
2+
or more contributor license agreements. See the NOTICE file
3+
distributed with this work for additional information#
4+
regarding copyright ownership. The ASF licenses this file
5+
to you under the Apache License, Version 2.0 (the
6+
"License"); you may not use this file except in compliance
7+
with the License. You may obtain a copy of the License at
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
Unless required by applicable law or agreed to in writing,
10+
software distributed under the License is distributed on an
11+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
12+
KIND, either express or implied. See the License for the
13+
specific language governing permissions and limitations
14+
under the License.
15+
16+
.. CloudStack Release Notes documentation main file, created by
17+
sphinx-quickstart on Fri Feb 7 16:00:59 2014.
18+
You can adapt this file completely to your liking, but it should at least
19+
contain the root `toctree` directive.
20+
21+
|menu_acs_logo|
22+
23+
24+
Upgrading CloudStack
25+
====================
26+
27+
Java version upgraded to Java 17
28+
---------------------------------
29+
30+
As of Apache CloudStack 4.20, support for running with Java 17 has been added.
31+
In later versions, support for Java 11 will be removed.
32+
33+
If you are running CloudStack with Java 17, for CloudStack versions 4.20 and later:
34+
* 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:
35+
36+
.. code-block:: bash
37+
38+
--add-opens=java.base/java.lang=ALL-UNNAMED --add-exports=java.base/sun.security.x509=ALL-UNNAMED
39+
40+
* Verify /etc/default/cloudstack-usage is also consistent with the same file in the repository.
41+
* Perform the same check for /etc/default/cloudstack-agent on the hypervisor hosts.
42+
43+
.. include:: _java_version.rst

0 commit comments

Comments
 (0)