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>