Unable to perform multiple operations in AIQUM as maintenance user is not in the sudoers file
Applies to
- OnCommand Unified Manager (UM) 9.5 and below
- ActiveIQ Unified Manager (UM) 9.6+
- RedHat/CentOS
Issue
- Multiple administrative operations fails in UM like:
- All cluster acquisition fails
- ocum-error.log/ocumserver.log:
2023-01-04 14:03:41,320 ERROR [oncommand] [collection-completion-sync-8] [c.n.d.c.l.security.TrustManagerUtil]
Specified Alias: <cluster 1> does not exists in the truststore
2023-01-04 14:03:41,428 ERROR [oncommand]
[reconciliation-4] [<cluster 1>(incremental@14:03:40.642)] [c.n.dfm.collector.OcieJmsListener] Inventory change
listener error
2023-01-04 14:04:26,463 ERROR [oncommand] [collection-completion-sync-5] [c.n.d.c.l.security.TrustManagerUtil]
Specified Alias: <cluster 2> does not exists in the truststore
2023-01-04 14:04:26,575 ERROR [oncommand]
[reconciliation-5] [<cluster 2>(incremental@14:04:26.012)] [c.n.dfm.collector.OcieJmsListener] Inventory change
listener error
- GUI doesnt respond to cluster deletion request
- Regenaration of self signed certificate fails with below error:
Certificate could not be regenerated: We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility.
sudo: no tty present and no askpass program specified
- Attempt to get root privilege by using
sudo su -
after logging in to the UM server via maintenance user (umadmin) or generation of support bundle from maintenance_console fails with:umadmin is not in the sudoers file. This incident will be reported.