You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Likitha Shetty (JIRA)" <ji...@apache.org> on 2014/07/24 09:53:39 UTC

[jira] [Resolved] (CLOUDSTACK-7174) [VMware] Recreating System VMs fails if global config 'vm.instancename' is set to true

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

Likitha Shetty resolved CLOUDSTACK-7174.
----------------------------------------

    Resolution: Fixed

> [VMware] Recreating System VMs fails if global config 'vm.instancename' is set to true
> --------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7174
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7174
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: VMware
>    Affects Versions: 4.5.0
>            Reporter: Likitha Shetty
>            Assignee: Likitha Shetty
>            Priority: Critical
>             Fix For: 4.5.0
>
>
> Steps to reproduce
> 1. Set the global config 'vm.instancename' to true
> 2. Destroy SSVM
> 3. New SSVM fails to start with the below error
> {noformat}
> 2014-07-23 16:49:10,768 WARN  [c.c.h.v.r.VmwareResource] (DirectAgent-5:ctx-7050a6c8 10.102.192.7, job-478/job-487, cmd: StartCommand) StartCommand failed due to Exception: java.lang.Exception
> Message: Failed to find the newly create or relocated VM. vmName: s-27-VM
> java.lang.Exception: Failed to find the newly create or relocated VM. vmName: s-27-VM
>         at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:1419)
>         at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:462)
>         at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:294)
>         at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
>         at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
>         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:744)
> 2014-07-23 16:49:10,778 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-5:ctx-7050a6c8) Seq 1-1545579097118212119: Cancelling because one of the answers is false and it is stop on error.
> {noformat}
> This is a regression caused by a recent commit - 5143fe404bc82dfe42b832c661b4e98a0d9ebfa8



--
This message was sent by Atlassian JIRA
(v6.2#6252)