Bug 1472745

Summary: Running engine-host-update.py on host that does not have any new update reinstalles it
Product: [oVirt] ovirt-engine Reporter: Lukas Svaty <lsvaty>
Component: GeneralAssignee: bugs <bugs>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.1.4.2CC: bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-31 09:10:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lukas Svaty 2017-07-19 10:23:59 UTC
Description of problem:
Have host without updates in cluster, run engine-host-update.py script. Host is put to maintenance and reinstalled. Should be rather checked if it has any update and if not left alone

Version-Release number of selected component (if applicable):
ovirt-engine-4.1.4.2-0.1.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1. Have 1 host without any updates available
2. run `./engine-host-update.py --insecure --engine=localhost --username=admin@internal --password=mypass` --cluster=Default

Actual results:
Host is reinstalled

Expected results:
Host should be skipped

Comment 1 Sandro Bonazzola 2017-07-31 09:10:45 UTC
Behavior is considered acceptable, closing