Failed to upgrade SDDC Manager on "Failed to disable Basic Authentication API access on SDDC Manager"
search cancel

Failed to upgrade SDDC Manager on "Failed to disable Basic Authentication API access on SDDC Manager"

book

Article ID: 379165

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

Symptoms:

  • Update Activity presents the following information:



  • sddcmanager_migration_app_upgrade.log contains errors similar to the excerpt below:
    20xx-xx-xxTxx:13:41.215+0000 ERROR [vcf_migration,0000000000000000,0000] [c.v.e.s.o.model.error.ErrorFactory,pool-4-thread-10]  [D564QJ] FAILED_TO_DISABLE_BASIC_AUTH_SDDC_MANAGER Failed to disable Basic Authentication API access on SDDC Manager
    com.vmware.evo.sddc.orchestrator.exceptions.OrchTaskException: Failed to disable Basic Authentication API access on SDDC Manager

    Caused by: org.springframework.web.client.HttpServerErrorException$InternalServerError: 500 : "{"errorCode":"FAILED_TO_DISABLE_BASIC_AUTH","arguments":[],"referenceToken":"XXXXXX"}"

  • commonsvcs/vcf-commonsvcs.log:
    20xx-09-xxTxx:51:51.903+0000 INFO  [common,66fa5897a1ab0b2a9e14ed143eb1f4c4,73e5] [c.v.e.s.i.s.BasicAuthServiceImpl,http-nio-127.0.0.1-7100-exec-8] Command output: {"output":"New nginx configuration is invalid !!","errorOutput":"sudo: Account or password is expired, reset your password and try again\nsudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper\nsudo: unable to change expired password: Authentication token manipulation error\nsudo: a password is required\n/opt/vmware/vcf/commonsvcs/scripts/basicauth/basic_auth_script.sh: line 160: Changing: command not found","exitCode":1}

Environment

VMware Cloud foundation 5.x
VMware Cloud foundation 4.x

Cause

The SDDC manager root password is expired.

Resolution

  1. Snapshot the SDDC Manager

  2. Reset The SDDC manager root password: How to reset SDDC Manager vcf and root user accounts

  3. Retry the upgrade.