"An error occurred while performing the task. Something went wrong while converting items to pxe profile: Could not find file: HTTP Error 404: Not Found " when trying to edit an Auto deploy rule.
book
Article ID: 389284
calendar_today
Updated On:
Products
VMware vCenter Server 7.0
Issue/Introduction
Symptoms:
Editing any Auto deploy rule fails with the below error:
The issue can be seen when a specific image profile is selected.
The same task might work with other image profiles.
Environment
VMware vCenter Server 7.x
VMware vCenter Server 8.x
Cause
This could be a result of limited cache size. (i.e 2GB) Storage cache may run out of available space when reserved space for the vSphere Auto Deploy repository starts filling up due to multiple image profiles and depots.
Resolution
To solve this issue, increase the image builder and auto deploy cache size:
Log in to the vCenter Server UI.
Select Menu > Auto Deploy > Configure tab.
Click EDIT under VMware Image Builder Service section
Change the value of cacheSize_GB.
Restart the Image Builder service: service-control --restart vmware-imagebuilder
Verify if change is updated in /etc/vmware-imagebuilder/sca-config/imagebuilder-config.props. If not, update the file manually.
Restart the Image Builder service: service-control --restart vmware-imagebuilder
Click EDIT under VMware Auto deploy Service section
Change the value of cacheSize_GB.
Restart the service: service-control --restart vmware-rbd-watchdog
Verify if change is updated in /etc/vmware-rbd/autodeploy-setup.xml. If not, update the file manually.
Restart the service: service-control --restart vmware-rbd-watchdog
Note:
You may encounter an error when increasing the cache_size for Auto deploy: "The following error(s) occurred when applying service configuration: cachesize_GB: cachesize_GB(#) cannot be more than half of partition size(#)"
This error is seen due to the partitions size of /storage/autodeploy which can be verified using command: df -h
The operation will be unsuccessful if the cache size we are allocating exceeds 50% of the partition size for Auto Deploy.
If the cache size must exceed 50% of the current partition size for Auto Deploy, it is necessary to increase the vCenter partition size (/storage/autodeploy) to resolve the issue.