Bug 1113003

Summary: foreman-integration: sign host as foreman's
Product: Red Hat Enterprise Virtualization Manager Reporter: Yaniv Bronhaim <ybronhei>
Component: ovirt-engineAssignee: Yaniv Bronhaim <ybronhei>
Status: CLOSED CURRENTRELEASE QA Contact: movciari
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.6.0CC: gklein, lpeer, oourfali, pstehlik, rbalakri, Rhev-m-bugs, srevivo
Target Milestone: ovirt-3.6.0-rcKeywords: ZStream
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-backend-3.6.0-0.0.master.20150412172306.git55ba764 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1185605 (view as bug list) Environment:
Last Closed: 2016-04-20 01:35:23 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:
Bug Depends On: 1165208    
Bug Blocks: 1142923, 1156165, 1185605    

Description Yaniv Bronhaim 2014-06-25 09:01:25 UTC
Currently we thought to sign the host as part of vdsStatic fields. It will allow to recognize the host as managed by foreman and gather more information about its configuration status

Comment 1 Oved Ourfali 2014-06-29 06:50:26 UTC
(In reply to Yaniv Bronhaim from comment #0)
> Currently we thought to sign the host as part of vdsStatic fields. It will
> allow to recognize the host as managed by foreman and gather more
> information about its configuration status

I'd suggest to add the host_provider_id field to vdsStatic in order to accomplish that.

Comment 2 Petr Beňas 2014-11-11 11:56:28 UTC
This looks like a code change and it seems there is nothing to be tested here. If you think otherwise, please provide steps to reproduce.

Comment 3 Yaniv Bronhaim 2014-11-11 13:24:57 UTC
testcase:
Go to engine, add host by external provider.
check the provider id in db (select * from providers) and check that the value correlates to the value in vds_static::host_provider_id (select host_provider_id from vds_static;)

except that, check that host which added regularly gets none in its host_provider_id column.

Comment 4 movciari 2015-01-19 17:13:08 UTC
host_provider_id is empty in vds_static:
select vds_name,host_provider_id from vds_static ;
 vds_name | host_provider_id 
----------+------------------
 host1    | 
(1 row)