Bug 808861 - Setting "Reboot after installation" to False still reboots the host
Summary: Setting "Reboot after installation" to False still reboots the host
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-api
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Ori Liel
QA Contact:
URL:
Whiteboard: infra
Depends On:
Blocks: 799722
TreeView+ depends on / blocked
 
Reported: 2012-04-01 10:49 UTC by Alex Lourie
Modified: 2012-08-09 07:59 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-08-09 07:59:41 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)

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/


Note You need to log in before you can comment on or make changes to this bug.