setup-mnode script fails with Trident initialization error
Applies to
- NetApp SolidFire
- NetApp HCI
- Management Node (mNode)
Issue
mNode setup-mnode script fails with following error when persistent volumes option is used:
mnode /home/admin # /sf/packages/mnode/setup-mnode --mnode_admin_user admin --storage_mvip xxx.xxx.xxx.xxx --storage_username admin --telemetry_active true --use_persistent_volumes true --persistent_volumes_account mnode_pv_account --storage_svip xxx.xxx.xxx.xxx
[2020-02-10T10:28:45.101185Z]:[setup_mnode:296] INFO:Starting mNode deployment
[2020-02-10T10:28:45.104958Z]:[config_util:1287] INFO:No previously running mNode. Continuing with deployment.
[2020-02-10T10:28:45.105575Z]:[config_util:1294] INFO:Validating credentials for mNode host.
[2020-02-10T10:28:45.142633Z]:[config_util:1206] INFO:Checking Cluster information.
[2020-02-10T10:28:45.177523Z]:[config_util:108] INFO:Cluster credentials verification successful.
[2020-02-10T10:28:45.178130Z]:[config_util:1226] INFO:Cluster version check successful.
[2020-02-10T10:28:45.260435Z]:[config_util:108] INFO:Successfully queried system configuration
[2020-02-10T10:28:45.265222Z]:[config_util:493] INFO:CIDR range 172.252.0.0/22 open. Using for docker ingress.
[2020-02-10T10:28:45.265874Z]:[mnodecfg:142] INFO:Configuring mNode
[2020-02-10T10:28:45.266481Z]:[config_util:190] INFO:Wait for ping of 127.0.0.1 to succeed
[2020-02-10T10:28:45.277629Z]:[mnodecfg:146] INFO:Validating the supplied MNode network configuration
[2020-02-10T10:28:45.278260Z]:[mnodecfg:156] INFO:Testing the MNode network configuration
[2020-02-10T10:28:45.279028Z]:[config_util:349] INFO:Testing network connection to storage MVIP: xxx.xxx.xxx.xxx
[2020-02-10T10:28:45.279617Z]:[config_util:190] INFO:Wait for ping of 10.200.1.164 to succeed
[2020-02-10T10:28:45.290402Z]:[config_util:352] INFO:Successfully reached storage MVIP: xxx.xxx.xxx.xxx
[2020-02-10T10:28:45.291050Z]:[config_util:358] INFO:Testing network connection to storage SVIP: xxx.xxx.xxx.xxx
[2020-02-10T10:28:45.291600Z]:[config_util:190] INFO:Wait for ping ofxxx.xxx.xxx.xxx to succeed
[2020-02-10T10:28:45.302238Z]:[config_util:361] INFO:Successfully reached storage SVIP: xxx.xxx.xxx.xxx
[2020-02-10T10:28:45.302921Z]:[mnodecfg:159] INFO:Configuring MNode storage (this can take several minutes)
[2020-02-10T10:28:48.364504Z]:[mnodecfg:69] ERROR:chown: cannot access '/opt/solidfire/sioc/data/*': No such file or directory
Created symlink /etc/systemd/system/sysinit.target.wants/multipathd.service → /lib/systemd/system/multipathd.service.
Created symlink /etc/systemd/system/multi-user.target.wants/iscsid.service → /sf/packages/open-iscsi/etc/systemd/iscsid.service.
Created symlink /etc/systemd/system/multi-user.target.wants/trident.service → /lib/systemd/system/trident.service.
Error response from daemon: create NetApp-HCI-credential-svc: VolumeDriver.Create: Trident initialization failed; problem initializing storage driver 'solidfire-san': device API error: use 'journalctl -fu docker' to learn more
Traceback (most recent call last):
File "setup_scripts/mnodecfg.py", line 67, in config_pre_networked_mnode
File "setup_scripts/mnodecfg.py", line 160, in _config_mnode
File "setup_scripts/config_util.py", line 521, in configure_storage
File "setup_scripts/config_util.py", line 172, in exec_process
sfprime.MnodeCfgError: chown: cannot access '/opt/solidfire/sioc/data/*': No such file or directory
Created symlink /etc/systemd/system/sysinit.target.wants/multipathd.service → /lib/systemd/system/multipathd.service.
Created symlink /etc/systemd/system/multi-user.target.wants/iscsid.service → /sf/packages/open-iscsi/etc/systemd/iscsid.service.
Created symlink /etc/systemd/system/multi-user.target.wants/trident.service → /lib/systemd/system/trident.service.
Error response from daemon: create NetApp-HCI-credential-svc: VolumeDriver.Create: Trident initialization failed; problem initializing storage driver 'solidfire-san': device API error: use 'journalctl -fu docker' to learn more
[13556] Failed to execute script setup_mnode
mnode /home/admin #
in non-pv environments , install will fail with following error message :
.png)