Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 691158

Summary: [RHEL.6][VDSM] - Importing Template from EXP Domain VDSM "Image is empty" (ERROR::2011-03-24 15:50:55,904::dispatcher::103::Storage.Dispatcher.Protect::(run) {'status': {'message': "Image is empty)
Product: Red Hat Enterprise Linux 6 Reporter: David Botzer <dbotzer>
Component: vdsmAssignee: Igor Lvovsky <ilvovsky>
Status: CLOSED NOTABUG QA Contact: David Botzer <dbotzer>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.1CC: abaron, bazulay, iheim, lpeer, pstehlik, yeylon, ykaul
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
RHEVM on Win2008 Two RHEL6.x Hosts *Data Orion *ISO domain-shared-iso qanashead2.qa.lab.tlv.redhat.com:/export/shared_iso_domain *EXP domain, iSCSI orion.qa.lab.tlv.redhat.com:/Dave2_EXP
Last Closed: 2011-03-29 15:24:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Logs for VDMS & RHEVM none

Description David Botzer 2011-03-27 07:52:17 UTC
Description of problem:
I get Error (Internal Error 5001)
When trying to Import Template from Export domain

Version-Release number of selected component (if applicable):
IC107
VDSM54
How reproducible:
Always

Steps to Reproduce:
1.Create a template from a setup to your Export Domain
2.Create new Setup attached the relevant storage domains
3.connect with RHEVM Manager
4. Import a template from an Export Domain
  
Actual results:
Template is not imported
(Internal Error 5001)

Expected results:
Template should be imported successfuly

Additional info:
VDSM.log
-------------------
Thread-2023::ERROR::2011-03-24 15:50:55,904::dispatcher::103::Storage.Dispatcher.Protect::(run) {'status': {'message': "Image is empty: ('ced41ca2-95b9-4018-8
819-9ca019eb2694',)", 'code': 258}, 'args': [('ced41ca2-95b9-4018-8819-9ca019eb2694',)]}
===================
RHEVM.log
-------------------
2011-03-24 15:52:55,051 ERROR [com.redhat.rhevm.bll.CommandBase] (pool-16-thread-19) Transaction rolled-back for command: com.redhat.rhevm.bll.MoveOrCopyImageGroupCommand.
2011-03-24 15:52:55,051 ERROR [com.redhat.rhevm.bll.CommandBase] (pool-16-thread-19) Transaction rolled-back for command: com.redhat.rhevm.bll.ImportVmTemplateCommand.
2011-03-24 15:52:55,099 INFO  [com.redhat.rhevm.vdsbroker.irsbroker.SPMGetAllTasksInfoVDSCommand] (QuartzScheduler_Worker-54) -- SPMGetAllTasksInfoVDSCommand::ExecuteIrsBrokerCommand: Attempting on storage pool 1ad80a04-57cf-49b0-b44a-375f996b46ad
2011-03-24 15:52:55,343 INFO  [com.redhat.rhevm.vdsbroker.vdsbroker.HSMGetAllTasksInfoVDSCommand] (QuartzScheduler_Worker-54) START, HSMGetAllTasksInfoVDSCommand(vdsId = 73353268-a9a9-44db-9acd-b7b6cd0b3c4a), log id: 5da31cf5
2011-03-24 15:52:55,757 INFO  [com.redhat.rhevm.vdsbroker.vdsbroker.HSMGetAllTasksInfoVDSCommand] (QuartzScheduler_Worker-54) FINISH, HSMGetAllTasksInfoVDSCommand, return: [], log id: 5da31cf5

===================

Comment 3 David Botzer 2011-03-27 09:32:17 UTC
Created attachment 487993 [details]
Logs for VDMS & RHEVM

added logs

Comment 4 David Botzer 2011-03-29 15:24:27 UTC
Not A Bug,

Reproduced on a different RHEVM (Dafna's)
I could attach the EXP domain, and import the Template from it.
IC107
VDSM-54

Question - if a template was deleted from the EXP domain,
How did I saw the EXP Domain entry if it was deleted from the first place ?
Even when I pressed the refresh button...