Bug 1295873

Summary: Importing image from Glance as template failes with UI exception
Product: [oVirt] ovirt-engine Reporter: Barak Korren <bkorren>
Component: Frontend.WebAdminAssignee: Tal Nisan <tnisan>
Status: CLOSED WORKSFORME QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.6.1.3CC: bugs, tnisan
Target Milestone: ovirt-3.6.2Flags: tnisan: ovirt-3.6.z?
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Target Release: 3.6.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-06 14:54:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
screenshot of error message
none
screenshot of input dialog none

Description Barak Korren 2016-01-05 16:21:07 UTC
Created attachment 1111904 [details]
screenshot of error message

Description of problem:
When trying to import an image from Glance as a template in the admin UI, it fails, showing up the UI exception notification at the top of the screen.

Version-Release number of selected component (if applicable):
3.6.1.3-1.el7.centos

Steps to Reproduce:
1. go to storage tab
2. select Glance image provider
3. Select an image from the lower half of the screen
4. click "import"
5. select a data center and storage domain (or leave defaults)
6. check the "Import as Template" checkbox
7. click ok

Actual results:
A UI exception message

Expected results:
A new template based on the image from Glance

Additional info:
Will include screenshots

Comment 1 Barak Korren 2016-01-05 16:25:27 UTC
Created attachment 1111909 [details]
screenshot of input dialog

Comment 2 Barak Korren 2016-01-05 16:30:15 UTC
Importing without checking the "Import as Template" checkbox seems to work ok.

Comment 3 Barak Korren 2016-01-06 14:20:21 UTC
Looks like this was due to the cluster baing in a bad state is described in: https://bugzilla.redhat.com/show_bug.cgi?id=1296148

There are still import failures, but these are different in nature.

Comment 4 Tal Nisan 2016-01-06 14:54:18 UTC
Seems to work in 3.6.2 without the problem described in comment #3 meaning that the problem is the one described in bug 1296148