/var/log/vmware/hvc/hvc-svcs.log:[YYYY-MM-DDTHH:MM:SS] [main [] WARN org.springframework.context.support.ClassPathXmlApplicationContext opId=] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'isAccessLogCreated' defined in class path resource [vlsi-server.xml]: Cannot resolve reference to bean 'authzFilter' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authzFilter' defined in class path resource [vlsi-server.xml]; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.vmware.hvc.synccontroller.Controller]: Constructor threw exception; nested exception is com.vmware.vapi.std.errors.InternalServerError: InternalServerError (com.vmware.vapi.std.errors.internal_server_error) => { defaultMessage = Provider method implementation threw unexpected exception: com.vmware.vapi.std.errors.InternalServerError, args = [com.vmware.vapi.std.errors.InternalServerError],}], errorType = INTERNAL_SERVER_ERROR}
[YYYY-MM-DDTHH:MM:SS]][main [] ERROR com.vmware.hvc.service.Main opId=] start: Hybrid VC Service failed to start
/var/log/firstboot/hvc_firstboot.py_XXXX_stderr.log[YYYY-MM-DDTHH:MM:SS] ERROR starting hvc rc: 1, stdout: , stderr: Start service request failed. Error: Operation timed outTraceback (most recent call last): File "/usr/lib/vmware-hvc/firstboot/hvc_firstboot.py", line 217, in Main hvcsvc_fb.start_hvcsvc() File "/usr/lib/vmware-hvc/firstboot/hvc_firstboot.py", line 54, in start_hvcsvc self.start_service() File "/usr/lib/vmware/site-packages/cis/firstboot.py", line 266, in start_service service_start(self.get_eff_service_name()) File "/usr/lib/vmware/site-packages/cis/utils.py", line 1087, in service_start raise ServiceStartException(svc_name)cis.exceptions.ServiceStartException: { "detail": [ { "id": "install.ciscommon.service.failstart", "translatable": "An error occurred while starting service '%(0)s'", "args": [ "hvc" ], "localized": "An error occurred while starting service 'hvc'" } ], "componentKey": null, "problemId": null, "resolution": null}[YYYY-MM-DDTHH:MM:SS] HybridVC Service firstboot failed due to <cis.componentStatus.ErrorInfo object at 0x#########650>
VMware vCenter Server 7.x
The Hybrid VC (HVC) service requires the SyncUsers role to be assigned the role ID 1002. In the affected vCenter Server, the SyncUsers role is present but mapped to an incorrect role ID (for example, -71#####28). Because of this mismatch, the HVC service is unable to identify the correct role, resulting in the service failing to start and the upgrade process failing.
Note: If the affected vCenter is standalone, take a valid snapshot of the vCenter Server. If the affected vCenter is in Enhanced Linked Mode (ELM), take a power-off snapshot of all the vCenters.
/opt/likewise/bin/ldapsearch -b "cn=RoleModel,cn=VmwAuthz,cn=Services,dc=vsphere,dc=local" \ -s sub -D "cn=Administrator,cn=Users,dc=vsphere,dc=local" -W \ > /tmp/ldap_output.txtless /tmp/ldap_output.txtvmwAuthzRoleName: SyncUsers and verify the CN ID.<incorrect_cn_id_present> with the CN identified from the LDAP search)/opt/likewise/bin/ldapdelete -x -D cn=Administrator,cn=Users,dc=vsphere,dc=local -W "cn=<incorrect_cn_id_present>,cn=RoleModel,cn=VmwAuthz,cn=services,dc=vsphere,dc=local"
1002
/opt/likewise/bin/ldapadd -x -D cn=Administrator,cn=Users,dc=vsphere,dc=local -W <<EOFversion: 1dn: cn=1002,cn=RoleModel,cn=VmwAuthz,cn=Services,dc=vsphere,dc=localobjectClass: vmwAuthzRoleobjectClass: topcn: 1002vmwAuthzRoleDescription: This role entitles you to perform operations required for syncvmwAuthzRoleName: SyncUsersvmwAuthzRolePrivilegeId: System.AnonymousvmwAuthzRolePrivilegeId: System.ReadvmwAuthzRolePrivilegeId: System.ViewvmwAuthzRolePrivilegeId: InventoryService.Tagging.EditTagvmwAuthzRolePrivilegeId: InventoryService.Tagging.AttachTagvmwAuthzRolePrivilegeId: InventoryService.Tagging.CreateCategoryvmwAuthzRolePrivilegeId: InventoryService.Tagging.ModifyUsedByForCategoryvmwAuthzRolePrivilegeId: HLM.ManagevmwAuthzRolePrivilegeId: IntercomNamespace.ReadvmwAuthzRolePrivilegeId: InventoryService.Tagging.CreateTagvmwAuthzRolePrivilegeId: IntercomNamespace.WritevmwAuthzRolePrivilegeId: InventoryService.Tagging.DeleteTagvmwAuthzRolePrivilegeId: SettingsStore.ManagevmwAuthzRolePrivilegeId: InventoryService.Tagging.EditCategoryvmwAuthzRolePrivilegeId: CertificateManagement.ManagevmwAuthzRolePrivilegeId: InventoryService.Tagging.DeleteCategoryvmwAuthzRolePrivilegeId: Trust.ManagevmwAuthzRolePrivilegeId: HLM.CreatevmwAuthzRolePrivilegeId: InventoryService.Tagging.ModifyUsedByForTagvmwAuthzRoleVersion: 7EOF
Example:
service-control --stop --all && service-control --start --all
For more information, review PR 3006863