Bug 1541273 - Generating answer file with the incorrect cpu while redeploying the HE based otopi deployment
Summary: Generating answer file with the incorrect cpu while redeploying the HE based ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: cockpit-ovirt
Classification: oVirt
Component: Hosted Engine
Version: ---
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.2.2
: 0.11.12
Assignee: Ryan Barry
QA Contact: Yihui Zhao
URL:
Whiteboard:
Depends On: 1548958
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-02 07:27 UTC by Yihui Zhao
Modified: 2018-03-29 11:16 UTC (History)
11 users (show)

Fixed In Version: cockpit-ovirt-0.11.12-0.1
Clone Of:
Environment:
Last Closed: 2018-03-29 11:16:20 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-4.2+
cshao: testing_ack+


Attachments (Terms of Use)
incorrect_cpu.png (78.59 KB, image/png)
2018-02-02 07:27 UTC, Yihui Zhao
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 87293 0 ovirt-4.2 MERGED wizard: Don't let the wizard start if libvirt is down 2018-02-20 17:10:45 UTC
oVirt gerrit 87975 0 ovirt-4.2 MERGED wizard: Don't let the wizard start if libvirt is down 2018-02-20 17:10:55 UTC

Description Yihui Zhao 2018-02-02 07:27:53 UTC
Created attachment 1389956 [details]
incorrect_cpu.png

Description of problem: 
When second time to deploy HE(redeploy) via cockpit, sometimes, the generating answer file include the incorrect cpu type, then redeploy failed.

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.9-0.1.el7ev.noarch
cockpit-system-157-1.el7.noarch
ovirt-hosted-engine-setup-2.2.9-1.el7ev.noarch
ovirt-hosted-engine-ha-2.2.4-1.el7ev.noarch
rhvh-4.2.1.2-0.20180201.0+1
rhvm-appliance-4.2-20180125.0.el7.noarch


How reproducible: 
30% with re-deployment


Steps to Reproduce: 
1. Clean install latest RHVH4.2.1 with ks(rhvh-4.2.1.2-0.20180201.0+1)
2. Deploy HE via cockpit failed due some reasons
3. Clean the ENV and redeploy
4. Check the generating answer file


Actual results: 
1. After step4, from the answer file , include the incorrect cpu type:

"""

OVEHOSTED_VDSM/cpu=str:model_

"""

And finally, deplay failed.


Expected results: 
Redeploy HE successfully


Additional info:

Comment 1 Michal Skrivanek 2018-02-03 08:17:22 UTC
same as bug 1541328?

Comment 2 Ryan Barry 2018-02-06 22:47:03 UTC
Can you provide any other information, Yihui?

Is this actually a system with AMD CPUs? I suspect the logic used to check the CPUs is bad somehow if vdsm/libvirt are down, similar to https://bugzilla.redhat.com/show_bug.cgi?id=1528818

Comment 3 Yihui Zhao 2018-02-07 02:28:30 UTC
(In reply to Ryan Barry from comment #2)
> Can you provide any other information, Yihui?
> 
> Is this actually a system with AMD CPUs? 
Yes, the host is a system with AMD CPUs.

I suspect the logic used to check
> the CPUs is bad somehow if vdsm/libvirt are down, similar to
> https://bugzilla.redhat.com/show_bug.cgi?id=1528818

I aggree. Because when clean the previous ENV, I will stop the libvirtd service.

Also, first deployment is always ok.

Comment 4 Yihui Zhao 2018-03-02 05:56:20 UTC
Tested cockpit-ovirt-0.11.14-0.1 on RHEL7.4 without this issue.

Test version:
Red Hat Enterprise Linux Server 7.4 Beta (Maipo)
ovirt-hosted-engine-ha-2.2.6-1.el7ev.noarch
cockpit-ovirt-dashboard-0.11.14-0.1.el7ev.noarch
ovirt-hosted-engine-setup-2.2.11-1.el7ev.noarch
cockpit-storaged-158-1.el7.noarch
cockpit-bridge-157-1.el7.x86_64
cockpit-157-1.el7.x86_64
cockpit-dashboard-158-1.el7.x86_64
cockpit-ws-157-1.el7.x86_64
cockpit-system-157-1.el7.noarch
rhvm-appliance-4.2-20180202.0.el7.noarch


So, I will change the bug's status to verified.

Comment 5 Sandro Bonazzola 2018-03-29 11:16:20 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.


Note You need to log in before you can comment on or make changes to this bug.