WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
  • VKS
  • Homelab
    • Resources
    • Nested Virtualization
  • VMware Nostalgia
  • Apple
You are here: Home / Automation / Quick Tip - Retry VMware Cloud Foundation (VCF) deployment with modified bringup spec

Quick Tip - Retry VMware Cloud Foundation (VCF) deployment with modified bringup spec

11.15.2023 by William Lam // 2 Comments

During a VMware Cloud Foundation (VCF) bringup, where VMware Cloud Builder is performing deploying the VCF Management Domain, unforeseen issues can occur. Within the Cloud Builder UI or API, if a particular task had failed, you can easily retry the deployment without having to start all over again, which is certainly something I have benefited more than once!

When you retry the bringup workflow, it is using the original bringup specification which from the Cloud Builder UI can either be the VCF Deployment Workbook (XLS) or VCF Deployment Spec (JSON), which is to be expected as you are attempting to retry the exact same deployment.

However, in some cases you might need to adjust the bringup specification or if you made a typo but this is typically not allowed during a retry operation and would require a complete re-deployment. While deploying the newest VCF 5.1 release, I was testing out a new deployment scenario where I needed to append additional entries into the VCF Deployment JSON spec and I came to learn from one of our Engineers that I did not have to blow away the setup, but that I could retry using a modified bringup spec when using the Cloud Builder API!

To use the Cloud Builder API to retry a modified VCF bringup spec, you need to be using VCF 4.0.1 or later and have the original VCF Deployment JSON spec.

Step 1 - Login to Cloud Builder Appliance and locate the failed deployment UUID, which you can easily do by running the following command:

grep 'End of Orchestration with FAILURE for Execution ID' /var/log/vmware/vcf/bringup/vcf-bringup-debug.log | tail -1


In this example, the failed deployment UUID is 756270db-b9c0-4577-9832-42f1f3883417 which we will need to make a note of.

Step 2 - Copy your original VCF Deployment JSON spec with the modified changes into the Cloud Builder Appliance. In this example, I have named my modified spec modified-payload.json

Step 3 - Finally, we call the Cloud Builder PATCH API providing the deployment UUID in the URL along with the Cloud Builder admin credentials and the modified spec as shown in the example below:

curl -k -u admin:'VMware1!VMware1!' -X PATCH https://localhost/v1/sddcs/756270db-b9c0-4577-9832-42f1f3883417 -H "Content-Type: application/json" -d @modified-payload.json


If the modified bringup spec was accepted, you should now see the VCF deployment continue using the updated specification and you can now monitor the remainder progress using the Cloud Builder UI!


Definitely a handy trick for anyone that may have fat fingered a deployment specification or need to make a few more updates without having to redeploy!

More from my site

  • ESXi on GMKtec NucBox K11
  • Quick Tip - VMware Cloud Foundation (VCF) Bringup fails without persistent ESX-OSData
  • Enhancements to VMware Cloud Foundation (VCF) & vSphere Automated Lab Deployment Scripts
  • vSAN ESA hardware mock VIB for physical ESXi deployment for VMware Cloud Foundation (VCF)
  • Quick Tip - Easily host VMware Cloud Foundation (VCF) Offline Depot using Python SimpleHTTPServer with Authentication

Categories // Automation, VMware Cloud Foundation Tags // VMware Cloud Foundation

Comments

  1. *protectedChristopher says

    11/15/2023 at 4:34 pm

    The json payload in step 3 shows up as "*protected email*" in the post instead of the "-d(at)filename". Screenshot shows it correctly of course.

    Reply
    • William Lam says

      11/16/2023 at 6:30 am

      Yea, I've got a plugin that searches for anything that "looks" like an email and blocks it ... I've added a space which should render it correctly now

      Reply

Leave a Reply to William LamCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Thank Author

Author

William is Distinguished Platform Engineering Architect in the VMware Cloud Foundation (VCF) Division at Broadcom. His primary focus is helping customers and partners build, run and operate a modern Private Cloud using the VMware Cloud Foundation (VCF) platform.

Connect

  • Bluesky
  • Email
  • GitHub
  • LinkedIn
  • Mastodon
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • Programmatically accessing the Broadcom Compatibility Guide (BCG) 05/06/2025
  • Quick Tip - Validating Broadcom Download Token  05/01/2025
  • Supported chipsets for the USB Network Native Driver for ESXi Fling 04/23/2025
  • vCenter Identity Federation with Authelia 04/16/2025
  • vCenter Server Identity Federation with Kanidm 04/10/2025

Advertisment

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2025

 

Loading Comments...