Skip to content

Commit 8f8bfc5

Browse files
DaanHooglandDaan Hooglandandrijapanicsb
authored
mysql update warnings (#212)
* mysql-quirk Co-authored-by: Rohit Yadav <rohit.yadav@shapeblue.com> * Update source/upgrading/upgrade/mysql.rst Co-authored-by: Andrija Panic <45762285+andrijapanicsb@users.noreply.github.com> Co-authored-by: Daan Hoogland <dahn@onecht.net> Co-authored-by: Andrija Panic <45762285+andrijapanicsb@users.noreply.github.com>
1 parent 26e4a11 commit 8f8bfc5

2 files changed

Lines changed: 34 additions & 2 deletions

File tree

source/upgrading/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,13 @@ release. Please read through all sections carefully before starting.
3131
.. note::
3232
For information on the API changes and issues fixed in this release, please see the Release Notes section of the documentation
3333

34-
3534
Contents:
3635

3736
.. toctree::
3837
:maxdepth: 1
3938

39+
upgrade/mysql
40+
upgrade/valid_source
4041
upgrade/upgrade-4.15
4142
upgrade/upgrade-4.14
4243
upgrade/upgrade-4.13
@@ -55,4 +56,3 @@ Contents:
5556
.. upgrade/upgrade-4.0
5657
.. upgrade/upgrade-3.0.x
5758
.. upgrade/upgrade-2.2.14
58-
upgrade/valid_source

source/upgrading/upgrade/mysql.rst

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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+
MySQL upgrade problems
17+
======================
18+
19+
With certain MySQL versions (see below), issues have been seen with "cloud.nics" table's
20+
column type (which was not updated properly during CloudStack upgrades, due to MySQL limitations),
21+
which eventually may lead to exception seen in the management server logs, causing users to
22+
not be able to start any VM.
23+
24+
The following SQL statement needs to be manually executed in order to fix such issue:
25+
26+
.. parsed-literal::
27+
ALTER TABLE nics MODIFY COLUMN update_time timestamp DEFAULT CURRENT_TIMESTAMP;
28+
29+
The issue is known to affect the following MySQL server versions:
30+
31+
- 5.7.34 or later
32+
- 8+

0 commit comments

Comments
 (0)