Skip to content

Commit 8331917

Browse files
Merge branch '4.20' into 4.22
2 parents 736f8a3 + febd11e commit 8331917

20 files changed

Lines changed: 547 additions & 37 deletions

File tree

29.1 KB
Loading

source/adminguide/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ Tuning
178178
.. toctree::
179179
:maxdepth: 4
180180

181-
tuning
181+
tuning/tuning
182182

183183

184184
Events and Troubleshooting

source/adminguide/networking/security_groups.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,11 @@ Adding Ingress and Egress Rules to a Security Group
216216
#. Click Add.
217217

218218

219+
.. note::
220+
- If there is no Egress rule in a Security Group, all the outgoing traffic will be allowed
221+
- If there are Egress rules in a Security Group, only the outgoing traffic which match a Egress rule will be allowed
222+
- Only the incoming traffic which match a Ingress rule will be allowed
223+
219224
.. |httpaccess.png| image:: /_static/images/http-access.png
220225
:alt: allows inbound HTTP access from anywhere.
221226

source/adminguide/networking/virtual_private_cloud_config.rst

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -347,14 +347,16 @@ destination" and / or "allow all ingress source" rule to the ACL.
347347
Afterwards traffic can be white- or blacklisted.
348348

349349
.. note::
350-
- ACL Rules in Cloudstack are stateful
351-
- Source / Destination CIDRs are always external Networks
352-
- ACL rules can also been seen on the virtual router of the VPC. Ingress
353-
rules are listed in the table iptables table "filter" while egress rules
354-
are placed in the "mangle" table
355-
- ACL rules for ingress and egress are not correlating. For example a
356-
egress "deny all" won't affect traffic in response to an allowed ingress
357-
connection
350+
- ACL Rules in Cloudstack are stateful
351+
- Source / Destination CIDRs are always external Networks
352+
- ACL rules can also been seen on the virtual router of the VPC. Ingress
353+
rules are listed in the table iptables table "filter" while egress rules
354+
are placed in the "mangle" table
355+
- ACL rules for ingress and egress are not correlating. For example a
356+
egress "deny all" won't affect traffic in response to an allowed ingress
357+
connection
358+
- The incoming traffic which does not match any ACL rules will be denied
359+
- The outgoing traffic which does not match any ACL rules will be allowed
358360

359361

360362
Creating ACLs

source/adminguide/service_offerings.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,14 @@ To create a new compute offering:
249249
- **CPU cap**: Whether to limit the level of CPU usage even if spare
250250
capacity is available.
251251

252+
.. note::
253+
On KVM hypervisor, to allow CloudStack to relinquish CPU usage control
254+
entirely, set this option to false and set CPU speed to zero. Note that Instances
255+
with zero CPU speed offerings should not be co-hosted with Instances using
256+
non-zero CPU speed offerings, as the CPU speed value is used as a relative
257+
weight (share) in the ``cputune`` section of the domain XML, and mixing zero
258+
and non-zero values would skew the weighting.
259+
252260
- **Volatile**: If checked, Instances created from this service offering
253261
will have their root disks reset upon reboot. This is useful for
254262
secure environments that need a fresh start on every boot and for

source/adminguide/storage.rst

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,10 @@ The CloudStack will bring the device back online and attempt to start
300300
all guests that were running at the time of the entry into maintenance
301301
mode.
302302

303+
.. note::
304+
HA-Enabled Instances will also be stopped when the primary storage is put into maintenance mode.
305+
It is recommended to migrate any business-critical Instances to alternate primary storage before initiating maintenance.
306+
303307
Browsing files on a primary storage
304308
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
305309

@@ -941,6 +945,13 @@ Before you try to resize a volume, consider the following:
941945
Therefore, resize any partitions or file systems before you shrink a
942946
data disk so that all the data is moved off from that disk.
943947

