Project

General

Profile

Actions

Bug #4015

closed

Cannot provisiong oVirt/RHEV VM from template with finish script

Added by Jimmi Dyson over 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Compute resources - oVirt
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

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.

From app/models/concerns/orchestration/ssh_provision.rb:

def ssh_provision?
compute_attributes.present? && capabilities.include?(:image)
end

However, ovirt doesn't (app/models/compute_resources/foreman/model/ovirt.rb):

def capabilities
[:build]
end

This prevents us from building VMs in RHEV from a RHEV template, something we would much prefer to do over kickstarting every time.


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #4422: Implement available_images for oVirt to populate new image formClosedAmos Benari02/24/2014Actions
Actions #1

Updated by Dominic Cleal about 10 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Jimmi Dyson
  • Target version set to 1.9.2
Actions #2

Updated by Anonymous about 10 years ago

  • Target version changed from 1.9.2 to 1.9.1
Actions #3

Updated by Dominic Cleal about 10 years ago

  • translation missing: en.field_release set to 4
Actions #4

Updated by Anonymous about 10 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #5

Updated by Dominic Cleal about 10 years ago

  • Related to Feature #4422: Implement available_images for oVirt to populate new image form added
Actions

Also available in: Atom PDF