Cannot provisiong oVirt/RHEV VM from template with finish script
|Assigned To:||Jimmi Dyson|
|Category:||Compute resources - oVirt|
|Target version:||Sprint 20|
|Found in release:||Pull request:|
|Velocity based estimate||-|
Provisioning a VM on oVirt/RHEV via a template requires a finish template to be run over SSH in order to configure the provisioned VM. In order for Foreman to attempt to run the finish template over SSH, the compute resource needs to provide an :image capability.
compute_attributes.present? && capabilities.include?(:image)
However, ovirt doesn't (app/models/compute_resources/foreman/model/ovirt.rb):
This prevents us from building VMs in RHEV from a RHEV template, something we would much prefer to do over kickstarting every time.