Bug 1538927

Summary: Inappropriate default vcpus for VM while deploying HE via cockpit based otopi.
Product: [oVirt] cockpit-ovirt Reporter: Yihui Zhao <yzhao>
Component: Hosted EngineAssignee: Phillip Bailey <phbailey>
Status: CLOSED CURRENTRELEASE QA Contact: Yihui Zhao <yzhao>
Severity: high Docs Contact:
Priority: unspecified    
Version: ---CC: bugs, cshao, huzhao, phbailey, qiyuan, rbarry, sbonazzo, stirabos, weiwang, yaniwang, ycui
Target Milestone: ovirt-4.2.2Flags: rule-engine: ovirt-4.2+
cshao: testing_ack+
Target Release: 0.11.12   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cockpit-ovirt-0.11.12-0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-29 11:03:02 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:
Attachments:
Description Flags
vcpu1.png
none
vcpu2.png
none
vcpu_memory.png none

Description Yihui Zhao 2018-01-26 07:40:50 UTC
Created attachment 1386486 [details]
vcpu1.png

Description of problem: 
Inappropriate default vcpus for VM while  deploying HE via cockpit based otopi.
With cockpit, it shows the default value is 1, but with the CLI, it shows the default value is 4.


Version-Release number of selected component (if applicable): 
cockpit-ws-157-1.el7.x86_64
cockpit-bridge-157-1.el7.x86_64
cockpit-storaged-157-1.el7.noarch
cockpit-dashboard-157-1.el7.x86_64
cockpit-157-1.el7.x86_64
cockpit-ovirt-dashboard-0.11.5-0.1.el7ev.noarch
cockpit-system-157-1.el7.noarch
ovirt-hosted-engine-setup-2.2.8-1.el7ev.noarch
ovirt-hosted-engine-ha-2.2.4-1.el7ev.noarch
rhvm-appliance-4.2-20171219.0.el7.noarch
rhvh-4.2.1.2-0.20180125.0+1

How reproducible: 
100% 


Steps to Reproduce: 
1. Clean install RHVH4.2.1 (rhvh-4.2.1.2-0.20180125.0+1) with ks
2. Deploy HE via cockpit based otopi


Actual results: 
Inappropriate default vcpus for VM while deploying HE via cockpit based otopi

Expected results: 
Keep the numbers of vcpus same of the CLI.

Additional info:

Comment 1 Yihui Zhao 2018-01-26 07:47:02 UTC
Created attachment 1386487 [details]
vcpu2.png

Comment 2 Yihui Zhao 2018-02-23 06:37:53 UTC
Created attachment 1399695 [details]
vcpu_memory.png

Comment 3 Yihui Zhao 2018-02-23 06:42:40 UTC
Test version: cockpit-ovirt-0.11.12-0.1

Test steps:
1. Install the latest rhvh(rhvh-4.2.1.3-0.20180218.0+1), not 4.2.2
2. Upgrade the cockpit-ovirt pkg to cockpit-ovirt-0.11.12-0.1

Test result: https://bugzilla.redhat.com/attachment.cgi?id=1399695
The default vcpu number: 4
The default memory: 16384


So, change the bug's status to verified.

Comment 4 Sandro Bonazzola 2018-03-29 11:03:02 UTC
This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.2 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.