Repository: cloudstack Updated Branches: refs/heads/4.4-forward 9c2768756 -> ef2616bfd
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/ef2616bf Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/ef2616bf Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/ef2616bf Branch: refs/heads/4.4-forward Commit: ef2616bfda1b37887312a93068937f5ecfaa36b4 Parents: 9c27687 Author: Min Chen <[email protected]> Authored: Thu May 1 10:05:16 2014 -0700 Committer: Min Chen <[email protected]> Committed: Thu May 1 10:05:16 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/ef2616bf/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 {
