CLOUDSTACK-6443: [Automation] Two Test Cases failed on "test_volumes.py"
- AttributeError: VirtualMachine instance has no attribute 'hostid'.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/09c9f8df
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/09c9f8df
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/09c9f8df

Branch: refs/heads/master
Commit: 09c9f8dfbd6a18fbb4672d7ff8bd651c110b0cb7
Parents: 1b78a1c
Author: Min Chen <[email protected]>
Authored: Thu May 1 10:05:16 2014 -0700
Committer: Min Chen <[email protected]>
Committed: Thu May 1 15:57:28 2014 -0700

----------------------------------------------------------------------
 .../apache/cloudstack/api/command/admin/vm/DeployVMCmdByAdmin.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/09c9f8df/api/src/org/apache/cloudstack/api/command/admin/vm/DeployVMCmdByAdmin.java
----------------------------------------------------------------------
diff --git 
a/api/src/org/apache/cloudstack/api/command/admin/vm/DeployVMCmdByAdmin.java 
b/api/src/org/apache/cloudstack/api/command/admin/vm/DeployVMCmdByAdmin.java
index 99fec6b..77aa20f 100755
--- a/api/src/org/apache/cloudstack/api/command/admin/vm/DeployVMCmdByAdmin.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/vm/DeployVMCmdByAdmin.java
@@ -68,7 +68,7 @@ public class DeployVMCmdByAdmin extends DeployVMCmd {
         }
 
         if (result != null) {
-            UserVmResponse response = 
_responseGenerator.createUserVmResponse(ResponseView.Restricted, 
"virtualmachine", result).get(0);
+            UserVmResponse response = 
_responseGenerator.createUserVmResponse(ResponseView.Full, "virtualmachine", 
result).get(0);
             response.setResponseName(getCommandName());
             setResponseObject(response);
         } else {

Reply via email to