[MCOL-616] addmodule failure on ubuntu system after a 1-pm install is done Created: 2017-03-09  Updated: 2023-10-26  Resolved: 2017-03-22

Status: Closed
Project: MariaDB ColumnStore
Component/s: ?
Affects Version/s: 1.0.7
Fix Version/s: 1.0.8

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

Sprint: 2017-6

 Description   

User reported an error where the addModule was failing after he had done a postConfigure install of a 1pm system using ubuntu 16. Was able to reproduce the issue inhouse.

Issue - the default setting in the Columnstore.xml for package type is 'rpm'. If the user would have setup a multi-node system using postConfigure, they would have been prompted to enter the package type. They would have enter 'deb' and the Columnstore.xml would have been updated at that time. But since they configured a single pm1 system, this prompt wasn't issued and the package type in the Columnstore.xml stayed set to 'rpm.
So when they tried to do an addModule, it was looking for the rpm's to push to the new node thus causing the failure...

User fixed the issue with the work-around of editing the Columnstore.xml entry of package-type from rpm to deb to get it to install.

But we obliviously need to handle this case in our software.



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

addmodule is also failing because its looking for the wrong package name

Mar 9 17:17:58 ubuntu16-pm1 ProcessManager[10443]: 58.347941 |0|0|0| E 17 CAL0000: line: 4537 addModule - ERROR: Package not found: /root/mariadb-columnstore*_1.0.7-1*.deb

Comment by David Hill (Inactive) [ 2017-03-16 ]

pull request for repo MCOL-617...

Changes in postConfigure to determine the package type being used is the main fix. Also fixed places in postCOnfigure and procmgr addModule code were it verifies the package names

Comment by Ben Thompson (Inactive) [ 2017-03-16 ]

Reviewed / Merged with MCOL-617

Comment by Daniel Lee (Inactive) [ 2017-03-22 ]

Build verified: 1.0.8-1

Did a multiple-node setup with only 1pm using deb package on ubuntu16.04.
Verified the package type is set to deb in Columnstore.xml
Added pm2

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