I decided to create a new thread , old one had a different title and different issue and was not getting attention anymore.
Ok so , i moved to a different host & network, my Vcenter, NSX and everything else works, except my vcloud director interface.
What i have changed are the centos IP, change the IP of database and vcd using this guide.
After a - service vmware-vcd status
i get
vmware-vcd-watchdog is running
vmware-vcd-cell is dead, but pidfile exists
the cell goes running and then dead constantly. Is there anything else i should do to get VCD up and running after changing ip?
I did change my DNS entries and it resolves perfectly, have ip in both my DNS and my centos hosts file.
The browser did ask me to accept certificate when i went on https://192.168.120.75 , but then i just get "
192.168.120.75 refused to connect.
Try:
ERR_CONNECTION_REFUSED
These are my settings, globalproperties.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
# Dtabase connection settings
database.jdbcUrl = jdbc:jtds:sqlserver://192.168.120.72:1433/vcloud;socketTimeout=90;instance=MSSQL-01,jdbc:jtds:sqlserver://192.168.120.72:1433/vcloud;socketTimeout=90;instance=MSSQL-01
database.username = vcloud,vcloud
database.password = tF924cPW5hzRI/YF5YfuMQ==,tF924cPW5hzRI/YF5YfuMQ==
# Product display name
# Product display name
product.display_name = VMware vCloud Director,VMware vCloud Director
# Maximum number blocking tasks (per cell) to be resumed when expired.
# This property is taken into account only when blocking task's default timeout action is "Resume".
# Uncomment this line and set the desired value. Otherwise, the default value (1000) will be used.
# blockingTasks.timeoutResumeRate = 1000
# Maximum number blocking tasks (per cell) to be resumed when expired.
# This property is taken into account only when blocking task's default timeout action is "Resume".
# Uncomment this line and set the desired value. Otherwise, the default value (1000) will be used.
# blockingTasks.timeoutResumeRate = 1000
product.version = 8.10.0.3879706,8.10.0.3879706
product.build_date = 2016-05-12T20:32:07-0700,2016-05-12T20:32:07-0700
vcloud.cell.ip.primary = 192.168.120.75,192.168.120.75
consoleproxy.host.https = 192.168.120.76,192.168.120.76
vcloud.ssl.password = TE0ADoWMkrn/HOIZTw3oK9jajMGmuKnQvoTKRp/S/rU=,TE0ADoWMkrn/HOIZTw3oK9jajMGmuKnQvoTKRp/S/rU=
vcloud.ssl.key.password = ePzQo8AZymcTyNLu13mMdgoyXbHrX1wiKbDqCNgqitw=,ePzQo8AZymcTyNLu13mMdgoyXbHrX1wiKbDqCNgqitw=
vcloud.ssl.truststore.password = gYvMRSlbjynsjMYEGxlSlHoU3FEvjtKP5sxakPDYVdU=,gYvMRSlbjynsjMYEGxlSlHoU3FEvjtKP5sxakPDYVdU=
consoleproxy.keystore.password = Gr9xQgtM4I9YpRyn0+36TQQcnRcwZl1XEBIyfxXtzGc=,Gr9xQgtM4I9YpRyn0+36TQQcnRcwZl1XEBIyfxXtzGc=
consoleproxy.keystore.path = /opt/vmware/vcloud-director/etc/proxycertificates,/opt/vmware/vcloud-director/etc/proxycertificates
audit.syslog.host = \,
audit.syslog.port = 514,514
vcloud.cell.uuid = eebea746-e7c2-47d6-b412-021cbca56205,eebea746-e7c2-47d6-b412-021cbca56205
vcloud.cell.ips = [192.168.120.75,192.168.120.76,192.168.218.74,192.168.218.75,127.0.0.1,fe80:0:0:0:20c:29ff:feb4:f046%ens33,fe80:0:0:0:20c:29ff:feb4:f050%ens34,0:0:0:0:0:0:0:1%lo]
system.info = +MNtwqQXNQdMKtWKw7gp896zd6YpPprCtNqIA0n8FPs=,+MNtwqQXNQdMKtWKw7gp896zd6YpPprCtNqIA0n8FPs=
system.version = 1,1
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
And in SQL i ran,
update cells set primary_ip='192.168.120.75' where name='vcd-01';
---------------------------------------------------------------------------------------------------------------------------------------------------------------
LOG UPDATE - don't seem to see anymore errors in regard to hostname.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[root@vcd-01 logs]# tail -f vcloud-container-info.log
VMware vCloud Director,VMware vCloud Director 8.10.0.3879706,8.10.0.3879706, Mauritius Time, vcd-01 (192.168.120.75)
VMware vCloud Director,VMware vCloud Director 8.10.0.3879706,8.10.0.3879706, Mauritius Time, vcd-01 (192.168.120.75)
VMware vCloud Director,VMware vCloud Director 8.10.0.3879706,8.10.0.3879706, Mauritius Time, vcd-01 (192.168.120.75)
VMware vCloud Director,VMware vCloud Director 8.10.0.3879706,8.10.0.3879706, Mauritius Time, vcd-01 (192.168.120.75)
VMware vCloud Director,VMware vCloud Director 8.10.0.3879706,8.10.0.3879706, Mauritius Time, vcd-01 (192.168.120.75)
VMware vCloud Director,VMware vCloud Director 8.10.0.3879706,8.10.0.3879706, Mauritius Time, vcd-01 (192.168.120.75)
VMware vCloud Director,VMware vCloud Director 8.10.0.3879706,8.10.0.3879706, Mauritius Time, vcd-01 (192.168.120.75)
VMware vCloud Director,VMware vCloud Director 8.10.0.3879706,8.10.0.3879706, Mauritius Time, vcd-01 (192.168.120.75)
VMware vCloud Director,VMware vCloud Director 8.10.0.3879706,8.10.0.3879706, Mauritius Time, vcd-01 (192.168.120.75)
VMware vCloud Director,VMware vCloud Director 8.10.0.3879706,8.10.0.3879706, Mauritius Time, vcd-01 (192.168.120.75)
VMware vCloud Director,VMware vCloud Director 8.10.0.3879706,8.10.0.3879706, Mauritius Time, vcd-01 (192.168.120.75)
VMware vCloud Director,VMware vCloud Director 8.10.0.3879706,8.10.0.3879706, Mauritius Time, vcd-01 (192.168.120.75)
VMware vCloud Director,VMware vCloud Director 8.10.0.3879706,8.10.0.3879706, Mauritius Time, vcd-01 (192.168.120.75)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[root@vcd-01 logs]# tail -f vcloud-container-debug.log
currentContext.success=true,
currentContext.user.id=system(com.vmware.vcloud.entity.user:808cc07b-7092-3666-bcc5-8991
currentContext.user.name=system,
currentContext.user.proxyAddress=,
entity.id=com.vmware.vcloud.common.cell.event.CommonCellEventBuilder$$Lambda$7/907858780
entity.name=com.vmware.vcloud.common.cell.event.CommonCellEventBuilder$$Lambda$6/1582928
entity.type=com.vmware.vcloud.entity.cell,
}] |
2017-02-06 18:55:51,536 | DEBUG | CloudProxy Application | Crypto
VMware vCloud Director,VMware vCloud Director 8.10.0.3879706,8.10.0.3879706, Mauritius Time, vcd
VMware vCloud Director,VMware vCloud Director 8.10.0.3879706,8.10.0.3879706, Mauritius Time, vcd
2017-02-06 18:58:18,182 | DEBUG | Bootstrap Application | ProductSSLConstants$CipherConfiist: [SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_3DES_56_CBC_SHA, TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_W_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA, TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA, TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_
2017-02-06 18:58:18,182 | DEBUG | Bootstrap Application | ProductSSLConstants$CipherConfiLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_3DES_EDE_CBC_SHA, TLS_ECECDHE_RSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDH_ECDSA_WITH_AE
2017-02-06 18:58:18,182 | DEBUG | Bootstrap Application | ProductSSLConstants$ProtocolConprotocol list: [SSLv3, SSLv2Hello] |
2017-02-06 18:58:18,182 | DEBUG | Bootstrap Application | ProductSSLConstants$ProtocolConcols: [TLSv1.2, TLSv1.1, TLSv1] |
2017-02-06 18:58:18,618 | DEBUG | Bootstrap Application | EncryptionManager
2017-02-06 18:58:18,695 | DEBUG | Bootstrap Application | EncryptionManager
2017-02-06 18:58:33,840 | DEBUG | Bootstrap Application | EventHelper 526-49ff-86b3-7a4d8eed19c0, timestamp=1486393113729, type=com/vmware/vcloud/event/cell/bootstrap
bootstrap.requiredProperties={vcloud.http.port.standard=80, product.version=8.10.0.38797-05-12T20:32:07-0700, vcloud.http.port.ssl=443},
currentContext.cell.uuid=,
currentContext.org.id=System(com.vmware.vcloud.entity.org:a93c9db9-7471-3192-8d09-a8f7ee
currentContext.success=true,
currentContext.user.id=system(com.vmware.vcloud.entity.user:808cc07b-7092-3666-bcc5-8991
currentContext.user.name=system,
currentContext.user.proxyAddress=,
entity.id=com.vmware.vcloud.common.cell.event.CommonCellEventBuilder$$Lambda$7/907858780
entity.name=com.vmware.vcloud.common.cell.event.CommonCellEventBuilder$$Lambda$6/1582928
entity.type=com.vmware.vcloud.entity.cell,
}] |
2017-02-06 18:58:34,110 | DEBUG | OSGI Delegator - listener dispatcher | EventHelper =27491910-9ff2-48f5-9a6e-a2bfddb5801b, timestamp=1486393113922, type=com/vmware/vcloud/event/cel
cellApplication.intermediateState=STARTING_FROM_STOPPED,
cellApplication.name=com.vmware.vcloud.common.main.LegacyCellApplication,
cellApplication.originState=STOPPED,
cellApplication.simpleName=LegacyCellApplication,
cellApplication.simpleState=transitioning,
cellApplication.targetState=STARTED,
cellApplication.transitionState=TRANSITIONING,
currentContext.cell.uuid=,
currentContext.org.id=System(com.vmware.vcloud.entity.org:a93c9db9-7471-3192-8d09-a8f7ee
currentContext.success=true,
currentContext.user.id=system(com.vmware.vcloud.entity.user:808cc07b-7092-3666-bcc5-8991
currentContext.user.name=system,
currentContext.user.proxyAddress=,
entity.id=com.vmware.vcloud.common.cell.event.CommonCellEventBuilder$$Lambda$7/907858780
entity.name=com.vmware.vcloud.common.cell.event.CommonCellEventBuilder$$Lambda$6/1582928
entity.type=com.vmware.vcloud.entity.cell,
}] |
2017-02-06 18:58:34,629 | DEBUG | OSGI Delegator - listener dispatcher | EventHelper =70f9013c-9403-4763-8081-c5d9f7c8eaef, timestamp=1486393114629, type=com/vmware/vcloud/event/cel
cellApplication.intermediateState=STARTING_FROM_STOPPED,
cellApplication.name=com.vmware.vcloud.cloudproxy.server.CloudProxyApplication,
cellApplication.originState=STOPPED,
cellApplication.simpleName=CloudProxyApplication,
cellApplication.simpleState=transitioning,
cellApplication.targetState=STARTED,
cellApplication.transitionState=TRANSITIONING,
currentContext.cell.uuid=,
currentContext.org.id=System(com.vmware.vcloud.entity.org:a93c9db9-7471-3192-8d09-a8f7ee
currentContext.success=true,
currentContext.user.id=system(com.vmware.vcloud.entity.user:808cc07b-7092-3666-bcc5-8991
currentContext.user.name=system,
currentContext.user.proxyAddress=,
entity.id=com.vmware.vcloud.common.cell.event.CommonCellEventBuilder$$Lambda$7/907858780
entity.name=com.vmware.vcloud.common.cell.event.CommonCellEventBuilder$$Lambda$6/1582928
entity.type=com.vmware.vcloud.entity.cell,
}] |
2017-02-06 18:58:34,629 | DEBUG | OSGI Delegator - listener dispatcher | EventHelper =b22ba31b-a1ab-4838-b4e2-e90a68465bb0, timestamp=1486393114629, type=com/vmware/vcloud/event/cel
cellApplication.intermediateState=STARTING_FROM_STOPPED,
cellApplication.name=com.vmware.consoleproxy.async.server.ConsoleProxyCellApplication,
cellApplication.originState=STOPPED,
cellApplication.simpleName=ConsoleProxyCellApplication,
cellApplication.simpleState=transitioning,
cellApplication.targetState=STARTED,
cellApplication.transitionState=TRANSITIONING,
currentContext.cell.uuid=,
currentContext.org.id=System(com.vmware.vcloud.entity.org:a93c9db9-7471-3192-8d09-a8f7ee
currentContext.success=true,
currentContext.user.id=system(com.vmware.vcloud.entity.user:808cc07b-7092-3666-bcc5-8991
currentContext.user.name=system,
currentContext.user.proxyAddress=,
entity.id=com.vmware.vcloud.common.cell.event.CommonCellEventBuilder$$Lambda$7/907858780
entity.name=com.vmware.vcloud.common.cell.event.CommonCellEventBuilder$$Lambda$6/1582928
entity.type=com.vmware.vcloud.entity.cell,
}] |
2017-02-06 18:58:34,630 | DEBUG | OSGI Delegator - listener dispatcher | EventHelper =c966f7b5-42e8-4452-bb79-36213e2a1230, timestamp=1486393114629, type=com/vmware/vcloud/event/cel
cellApplication.intermediateState=STARTING_FROM_STOPPED,
cellApplication.name=com.vmware.vcloud.computeservice.app.ComputeServiceBrokerApplicatio
cellApplication.originState=STOPPED,
cellApplication.simpleName=ComputeServiceBrokerApplication,
cellApplication.simpleState=transitioning,
cellApplication.targetState=STARTED,
cellApplication.transitionState=TRANSITIONING,
currentContext.cell.uuid=,
currentContext.org.id=System(com.vmware.vcloud.entity.org:a93c9db9-7471-3192-8d09-a8f7ee
currentContext.success=true,
currentContext.user.id=system(com.vmware.vcloud.entity.user:808cc07b-7092-3666-bcc5-8991
currentContext.user.name=system,
currentContext.user.proxyAddress=,
entity.id=com.vmware.vcloud.common.cell.event.CommonCellEventBuilder$$Lambda$7/907858780
entity.name=com.vmware.vcloud.common.cell.event.CommonCellEventBuilder$$Lambda$6/1582928
entity.type=com.vmware.vcloud.entity.cell,
}] |
2017-02-06 18:58:38,260 | DEBUG | CloudProxy Application | Crypto
VMware vCloud Director,VMware vCloud Director 8.10.0.3879706,8.10.0.3879706, Mauritius Time, vcd-01 (192.168.120.75)
VMware vCloud Director,VMware vCloud Director 8.10.0.3879706,8.10.0.3879706, Mauritius Time, vcd-01 (192.168.120.75)
2017-02-06 18:59:26,058 | DEBUG | Bootstrap Application | ProductSSLConstants$CipherConfigStartupAction | Disallowed cipher list set to default disabled cipher list: [SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_AES_256_CBC_SHA, TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDH_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA, TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA] |
2017-02-06 18:59:26,058 | DEBUG | Bootstrap Application | ProductSSLConstants$CipherConfigStartupAction | System configured to use following approved ciphers: [TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDH_RSA_WITH_AES_256_CBC_SHA] |
2017-02-06 18:59:26,058 | DEBUG | Bootstrap Application | ProductSSLConstants$ProtocolConfigStartupAction | Disallowed SSL protocol list set to default disabled protocol list: [SSLv3, SSLv2Hello] |
2017-02-06 18:59:26,058 | DEBUG | Bootstrap Application | ProductSSLConstants$ProtocolConfigStartupAction | System configured to use following approved SSL protocols: [TLSv1.2, TLSv1.1, TLSv1] |
2017-02-06 18:59:26,413 | DEBUG | Bootstrap Application | EncryptionManager | EncryptionManager configured with system key. |
2017-02-06 18:59:26,498 | DEBUG | Bootstrap Application | EncryptionManager | EncryptionManager has been loaded successfully. |
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[root@vcd-01 logs]# tail -f cell.log
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Bootstrap application: start
Bundle-Id: 218, Bundle-SymbolicName: jline, Bundle Location: initial@reference:file:jline/jline-2.7.jar/ - Unable to resolve bundle due to the following unsatisfied constraints: [Missing imported package org.fusesource.jansi.internal_0.0.0
]
Bundle-Id: 229, Bundle-SymbolicName: client-toolkit, Bundle Location: initial@reference:file:com/vmware/vcloud/client-toolkit/1.0.0/client-toolkit-1.0.0.jar/ - Unable to resolve bundle due to the following unsatisfied constraints: [Missing imported package com.vmware.vim.query.client_[0.0.0,1.0.0)
]
Bundle-Id: 252, Bundle-SymbolicName: cell-management-tool-vcd-client, Bundle Location: initial@reference:file:com/vmware/vcloud/cell-management-tool-vcd-client/1.5.0/cell-management-tool-vcd-client-1.5.0.jar/ - Unable to resolve bundle due to the following unsatisfied constraints: [Missing imported package com.vmware.vcloud.clienttoolkit.vc_0.0.0
]
All required system properties are present
An unspecified error occurred during application start
All required local configuration properties are present
Successfully bound network port: 80 on host address: 192.168.120.75
Successfully bound network port: 443 on host address: 192.168.120.75
Successfully bound network port: 8999 on host address: 192.168.120.75
All required local configuration properties are present
Successfully initialized system cryptography
Successfully configured HTTP SSL Connector from certificate store: /opt/vmware/vcloud-director/etc/certificates
Current locale "en" verified successfully.
Bootstrap application: complete
Application startup event: Waiting for subsystem 'com.vmware.vcloud.common.core'
Application startup event: Waiting for subsystem 'com.vmware.vcloud.consoleproxy'
Application startup event: Waiting for subsystem 'com.vmware.vcloud.cloud-proxy-server'
Application startup event: Waiting for subsystem 'com.vmware.vcloud.computeservice.broker'
Application startup event: Subsystem 'com.vmware.vcloud.cloud-proxy-server' startup initiated.
Uncaught Exception. Originating thread: Thread[pool-6-thread-1,5,main]. Message: Error creating bean with name 'productInfoService': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'productInfoBean' defined in URL [bundleentry://211.fwk2101249621/META-INF/spring/bundle-context.xml]: Cannot create inner bean 'org.springframework.beans.factory.config.MethodInvokingFactoryBean#5a94d6e8' of type [org.springframework.beans.factory.config.MethodInvokingFactoryBean] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.MethodInvokingFactoryBean#5a94d6e8' defined in URL [bundleentry://211.fwk2101249621/META-INF/spring/bundle-context.xml]: Cannot resolve reference to bean 'productBuildDateBean' while setting bean property 'targetObject'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'productBuildDateBean' defined in URL [bundleentry://211.fwk2101249621/META-INF/spring/bundle-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.joda.time.DateTime]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException: Invalid format: "[2016-05-12T20:32:07-0700, 2016-..."
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[root@vcd-01 logs]# tail -f vmware-vcd-watchdog.log
2017-02-06 19:02:32 | ALERT | vmware-vcd-cell is dead but /var/run/vmware-vcd-cell.pid exists, attempting to restart it
2017-02-06 19:02:40 | INFO | Started vmware-vcd-cell (pid=21034)
2017-02-06 19:03:00 | WARN | wget failed, return code: 4, will retry in 30 seconds
2017-02-06 19:03:50 | WARN | wget failed, return code: 4, will retry in 30 seconds
2017-02-06 19:04:40 | WARN | wget failed, return code: 4, will retry in 30 seconds
2017-02-06 19:06:10 | ALERT | vmware-vcd-cell is dead but /var/run/vmware-vcd-cell.pid exists, attempting to restart it
2017-02-06 19:06:17 | INFO | Started vmware-vcd-cell (pid=21650)
2017-02-06 19:06:37 | WARN | wget failed, return code: 4, will retry in 30 seconds
2017-02-06 19:07:27 | WARN | wget failed, return code: 4, will retry in 30 seconds
2017-02-06 19:08:17 | WARN | wget failed, return code: 4, will retry in 30 seconds
Like i said in the last thread- Nslookup should work fine within the VCD machine also i would suggest to recreate console proxy and http cert and run the vcd installer script .That should fix this issue.
Changing or renewing SSL certificates in VMware vCloud Director 1.x and 5.x (2014237) | VMware KB