Bug 1308642

Summary: Glance image import: wrong target storage domain is mentioned in the running task
Product: [oVirt] ovirt-engine Reporter: Pavel Novotny <pnovotny>
Component: Frontend.WebAdminAssignee: Idan Shaby <ishaby>
Status: CLOSED CURRENTRELEASE QA Contact: Elad <ebenahar>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.6.3.1CC: acanan, amureini, bugs, ishaby, oourfali, sbonazzo
Target Milestone: ovirt-3.6.5Flags: amureini: ovirt-3.6.z?
pnovotny: planning_ack?
rule-engine: devel_ack+
pstehlik: testing_ack+
Target Release: 3.6.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When importing an image from Glance, we used to notify the user about it in the tasks tab: "Importing Disk <disk_name> to domain <source_domain>" Obviously, we don't import a disk to its source, but to its destination. So this was fixed to be: "Importing Disk <disk_name> to domain <destination_domain>"
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-21 14:42:55 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
screen: running task for Glance image import none

Description Pavel Novotny 2016-02-15 16:43:35 UTC
Created attachment 1127343 [details]
screen: running task for Glance image import

Description of problem:
When importing an image from OpenStack Glance,
message in related running task mentions wrong storage.
It actually mentions name of the source Glance domain.

Version-Release number of selected component (if applicable):
rhevm-webadmin-portal-3.6.3.1-0.1.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. Have a Glance storage 'rhevm-qe-infra-glance' with image 'ubuntu-12.04_Disk1'.
2. Import the image to an NFS export domain 'nfs_0'.
3. Check the message of related running task, see attached screenshot.

Actual results:
Message says: Importing Disk ubuntu-12.04_Disk1 to domain rhevm-qe-infra-glance

Expected results:
Importing Disk ubuntu-12.04_Disk1 to domain nfs_0

Additional info:

Comment 1 Allon Mureinik 2016-02-17 13:11:06 UTC
Idan please backport the patch and supply the doctext.

Comment 2 Elad 2016-03-31 14:27:36 UTC
Image import from a Glance repository is reported correctly with the target data domain, where the image is imported to, in the event log:

User admin@internal successfully imported image updt_pbalogh-test to domain nfs_0.

Used:
rhevm-3.6.5-0.1.el6.noarch
rhevm-webadmin-portal-3.6.5-0.1.el6.noarch