Error "Failed to install update:Is a directory" when attempting to upgrade SRM
search cancel

Error "Failed to install update:Is a directory" when attempting to upgrade SRM

book

Article ID: 383847

calendar_today

Updated On:

Products

VMware Live Recovery

Issue/Introduction

You will see an error "Failed to install update: Is a directory" when trying to upgrade SRM after attaching the ISO to the VM and running the install from the management UI (port 5480)

The error looks similar to:

ERROR
Operation Failed Failed to install update: Is a directory.
Operation ID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Environment

This is a normal vCenter and SRM environment with the correct ISOs downloaded for SRM and VRMS

Cause

The cause of the error is that the SRM appliance has the VRMS ISO attached and the upgrade is run and fails with the error "Failed to install update: Is a directory." message

Resolution

Check to ensure that the VLSR (SRM) VM has the correct srm-va-x.x.x ISO attached to the CD-ROM before running the install.

Additional Information

Log entries from /var/log/vmware/dr/drconfig.log may look similar to:

2024-12-09T23:26:03.724Z verbose drconfig[01766] [SRM@6876 sub=Installing packages opID=5ec0fad0-80d6-4a24-95be-bedce7ae8d9d-installUpdate:1b7c] Command "/usr/bin/bash -x /var/tmp/upgrade/9.0.2.16587/install.sh" exit code: 21
2024-12-09T23:26:03.735Z info drconfig[01766] [SRM@6876 sub=InstallUpdateOp opID=5ec0fad0-80d6-4a24-95be-bedce7ae8d9d-installUpdate:1b7c] Exiting Start
2024-12-09T23:26:03.735Z error drconfig[01766] [SRM@6876 sub=InstallUpdateOp opID=5ec0fad0-80d6-4a24-95be-bedce7ae8d9d-installUpdate:1b7c] Failed to install update: 'N7Vmacore15SystemExceptionE Is a directory (21)
--> [context]zKq7AVECAAQAADjBbgELZHJjb25maWcAACwZHGxpYnZtYWNvcmUuc28AAI97SAGd6ABsaWJhcHBsaWFuY2UtdXBncmFkZS5zbwACqw0VZHItY29uZmlndXJhdG9yAAJK7hoC3xIKAM4pNADSQjQA4H1JA7COAGxpYnB0aHJlYWQuc28uMAAE3/oPbGliYy5zby42AA==[/context]'
2024-12-09T23:26:03.737Z error drconfig[01766] [SRM@6876 sub=InstallUpdateOp opID=5ec0fad0-80d6-4a24-95be-bedce7ae8d9d-inst
allUpdate:1b7c] Operation failed
--> (drConfig.fault.InstallUpdateFailedWithMsgFault) {
-->    faultCause = (vmodl.MethodFault) null,
-->    faultMessage = <unset>,
-->    reason = "Is a directory"
-->    msg = ""
--> }
--> [context]zKq7AVECAAQAADjBbgEKZHJjb25maWcAACwZHGxpYnZtYWNvcmUuc28AAQMhFWRyLWNvbmZpZ3VyYXRvcgAB/WgFAUruGgHfEgoAzik0ANJCNADgfUkCsI4AbGlicHRocmVhZC5zby4wAAPf+g9saWJjLnNvLjYA[/context]
2024-12-09T23:26:03.739Z verbose drconfig[01769] [SRM@6876 sub=DrConfigUpdateManager ctxID=4e1a2a08 opID=5ec0fad0-80d6-4a24-95be-bedce7ae8d9d-installUpdate:1b7c] OnError: Update task failed
--> (drConfig.fault.InstallUpdateFailedWithMsgFault) {
-->    faultCause = (vmodl.MethodFault) null,
-->    faultMessage = <unset>,
-->    reason = "Is a directory"
-->    msg = ""
--> }

 

Note: this is just an example and you dates and OpID's will be different