Commit Graph

22983 Commits

Author SHA1 Message Date
Edison Su 392dc817af fix build 2014-03-27 17:38:42 -07:00
Edison Su f1ff060bb9 fix devcloud reboot issue: should not start heartbeat for devcloud
Conflicts:

	plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
2014-03-27 17:38:41 -07:00
Edison Su 11d11d8690 CLOUDSTACK-5329: stupid java box/unbox
Conflicts:

	engine/schema/src/com/cloud/vm/VMInstanceVO.java
2014-03-27 17:38:41 -07:00
edison 6b364f9588 mischanged default user vm template url for xen 2014-03-27 17:38:41 -07:00
Edison Su 73f383c5ab CLOUDSTACK-5432:sync vm and storage commands on mgt server for kvm
Conflicts:

	engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java
	server/src/com/cloud/hypervisor/KVMGuru.java
2014-03-27 17:38:40 -07:00
edison c1711428f0 add md5sum for xen/kvm system vm template 2014-03-27 17:38:40 -07:00
edison b35389fd20 update xen/kvm system vm template download url, and update the os type to 64bit 2014-03-27 17:38:40 -07:00
edison b2f4939402 CLOUDSTACK-5857: for some reasons, delete secondary pool failed during copy template from secondary storage to primary storage, but the volume is already copied to primary storage, we didn't clean up the volume on primary storage, then all the following copy the same template to primary storage failed, as we are always using the same uuid when creating a new volume, libvirt complaining that the volume already exists.
Current fix is ignoring "the delete secondary storage error".
2014-03-27 17:38:40 -07:00
edison 36efe4dbf4 CLOUDSTACK-5831: Fix NPE, in case the volume isn't attached to any pool 2014-03-27 17:38:40 -07:00
Edison Su 4584d5c845 CLOUDSTACK-5831: return quiescevm field in volumeresponse
Conflicts:

	api/src/org/apache/cloudstack/api/response/VolumeResponse.java
	server/src/com/cloud/api/query/QueryManagerImpl.java
2014-03-27 17:38:40 -07:00
edison 9da36af711 CLOUDSTACK-5763: if vm is stopped, then don't check hypervisor support live storage migration capabilities. 2014-03-27 17:38:40 -07:00
edison a3edd1ac72 CLOUDSTACK-5607: Don't delete the template if its stored in other zones. 2014-03-27 17:38:40 -07:00
edison 5917b25fd3 CLOUDSTACK-5828: if snapshot deletion failed, such as can't find it on secondary storage, should return succeed. 2014-03-27 17:38:39 -07:00
edison a4af8ece8a CLOUDSTACK-5370: delete snapshot on primary storage in case of backup snapshot failed. 2014-03-27 17:38:38 -07:00
edison 18f59f9ce8 CLOUDSTACK-5573: bump gson version to 1.7.2, fix https://code.google.com/p/google-gson/issues/detail?id=354 2014-03-27 17:38:38 -07:00
edison 04220daf4c CLOUDSTACK-5737: ignore umount secondary storage failure during backup snapshot 2014-03-27 17:38:38 -07:00
Edison Su 24d1f161b8 CLOUDSTACK-5329: fix NPE, in case of zone wide primary storage
Conflicts:

	api/src/com/cloud/storage/StoragePool.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
2014-03-27 17:38:38 -07:00
Edison Su a3736f26f1 CLOUDSTACK-5264: add delta snapshot for existing xenserver
Conflicts:

	plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServerStorageProcessor.java
2014-03-27 17:38:37 -07:00
Edison Su 9188223f3d CLOUDSTACK-6245: the security group rule is lagging behind the rules in DB, due to there is a worker thread launched inside a transaction Reviewed-by: Alex
(cherry picked from commit d4fdc184fe)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>

Conflicts:

	server/src/com/cloud/network/security/SecurityGroupManagerImpl.java
2014-03-27 17:38:37 -07:00
Edison Su 9dba93e105 KVM security bug: no forwarding rule applied
(cherry picked from commit e5c391fcf3)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-03-27 17:38:37 -07:00
Edison Su 810e090ad4 CLOUDSTACK-5395: mark snapshot_store_ref as destroyed in case of backup snapshot failed
Conflicts:

	plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServerStorageProcessor.java
2014-03-27 17:38:37 -07:00
Edison Su fc3e413584 fix devcloud: after devcloud vm itself reboot, local storage's name label is changed to orignal 2014-03-27 17:38:36 -07:00
Edison Su 5b16ccb50e fix devcloud: user template's guest os type is changed
Conflicts:

	plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XcpOssResource.java
2014-03-27 17:38:36 -07:00
Edison Su 3d0b739950 fix devcloud router start
Conflicts:

	plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XcpOssResource.java
2014-03-27 17:38:36 -07:00
Edison Su f84fc12d26 fix devcloud: get back whatever we have before
Conflicts:

	plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XcpOssResource.java
	scripts/vm/hypervisor/xenserver/xcposs/patch
