Provisioning Fails with ERF42-6371 and HTTP 409 Conflict in VMware Image-based Provisioning Templates on Red Hat Satellite 6
Environment
- Red Hat Satellite 6.18
Issue
-
VMware Image-based Provisioning fails with the following error when using provisioning templates on Red Hat Satellite:
ERF42-6371 [Satellite::Exception]: Neither disk nor partition table defined for host -
Additionally, when attempting to mark the host as "deployed", the following error occurs:
ERROR 409: Conflict -
Changing
Hostgroupof a host fails with:Failed to render template 'Kickstart default', error: ERF42-6371 [Foreman::Exception]: Neither disk nor partition table defined for host -
Modifying the host fails with:
# hammer host update --name hostname --comment "Test comment" Could not update the host: Failed to render template 'Kickstart default', error: ERF42-6371 [Foreman::Exception]: Neither disk nor partition table defined for host -
The same error occurs when trying to modify the host using Satellite GUI.
Resolution
-
Red Hat Engineering team is already aware of this bug and is currently tracking the same in
Red Hat public JiraThis content is not included.#SAT-38859. -
To know more about the Bugzilla status please open a This content is not included.support ticket with
Red Hat Technical Support Team.
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
- In case this happens for changing a hostgroup or modifying a host, make sure partition table is associated with the concerned
hostgroup and the Operating Systemof the host.
Root Cause
- The issue is caused by Satellite incorrectly applying a validation check meant for Kickstart-based provisioning templates, which expects a partition table. Since VMware image-based provisioning does not require a partition table, Red Hat Satellite is mistakenly triggering this validation, resulting in the error.
Diagnostic Steps
-
Following error is captured in
/var/log/foreman/production.log, which indicates an issue with the partition table validation during image based provisioning:Backtrace for 'Error while rendering 'Kickstart default' template' error (Foreman::Exception): ERF42-6371 [Foreman::Exception]: Neither disk nor partition table defined for host
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.