Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1458107

Summary: Can not change host cluster while approving the "pending approval" host on rhvm4.1
Product: [oVirt] ovirt-engine Reporter: dguo
Component: Backend.CoreAssignee: Ravi Nori <rnori>
Status: CLOSED CURRENTRELEASE QA Contact: Vitalii Yerys <vyerys>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.1.3CC: bugs, cshao, dguo, huzhao, jiawu, leiwang, mbetak, mperina, qiyuan, rbarry, rnori, sbonazzo, stirabos, weiwang, yaniwang, ycui, yzhao
Target Milestone: ovirt-4.1.3Flags: rule-engine: ovirt-4.1+
cshao: testing_ack+
Target Release: 4.1.3.3   
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-07-06 13:15:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Error while changing host cluster
none
engine log none

Description dguo 2017-06-02 03:38:47 UTC
Created attachment 1284298 [details]
Error while changing host cluster

Description of problem:
Can not change host cluster while approving the pending host on rhvm4.1

Version-Release number of selected component (if applicable):
Red Hat Virtualization Manager Version: 4.1.3-0.1.el7
redhat-virtualization-host-4.1-20170531.0.x86_64
imgbased-0.9.30-0.1.el7ev.noarch
vdsm-4.19.17-1.el7ev.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Install a rhvh4.1
2. register host to rhvm4.1 via "vdsm-tool register --engine-fqdn rhvm41-vdsm-auto.lab.eng.pek2.redhat.com"
3. The host is in pending approval status on rhvm4.1
4. Select the host, and click app, the approve dialog 
5. Change the host cluster from default to another existing one "amd"
6. Click the OK button on the dialog

Actual results:
1.After step#6, the error of "Cannot edit host, host parameters cannot be modified while host is operational" appear

Expected results:
1. After step#6, the host can be successfully added to the "amd" cluster

Additional info:
1. if not change "default" cluster, the host can be added to "default" cluster
2. This was caught during verifying bug 1447881

Comment 1 dguo 2017-06-02 03:41:32 UTC
Created attachment 1284299 [details]
engine log

Comment 2 Ryan Barry 2017-06-02 03:56:13 UTC
This very much sounds like engine, but it also sounds like an intentional message, and NOTABUG.

Martin/Michal?

Comment 3 Martin Betak 2017-06-02 08:35:22 UTC
Seems to be really an infra issue

Comment 4 Martin Perina 2017-06-12 13:07:06 UTC
Ravi, could you please take a look and fix if needed?

Comment 5 Martin Perina 2017-06-14 13:21:41 UTC
Moving to 4.1.3 as it's part of ovirt-engine-4.1.3.3 build

Comment 6 Vitalii Yerys 2017-06-22 12:41:55 UTC
verified on:
Red Hat Virtualization Manager Version: 4.1.3.4-0.1.el7

Status: Passed