SDDC upgrade fails during the Refresh Custom Certificate
search cancel

SDDC upgrade fails during the Refresh Custom Certificate

book

Article ID: 433405

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer VMware Cloud Foundation

Issue/Introduction

  • Upgrade is failing at "Refresh Custom Certificate":
  • SDDC UI stuck at "VMware Cloud Foundation is initializing .."

    Attempt ###/###. Unable to initialize the Ul service due to "Status code 500: Unable to retrieve iDP Metadata: Error executing remote command via SSH: WARNING: Your password has expired. Password change required but no TTY available.". Get help

  • SDDU UI is failing with "Failed to Fetch Inventory"
  • Permission-related errors can be found in the <service name>.log

/var/log/vmware/vcf/domainmanager/domainmanager.log

Caused by: java.io.FileNotFoundException: /etc/vmware/vcf/domainmanager/application.properties (Permission denied)
        at java.base/java.io.FileInputStream.open0(Native Method)

/var/log/vmware/vcf/operationsmanager/operationsmanager.log

Caused by: java.io.FileNotFoundException: /etc/vmware/vcf/operationsmanager/application.properties (Permission denied)
        at java.base/java.io.FileInputStream.open0(Native Method)

/var/log/vmware/vcf/operationsmanager/operationsmanager.log: 

YYYY-MM-DDTHH:MM:SS.819+0000 DEBUG [vcf_om,##################################] [c.v.v.p.v.u.ValidateCredentialsTranslationTaskExecutor,om-exec-1] Exception occurred during validate credentials translation task : Error creating bean with name 'liquibase': Singleton bean creation not allowed while singletons of
this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'liquibase': Singleton bean creation not allowed while singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)

Environment

  • VCF 5.2.x
  • VCF 9.x

Cause

  • The ownership of /etc/vmware/vcf/domainmanager/application.properties file and /etc/vmware/vcf/operationsmanager/application.properties file is set to vcf_sos:vcf
  • Management Domain vCenter root password expired 

Resolution

  1. File Permission
    1. If the issue related to the file permission follow KB - VCF upgrade fails on "SDDC Manager Deployment Drift stage" with an error "Service Validation Failed"
  2. Management Domain vCenter root password expire
    1. [Workaround 2] Reset the vCenter Server password and update the SDDC Manager database with the new password