OpenStack:Cinderサービス停止のトラブルシューティング
環境
- OpenStack
- NFS
問題
NFS FlexVol をOpenStackコントローラにマウントすると 、cinder-volume.logに次のエラーが表示されます。
2023-03-21 18:52:12.960 120 ERROR os_brick.remotefs.remotefs [req-aec94ea1-7b09-421b-bcae-15028c609c94 - - - - -] Failed to mount 192.168.0.51:/nfs1, reason: mount.nfs: mounting 192.168.0.51:/nfs1 failed, reason given by server: No such file or directory
2023-03-21 18:52:12.961 120 ERROR cinder.volume.drivers.nfs [req-aec94ea1-7b09-421b-bcae-15028c609c94 - - - - -] Mount failure for 192.168.0.51:/nfs1after 3 attempts.: os_brick.exception.BrickException: NFS mount failed for share 192.168.0.51:/nfs1. Error - {'pnfs': "Unexpected error while running command.\nCommand: mount -t nfs -o vers=4,minorversion=1 192.168.0.51:/nfs1 /var/lib/cinder/mnt/c60ebeaf90ea87392be87fefdb23c290\nExit code: 32\nStdout: ''\nStderr: 'mount.nfs: mounting 192.168.0.51:/nfs1 failed, reason given by server: No such file or directory\\n'", 'nfs': "Unexpected error while running command.\nCommand: mount -t nfs -o 192.168.0.51:/nfs1 /var/lib/cinder/mnt/c60ebeaf90ea87392be87fefdb23c290\nExit code: 32\nStdout: ''\nStderr: 'mount.nfs: mounting 192.168.0.51:/nfs1 failed, reason given by server: No such file or directory\\n'"}