[octane] upgrade on controllers stopped on mysql reason
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Sergey Abramov | ||
8.0.x |
Fix Released
|
High
|
Sergey Abramov | ||
Mitaka |
Fix Released
|
High
|
Sergey Abramov |
Bug Description
Detailed bug description:
upgrade from 7 -> 8
one controller upgraded successfully
after upgrade db, ceph and control try to upgrade another 2 controllers
It's breaks.
possible reason is:
seq 1 3 | xargs -I {} ssh node-{} ps -ax | grep mysql
Warning: Permanently added 'node-1' (ECDSA) to the list of known hosts.
29953 ? S 0:00 /bin/sh /usr/bin/
31017 ? Sl 2:15 /usr/sbin/mysqld --basedir=/usr --datadir=
31018 ? S 0:00 logger -t mysqld -p daemon.error
Warning: Permanently added 'node-2' (ECDSA) to the list of known hosts.
1003 ? Sl 5:09 /usr/sbin/mysqld --basedir=/usr --datadir=
31785 ? S 0:00 /bin/sh /usr/bin/
Warning: Permanently added 'node-3' (ECDSA) to the list of known hosts.
23012 ? S 0:00 /bin/sh /usr/bin/
24679 ? Sl 2:55 /usr/sbin/mysqld --basedir=/usr --datadir=
On node-1 and node-2 mysql started with --wsrep-new-cluster attribute
Mysql with this attribute should be run only on primary controller.
Expected results:
all controllers in ready state
Actual result:
upgrading controllers in error state
Workaround:
Choose a node with the primary controller role as the first controller for a seed environment during the upgrade procedure.
Changed in fuel: | |
milestone: | 9.1 → next |
no longer affects: | fuel/8.0.x |
Changed in fuel: | |
status: | Confirmed → Fix Committed |
Primary roles of a node should be cleared during its reassignment if they are set, here [1] should be added something like `cls.update_ primary_ roles(instance, [])`.
[1] https:/ /github. com/openstack/ fuel-web/ blob/stable/ 8.0/nailgun/ nailgun/ objects/ node.py# L625