Change in ovirt-engine[ovirt-engine-3.5]: foreman-integration: Remove domain from hostname to allow rh...

oourfali at redhat.com oourfali at redhat.com
Mon Dec 1 13:58:30 UTC 2014


Oved Ourfali has submitted this change and it was merged.

Change subject: foreman-integration: Remove domain from hostname to allow rhevh registration
......................................................................


foreman-integration: Remove domain from hostname to allow rhevh registration

After RHEVH provisioning installation the provisioned host sends registration
request which includes and name added to the domain url as the vds name.

oVirt adds the host only with the name, therefore we need to remove the
domain url from the request to find out if the request comes after
provision. In such case we will update the vds record as it is without
relying on the request parameters.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1115343
Change-Id: Ie95c258def25d2e484d4094784eb0b15d62c7ef3
Signed-off-by: Yaniv Bronhaim <ybronhei at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RegisterVdsQuery.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/UpdateVdsCommand.java
2 files changed, 18 insertions(+), 10 deletions(-)

Approvals:
  Yaniv Bronhaim: Verified
  Oved Ourfali: Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/35718
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie95c258def25d2e484d4094784eb0b15d62c7ef3
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list