Red Hat Bugzilla – Bug 1467709
When provisioning a new host, the compute profile settings are not honoured.
Last modified: 2018-05-01 01:30:49 EDT
Description of problem:
When provisioning a new host we use a host group associated with compute profile. After submitting it fail to use the correct image template provided in the UI and give below error.
"Failed to create a compute VMware (VMware) instance host.example.local: CannotAccessVmConfig: Unable to access the virtual machine configuration: Unable to access file [SAN] "
We found out that this error is due to the image being in the wrong cluster. That means that Satellite changes the selected image under "Operating System" after clicking "Submit". It switches back to a different Image.
Provisioning works when we manually fill the host details/when we change the image manually after it fails.
So, the "Image" and "Network" settings from the Compute profile settings do not work when provisioning a new host.
Version-Release number of selected component (if applicable):
Only reproducible in customer end.
Provision fails to use the correct image associated with the compute profile.
Should be able to provision the host using the image associated with compute profile.
debug logs are attached in case.
Varatharaja, if the configuration is used from a different compute profile then it's likely the same cause and this BZ can be used.
This is being fixed upstream.
Connecting redmine issue http://projects.theforeman.org/issues/2113 from this bug