[MCOL-845] postConfigure creates a list of dbroots and assigns them device nodes, it starts at 'g' and increments, but it skips 'k'. system fails to start Created: 2017-07-31  Updated: 2023-10-26  Resolved: 2017-08-14

Status: Closed
Project: MariaDB ColumnStore
Component/s: ?
Affects Version/s: 1.0.9
Fix Version/s: 1.0.11, 1.1.0

Type: Bug Priority: Major
Reporter: David Hill (Inactive) Assignee: David Hill (Inactive)
Resolution: Fixed Votes: 1
Labels: None
Environment:

Amazon EC2/EBS system


Sprint: 2017-16

 Description   

This Problem was reported by a customer and I was able to reproduce.

"When postConfigure creates a list of dbroots and assigns them device nodes, it starts at 'g' and increments, but it always skips 'k'.
When we tried to start the cluster with 5 PMs it failed to start complaining about the volume not found on pm5"

use postConfigure to create a 5 pm system with 1 dbroot per pm.

from pm1:

[mariadb-user@ip-172-30-0-43 ~]$ cat /etc/fstab
LABEL=root / xfs defaults,relatime 1 1
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/root/.myswapfile swap swap defaults 0 0
ephemeral0 /media/ephemeral0 auto defaults,nofail,comment=cloudconfig 0 2
ephemeral1 /media/ephemeral1 auto defaults,nofail,comment=cloudconfig 0 2
swap none swap sw,comment=cloudconfig 0 0
/dev/xvdg /home/mariadb-user/mariadb/columnstore/data1 ext2 noatime,nodiratime,noauto,user 0 0
/dev/xvdh /home/mariadb-user/mariadb/columnstore/data2 ext2 noatime,nodiratime,noauto,user 0 0
/dev/xvdi /home/mariadb-user/mariadb/columnstore/data3 ext2 noatime,nodiratime,noauto,user 0 0
/dev/xvdj /home/mariadb-user/mariadb/columnstore/data4 ext2 noatime,nodiratime,noauto,user 0 0
/dev/xvdl /home/mariadb-user/mariadb/columnstore/data5 ext2 noatime,nodiratime,noauto,user 0 0
[mariadb-user@ip-172-30-0-43 ~]$

mcsadmin> getst
getstorageconfig Mon Jul 31 14:29:50 2017

System Storage Configuration

Performance Module (DBRoot) Storage Type = external
User Module Storage Type = internal
System Assigned DBRoot Count = 5
DBRoot IDs assigned to 'pm1' = 1
DBRoot IDs assigned to 'pm2' = 2
DBRoot IDs assigned to 'pm3' = 3
DBRoot IDs assigned to 'pm4' = 4
DBRoot IDs assigned to 'pm5' = 5

Amazon EC2 Volume Name/Device Name/Amazon Device Name for DBRoot1: vol-079b3cbedef7f5e63, /dev/sdg, /dev/xvdg
Amazon EC2 Volume Name/Device Name/Amazon Device Name for DBRoot2: vol-024fe24c31bdc84fd, /dev/sdh, /dev/xvdh
Amazon EC2 Volume Name/Device Name/Amazon Device Name for DBRoot3: vol-044553de1a940d7db, /dev/sdi, /dev/xvdi
Amazon EC2 Volume Name/Device Name/Amazon Device Name for DBRoot4: vol-0dd0e0288b7ec1ed0, /dev/sdj, /dev/xvdj
Amazon EC2 Volume Name/Device Name/Amazon Device Name for DBRoot5: vol-05dd275951bb6163f, /dev/sdl, /dev/xvdl

----- Performing Install on 'pm5 / i-0d89929eacf3c73a1' -----

Install log file is located here: /tmp/pm5_binary_install.log

MariaDB ColumnStore Package being installed, please wait ...
Failure with a remote module install, check install log files in /tmp



 Comments   
Comment by David Hill (Inactive) [ 2017-08-09 ]

fixed in develop-1.0 1.0.11

commit 06199595763c363dc36a6bd8d1c1d52a1eb2071c
Author: David Hill <david.hill@mariadb.com>
Date: Wed Aug 9 13:53:54 2017 -0500

Comment by David Hill (Inactive) [ 2017-08-09 ]

1.1.0 merged from 1.0.10

commit 76fb89c13f8e1495e127078474f315850d5b86ea
Merge: 42867bc 6ed975d
Author: David Hill <david.hill@mariadb.com>
Date: Wed Aug 9 16:01:38 2017 -0500

Comment by David Hill (Inactive) [ 2017-08-14 ]

passed test by Dh and customer...

Generated at Thu Feb 08 02:24:15 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.