For 1470, deployvm does not work, I used the same logic used in create
vm from scratch and it works for me, see:

diff --git 
a/engine/orchestration/src/org/apache/cloudstack/platform/orchestration/CloudOrchestrator.java
b/engine/orchestration/src/org/apache/cloudstack/platform/orchestration/CloudOrches
index 34673f2..cae25ac 100755
--- 
a/engine/orchestration/src/org/apache/cloudstack/platform/orchestration/CloudOrchestrator.java
+++ 
b/engine/orchestration/src/org/apache/cloudstack/platform/orchestration/CloudOrchestrator.java
@@ -170,7 +170,15 @@ public class CloudOrchestrator implements
OrchestrationService {
             }
         }

-       VirtualMachineEntityImpl vmEntity =
ComponentContext.inject(VirtualMachineEntityImpl.class);
+       //VirtualMachineEntityImpl vmEntity =
ComponentContext.inject(VirtualMachineEntityImpl.class);
+        VirtualMachineEntityImpl vmEntity = null;
+        try {
+            vmEntity = VirtualMachineEntityImpl.class.newInstance();
+            vmEntity = ComponentContext.inject(vmEntity);
+
+        } catch (Exception e) {
+            // add error handling here
+        }
        vmEntity.init(id, owner, hostName, displayName, cpu, speed,
memory, computeTags, rootDiskTags, new
ArrayList<String>(networkNicMap.keySet()));

Kelven, Chip pl. review it and commit/apply on master/4.1 as needed.

Regards.

On Fri, Mar 1, 2013 at 4:36 PM, Ram Ganesh <ram.gan...@citrix.com> wrote:
> Hi Abhi,
>
> 1469 is assigned to Rajesh
>
> Thanks,
> RamG
>
> -----Original Message-----
> From: Abhinandan Prateek [mailto:abhinandan.prat...@citrix.com]
> Sent: 01 March 2013 16:22
> To: cloudstack dev
> Subject: [ACS4.1] blocker bugs
>
> Can someone from community pick any of these bugs ? These are blocking QA.
>
> https://issues.apache.org/jira/browse/CLOUDSTACK-1470
>
> https://issues.apache.org/jira/browse/CLOUDSTACK-1469
>
> -abhi

Reply via email to