Search the VMware Knowledge Base (KB)
View by Article ID

Backing up the NSX Manager to OpenSSH 7.x or later fails (2150053)

  • 1 Ratings
Language Editions

Symptoms

In an NSX for vSphere 6.2.x environment where OpenSSH 7.x or later is being used as an SFTP backup endpoint, you experience these symptoms:
  • Backing up the NSX Manager to OpenSSH 7.x or later fails
  • You see the error similar to:

    Unable to connect to server 192.168.137.177 at 22. Either server details are invalid or invalid credentials are presented.( Socket closed )
  • Running the show log appmgmt command on the NSX Manager displays entries similar to:

    2017-04-14 09:36:55.891 GMT+00:00  INFO http-nio-443-exec-64 VsmAuditingService:67 - [AuditLog] UserName:'admin', ModuleName:'BACKUP_RESTORE', Operation:'BACKUP', Resource:'ITEST-POC-NSXMNGR-09_36_44_Fri14Apr2017', Time:'Fri Apr 14 09:36:55.885 UTC 2017'
    2017-04-14 09:36:55.900 GMT+00:00  INFO http-nio-443-exec-64 VsmEventingService:72 - [SystemEvent] Time:'Fri Apr 14 09:36:55.892 UTC 2017', Severity:'Critical', Event Source:'Take Backup', Code:'9006', Event Message:'Backup of vShield Manager failed.', Module:'vShield DB Backup Restore'
    2017-04-14 09:36:55.901 GMT+00:00 ERROR http-nio-443-exec-64 VsmJsonErrorResolver:28 - Error discovered by JSON RPC
    com.vmware.vsmvam.support.backuprestore.exceptions.VsmFtpException:
    vsm-appliance-mgmt:150502:Unable to connect to server 192.168.137.177 at 22. Either server details are invalid or invalid credentials are presented.:Socket closed
            at com.vmware.vsmvam.support.backuprestore.utils.FtpSftpUtils.getFtpTransferClient(FtpSftpUtils.java:182)
            at com.vmware.vsmvam.support.backuprestore.utils.FtpSftpUtils.upload(FtpSftpUtils.java:51)
            at com.vmware.vsmvam.support.backuprestore.service.impl.VsmServiceBackupRestoreExecutor.performBackup(VsmServiceBackupRestoreExecutor.java:128)
            at com.vmware.vsmvam.support.backuprestore.service.impl.BackupRestoreServiceImpl.performBackup(BackupRestoreServiceImpl.java:78)
            at com.vmware.vsmvam.support.backuprestore.facade.impl.BackupRestoreFacadeImpl.performBackup(BackupRestoreFacadeImpl.java:53)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
           

    Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.

Cause

This issue occurs because the SFTP jar files in the NSX Manager is out of date.

Resolution

This is a known issue affecting VMware NSX for vSphere 6.2.x.

Currently, there is no resolution.

To work around this issue, use OpenSSH version 6.x or earlier as your SFTP backup endpoint.

Impact/Risks

None

Additional Information

To be alerted when this article is updated, click Subscribe to Document in the Actions box.

See Also

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 1 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 1 Ratings
Actions
KB: