[MCOL-3462] columnstoreSupport on a non-root install has systemctl msg printing to the screen Created: 2019-08-27  Updated: 2023-10-26  Resolved: 2020-04-15

Status: Closed
Project: MariaDB ColumnStore
Component/s: ?
Affects Version/s: 1.2.5
Fix Version/s: N/A

Type: Bug Priority: Minor
Reporter: David Hill (Inactive) Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Environment:

Testing on Amazon CENTOS 7 AMI non-root install



 Description   

Initially reported by a customer and reproduced by support

The columnstoreSupport script is making 'systemctl' calls. And when its run as a non-root user, messages are printed to the screen.
1. So maybe filter out the messages from being printed as an option
2. Code make sudo a requirement, but best not do that. Some customers will not like that requirement.

$ ./columnstoreSupport -a -p ssh
Get software report data for um2
Get software report data for pm1
Get software report data for pm2
Get software report data for um1
Get config report data for um2
Get config report data for pm1
Get config report data for pm2
Get config report data for um1

Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.

If you want to list systemd services use 'systemctl list-unit-files'.
To see services enabled on particular target use
'systemctl list-dependencies [target]'.

Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.

If you want to list systemd services use 'systemctl list-unit-files'.
To see services enabled on particular target use
'systemctl list-dependencies [target]'.

Get log report data for um2
Get log report data for pm1
Get log report data for pm2
Get log report data for um1
Get log config data for um1
Get hardware report data for um2
Get hardware report data for pm1
Get hardware report data for pm2
Get hardware report data for um1
Get resource report data for um2
Get resource report data for pm1
Get resource report data for pm2
Get resource report data for um1
Get dbms report data for um1

Columnstore Support Script Successfully completed, files located in columnstoreSupportReport.columnstore-1.tar.gz
[mysql@ip-172-31-34-10 bin]$ ./columnstoreSupport -lc
Get software report data for um1
Get config report data for um1

Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.

If you want to list systemd services use 'systemctl list-unit-files'.
To see services enabled on particular target use
'systemctl list-dependencies [target]'.

Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.

If you want to list systemd services use 'systemctl list-unit-files'.
To see services enabled on particular target use
'systemctl list-dependencies [target]'.

Get log report data for um1
Get log config data for um1
Get hardware report data for um1
Get resource report data for um1
Get dbms report data for um1

Columnstore Support Script Successfully completed, files located in columnstoreSupportReport.columnstore-1.tar.gz
[mysql@ip-172-31-34-10 bin]$



 Comments   
Comment by David Hill (Inactive) [ 2019-08-28 ]

Non root install doesnt use systemctl to launch.
So this check should be skip.

Comment by Todd Stoffel (Inactive) [ 2020-04-15 ]

OAM is being deprecated and replaced by an enhanced API and the MaxScale orchestration project.

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