cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rayees Namathponnan (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CLOUDSTACK-4628) [Automation] Failed to create template from snapshot with same name; after deleting the first one
Date Mon, 16 Sep 2013 17:47:52 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-4628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rayees Namathponnan closed CLOUDSTACK-4628.
-------------------------------------------


This test passed in latest run, so closing this defect 


Passed
integration.component.test_blocker_bugs.TestTemplate.test_01_create_template (from nosetests)
                
> [Automation] Failed to create template from snapshot with same name; after deleting the
first one 
> --------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4628
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4628
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: KVM, Snapshot
>    Affects Versions: 4.2.1
>         Environment: KVM (RHEL 6.3)
> Automation environment 
> Branch : 4.2-
>            Reporter: Rayees Namathponnan
>            Assignee: Min Chen
>             Fix For: 4.2.1
>
>         Attachments: CLOUDSTACK-4628.rar
>
>
> Test cases "integration.component.test_blocker_bugs.TestTemplates.test_03_reuse_template_name
" failing with latest run 
> Step 1 : Create snapshot from volume 
> Step 2 : Create template from snapshot, template name "Template from snapshot"
> Step 3 : Delete the template "Template from snapshot"
> Step 4 : Create the template again from snapshot shot with the same name "Template from
snapshot"
> Create template failed with below NPE, 
> 2013-09-09 11:47:06,391 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-71:job-1973
= [ 9c9e318d-bd90-4bbf-9dfa-ab0a3bb9f7ad ]) Executing org.apache.cloudstack.api.command.user.template.CreateTemplateCmd
for job-1973 = [ 9c9e318d-bd90-4bbf-9dfa-ab0a3bb9f7ad ]
> 2013-09-09 11:47:06,394 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-11:null)
submit async job-1973 = [ 9c9e318d-bd90-4bbf-9dfa-ab0a3bb9f7ad ], details: AsyncJobVO {id:1973,
userId: 2, accountId: 2, sessionKey: null, instanceType: Template, instanceId: 236, cmd: org.apache.cloudstack.api.command.user.template.CreateTemplateCmd,
cmdOriginator: null, cmdInfo: {"sessionkey":"AggNvR8qve2SL/JT2V88WKaGoDA\u003d","cmdEventType":"TEMPLATE.CREATE","ctxUserId":"2","httpmethod":"GET","isPublic":"true","osTypeId":"7fadf880-1906-11e3-963b-1a6f7bb0d0a8","response":"json","isdynamicallyscalable":"false","id":"236","displayText":"Template
from snapshot","snapshotid":"0b720f5f-e6de-425e-b951-36dec3b9baab","passwordEnabled":"false","name":"Template
from snapshot","_":"1378752493342","ctxAccountId":"2","ctxStartEventId":"7968"}, cmdVersion:
0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode: 0, result:
null, initMsid: 29066118877352, completeMsid: null, lastUpdated: null, lastPolled: null, created:
null}
> 2013-09-09 11:47:06,397 DEBUG [cloud.api.ApiServlet] (catalina-exec-11:null) ===END===
 10.214.4.59 -- GET  command=createTemplate&response=json&sessionkey=AggNvR8qve2SL%2FJT2V88WKaGoDA%3D&snapshotid=0b720f5f-e6de-425e-b951-36dec3b9baab&name=Template+from+snapshot&displayText=Template+from+snapshot&osTypeId=7fadf880-1906-11e3-963b-1a6f7bb0d0a8&isPublic=true&passwordEnabled=false&isdynamicallyscalable=false&_=1378752493342
> 2013-09-09 11:47:06,468 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-71:job-1973
= [ 9c9e318d-bd90-4bbf-9dfa-ab0a3bb9f7ad ]) Unexpected exception while executing org.apache.cloudstack.api.command.user.template.CreateTemplateCmd
> java.lang.NullPointerException
>         at com.cloud.template.TemplateManagerImpl.createPrivateTemplate(TemplateManagerImpl.java:1377)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at org.apache.cloudstack.api.command.user.template.CreateTemplateCmd.execute(CreateTemplateCmd.java:263)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
>         at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:679)
> 2013-09-09 11:47:06,469 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-71:job-1973
= [ 9c9e318d-bd90-4bbf-9dfa-ab0a3bb9f7ad ]) Complete async job-1973 = [ 9c9e318d-bd90-4bbf-9dfa-ab0a3bb9f7ad
], jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: null
> 2013-09-09 11:47:07,577 DEBUG [cloud.api.ApiServlet] (catalina-exec-23:null) ===START===
 10.223.240.194 -- GET  signature=d%2B%2BR2laW%2B95%2BfG3fTGSNuqzcq5M%3D&apiKey=Q58TTZMMBhJ_3ADk6w2O-WsH2AkL49IisH_lh9pJrHROcl0k2RIxE-KP7CujTb_e34bqXwHTyZV6XZ8vQxsv-A&command=queryAsyncJobResult&response=json&jobid=d17c8ad1-e625-4830-a2fa-a7101beb5b67

--
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

Mime
View raw message