[
https://issues.apache.org/jira/browse/CLOUDSTACK-5797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Srikanteswararao Talluri resolved CLOUDSTACK-5797.
--------------------------------------------------
Resolution: Fixed
> [Automation] test_03_restore_vm_with_new_template is failing because wrong
> template type is selected
> -----------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-5797
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5797
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Test
> Affects Versions: 4.3.0
> Reporter: Srikanteswararao Talluri
> Assignee: Srikanteswararao Talluri
> Fix For: 4.3.0
>
>
> test_03_restore_vm_with_new_template is failing because wrong template type
> is selected
> test_03_restore_vm_with_new_template
> (integration.component.test_base_image_updation.TestBaseImageUpdate):
> CRITICAL: EXCEPTION: test_03_restore_vm_with_new_template: Traceback (most
> recent call last):
> File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
> testMethod()
> File
> "/root/cloudstack/test/integration/component/test_base_image_updation.py",
> line 419, in test_03_restore_vm_with_new_template
> domainid=self.account.domainid
> File
> "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line
> 932, in register
> template = apiclient.registerTemplate(cmd)
> File
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
> line 1708, in registerTemplate
> response = self.connection.marvinRequest(command, response_type=response,
> method=method)
> File
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line
> 272, in marvinRequest
> response = jsonHelper.getResultObj(response.json(), response_type)
> File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line
> 148, in getResultObj
> raise cloudstackException.cloudstackAPIException(respname, errMsg)
> cloudstackAPIException: Execute cmd: registertemplate failed, due to:
> errorCode: 431, errorText:Please specify a valid URL.
> URL:/templates/centos53-x86_64/latest/f59f18fb-ae94-4f97-afd2-f84755767aca.vhd.bz2
> is an invalid for the format qcow2
> --------------------- >> end captured logging << ---------------------
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)