免責事項:これは英文の記事「In NSX 4.0.X/4.1.X releases, backup fails when using a user name that starts with “sftp”.(380342)」の日本語訳です。記事はベストエフォートで翻訳を進めているため、ローカライズ化コンテンツは最新情報ではない可能性があります。最新情報は英語版の記事で参照してください。
YYYY-MM-DDTHH:MM:SS <hostname> NSX ##### - [nsx@#### comp="nsx-manager" subcomp="node-mgmt" username="root" level="ERROR" errorCode="NOD110"] Cluster backup file copy operation failed due to 404 Not Found#015#012Content-Type: application/json#015#012Content-Length: 333#015#012#015#012{"error_code": 36219, "error_message": "Specified uri '<backup_path>' not found.", "module_name": "node-services"}YYYY-MM-DDTHH:MM:SS <hostname> NSX ##### SYSTEM [nsx@#### comp="nsx-manager" errorCode="MP29111" level="ERROR" subcomp="manager"] Cluster backup for NSX_UFO_BACKUP_RESTORE had errorYYYY-MM-DDTHH:MM:SS <hostname> NSX ##### - [nsx@#### comp="nsx-manager" errorCode="MP29111" level="ERROR" s2comp="backup-restore" subcomp="manager"] Cluster backup failed with ; BackupAsyncStatus [BackupStatus [status=URI_NOT_FOUND, statusDetail=Specified uri '<backup_path>' not found., remoteUri=sftp://<remote_backup_path>, errorCode=null, startTime=<unixtime>, endTime=<unixtime>]; responseBody=null].YYYY-MM-DDTHH:MM:SS <hostname> NSX ##### - [nsx@#### comp="nsx-manager" subcomp="node-mgmt" username="root" level="ERROR" errorCode="NOD110"] REPEATS: 1 repeats in 6 sec: Cluster backup file copy operation failed due to 404 Not Found#015#012Content-Type: application/json#015#012Content-Length: 333#015#012Vmw-Task-Id: <uuid>#012#015#012{"error_code": 36219, "error_message": "Specified uri '<backup_path>' not found.", "module_name": "node-services"}
VMware NSX 4.0.X
VMware NSX 4.1.X
sshd_config の末尾にある以下の設定により発生します。
お客様環境で、sftp ユーザーグループに対して「ChrootDirectory /sftpfiles」が設定されています。
------------
Match group sftp
ChrootDirectory /sftpfiles
#X11Forwarding no
#AllowTcpForwarding no
ForceCommand internal-sftp
------------
本不具合は VMware NSX 4.2.0 にて解決されています。
回避策:
バックアップサーバー側で、ユーザー名が「sftp」で始まらないユーザーを用意し、バックアップ用の SFTP ユーザー名として指定してください。
バックアップサーバー上で新規ユーザーの作成が難しい場合は、以下の KB も参考になります。
KB 324251 - NSX Manager backups are failing intermittently after upgrade to 4.0/4.1 release