[MCOL-493] rpm install for multi node combined fails to setup logging on other nodes Created: 2017-01-07 Updated: 2017-01-23 Resolved: 2017-01-23 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | installation |
| Affects Version/s: | 1.0.6 |
| Fix Version/s: | 1.0.7 |
| Type: | Bug | Priority: | Major |
| Reporter: | David Thompson (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
centos 7 rpm install 2 node combined. Should also check deb install as well. |
||
| Description |
|
Perform a 2 node combined install on centos7 using rpm. In the /tmp/pm2.. log the logging check shows that logging was not setup correctly and indeed it is not. On the remote node:
Workaround, run the script manually on the remote node(s) as root with a login shell: run it again with argument check to verify. |
| Comments |
| Comment by David Thompson (Inactive) [ 2017-01-07 ] |
|
I think this is because post-install is run by rpm and USER is not set in the env when run from there. We should be able to infer that this is a package install and thus running as root in the sudo check. |
| Comment by David Hill (Inactive) [ 2017-01-10 ] |
|
fix/address by having module_installer run syslogSetup.sh.. |
| Comment by David Hill (Inactive) [ 2017-01-10 ] |
|
the install is already done in post-install, the syslogSetup.sh status is in the installer scripts. that could be moved to module_installer |
| Comment by David Hill (Inactive) [ 2017-01-10 ] |
|
change syslogSetup for sudo check, make like post-install |
| Comment by David Hill (Inactive) [ 2017-01-10 ] |
|
did a pull request |
| Comment by Ben Thompson (Inactive) [ 2017-01-12 ] |
|
Reviewed and merged. |
| Comment by Daniel Lee (Inactive) [ 2017-01-23 ] |
|
Build verified: 1.0.7-1 mcsadmin> getsoft Name : mariadb-columnstore-platform Verified with two-node combo installations for both rpm (centos7) and deb (ubuntu 16.04) packages. |