Skip to content

Commit 054be6d

Browse files
committed
Merge remote-tracking branch 'apache/4.17' into main
2 parents d692aa7 + 0918504 commit 054be6d

7 files changed

Lines changed: 652 additions & 2 deletions

File tree

source/adminguide/virtual_machines.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,8 @@ Limitations
493493
issue with these operating systems, which will freeze if an attempt
494494
is made to dynamically scale from less than 3 GB to more than 3 GB.
495495

496+
- On KVM, not all versions of Qemu/KVM may support dynamic scaling. Some combinations may result CPU or memory related failures during instance deployment.
497+
496498

497499
Resetting the Virtual Machine Root Volume on Reboot
498500
---------------------------------------------------

source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# The short X.Y version
2727
version = '4.17'
2828
# The full version, including alpha/beta/rc tags
29-
release = '4.17.0.0'
29+
release = '4.17.1.0'
3030

3131
rst_epilog = """
3232
.. include:: /_global.rst

source/installguide/hypervisor/kvm.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ with OpenVswitch, the requirements are listed below
4848

4949
- openvswitch: 1.7.1 or higher
5050

51+
Not all versions of Qemu/KVM may support dynamic scaling of instances. Some combinations may result CPU or memory related failures during instance deployment.
52+
5153
In addition, the following hardware requirements apply:
5254

5355
- Within a single cluster, the hosts must be of the same distribution

source/releasenotes/about.rst

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

20+
Apache CloudStack |release| is a 4.17 LTS minor release with over 150 fixes and
21+
improvements since the 4.17.0.0 release. Highlights include:
22+
23+
• Support for Ubuntu 22.04 LTS as management server and KVM host
24+
• Improvements for System VM storage migration on KVM
25+
• CKS cluster upgrade enhancements
26+
• Several network and VPC related fixes especially related IPv6 and permissions
27+
• KVM libvirt Java library upgrade
28+
• KVM Shared Mount Point fix
29+
• VMware local storage volume migration improvements
30+
31+
The full list of fixes and improvements can be found in the project release notes at
32+
https://docs.cloudstack.apache.org/en/4.17.1.0/releasenotes/changes.html
33+
34+
What's New in 4.17.0.0
35+
======================
36+
2037
Apache CloudStack 4.17.0.0 is a 4.17 LTS release with 383 new
2138
features, improvements and bug fixes since 4.16, including 16 major
2239
new features. Some of the highlights include:

source/releasenotes/changes.rst

Lines changed: 330 additions & 1 deletion
Large diffs are not rendered by default.

source/upgrading/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Contents:
4444

4545
upgrade/mysql
4646
upgrade/valid_source
47+
upgrade/upgrade-4.17
4748
upgrade/upgrade-4.16
4849
upgrade/upgrade-4.15
4950
upgrade/upgrade-4.14
Lines changed: 299 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,299 @@
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+
.. |version_to_upgrade| replace:: 4.17.0
17+
18+
Upgrade Instruction from |version_to_upgrade|
19+
=============================================
20+
21+
22+
This section will show you how to upgrade from CloudStack |version_to_upgrade| to latest
23+
CloudStack |release|.
24+
25+
Any steps that are hypervisor-specific will be called out with a note.
26+
27+
We recommend reading through this section once or twice before beginning
28+
your upgrade procedure, and working through it on a test system before
29+
working on a production system.
30+
31+
.. note::
32+
The following upgrade instructions should be performed regardless of
33+
hypervisor type.
34+
35+
Overview of Upgrade Steps:
36+
----------------------------
37+
38+
#. Check any customisations and integrations
39+
#. Stop all running management servers
40+
#. Backup CloudStack database (MySQL)
41+
#. Upgrade 1st CloudStack management server
42+
#. Update hypervisors specific dependencies
43+
#. Restart 1st management server
44+
#. Check that your upgraded environment works as expected
45+
#. Upgrade and restart the remaining management servers
46+
47+
48+
.. include:: _customisation_warnings.rst
49+
50+
51+
Packages repository
52+
-------------------
53+
54+
Most users of CloudStack manage the installation and upgrades of
55+
CloudStack with one of Linux's predominant package systems, RPM or
56+
APT. This guide assumes you'll be using RPM and Yum (for Red Hat
57+
Enterprise Linux or CentOS), or APT and Debian packages (for Ubuntu).
58+
59+
Create RPM or Debian packages (as appropriate) and a repository from
60+
the |release| source, or check the Apache CloudStack downloads page at
61+
http://cloudstack.apache.org/downloads.html
62+
for package repositories supplied by community members. You will need
63+
them for :ref:`ubuntu414` or :ref:`kvm414` hosts upgrade.
64+
65+
Instructions for creating packages from the CloudStack source are in the
66+
`CloudStack Installation Guide`_.
67+
68+
Database Preparation
69+
--------------------
70+
71+
Backup current database
72+
73+
#. Stop your management server or servers. Run this on all management
74+
server hosts:
75+
76+
.. parsed-literal::
77+
78+
$ sudo service cloudstack-management stop
79+
80+
#. If you are running a usage server or usage servers, stop those as well:
81+
82+
.. parsed-literal::
83+
84+
$ sudo service cloudstack-usage stop
85+
86+
#. Make a backup of your MySQL database. If you run into any issues or
87+
need to roll back the upgrade, this will assist in debugging or
88+
restoring your existing environment. You'll be prompted for your
89+
password.
90+
91+
.. parsed-literal::
92+
93+
$ mysqldump -u root -p -R cloud > cloud-backup_$(date +%Y-%m-%d-%H%M%S)
94+
$ mysqldump -u root -p cloud_usage > cloud_usage-backup_$(date +%Y-%m-%d-%H%M%S)
95+
96+
97+
.. _ubuntu414:
98+
.. _apt-repo414:
99+
100+
Management Server
101+
-----------------
102+
103+
Ubuntu
104+
######
105+
106+
If you are using Ubuntu, follow this procedure to upgrade your packages. If
107+
not, skip to step :ref:`rhel414`.
108+
109+
.. note::
110+
**Community Packages:** This section assumes you're using the community
111+
supplied packages for CloudStack. If you've created your own packages and
112+
APT repository, substitute your own URL for the ones used in these examples.
113+
114+
The first order of business will be to change the sources list for
115+
each system with CloudStack packages. This means all management
116+
servers, and any hosts that have the KVM agent (no changes should
117+
be necessary for hosts that are running VMware or Xen.)
118+
119+
Edit your ``/etc/apt/sources.list.d/cloudstack.list`` file on
120+
any systems that have CloudStack packages installed to points to version |version|
121+
122+
This file should have one line, which contains:
123+
124+
.. parsed-literal::
125+
126+
deb http://download.cloudstack.org/ubuntu bionic |version|
127+
128+
Setup the public key for the above repository:
129+
130+
.. parsed-literal::
131+
132+
wget -qO - http://download.cloudstack.org/release.asc | sudo apt-key add -
133+
134+
#. Now update your apt package list:
135+
136+
.. parsed-literal::
137+
138+
$ sudo apt-get update
139+
140+
#. Now that you have the repository configured, it's time to upgrade
141+
the ``cloudstack-management`` package.
142+
143+
.. parsed-literal::
144+
145+
$ sudo apt-get upgrade cloudstack-management
146+
147+
#. If you use CloudStack usage server
148+
149+
.. parsed-literal::
150+
151+
$ sudo apt-get upgrade cloudstack-usage
152+
153+
154+
.. _rhel414:
155+
.. _rpm-repo414:
156+
157+
CentOS/RHEL
158+
##############
159+
160+
If you are using CentOS or RHEL, follow this procedure to upgrade your
161+
packages. If not, skip to hypervisors section :ref:`upg_hyp_414`.
162+
163+
.. note::
164+
**Community Packages:** This section assumes you're using the community
165+
supplied packages for CloudStack. If you've created your own packages and
166+
yum repository, substitute your own URL for the ones used in these examples.
167+
168+
The first order of business will be to change the yum repository
169+
for each system with CloudStack packages. This means all
170+
management servers, and any hosts that have the KVM agent (no changes
171+
should be necessary for hosts that are running VMware or Xen.)
172+
173+
Change your ``/etc/yum.repos.d/cloudstack.repo`` file on
174+
any systems that have CloudStack packages installed to points to version |version|.
175+
176+
This file should have content similar to the following:
177+
178+
.. parsed-literal::
179+
180+
[apache-cloudstack]
181+
name=Apache CloudStack
182+
baseurl=http://download.cloudstack.org/centos/$releasever/|version|/
183+
enabled=1
184+
gpgcheck=0
185+
186+
Setup the GPG public key if you wish to enable ``gpgcheck=1``:
187+
188+
.. parsed-literal::
189+
190+
rpm --import http://download.cloudstack.org/RPM-GPG-KEY
191+
192+
#. Now that you have the repository configured, it's time to upgrade the
193+
``cloudstack-management``.
194+
195+
.. parsed-literal::
196+
197+
$ sudo yum upgrade cloudstack-management
198+
199+
#. If you use CloudStack usage server
200+
201+
.. parsed-literal::
202+
203+
$ sudo yum upgrade cloudstack-usage
204+
205+
.. _upg_hyp_414:
206+
207+
Upgrade Hypervisors
208+
-------------------
209+
210+
Hypervisor: XenServer
211+
#####################
212+
213+
214+
No additional steps are required for XenServer Hypervisor for this upgrade.
215+
216+
217+
Hypervisor: VMware
218+
###################
219+
220+
.. warning::
221+
For VMware hypervisor, CloudStack management server packages must be
222+
built using "noredist". Refer to :ref:`building-noredist`.
223+
224+
225+
No additional steps are requried for the VMware Hypervisor for this upgrade.
226+
227+
228+
.. _kvm414:
229+
230+
Hypervisor: KVM
231+
#################
232+
233+
KVM on Ubuntu
234+
""""""""""""""
235+
236+
(KVM only) Additional steps are required for each KVM host. These
237+
steps will not affect running guests in the cloud. These steps are
238+
required only for clouds using KVM as hosts and only on the KVM
239+
hosts.
240+
241+
#. Configure the :ref:`APT repo <apt-repo414>` as detailed above.
242+
243+
#. Stop the running agent.
244+
245+
.. parsed-literal::
246+
247+
$ sudo service cloudstack-agent stop
248+
249+
#. Update the agent software.
250+
251+
.. parsed-literal::
252+
253+
$ sudo apt-get upgrade cloudstack-agent
254+
255+
#. Start the agent.
256+
257+
.. parsed-literal::
258+
259+
$ sudo service cloudstack-agent start
260+
261+
262+
KVM on CentOS/RHEL
263+
"""""""""""""""""""
264+
265+
For KVM hosts, upgrade the ``cloudstack-agent`` package
266+
267+
#. Configure the :ref:`rpm-repo414` as detailed above.
268+
269+
.. parsed-literal::
270+
271+
$ sudo yum install -y epel-release
272+
$ sudo yum install -y python36-libvirt
273+
$ sudo yum upgrade cloudstack-agent
274+
275+
#. Restart the agent:
276+
277+
.. parsed-literal::
278+
279+
$ sudo service cloudstack-agent stop
280+
$ sudo service cloudstack-agent start
281+
282+
283+
Restart management services
284+
---------------------------
285+
286+
#. Now it's time to start the management server
287+
288+
.. parsed-literal::
289+
290+
$ sudo service cloudstack-management start
291+
292+
#. If you use it, start the usage server
293+
294+
.. parsed-literal::
295+
296+
$ sudo service cloudstack-usage start
297+
298+
299+
.. include:: _sysvm_restart.rst

0 commit comments

Comments
 (0)