Bug 1341639 - Template isn't created when import glance image as template on PPC.
Summary: Template isn't created when import glance image as template on PPC.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: General
Version: 4.0.0
Hardware: ppc64
OS: Linux
unspecified
low
Target Milestone: ovirt-4.0.2
: ---
Assignee: Martin Betak
QA Contact: Ilanit Stein
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-01 11:47 UTC by Petr Balogh
Modified: 2016-07-27 10:00 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-07-27 10:00:31 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-4.0.z+
mgoldboi: planning_ack+
rule-engine: devel_ack+
istein: testing_ack+


Attachments (Terms of Use)
Engine, vdsm, supervdsm logs (75.67 KB, application/x-gzip)
2016-06-02 13:06 UTC, Petr Balogh
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 58871 0 master MERGED core: Auto select correct graphics device on Template creation 2016-06-13 07:21:42 UTC
oVirt gerrit 59009 0 ovirt-engine-4.0 MERGED core: Auto select correct graphics device on Template creation 2016-06-13 08:51:37 UTC

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


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