BundleRepoWriteFailureException: Failed to store bundle(REPO WRITE FAILURE, path = /nfs/vmware/vcf/nfs-mount/bundle/depot/local/bundles/{filename} on Bundle Management page in SDDC Manager
search cancel

BundleRepoWriteFailureException: Failed to store bundle(REPO WRITE FAILURE, path = /nfs/vmware/vcf/nfs-mount/bundle/depot/local/bundles/{filename} on Bundle Management page in SDDC Manager

book

Article ID: 388770

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer

Issue/Introduction

  • The following error message appears on the Bundle Management page in SDDC manager:

    BundleRepoWriteFailureException: Failed to store bundle(REPO WRITE FAILURE, path = /nfs/vmware/vcf/nfs-mount/bundle/depot/local/bundles/bundle-####.tar

  • Clearing the message is temporary, as the error re-appears upon a page refresh.

Environment

VMware Cloud Foundation 5.x

Resolution

Find the Bundle id for the bundle mentioned in the error from VMware Cloud Foundation - Upgrade Bundle Details

Follow the steps below to clear log bundle:

  1. SSH/Putty to SDDC Manager.
  2. Login as vcf and switch to root.
  3. Run the cleanup script: /opt/vmware/vcf/lcm/lcm-app/bin/bundle_cleanup.py {bundle id}.
  4. Verify in the SDDC Manager UI > Bundle Management that the error is no longer present.

Example:

For bundle-124943.tar the id is c8a1276c-13e9-4bd2-81f4-b5a641562e66 so command would be this: /opt/vmware/vcf/lcm/lcm-app/bin/bundle_cleanup.py c8a1276c-13e9-4bd2-81f4-b5a641562e66

Additional Information

  • The above failure can occur also when the /nfs/vmware/vcf/nfs-mount disk is nearly full, which can be verified using the command df -h. In case of disk full, clearing unwanted files and making up space will resolve the issue and we will be able to download bundles.

  • The above error message can also occur if there are no sufficient permissions on the bundles folder.
    Granting full permissions to the folder using chmod 7777 will resolve the issue.