Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 63CF010EC2 for ; Mon, 21 Oct 2013 13:16:43 +0000 (UTC) Received: (qmail 53927 invoked by uid 500); 21 Oct 2013 13:16:39 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 53872 invoked by uid 500); 21 Oct 2013 13:16:37 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 53863 invoked by uid 99); 21 Oct 2013 13:16:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Oct 2013 13:16:37 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kurushi4000@gmail.com designates 209.85.128.49 as permitted sender) Received: from [209.85.128.49] (HELO mail-qe0-f49.google.com) (209.85.128.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Oct 2013 13:16:32 +0000 Received: by mail-qe0-f49.google.com with SMTP id a11so3680626qen.22 for ; Mon, 21 Oct 2013 06:16:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=OFGwR4qtoD49ATuBdnwuE2QQIsaQUiotrzbDqH+f2rs=; b=QlwmzXf2geMRsIcbsxMinu3hSwMJZ63nPuDmrAMwaFXBVVOlBASQ0ObGUP3gzldknk OMKsWOgWyNlCrtLeG9hmw8AYa5QWGE8pGYDh017aymd8qS97PXQo4u3EG+30QmSq5Jke GOHMjE24dBAEpAoiAgWmOT7PyTSt2C5WCsvopkbZ19Jo2GIrMVDiw8G1cEbme8n1UHfF 6HXZP+AjOd8BY0qVGvtTLqprlGNh3hpIYBkwcihmWhZu9gbBjUjS8EfLfmbKyRFhbS1D 4HjwGvGR6cawUHb5DyrjniCdyjZzgbvCFtwIpAbBC/mCWE+HbIVHPH0Xp9rK/BJoapxe bz+A== MIME-Version: 1.0 X-Received: by 10.224.40.195 with SMTP id l3mr23206092qae.44.1382361365653; Mon, 21 Oct 2013 06:16:05 -0700 (PDT) Received: by 10.96.48.66 with HTTP; Mon, 21 Oct 2013 06:16:05 -0700 (PDT) Date: Mon, 21 Oct 2013 15:16:05 +0200 Message-ID: Subject: [ACS 42] Problem when creating template from Root-disk From: benoit lair To: dev@cloudstack.apache.org Content-Type: multipart/alternative; boundary=001a11c2c2ca26c9f204e9401617 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c2c2ca26c9f204e9401617 Content-Type: text/plain; charset=ISO-8859-1 Hi Guys, I got a problem with my acs 42 installation : Trying to create a template from an existing vm, but it never become available. It keeps in state "Ready : No" On my secondary storage, the right directory is well created, but it doesn't contain the template.properties file. I didn't found any mgmt server logs entries that could explain me the reason why the template isn't available. I've tried to restart my mgmt server daemon and also my ssvm and my nfs secondary storage daemon, but no changes. Any idea about my problem ? Also, my secondary storage is 96% full, could this be a part of the root cause of the problem ? I have also tried to delete this template from the UI, but i got this error msg : "Failed to update state". In the mgmt server log i got theses entries : 2013-10-21 14:53:35,945 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-2:job-591 = [ 481fa987-3967-44c1-90d7-1a6c7dfb49ac ]) Unexpected exception while executing org.apache.cloudstack.api.command.user.template.DeleteTemplateCmd com.cloud.utils.exception.CloudRuntimeException: Failed to update state at org.apache.cloudstack.storage.image.store.TemplateObject.processEvent(TemplateObject.java:164) at org.apache.cloudstack.storage.image.TemplateServiceImpl.deleteTemplateAsync(TemplateServiceImpl.java:558) at com.cloud.template.HypervisorTemplateAdapter.delete(HypervisorTemplateAdapter.java:324) at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) at com.cloud.template.TemplateManagerImpl.deleteTemplate(TemplateManagerImpl.java:1080) at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) at org.apache.cloudstack.api.command.user.template.DeleteTemplateCmd.execute(DeleteTemplateCmd.java:112) 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:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) Caused by: com.cloud.utils.fsm.NoTransitionException: Unable to transition to a new state from Creating via DestroyRequested at com.cloud.utils.fsm.StateMachine2.getNextState(StateMachine2.java:83) at com.cloud.utils.fsm.StateMachine2.transitTo(StateMachine2.java:100) at org.apache.cloudstack.storage.datastore.ObjectInDataStoreManagerImpl.update(ObjectInDataStoreManagerImpl.java:301) at org.apache.cloudstack.storage.image.store.TemplateObject.processEvent(TemplateObject.java:162) ... 22 more Any clues ? Thanks for your help. Regards, Benoit. --001a11c2c2ca26c9f204e9401617--