Bug 808861

Summary: Setting "Reboot after installation" to False still reboots the host
Product: [Retired] oVirt Reporter: Alex Lourie <alourie>
Component: ovirt-engine-apiAssignee: Ori Liel <oliel>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, dyasny, iheim, mgoldboi, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-09 07:59:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 799722    

Description Alex Lourie 2012-04-01 10:49:47 UTC
Description of problem:
I'm using SDK to create a local host. Setting "Reboot after installation" to False still reboots the host after installation.

How reproducible:
Always.

Steps to Reproduce:
1. Create an API object with SDK
from ovirtsdk.api import API
from ovirtsdk.xml import params

params.Host(name=LOCAL_HOST,
address=controller.CONF["HOST_FQDN"],
reboot_after_installation=False, cluster=controller.CONF["API_OBJECT"].clusters.get(LOCAL_CLUSTER),                                                               root_password=controller.CONF["SUPERUSER_PASS"])

Then, adding host to hosts object will reboot the system.
  
Actual results:
The host is rebooted.

Expected results:
The host should not reboot

Comment 1 Michael Pasternak 2012-04-01 11:08:59 UTC
missing mapping in HostMapper

Comment 2 Ori Liel 2012-07-11 11:17:14 UTC
works for me, probably fixed along the way

Comment 3 Itamar Heim 2012-08-09 07:59:41 UTC
closing ON_QA bugs as oVirt 3.1 was released:
http://www.ovirt.org/get-ovirt/