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] [Updated] (CLOUDSTACK-1950) Failed to create template from VM instance
Date Fri, 05 Apr 2013 05:00:17 GMT

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

Rayees Namathponnan updated CLOUDSTACK-1950:
--------------------------------------------

    Description: 

Steps to reproduce 

Step 1 : Launch a VM instance that has the operating system you want. Make any other desired
configuration changes to the VM.
Step 2 : Stop the VM.
Step 3: Convert the volume into a template.

Actual Result:

Failed to create template from VM instance, see the MS log below 


2013-04-04 21:58:20,905 DEBUG [cloud.api.ApiServlet] (catalina-exec-10:null) ===END===  10.216.51.147
-- GET  command=createTemplate&response=json&sessionkey=qB%2BHwd6C32zeQBCah3hN%2Bvh%2B9mI%3D&volumeId=e3ad9b48-9144-419a-8150-7aaedf7f36a6&name=tetet&displayText=tete&osTypeId=00e86866-9d67-11e2-b754-52b2d980df8a&isPublic=false&passwordEnabled=false&isfeatured=false&_=1365137833272
2013-04-04 21:58:20,939 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-87:job-204)
Executing org.apache.cloudstack.api.command.user.template.CreateTemplateCmd for job-204
2013-04-04 21:58:20,967 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-87:job-204)
Unexpected exception while executing org.apache.cloudstack.api.command.user.template.CreateTemplateCmd
java.lang.NullPointerException
	at org.apache.cloudstack.storage.image.manager.ImageDataStoreManagerImpl.getImageDataStore(ImageDataStoreManagerImpl.java:60)
	at org.apache.cloudstack.storage.datastore.DataStoreManagerImpl.getDataStore(DataStoreManagerImpl.java:47)
	at org.apache.cloudstack.storage.image.ImageDataFactoryImpl.getTemplate(ImageDataFactoryImpl.java:86)
	at com.cloud.template.TemplateManagerImpl.createPrivateTemplate(TemplateManagerImpl.java:1718)
	at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
	at org.apache.cloudstack.api.command.user.template.CreateTemplateCmd.execute(CreateTemplateCmd.java:258)
	at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:164)
	at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
	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:722)
2013-04-04 21:58:20,968 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-87:job-204)
Complete async job-204, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text:
null
2013-04-04 21:58:22,054 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-213:null) Ping
from 6
2013-04-04 21:58:22,405 INFO  [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Found
0 removed accounts to cleanup
2013-04-04 21:58:22,407 INFO  [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Found
0 disabled accounts to cleanup
2013-04-04 21:58:22,407 INFO  [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Found
0 inactive domains to cleanup
2013-04-04 21:58:22,408 INFO  [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Found
0 disabled projects to cleanup
2013-04-04 21:58:22,442 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null)
Found 2 routers to update status. 



BVT test case "incubator-cloudstack/test/integration/smoke/test_templates.py" failing 

    
> Failed to create template from VM instance 
> -------------------------------------------
>
>                 Key: CLOUDSTACK-1950
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1950
>             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: Rayees Namathponnan
>             Fix For: 4.2.0
>
>
> Steps to reproduce 
> Step 1 : Launch a VM instance that has the operating system you want. Make any other
desired configuration changes to the VM.
> Step 2 : Stop the VM.
> Step 3: Convert the volume into a template.
> Actual Result:
> Failed to create template from VM instance, see the MS log below 
> 2013-04-04 21:58:20,905 DEBUG [cloud.api.ApiServlet] (catalina-exec-10:null) ===END===
 10.216.51.147 -- GET  command=createTemplate&response=json&sessionkey=qB%2BHwd6C32zeQBCah3hN%2Bvh%2B9mI%3D&volumeId=e3ad9b48-9144-419a-8150-7aaedf7f36a6&name=tetet&displayText=tete&osTypeId=00e86866-9d67-11e2-b754-52b2d980df8a&isPublic=false&passwordEnabled=false&isfeatured=false&_=1365137833272
> 2013-04-04 21:58:20,939 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-87:job-204)
Executing org.apache.cloudstack.api.command.user.template.CreateTemplateCmd for job-204
> 2013-04-04 21:58:20,967 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-87:job-204)
Unexpected exception while executing org.apache.cloudstack.api.command.user.template.CreateTemplateCmd
> java.lang.NullPointerException
> 	at org.apache.cloudstack.storage.image.manager.ImageDataStoreManagerImpl.getImageDataStore(ImageDataStoreManagerImpl.java:60)
> 	at org.apache.cloudstack.storage.datastore.DataStoreManagerImpl.getDataStore(DataStoreManagerImpl.java:47)
> 	at org.apache.cloudstack.storage.image.ImageDataFactoryImpl.getTemplate(ImageDataFactoryImpl.java:86)
> 	at com.cloud.template.TemplateManagerImpl.createPrivateTemplate(TemplateManagerImpl.java:1718)
> 	at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> 	at org.apache.cloudstack.api.command.user.template.CreateTemplateCmd.execute(CreateTemplateCmd.java:258)
> 	at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:164)
> 	at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
> 	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:722)
> 2013-04-04 21:58:20,968 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-87:job-204)
Complete async job-204, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text:
null
> 2013-04-04 21:58:22,054 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-213:null)
Ping from 6
> 2013-04-04 21:58:22,405 INFO  [cloud.user.AccountManagerImpl] (AccountChecker-1:null)
Found 0 removed accounts to cleanup
> 2013-04-04 21:58:22,407 INFO  [cloud.user.AccountManagerImpl] (AccountChecker-1:null)
Found 0 disabled accounts to cleanup
> 2013-04-04 21:58:22,407 INFO  [cloud.user.AccountManagerImpl] (AccountChecker-1:null)
Found 0 inactive domains to cleanup
> 2013-04-04 21:58:22,408 INFO  [cloud.user.AccountManagerImpl] (AccountChecker-1:null)
Found 0 disabled projects to cleanup
> 2013-04-04 21:58:22,442 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null)
Found 2 routers to update status. 
> BVT test case "incubator-cloudstack/test/integration/smoke/test_templates.py" failing


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