Creating Personality in VCF by uploading files manually.
search cancel

Creating Personality in VCF by uploading files manually.

book

Article ID: 311974

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

To let users, know that this is a known issue.

Symptoms:
Image Mangement tab in SDDC Manager UI:

  • Import Personality from VCF (SDDC Manager UI -> Lifecycle Management -> Image Management -> Option 2)
  • Attach 4 files (Cluster Settings JSON File, Software Spec JSON File, ZIP File, ISO File)
  • Enter the Cluster Image Name
  • Click on Upload Image Components
  • You will see errors: 
Failed to upload image components. Http failure response for https://sddc-manager.vrack.vsphere.local/ui/api/v1/personalities/files : 413 Request Entity Too Large

API invocation via Developer Center:

fails with 413 Request Entity Too Large:

  • PUT: /v1/personalities/files

Request Payload: Array of files.

Response: FileUploadId

  • POST: /v1/personalities. 

Request Payload:

"uploadSpecRawWithFileUploadIdMode": {
"fileUploadId": "<FileUploadId got in the /v1/personalities/files API"
      },
          Response: 413 Error

Environment

VMware Cloud Foundation 5.x

Cause

This issue is observed as SDDC Manager is not able to upload the total size of files.

Resolution

The issue is fixed in 5.0.0.1 release.

Workaround:
  1. Extract the personality from VCenter
  2. Create a Image in VCenter.
  3. In SDDC Manager UI -> Lifecycle Management -> Image Management > Import Image ,Run Option 1 Extract a Cluster Image.
  4. Select the corresponding Workload Domain and Select Cluster
  5. Specify a name and click on Extract Cluster Image.
  6. Validate the Available Images to confirm the new Image is updated. 

Note: If there is an existing cluster where the same image is being used, start from step 3 with that cluster details to export the image.