[MCOL-4928] non-interactive update in Debian is broken Created: 2021-11-18 Updated: 2022-06-27 Resolved: 2022-02-11 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | installation |
| Affects Version/s: | 5.6.2, 6.2.2 |
| Fix Version/s: | 5.6.4, 6.3.1 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Roman | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | 2021-17 |
| Description |
|
The server team complains about a warning that breaks non-interactive auto-update process in deb-based distros.
The suggested solution is to remove offending mcsSetConfig clauses and move chown into corresponding post-inst step scripts of a packaging systems(for both RPM and DEB). |
| Comments |
| Comment by Roman Navrotskiy [ 2021-11-19 ] | |
|
localized the problem to the level of a mcsSetConfig call. as says above it occures in two places: /usr/bin/columnstore-post-install chown does not affect the problem | |
| Comment by Roman [ 2022-02-01 ] | |
|
Plz review. | |
| Comment by Daniel Lee (Inactive) [ 2022-02-03 ] | |
|
So what was changed/fixed? What method of upgrade was done (reinstalling deb packages, update from repo?). Do you have the output of the error/complain? | |
| Comment by Roman [ 2022-02-08 ] | |
|
I removed mcsSetConfig command from 2 install-time scripts:
You need to install MDB+MCS(the latest-1) in deb-based distro. If you upgrade MDB+MCS then this update operation asks for operator input complaining that original /etc/columnstore/Columnstore.xml was manually altered(even if it wasn't). The fixed packages must not complain about this. Feel free to ask for more details in Slack dleeyh. | |
| Comment by Roman [ 2022-02-09 ] | |
|
The server test scripts made minor upgrades,e.g. 6.1.1 to 6.2.2 using deb remote repo. What is the command you upgraded with? | |
| Comment by Daniel Lee (Inactive) [ 2022-02-11 ] | |
|
Builds verified: 5.6.4-2 (#3781), 6.2.4-1 (#3778) Still could not reproduce the issue when upgrading using local repository, but was able to reproduce by uninstalling and re-installing the deb packages. {noforamt}s1pm1: Configuration file '/etc/columnstore/Columnstore.xml'
Using 6.2.4 with the fix, I still had some issues upgrading from some earlier releases. When upgrading from 6.1.1 to 6.2.4 (with fix), had issue According to the developer, the fix is for upgrading from the fixed version and beyond since earlier release already had the Columnstore.xml file modified. It worked fine when I 'upgraded' from 6.2.4 to 6.2.4 (The same release) The same tests also work the for 5.x releases. |