948+
- In Apache CloudStack 4.20 and before, resizing volume will fail if
949+
the current storage pool does not have enough capacity for new volume size.
950+
Since Apache CloudStack 4.21, it becomes possible if zone setting
951+
volume.resize.allowed.beyond.allocation is set to true, and the new volume size
952+
does not cross the resize threshold (pool.storage.allocated.resize.capacity.disablethreshold) of storage pool.
953+
These two zone settings are configurable by ROOT admin.
954+
944955
To resize a volume:
945956

946957
#. Log in to the CloudStack UI as a user or admin.
@@ -957,7 +968,7 @@ To resize a volume:
957968

958969
|resize-volume.png|
959970

960-
#. If you select Custom Disk, specify a custom size.
971+
#. Specify a custom size.
961972

962973
#. Click Shrink OK to confirm that you are reducing the size of a
963974
volume.
@@ -966,6 +977,8 @@ To resize a volume:
966977
which might lead to the risk of data loss. You must sign off that
967978
you know what you are doing.
968979

980+
#. Check if you wish to auto migrate volume to another storage pool if required.
981+
969982
#. Click OK.
970983

971984
Root Volume size defined via Service Offering
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
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+
17+
Disable Omit Stack Trace
18+
------------------------
19+
20+
The JVM, by default stops printing some stack traces in the logs. To enable printing full stack traces at all times:
21+
22+
#. Edit the following configuration file for the respective service to disable there and restart it:
23+
24+
- For cloudstack-management.service in the Management Server:
25+
26+
.. code:: bash
27+
28+
/etc/default/cloudstack-management
29+
30+
- For cloudstack-usage.service in the Usage Server:
31+
32+
.. code:: bash
33+
34+
/etc/default/cloudstack-usage
35+
36+
- For cloudstack-agent.service in the KVM Host:
37+
38+
.. code:: bash
39+
40+
/etc/default/cloudstack-agent
41+
42+
- For cloud.service in the SSVM:
43+
44+
.. code:: bash
45+
46+
/usr/local/cloud/systemvm/_run.sh
47+
48+
#. Add the command-line parameter -XX:-OmitStackTraceInFastThrow to disable the omit stack trace flag in the JVM so that all
49+
the stack traces are always printed on the logs. This flag is enabled by default in the JVM to omit the stack traces
50+
for certain exceptions that are thrown frequently. Printing of the stack traces might impact performance, and is not
51+
recommended for production, so it's better to disable this flag for troubleshooting or debugging purposes when required.
52+
53+
.. code:: bash
54+
55+
JAVA_OPTS="... -XX:-OmitStackTraceInFastThrow"
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ For more information about memory issues, see "FAQ: Memory" at `Tomcat
5757
Wiki. <http://wiki.apache.org/tomcat/FAQ/Memory>`_
5858

5959

60+
.. include:: disable_omit_stack_trace.rst
61+
62+
6063
Set Database Buffer Pool Size
6164
-----------------------------
6265

source/adminguide/virtual_machines.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,18 @@ To create an Instance from a Template:
175175
specified at the Instance or Template level. For an existing Instance its settings can be updated while it is in
176176
stopped state by admin.
177177

178+
**KVM**
179+
180+
Instances running on the KVM hypervisor with UEFI Secure Boot have disk controllers automatically enforced as following:
181+
182+
- Windows OS instances use SATA
183+
- Non-Windows OS instances use VirtIO
184+
185+
Starting with 4.20.3 and later, this behavior can be overridden by setting the following template or instance detail to true:
186+
187+
``skip.force.disk.controller = true``
188+
189+
When set to true, disk controller enforcement is skipped, and the controllers defined by template/instance details are used. If the detail is added at both template and instance level, the instance detail takes precedence.
178190

179191
Install Required Tools and Drivers
180192
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# -- Project information -----------------------------------------------------
2121

2222
project = 'Apache CloudStack'
23-
copyright = '2012-2025, Apache Foundation'
23+
copyright = '2012-2026, Apache Foundation'
2424
author = 'Apache CloudStack Project'
2525

2626
# The short X.Y version

0 commit comments

Comments
 (0)