Provisioning a new VM based upon a template in VMware results in error "globalIPSettings are required when using Customization Spec"
Environment
- Red Hat Satellite 6
- VMware provisioning template
Issue
-
When provisioning a new VM based upon a VMware template through Satellite 6 the following error is encountered:
"Unable to save Failed to create a compute virtual-center (VMware) instance vm.example.com: globalIPSettings are required when using Customization Spec"
Resolution
- Create new custom User Data template with following data:
For more KB articles/solutions related to Red Hat Satellite 6.x Provisioning Issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x Provisioning related Issues
Root Cause
-
The default template "Satellite Kickstart Default User Data" is not the correct template to deploy the VM because it is missing the required globalIPSettings
The template is stored in VMWare, and Satellite is instantiating the template into a VM.
By creating a custom user_data template, we can ask VMware to customize the template with the custom settings
defined in that custom_user_data template.
Diagnostic Steps
-
Following errors are encountered when trying to provision a new VM:
raise ArgumentError, "globalIPSettings are required when using Customization Spec" unless custom_spec.key?('globalIPSettings')
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.