manasaveloori created CLOUDSTACK-4248:
-----------------------------------------

             Summary: Copy default template across zones with different 
hypervisors is saving the template as .iso file at destination zones secondary 
storage.
                 Key: CLOUDSTACK-4248
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4248
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Template
    Affects Versions: 4.2.0
            Reporter: manasaveloori
            Priority: Critical
             Fix For: 4.2.0


Steps:
1.      Have CS with 2 zones(zoneXen and ZoneVMw) with 2 clusters having  Xen 
and Vmware hosts.
2.      Copy the default template from one zone to another.
Observation:

Default template copy is success. The copied template  is stored as .iso file 
in secondary storage of the destination  zone.
If the destination zone  does not have the supported hypervisor to copy the 
template, copy  template should fail. In this case copy is not failing and more 
over it is saved as an .iso file which is not valid
*************************** 27. row ***************************
                  id: 45
            store_id: 2
         template_id: 216
             created: 2013-08-12 15:00:26
        last_updated: 2013-08-12 15:01:02
              job_id: 5434eedd-d704-4a73-8de6-05ce6b30d3ff
        download_pct: 100
                size: 358400
          store_role: Image
       physical_size: 358400
      download_state: DOWNLOADED
           error_str: Install completed successfully at 8/12/13 9:36 AM
          local_path: 
/mnt/SecStorage/0a639c32-c2df-36e3-883d-eebcb5093bf1/template/tmpl/9/216/dnld4529817597804272417tmp_
        install_path: 
template/tmpl/9/216/216-9-23f8feda-ffba-38a1-9e3d-841072518bc8.iso
                 url: NULL
        download_url: NULL
download_url_created: NULL
               state: Ready
           destroyed: 0
             is_copy: 0
        update_count: 2
             ref_cnt: 0
             updated: 2013-08-12 15:01:02
*************************** 28. row ***************************
                  id: 47
            store_id: 6
         template_id: 216
             created: 2013-08-12 15:00:26
        last_updated: 2013-08-12 15:01:04
              job_id: 88d96c60-7443-4626-8c2d-c6020831dced
        download_pct: 100
                size: 358400
          store_role: Image
       physical_size: 358400
      download_state: DOWNLOADED
           error_str: Install completed successfully at 8/12/13 9:36 AM
          local_path: 
/mnt/SecStorage/0e8da06e-0788-3efb-86a6-b0705a2205d3/template/tmpl/9/216/dnld5944478410480646111tmp_
        install_path: 
template/tmpl/9/216/216-9-23f8feda-ffba-38a1-9e3d-841072518bc8.iso
                 url: NULL
        download_url: NULL
download_url_created: NULL
               state: Ready
           destroyed: 0
             is_copy: 0
        update_count: 2
             ref_cnt: 0
             updated: 2013-08-12 15:01:04
28 rows in set (0.00 sec)



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to