Commit Graph

22967 Commits

Author SHA1 Message Date
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
Anthony Xu e0863281af make sure XS host is enabled when creating XAPI connection 2014-03-25 11:30:56 -07:00
Anthony Xu 6837333393 check_heartbeat and pingtest execute through ssh, not XAPI, because XAPI may hang when master host is downi 2014-03-25 10:43:25 -07:00
Murali Reddy 1b34959c89 CLOUDSTACK-6281: OVS distributed routing: exclude non implemented
networks while sending VPC topology updates as GRE key is not associated
with the network unless implemented.
2014-03-25 16:42:45 +05:30
Mike Tutkowski 0b9193599a CLOUDSTACK-6170 (fixing a GUI formatting issue) 2014-03-24 21:09:58 -06:00
Anthony Xu a19d50ec10 when start vm times out, check VM status, if it is running , return succeed.
change XAPI timeout to 60 second.
2014-03-24 17:16:19 -07:00
Prachi Damle a5b9814f7a Fixes to ensure Network entity checkAccess invokes the IAM service 2014-03-24 17:09:43 -07:00
Anthony Xu 0c2f808b75 use vm instance name in log 2014-03-24 16:23:56 -07:00
Anthony Xu 9c7b60f27d addHostCmd will try to load all hosts in a pool 2014-03-24 16:07:39 -07:00
Anthony Xu 7b19b6cc19 vm meta sync sync xstoolsversion as well 2014-03-24 15:49:15 -07:00
Anthony Xu b3ad4192dd fixed ssh execution log 2014-03-24 15:18:50 -07:00
Sheng Yang d56b45a1c3 CLOUDSTACK-6047: Fix timeout issue when try to execute aggregated commands
Add executeInVR() with timeout interface to VirtualRouterDeployer

AggregationControlCommand with Action.Finish may take longer than normal command
since it would execute all the commands in one execution, and it may result in
SSH timeout for SshHelper or other mechanism communicate with VR.

Introduce an new executeInVR() interface with added timeout period for waiting
FinishAggregationCommand to complete execution.
2014-03-24 13:37:38 -07:00
Brian Federle b4d8332a69 CLOUDSTACK-6227: Fix IE9 instance wizard
Fixes HTML incompatibility causing rendering issues in IE9 when viewing
instance wizard->network step
2014-03-24 10:02:39 -07:00
Sebastien Goasguen 9b0ae5c045 Fix license headers and remove @author tag 2014-03-24 16:51:57 +01:00
Dmitry Batkovich a5510a0a0a cloudstack api post and ssl fix
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-03-24 16:00:13 +01:00
Jayapal 18934345af CLOUDSTACK-6250: updated review comments, added unit test case 2014-03-24 17:53:38 +05:30
Alex Hitchins 10fb10f0fa CLOUDSTACK-5440: Add missing guestos types got centos 6.5, windows 8.1 and windows server 2012 r2.
Signed-off-by: Devdeep Singh <devdeep@gmail.com>
2014-03-24 14:07:35 +05:30