Foreman helper plugin for oVirt registration after bare-metal provisioning
Switch branches/tags
Nothing to show
Clone or download
bronhaim Merge pull request #17 from masayag/update_plugin_purpose
Describe the purpose of the plugin
Latest commit 54ef796 May 9, 2018
Failed to load latest commit information.
app Fix missing method error Apr 30, 2018
config rails4 compatability Jun 16, 2016
test initial commit May 7, 2014
Gemfile Moving dependency requirement for rbovirt to gemspec file Jul 2, 2014
LICENSE initial commit May 7, 2014 Describe the purpose of the plugin May 9, 2018
Rakefile initial commit May 7, 2014
ovirt_provision_plugin-3.0.0.gem Fix missing method error Apr 30, 2018
ovirt_provision_plugin.gemspec Fix missing method error Apr 30, 2018
package.json added package.json to avoid npm warns May 21, 2017
rename.rb initial commit May 7, 2014


Ovirt provision plugin is responsible to finalize the host installation process started by oVirt engine. The plugin is being used after the provision of the discovered host was completed successfully, by sending a request via oVirt-engine Restful API to install the host that was just provisoined.

The entire Foreman provider integration is described here

How does it work

oVirt 3.5 allows to add foreman hosts provider to oVirt engine. This plugin is required to manage new discovered host (which are recognized by foreman_discovery plugin). When user adds new host from the discovered host by ovirt, the host is joined to cluster and foreman starts to provision it regarding to the choosen host group configuration. When the OS installation part ends, ovirt_provision_plugin recognizes it and sends API call to ovirt-engine to reinstall the host id.


Red Hat, CentOS, Fedora, Scientific Linux (rpm)

Set up the repo as explained in the link above, then run

# yum install ruby193-rubygem-ovirt_provision_plugin

Bundle (gem)

Add the following to bundler.d/Gemfile.local.rb in your Foreman installation directory (/usr/share/foreman by default)

$ gem 'ovirt_provision_plugin'

Then run bundle install and from the same directory.


oVirt Foreman Plugin
>= 4.0 >= 1.6 2.0.0
< 4.0 >= 1.6 1.0.2


Fork and send a Pull Request. Thanks!


Copyright (c) 2014 Yaniv Bronhaim

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see