2014-03-27 17:38:36 -07:00
Edison Su 9900ae7002 CLOUDSTACK-5737: isExternalSnapshot should return true for CLVM and RBD only 2014-03-27 17:38:35 -07:00
Edison Su 0bbb8437cd CLOUDSTACK-4506: fix NPE in case hostid is null
Conflicts:

	server/src/com/cloud/capacity/CapacityManagerImpl.java
2014-03-27 17:38:35 -07:00
Marcus Sorensen eacc1d7fff CLOUDSTACK-6292: Fix live migration of KVM when vnc ip address
changes

Submitted-by: Yoshikazu Nojima
2014-03-27 16:47:00 -06:00
Anthony Xu bdc4ffc010 add more log for creating XS pool network 2014-03-27 15:32:48 -07:00
Jessica Wang 503eeb8248 CLOUDSTACK-6296: UI > If an account's timezone is not set, show datetime field based on browser's timezoneoffset. 2014-03-27 14:13:10 -07:00
Brian Federle c42799c4d7 UI: Update tooltips for primary storage, upload volume fields 2014-03-27 11:28:47 -07:00
Anthony Xu 91a3365184 Fixed a typo 2014-03-27 10:46:03 -07:00
Anshul Gangwar 0ad1a517a2 CLOUDSTACK-6267: unblocking smb as zone wide primary storage for hyperv
Signed-off-by: Devdeep Singh <devdeep@gmail.com>
2014-03-27 15:09:35 +05:30
Santhosh Edukulla 38b8677e01 Added fix for CLOUDSTACK-6269
Added fix for CLOUDSTACK-6269.More details inside the bug

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
2014-03-27 14:46:11 +05:30
Kishan Kavala 50b92054c5 CLOUDSTACK-6122: Map rbd image on host before attaching to Vm 2014-03-27 14:35:09 +05:30
Anthony Xu b4d3aac74d get rrd through http directly instead of xapi plugins 2014-03-26 18:02:52 -07:00
Anthony Xu 15d798d882 in XS, joining a host to a XS pool may not work as expected, especially when there are multiple nics, binding devices.
admin needs to check if the right nics are binded togather, if network are propagated to the new host correctly before adding this host to CS.
2014-03-26 16:42:17 -07:00
Min Chen ee72450dbf CLOUDSTACK-5922:Incorrect handling RHEL guests for 5.5 to 5.9 2014-03-26 16:25:39 -07:00
Anthony Xu cb61d35ad0 set nosubdir for NFS SR 2014-03-26 14:57:39 -07:00
Anthony Xu 296dc861bc in XenServer, host eject may fail due to diffent reasons, it's hard for CS to handle all failure.
in CS, removing a host means CS will not manage the host, admin needs to eject the host from XS pool outside of CS
2014-03-26 14:21:28 -07:00
Alex Huang 4807bc8bda Added a config to enable checking whether a db transaction is wrapped around communications with the agent. If it is, an exception is thrown. This assert has actually been there because it is part of CloudStack's design principle to not use db transactions as a way to enforce atomicity in executing things on hardware resources. However, the assert has been ignored since the move to maven which is not good with enabling asserts. Since then, there's been a lot of commands added that actually runs within db transaction. This is a big no no as the problem is that the remote operation may take a long time and the db can actually close the connection, causing a rollback of the transaction. We should not depend on transactions to enforce the atomicity anyways. 2014-03-26 13:35:31 -07:00
Daan Hoogland 15aa618f56 checkstyle: unused import removed 2014-03-26 15:37:54 +01:00
Daan Hoogland 59f1795c9b checkstyle: trailing whitespace 2014-03-26 15:29:42 +01:00
Daan Hoogland a28d7a4d5f Revert "cloudstack api post and ssl fix"
This reverts commit d5333f4596.
2014-03-26 14:57:50 +01:00
Daan Hoogland 754cce4e76 Revert "Fix license headers and remove @author tag"
This reverts commit 9b0ae5c045.
2014-03-26 14:57:25 +01:00
edison 7db6ba0c5f CLOUDSTACK-5432: potential bugs in case of stop mgt server while
template is downloading, template_store_ref has leftover not in ready
state, when create vm from that template, the code doesn't check either
zone id, nor template_store_ref state.

Conflicts:
	engine/orchestration/src/org/apache/cloudstack/engine/orchestration/VolumeOrchestrator.java
2014-03-26 14:55:21 +01:00
Sheng Yang f16dc3fd9f CLOUDSTACK-6285: Fix savepassword.sh script for clear out old entries 2014-03-25 15:56:38 -07:00
Brian Federle 6e1a43ad49 Instances UI: Truncate name, displayname fields to prevent overflow 2014-03-25 15:50:51 -07:00
Anthony Xu 31d22c1b16 use correct interval for cleanTask and transitionTask 2014-03-25 12:05:31 -07:00
Mike Tutkowski 40cf807bd9 CLOUDSTACK-6170 (fixing a GUI formatting issue) 2014-03-25 12:42:59 -06:00