[MCOL-773] system not startup up via postConfigure/startsSystem - remote_command issue Created: 2017-06-15 Updated: 2023-10-26 Resolved: 2017-07-19 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ? |
| Affects Version/s: | 1.0.9 |
| Fix Version/s: | 1.0.10, 1.1.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | David Hill (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Customer had an issue with a a multi-node system not starting up either via postConfigure or mcsadmin startsystem. We was able to reproduce the issue and the problem was that a banner is used at ssh login time that has "#" in it and the 1.0.9 version of remote_command.sh watches for "#" as an indication that the command has finished. So this cause the command that was being passed by the remote_command script not to run. This issue has been fixed in the 1.1.0 version of remote_command.sh, so that fixes needs to be back ported to 1.0.10. Work-around is the commit out these lines in the remote_command.sh script to get things to work: grep "#" remote_command.sh #expect -re {[$#] }# -re {[$#] } { exit 0 } # -re {[$#] } { exit 0 }
also this needs to be setup in /etc/ssh/sshd_config
and this needs to be in the banner file, example like this: ############################### |
| Comments |
| Comment by David Hill (Inactive) [ 2017-06-16 ] |
|
commit fef65814cb02287ea834fe9717f6903861feb4c3 oam/install_scripts/remote_command.sh | 8 +++----- |
| Comment by David Hill (Inactive) [ 2017-06-16 ] |
|
fyi - fixed already in 1.1.0 |
| Comment by Daniel Lee (Inactive) [ 2017-07-19 ] |
|
Build verified: 1.0.10-1 Verify changes in the remote_command.sh file and performed installation tests as regression. |
| Comment by Daniel Lee (Inactive) [ 2017-07-19 ] |
|
Build verified: Github source 1.1.0 [root@localhost mariadb-columnstore-server]# git show [root@localhost mariadb-columnstore-engine]# git show |