i have problem with vmware cloud directory 10.4 ACCESS
I deployed vcd.ova file by vcenter's ovf deploy.
but vcd vm's console show me "no networking detected please login and run the command
/opt/vmware/share/vami/vami_config_net" to configure the network.
so i set network with the command "/opt/vmware/share/vami/vami_config_net" as you see below
but when I try to access (https://10.0.2.111:5480) i see Configuration Failure in the webpage
I checked the log in this path (/opt/vmware/var/log/firstboot) and the result is:
root@vcd-cell01 [ ~ ]# cd /opt/vmware/var/log/
root@vcd-cell01 [ /opt/vmware/var/log ]# ls
cimple firstboot sfcb subsequentboot vami vcd
root@vcd-cell01 [ /opt/vmware/var/log ]# vim firstboot
..........................................................................................................+++++
.....+++++
unable to write 'random state'
writing new private key to '/opt/vmware/appliance/etc/ssl/vcd_ova.key'
-----
Signature ok
subject=/CN=photon-machine/O=VMware, Inc./OU=vCloud Director Appliance/C=US
Getting Private key
unable to write 'random state'
2022-08-15 06:57:30 | Newly generated postges and nginx keys were successfully created in the following directory: /opt/vmware/appliance/etc/ssl
2022-08-15 06:57:30 | Restarting Postgres and Nginx services...
2022-08-15 06:57:30 | Generating self-signed certificates and private keys for VCD http and consoleproxy endpoints...
2022-08-15 06:57:30 | Generated certificates and private keys will be created here:
2022-08-15 06:57:30 | /opt/vmware/vcloud-director/etc/user.http.pem
2022-08-15 06:57:30 | /opt/vmware/vcloud-director/etc/user.http.key
2022-08-15 06:57:30 | /opt/vmware/vcloud-director/etc/user.consoleproxy.pem
2022-08-15 06:57:30 | /opt/vmware/vcloud-director/etc/user.consoleproxy.key
Exception in thread "main" java.lang.ExceptionInInitializerError
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at java.base/java.lang.Class.newInstance(Class.java:584)
at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(OptionConverter.java:313)
at org.apache.log4j.helpers.OptionConverter.instantiateByKey(OptionConverter.java:123)
at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:764)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:738)
at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:630)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:516)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:577)
at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:504)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:119)
at org.apache.log4j.Logger.getLogger(Logger.java:101)
at com.vmware.vcloud.logging.impl.Log4jLoggerImpl.<init>(Log4jLoggerImpl.java:36)
at com.vmware.vcloud.logging.impl.Log4jLoggerFactoryServiceImpl.getLogger(Log4jLoggerFactoryServiceImpl.java:17)
at com.vmware.vcloud.logging.helper.LoggerHelper.getLoggerFromLoggerFactoryService(LoggerHelper.java:326)
at com.vmware.vcloud.logging.helper.LoggerHelper.getLogger(LoggerHelper.java:144)
at com.vmware.vcloud.cell.management.CellManagementTool.<clinit>(CellManagementTool.java:67)
Caused by: java.lang.RuntimeException: Found no suitable IP addresses.
at com.vmware.vcloud.logging.layout.LoggingIPAddressUtils.suggestPrimaryIP(LoggingIPAddressUtils.java:192)
at com.vmware.vcloud.logging.layout.LoggingIPAddressUtils.suggestPrimaryIP(LoggingIPAddressUtils.java:155)
at com.vmware.vcloud.logging.layout.CustomPatternLayout.getPrimaryIp(CustomPatternLayout.java:112)
at com.vmware.vcloud.logging.layout.CustomPatternLayout.initializeHeader(CustomPatternLayout.java:81)
at com.vmware.vcloud.logging.layout.CustomPatternLayout.<clinit>(CustomPatternLayout.java:39)
... 20 more
2022-08-15 06:57:32 | ERROR: cell-management-tool generate-certs command encountered an error creating http certificate.
2022-08-15 06:57:32 | Check /opt/vmware/var/log/vcd/generate-certificates.log for more information.
2022-08-15 06:57:32 | [ERROR] generate-certificates script failed to execute.
And I also checked the generate-certificates.log file and the result is:
root@vcd-cell01 [ /opt/vmware/var/log/vcd ]# vim generate-certificates.log
Generating a RSA private key
..........................................................................................................+++++
.....+++++
unable to write 'random state'
writing new private key to '/opt/vmware/appliance/etc/ssl/vcd_ova.key'
-----
Signature ok
subject=/CN=photon-machine/O=VMware, Inc./OU=vCloud Director Appliance/C=US
Getting Private key
unable to write 'random state'
2022-08-15 06:57:30 | Newly generated postges and nginx keys were successfully created in the following directory: /opt/vmware/appliance/etc/ssl
2022-08-15 06:57:30 | Restarting Postgres and Nginx services...
2022-08-15 06:57:30 | Generating self-signed certificates and private keys for VCD http and consoleproxy endpoints...
2022-08-15 06:57:30 | Generated certificates and private keys will be created here:
2022-08-15 06:57:30 | /opt/vmware/vcloud-director/etc/user.http.pem
2022-08-15 06:57:30 | /opt/vmware/vcloud-director/etc/user.http.key
2022-08-15 06:57:30 | /opt/vmware/vcloud-director/etc/user.consoleproxy.pem
2022-08-15 06:57:30 | /opt/vmware/vcloud-director/etc/user.consoleproxy.key
Exception in thread "main" java.lang.ExceptionInInitializerError
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at java.base/java.lang.Class.newInstance(Class.java:584)
at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(OptionConverter.java:313)
at org.apache.log4j.helpers.OptionConverter.instantiateByKey(OptionConverter.java:123)
at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:764)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:738)
at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:630)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:516)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:577)
at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:504)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:119)
at org.apache.log4j.Logger.getLogger(Logger.java:101)
at com.vmware.vcloud.logging.impl.Log4jLoggerImpl.<init>(Log4jLoggerImpl.java:36)
at com.vmware.vcloud.logging.impl.Log4jLoggerFactoryServiceImpl.getLogger(Log4jLoggerFactoryServiceImpl.java:17)
at com.vmware.vcloud.logging.helper.LoggerHelper.getLoggerFromLoggerFactoryService(LoggerHelper.java:326)
at com.vmware.vcloud.logging.helper.LoggerHelper.getLogger(LoggerHelper.java:144)
at com.vmware.vcloud.cell.management.CellManagementTool.<clinit>(CellManagementTool.java:67)
Caused by: java.lang.RuntimeException: Found no suitable IP addresses.
at com.vmware.vcloud.logging.layout.LoggingIPAddressUtils.suggestPrimaryIP(LoggingIPAddressUtils.java:192)
at com.vmware.vcloud.logging.layout.LoggingIPAddressUtils.suggestPrimaryIP(LoggingIPAddressUtils.java:155)
at com.vmware.vcloud.logging.layout.CustomPatternLayout.getPrimaryIp(CustomPatternLayout.java:112)
at com.vmware.vcloud.logging.layout.CustomPatternLayout.initializeHeader(CustomPatternLayout.java:81)
at com.vmware.vcloud.logging.layout.CustomPatternLayout.<clinit>(CustomPatternLayout.java:39)
... 20 more
2022-08-15 06:57:32 | ERROR: cell-management-tool generate-certs command encountered an error creating http certificate.
2022-08-15 06:57:32 | Check /opt/vmware/var/log/vcd/generate-certificates.log for more information.
Any advice please???
I have the same error, is there an official answer to this question?
The error message says "Found no suitable IP addresses", can you confirm network settings during the deployment is correct? DNS working correctly?
This happens when the DNS and Reverse DNS are missing and most likely for the second IP.