Mediator Add Error: The request to reach the mediator failed during the add operation
Applies to
- ONTAP 9
- ONTAP Mediator Service
- MCCIP
Issue
- Adding the Mediator to Metrocluster fails with the following error:
Adding mediator to metrocluster fails with the following error:
cluster1::> metrocluster configuration-settings mediator add -mediator-address 172.xx.xx.64
Adding the mediator and enabling Automatic Unplanned Switchover. It may take a few minutes to complete.
Please enter the username for the mediator: mediatoradmin
Please enter the password for the mediator:
Confirm the mediator password:
Creating mediator mailboxes...
Error: command failed: The request to reach the mediator failed during the add operation.
Check if the mediator is reachable and then try the operation again.
- From the Mediator host, the "ontap_mediator" service status shows an error:
[root@unixuser ~]# systemctl status ontap_mediator.service
● ontap_mediator.service - ONTAP Mediator
Loaded: loaded (/etc/systemd/system/ontap_mediator.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2022-06-29 16:04:13 +08; 1 weeks 0 days ago
Main PID: 1384 (uwsgi)
Status: "uWSGI is ready"
Tasks: 3 (limit: 49341)
Memory: 148.7M
CGroup: /system.slice/ontap_mediator.service
├─1384 /opt/netapp/lib/ontap_mediator/pyenv/bin/uwsgi --ini /opt/netapp/lib/ontap_mediator/uwsgi/ontap_mediator.ini
├─3332 /opt/netapp/lib/ontap_mediator/pyenv/bin/uwsgi --ini /opt/netapp/lib/ontap_mediator/uwsgi/ontap_mediator.ini
└─3334 /opt/netapp/lib/ontap_mediator/pyenv/bin/uwsgi --ini /opt/netapp/lib/ontap_mediator/uwsgi/ontap_mediator.ini
Jun 29 16:04:11 unixuser.domain.com systemd[1]: Starting ONTAP Mediator...
Jun 29 16:04:11 unixuser.domain.com ontap_mediator[1384]: [uWSGI] getting INI configuration from /opt/netapp/lib/ontap_mediator/uwsgi/ontap_mediator.ini
Jun 29 16:04:13 unixuser.domain.com systemd[1]: Started ONTAP Mediator.
Jun 29 17:04:38 cuz121083p sudo[1470145]: pam_unix(sudo:auth): auth could not identify password for [netapp]
Jun 29 17:04:41 cuz121083p sudo[1470145]: netapp : user NOT in sudoers ; PWD=/opt/netapp/lib/ontap_mediator ; USER=root ; COMMAND=/usr/local/sbin/scstadmin -noprompt>
or
root@usgsol0398# systemctl status ontap_mediator
● ontap_mediator.service - ONTAP Mediator
Loaded: loaded (/etc/systemd/system/ontap_mediator.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2025-08-22 12:26:23 EDT; 4 days ago
Process: 632821 ExecStop=/bin/kill -s INT $MAINPID (code=exited, status=0/SUCCESS)
Process: 632903 ExecStartPre=/opt/netapp/lib/ontap_mediator/tools/otm_logs_fs.sh (code=exited, status=0/SUCCESS)
Main PID: 632917 (python)
Tasks: 1 (limit: 48983)
Memory: 49.0M
CGroup: /system.slice/ontap_mediator.service
└─632917 /opt/netapp/lib/ontap_mediator/pyenv/bin/python /opt/netapp/lib/ontap_mediator/ontap_mediator/server
Aug 22 12:26:23 usgsol0398 systemd[1]: Starting ONTAP Mediator...
Aug 22 12:26:23 usgsol0398 systemd[1]: Started ONTAP Mediator.
Aug 22 12:27:24 usgsol0398 sudo[633753]: pam_unix(sudo:auth): conversation failed
Aug 22 12:27:24 usgsol0398 sudo[633753]: pam_unix(sudo:auth): auth could not identify password for [netapp]
Aug 22 12:27:24 usgsol0398 sudo[633753]: pam_succeed_if(sudo:auth): requirement "uid >= 1000" not met by user "netapp"
Aug 22 12:27:26 usgsol0398 sudo[633753]: netapp : user NOT authorized on host ; HOST=usgsol0398 ;
