Bug 1341639

Summary: Template isn't created when import glance image as template on PPC.
Product: [oVirt] ovirt-engine Reporter: Petr Balogh <pbalogh>
Component: GeneralAssignee: Martin Betak <mbetak>
Status: CLOSED CURRENTRELEASE QA Contact: Ilanit Stein <istein>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.0.0CC: amureini, bugs, gklein, istein, mgoldboi, michal.skrivanek, pbalogh, tnisan
Target Milestone: ovirt-4.0.2Keywords: Reopened
Target Release: ---Flags: rule-engine: ovirt-4.0.z+
mgoldboi: planning_ack+
rule-engine: devel_ack+
istein: testing_ack+
Hardware: ppc64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 10:00:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Engine, vdsm, supervdsm logs none

Description Petr Balogh 2016-06-01 11:47:00 UTC
Description of problem:
When adding glance image as a template on the PPC platform. On X86 works fine.

Versions:
4.0.0
3.6.7
and probably older.

How reproducible:
Add glance image repository and import image as a template.

Steps to Reproduce:
1. Add glance external provider
2. Storage tab -> select added glance
3. Select image -> Click on Import
4. Check Import as Template and click on OK

Actual results:
Disk is created but no template appear

Expected results:
created template, and disk which should be attached to this template.

Comment 1 Tal Nisan 2016-06-01 14:13:22 UTC
Please attach logs, this issue can be either storage or virt and we need more data to figure out in which team field of expertise the issue lies

Comment 2 Yaniv Kaul 2016-06-02 07:24:38 UTC
Closing, until logs are supplied.
Note that severity was missing as well - added 'Low' (this is not supported, but for the benefit of QE I'm OK with understanding why it did not work).

Comment 3 Petr Balogh 2016-06-02 13:06:17 UTC
Created attachment 1164081 [details]
Engine, vdsm, supervdsm logs

These logs are from our rhev environment 3.6.7-1.
Logs are from the time when I started adding glance external provider.
Is it enough or do you need logs from 4.0? 
Thanks, Petr

Comment 4 Tal Nisan 2016-06-05 13:00:56 UTC
Michal, seems like it's your turf:

2016-06-02 15:44:34,987 WARN  [org.ovirt.engine.core.bll.AddVmTemplateCommand] (org.ovirt.thread.pool-6-thread-26) [7399c012] CanDoAction of action 'AddVmTemplate' failed for user admin@internal. Reasons: VAR__ACTION__ADD,VAR__TYPE__VM_TEMPLATE,ACTION_TYPE_FAILED_ILLEGAL_VM_DISPLAY_TYPE_IS_NOT_SUPPORTED_BY_OS

Comment 5 Michal Skrivanek 2016-06-05 13:28:11 UTC
(In reply to Tal Nisan from comment #4)

Nope, that's import from glance, nothing wrong with templates;-) 
AFAICT you're using Blank template for filling up the defaults, but e.g. display settings in Blank(qxl/spice) are not valid for ppc64le, so it fails and I would say it never worked.

Comment 6 Michal Skrivanek 2016-07-07 12:31:55 UTC
flags were wrong and it got acked by bot by mistake. This is a 4.0 bug which is fixed in latest 4.0.

Comment 7 Gil Klein 2016-07-27 10:00:31 UTC
This bug was fixed and is slated to be in the upcoming version. As we
are focusing our testing at this phase on severe bugs, this bug was
closed without going through its verification step. If you think this
bug should be verified by QE, please set its severity to high and move
it back to ON_QA