Bug 1436684

Summary: Regression in approve host
Product: [oVirt] ovirt-engine Reporter: Yaniv Bronhaim <ybronhei>
Component: BLL.InfraAssignee: Martin Perina <mperina>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.1.0CC: bugs, mperina, oourfali, ybronhei
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-28 13:02:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yaniv Bronhaim 2017-03-28 12:44:31 UTC
Description of problem:

After node registration, approve host fails with an error to move host to maintenance while the button is disabled

2017-03-28 12:32:18,842Z INFO  [org.ovirt.engine.core.bll.hostdeploy.RegisterVdsQuery] (default task-28) [dcf06e4] RegisterVdsQuery::register - Registered a new VDS 'pending approval' - Name: 'vdsm-kube-ds-q42jm', Hostname: '172.17.0.2', UniqueID: 'F55AF2C3-89A8-4A9E-BCCE-975F983BDE5E'
2017-03-28 12:32:18,844Z INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-28) [dcf06e4] EVENT_ID: VDS_REGISTER_SUCCEEDED(828), Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: Host vdsm-kube-ds-q42jm registered.
2017-03-28 12:32:46,834Z WARN  [org.ovirt.engine.core.bll.hostdeploy.UpdateVdsCommand] (default task-4) [c929dff7-e8df-499e-b03f-43fea611d327] Validation of action 'UpdateVds' failed for user admin@internal-authz. Reasons: VAR__ACTION__UPDATE,VAR__TYPE__HOST,VDS_STATUS_NOT_VALID_FOR_UPDATE
Version-Release number of selected component (if applicable):


How reproducible:
100%


Steps to Reproduce:
1. register new node
2. try to approve
3.

Actual results:
fail


Expected results:
approve command should start host-deploy flow using engine's public key for the ssh communication.

Comment 1 Yaniv Kaul 2017-03-28 12:50:01 UTC
Severity?
Regression keyword is missing?

Comment 2 Martin Perina 2017-03-28 12:57:36 UTC
What version 4.1.0 or 4.1.1? Isn't this the same issue as BZ1435742 which was hopefully fixed in 4.1.1 by BZ1416845?

Comment 3 Yaniv Bronhaim 2017-03-28 13:01:39 UTC
oVirt Engine Version: 4.1.0.4-1.el7.centos

Comment 4 Yaniv Bronhaim 2017-03-28 13:02:38 UTC

*** This bug has been marked as a duplicate of bug 1435742 ***