cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sate...@apache.org
Subject [14/14] git commit: updated refs/heads/vmware-disk-controllers to 85bd96c
Date Wed, 07 Jan 2015 10:17:35 GMT
While deploying Vm with DataDisk in LXC, if the rbd image mapping on the host fails, deploy
Vm should fail


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

Branch: refs/heads/vmware-disk-controllers
Commit: 85bd96c6b28922702dca8014edf9b922a7462eee
Parents: f767adf
Author: Kishan Kavala <kishan@apache.org>
Authored: Mon Nov 24 16:03:23 2014 +0530
Committer: Kishan Kavala <kishan@apache.org>
Committed: Wed Jan 7 15:09:57 2015 +0530

----------------------------------------------------------------------
 .../cloud/hypervisor/kvm/resource/LibvirtComputingResource.java    | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/85bd96c6/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
b/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
index c80ccc3..9ae7a17 100644
--- a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
+++ b/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
@@ -4030,6 +4030,8 @@ public class LibvirtComputingResource extends ServerResourceBase implements
Serv
                             diskdef.defBlockBasedDisk(device, devId, DiskDef.diskBus.VIRTIO);
                             diskdef.setQemuDriver(false);
                             vm.getDevices().addDevice(diskdef);
+                        } else {
+                            throw new InternalErrorException("Error while mapping RBD device
on host");
                         }
                     }
                 }


Mime
View raw message