SDDC Manager Backup configuration failed with error - Invalid parameter: Validation failed for directory path
search cancel

SDDC Manager Backup configuration failed with error - Invalid parameter: Validation failed for directory path

book

Article ID: 301484

calendar_today

Updated On:

Products

VMware VMware Cloud Foundation

Issue/Introduction

Symptoms:

Unable to configure SDDC manager backup in site settings, receiving the below error:

Invalid parameter: Validation failed for directory path /storage/backup/sddcmanager/ on server 192.168.0.xx. Please make sure backup directory is intact and sftp server has write permission on backup path.

 

You can find the error "End of IO Stream Read" in /var/log/vmware/vcf/operationsmanager/operationsmanager.log 

YYYY-MM-DDTHH:MM DEBUG [vcf_om,20190509c0c4abc,0509] [c.v.v.s.c.s.SecurityConfigurationServiceImpl,http-nio-127.0.0.1-7300-exec-4] Security config retrieved {"certificateValidationEnabled":true,"fipsMode":false}

YYYY-MM-DDTHH:MM ERROR [vcf_om,20190509c0c4abc,0509] [c.v.evo.sddc.common.util.SshUtil,http-nio-127.0.0.1-7300-exec-4] Unable to create jsch CLI session:

com.jcraft.jsch.JSchException: Session.connect: java.io.IOException: End of IO Stream Read

  at com.jcraft.jsch.Session.connect(Session.java:565)

  at com.vmware.evo.sddc.common.util.SshUtil.getSession(SshUtil.java:678)

  at com.vmware.vcf.secure.ssh.SshExecuter.<init>(SshExecuter.java:98)

  at com.vmware.vcf.secure.ssh.SshExecuterFactory.createSshExecuter(SshExecuterFactory.java:137)

  at com.vmware.vcf.secure.ssh.SshExecuterFactory$$FastClassBySpringCGLIB$$d3e8b1e0.invoke(<generated>)

  at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)

  at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)

  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)

Cause

Incompatibility between SSH Server and SDDC Manager.

This issue occurs in the following versions of the SFTP server. Newer versions may have the same issue.

 

Open SSH version: 8.7.1 

Guest OS: RHEL 9.2

 

Resolution

Currently, there is no resolution to this issue.


Workaround:

1. Add the following Key Algorithms to the bottom of the sshd_config file on the SFTP server.

KexAlgorithms diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1

 

2. Restart the SSH service on the SFTP server.