Skip to content

Commit 1b3f770

Browse files
committed
Merge remote-tracking branch 'origin/4.15' into main
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2 parents 62c8cd5 + baa1604 commit 1b3f770

File tree

9 files changed

+404
-5
lines changed

9 files changed

+404
-5
lines changed
10.3 KB
Loading
690 Bytes
Loading

source/adminguide/accounts.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,15 +366,15 @@ the user are used.
366366
#. CloudStack searches for it in LDAP by the configured
367367
``ldap.username.attribute``.
368368

369-
#. If an LDAP user is found is found, CloudStack does a bind
369+
#. If an LDAP user is found, CloudStack does a bind
370370
request with the returned principal for that LDAP user and
371371
the entered password.
372372

373373
#. If LDAP authentication checks out, CloudStack checks if the
374374
authenticated user exists in the domain it is trying to log
375375
on to.
376376

377-
#. If the user exists in CloudStack, it is ensured to be enabled
377+
#. If the user exists in CloudStack, it is ensured to be enabled.
378378

379379
#. If it doesn't exist it is created in a new account with
380380
the username as names for both account and user.

source/adminguide/systemvm.rst

Lines changed: 98 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,9 @@ Since CloudStack 4.16, for VMware, migration of System VMs can also be done to a
822822
Troubleshoot networks from System VMs
823823
-------------------------------------
824824
.. |run-diagnostics-icon.png| image:: /_static/images/run-diagnostics-icon.png
825+
.. |get-diagnostics-icon.png| image:: /_static/images/get-diagnostics-icon.png
825826
.. |diagnostics-form.png| image:: /_static/images/diagnostics-form.png
827+
.. |diagnostics-data-form.png| image:: /_static/images/diagnostics-data-form.png
826828
827829
For troubleshooting of network issues in CloudStack hosted networks, CloudStack allows
828830
the administrator to execute network-utility commands (ping, traceroute or arping)
@@ -843,8 +845,8 @@ To run either a ping, traceroute or arping through the CloudStack UI:
843845
The Extra Args parameter is for specifying command line optional parameters
844846
as one would when executing any of the tools from the terminal or command line.
845847
846-
The supported versions are Debian 9 based since system VMs are built using the
847-
same Debian 9 based templates.
848+
The supported versions are Debian 10 based since system VMs are built using the
849+
same Debian 10 based templates.
848850
849851
| See:
850852
| Traceroute(1): https://manpages.debian.org/stretch/traceroute/traceroute.1.en.html
@@ -855,3 +857,97 @@ same Debian 9 based templates.
855857
Non-Alphanumeric characters (metacharacters) are not allowed for this parameter
856858
except for the “-“ and the “.”. Any metacharacter supplied will immediately result
857859
in an immediate termination of the command and report back to the operator that an illegal character was passed
860+
861+
Get Diagnostics Data
862+
~~~~~~~~~~~~~~~~~~~~
863+
864+
For further troubleshooting, a set of files can be retrieved from any system VM
865+
by using the Get Diagnostics feature, either via the UI or an API call. The
866+
files are compressed and a URL is returned where the diagnostics data can be
867+
retrieved.
868+
869+
#. As an administrator, log in to the CloudStack UI.
870+
871+
#. Navigate to Infrastructure > System VMs or Virtual Routers.
872+
873+
#. Click on the Get Diagnostics button. |get-diagnostics-icon.png|
874+
875+
#. A form will pop up similar to this;
876+
877+
|diagnostics-data-form.png|
878+
879+
#. Click OK.
880+
881+
#. Wait for the URL to generate and click it to download the zipped up
882+
diagnostics files.
883+
884+
The following files are retrieved by default for the Virtual Router and
885+
is configurable using a global setting: ‘diagnostics.data.router.defaults’
886+
887+
iptables, ipaddr, iproute, /etc/cloudstack-release, /etc/dnsmasq.conf,
888+
/etc/dhcphosts.txt, /etc/dhcpopts.txt, /etc/dnsmasq.d/cloud.conf,
889+
/etc/dnsmasq-resolv.conf, /var/lib/misc/dnsmasq.leases, /var/log/dnsmasq.log,
890+
/etc/hosts, /etc/resolv.conf, /etc/haproxy/haproxy.cfg, /var/log/haproxy.log,
891+
/etc/ipsec.d/l2tp.conf, /var/log/cloud.log, /var/log/routerServiceMonitor.log,
892+
/var/log/daemon.log"
893+
894+
The following files are retrieved by default for the Secondary Storage VM
895+
and Console Proxy VM and is configurable using a global setting:
896+
‘diagnostics.data.systemvm.defaults’
897+
898+
"iptables, ipaddr, iproute, /etc/cloudstack-release,
899+
/usr/local/cloud/systemvm/conf/agent.properties,
900+
/usr/local/cloud/systemvm/conf/consoleproxy.properties, /var/log/cloud.log,
901+
/var/log/patchsystemvm.log /var/log/daemon.log"
902+
903+
These global settings are all dynamic and do not require a restart of the
904+
management server in order for changes to be effective. The names wrapped in
905+
square brackets are for data types that need to first execute a script in the
906+
system vm and grab output for retrieval, e.g. the output from iptables-save is
907+
written to a file which will then be retrieved. This also allows an admin to
908+
pack their own custom scripts in the system VMs that can be executed and their
909+
output will be redirected to a text file that will be retrieved.
910+
911+
The API also has an optional parameter ‘files’ which can be used for retrieving
912+
specific files. This parameter has to be the absolute path to where the file
913+
exists on the file system.
914+
915+
The output from any command/script can be retrieved by wrapping the name with
916+
square brackets which will be executed and its output redirected to a file with
917+
a name similar to the name in square brackets in lower case. For example, a
918+
user can package their own custom script in the system VM called
919+
myscript.py/sh, the user will then retrieve output of this script by specifying
920+
it as ‘[MYSCRIPT]’ as either input parameter to files or setting it as a global
921+
setting. the API will then execute this script and redirect its output to a
922+
file called ‘myscript.log’. This could also be any command that can be executed
923+
from the shell and its output will be gathered and retrieved.
924+
925+
Additional global settings can be configured related to garbage collection of
926+
generated diagnostics data files and are as follows:
927+
928+
* diagnostics.data.gc.enable
929+
930+
Enables the garbage collector background task to delete old files. Changing
931+
this setting requires a management server restart. The default value is True
932+
933+
* diagnostics.data.gc.interval
934+
935+
The interval at which the garbage collector background tasks in seconds. This
936+
setting requires a management server restart. The default value is 86400
937+
(Once a day).
938+
939+
* diagnostics.data.retrieval.timeout
940+
941+
The overall system VM script execution time out in seconds. This setting does
942+
not require a management server restart. The default value is 1800.
943+
944+
* diagnostics.data.max.file.age
945+
946+
Sets the maximum time in seconds a file can stay in storage before it is
947+
deleted. The default value is 86400 (1 day).
948+
949+
* diagnostics.data.disable.threshold
950+
951+
Sets the secondary storage disk utilisation percentage for file retrieval.
952+
An exception is thrown when no secondary store is found with a lower capacity
953+
than the specified value. The default value is 0.95 (95 %).

source/plugins/ipv6.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ Consider the following:
7979
IPv6 in shared network; the choice of Default Network will not affect
8080
the routing in the user VM.
8181

82+
- A shared network cannot be IPv6 only. Therefore, it is necessary to configure the IPv4 address range for the shared network with IPv6 addresses. The IPv4 range can be of a public or internal IPv4 network.
83+
8284
- In a multiple shared network, the default route is set by the rack
8385
router, rather than the DHCP server, which is out of CloudStack
8486
control. Therefore, in order for the user VM to get only the default

source/releasenotes/about.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@
1717
What's New in |release|
1818
=======================
1919

20+
Apache CloudStack 4.15.2.0 is a 4.15 LTS release with over 75 fixes and
21+
improvements since 4.15.1.0. Highlights include:
22+
23+
• Several VMware fixes and improvements
24+
• Several UI and VR fixes and improvements
25+
26+
What's New in 4.15.1.0
27+
=======================
28+
2029
Apache CloudStack 4.15.1.0 is a 4.15 LTS release with over 350 enhancements and
2130
fixes since 4.15.0.0. Highlights include:
2231

0 commit comments

Comments
 (0)