[MCOL-1167] postConfigure - option -c not working Created: 2018-01-16  Updated: 2018-02-02  Resolved: 2018-02-02

Status: Closed
Project: MariaDB ColumnStore
Component/s: None
Affects Version/s: 1.1.2
Fix Version/s: 1.1.3

Type: Bug Priority: Major
Reporter: David Hill (Inactive) Assignee: Daniel Lee (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Sprint: 2018-02, 2018-03

 Description   

In postConfigure, you should be able to provide a preconfigured Columnstore.xml file and pass it via the command line with the upgrade option.

But there is a BUG where -c its working.

/usr/local/mariadb/columnstore/bin/postConfigure -u -c /root/Columnstore.xml.david

This is the MariaDB ColumnStore System Configuration and Installation tool.
It will Configure the MariaDB ColumnStore System and will perform a Package
Installation of all of the Servers within the System that is being configured.

IMPORTANT: This tool should only be run on the Parent OAM Module
which is a Performance Module, preferred Module #1

With the no-Prompting Option being specified, you will be required to have the following:

1. Root user ssh keys setup between all nodes in the system or
use the password command line option.
2. A Configure File to use to retrieve configure data, default to Columnstore.xml.rpmsave
or use the '-c' option to point to a configuration file.

Old Config File not found '/usr/local/mariadb/columnstore/etc/Columnstore.xml.rpmsave', exiting



 Comments   
Comment by David Hill (Inactive) [ 2018-01-16 ]

pull request done

https://github.com/mariadb-corporation/mariadb-columnstore-engine/pull/362

Comment by Ben Thompson (Inactive) [ 2018-01-16 ]

Reviewed / Merged

Comment by Daniel Lee (Inactive) [ 2018-01-19 ]

Build verified: Github source 1.1.3-1
/root/columnstore/mariadb-columnstore-server
commit e0ae0d2fecf9941887478d9aa669c8b2d1092090
Merge: 21ec501 2490ddf
Author: benthompson15 <ben.thompson@mariadb.com>
Date: Fri Jan 19 12:39:05 2018 -0600
Merge pull request #84 from mariadb-corporation/MCOL-1159
MCOL-1159 Merge mariadb-10.2.12
/root/columnstore/mariadb-columnstore-server/mariadb-columnstore-engine
commit 201813d63d63e99e50f2474d1bf7d8428ac72119
Merge: 3748036 a002d33
Author: Andrew Hutchings <andrew@linuxjedi.co.uk>
Date: Fri Jan 19 19:40:18 2018 +0000
Merge pull request #373 from mariadb-corporation/MergeFix
Merge deleted change to include columnstoreversion.h

I made a copy of etc/Columnstore.xml and put it in /tmp as Columnstore.xml.dlee, then I ran postConfigure using the -c opton. I got a replication setup error on 1um2pm, no localquery.

----- Starting MariaDB ColumnStore on local server -----

MariaDB ColumnStore successfully started

MariaDB ColumnStore Database Platform Starting, please wait ......... DONE

Run MariaDB ColumnStore Replication Setup..
ERROR: Error return in running the MariaDB ColumnStore Master replication, check /tmp/master-rep*.logs on um1

MariaDB ColumnStore Replication Setup Failed, check logs

I did a diff on the two files. The on in /tmp has <MySQLRep>n</MySQLRep> and the one in etc has <MySQLRep>y</MySQLRep>.

Comment by David Hill (Inactive) [ 2018-01-19 ]

QUESTION.......

Please provide full output from postConfigure

I need to know what is entered at the mariadb replication enable/disabled prompt.

Comment by Daniel Lee (Inactive) [ 2018-01-29 ]

Build tested: 1.1.3-1 Github source

Author: david hill <david.hill@mariadb.com>
Date: Thu Jan 25 13:55:35 2018 -0600

Merge pull request #89 from mariadb-corporation/RPMPackageFix

require columnstore-server instead of MariaDB server

/root/columnstore/mariadb-columnstore-server/mariadb-columnstore-engine
commit 1e56c7f41add94d024a20ca8f13ee55ed2b7a7f3
Merge: c03c4bc bd5daf2
Author: benthompson15 <ben.thompson@mariadb.com>
Date: Wed Jan 24 17:39:32 2018 -0600

Merge pull request #385 from mariadb-corporation/MCOL-1137

Mcol 1137

Could not reproduce this issue.

I did a fresh installation for 3PM combo and executed postConfigure few times, with both y and n initial values for rep in the Columnstore.xml file. Also answered the product to enable replication with both y and n. postConfigure completed successfully.

Comment by David Hill (Inactive) [ 2018-02-02 ]

i also couldnt reproduce the issue.. assigning back to QA

Comment by Daniel Lee (Inactive) [ 2018-02-02 ]

Closing the ticket per test latest test result

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