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.##. 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)
VMware SDDC Manager 5.X
Open SSH version: 8.7.1
Guest OS: RHEL 9.2Currently, there is no resolution to this issue.
Workaround:
KexAlgorithms diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1Note:
When the operationsmanager.log shows the below error, then the workaround of updating the cryptographic policy to SHA1 on the affected RHEL9 server should be used:
DEBUG [vcf_om,67ed261d8521124815f852a87e027b2c,427e] [c.v.v.s.c.s.SecurityConfigurationServiceImpl,pool-3-thread-9] Security config retrieved {"fipsMode":false}
ERROR [vcf_om,67ed261d8521124815f852a87e027b2c,427e] [c.v.evo.sddc.common.util.SshUtil,pool-3-thread-9] Unable to create jsch CLI session:com.jcraft.jsch.JSchException: Session.connect: java.security.SignatureException: Bad signature length: got 404 but was expecting 384 at com.jcraft.jsch.Session.connect(Session.java:565)
Apply the SHA1 subpolicy to the DEFAULT cryptographic policy:
update-crypto-policies --set DEFAULT:SHA1Note:
After successfully configuring the backup, the SHA1 submodule can be removed again from the RHEL server as it weakens the security of the system. The backup process will still work.