Commit Graph

22945 Commits

Author SHA1 Message Date
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
Mike Tutkowski 2926d949f2 CLOUDSTACK-6170 (when the "No Thanks" radio button is selected, remove controls related to custom size and custom IOPS) 2014-03-22 19:29:39 -06:00
Mike Tutkowski bd6f0db31a CLOUDSTACK-6170 (Fixed an issue where custom compute offering and custom storage IOPS were leading to custom storage IOPS that were specified not being used) 2014-03-22 00:41:25 -06:00
Brian Federle 661b42b501 CLOUDSTACK-6272: Fix icons for recover/restore VM 2014-03-21 14:58:16 -07:00
Jessica Wang 056548c72e CLOUDSTACK-6272: UI > Instance > actions > replace internal action name "restore" with "recover", "reset" with "reinstall". 2014-03-21 14:48:32 -07:00
Brian Federle 0d160e8198 CLOUDSTACK-6272: Fix recover/restore VM actions
-Label recoverVirtualMachine as 'Recover VM'
-Label restoreVirtualMachine as 'Reinstall VM'
-Change confirmation text for restoreVirtualMachine to be more explicit
-Change restoreVirtualMachine icon to 'recycle' symbol, to avoid
 confusion with the reboot VM icon
2014-03-21 13:30:19 -07:00
Konstantina Chremmou 403bdf107f Added version info to command and response parameters introduced in 4.4. Renamed newly introduced parameter StoragePoolReponse.overProvisionFactor to comply with coding conventions.
Signed-off-by: Alena Prokharchyk <alena.prokharchyk@citrix.com>
2014-03-21 11:45:22 -07:00
Konstantina Chremmou 90646ad070 Renamed static fields to comply with coding conventions.
Signed-off-by: Alena Prokharchyk <alena.prokharchyk@citrix.com>
2014-03-21 11:10:21 -07:00
Mike Tutkowski 8e513e8659 CLOUDSTACK-6170 2014-03-20 20:37:27 -06:00
Min Chen dcfe77845c Revert "CLOUDSTACK-6170"
This reverts commit 7a7d9cff0d.
2014-03-20 16:28:47 -07:00
Min Chen bd69166619 Add newly separated admin cmd class in ManagementServerImpl.getCommands. 2014-03-20 16:08:40 -07:00
Mike Tutkowski 7a7d9cff0d CLOUDSTACK-6170 2014-03-20 14:13:48 -06:00
Chris Suich e06d84e06e Revert "Issue CS-5825 Part Resolution"
This reverts commit 9e72d89ac1 which was breaking the build.
2014-03-20 15:46:14 -04:00
Alex Hitchins 9e72d89ac1 Issue CS-5825 Part Resolution 2014-03-20 13:34:35 -04:00
Jayapal dd237a8d53 CLOUDSTACK-6250 Review comments fixes for CLOUDSTACK-2692 2014-03-20 17:21:47 +05:30
Murali Reddy e0c1bf7107 persist fact that network can span multiple zones, if network offering
has strechedL2Subnet capability and return the zones in which network
spans in the networkreponse object
2014-03-20 16:25:15 +05:30
Murali Reddy e35d729283 fix scripts that handle setting up bridge for tunnel network and for
distributed routing. Fix ensures there is approproate flag in other
config of the network to indicate the bridge type.
2014-03-20 16:24:31 +05:30
Rajani Karuturi fc8cb754f0 simulator manager impl changes to handle SetMonitorServiceCommand This fixes some of the test cases in the integration test test_assign_vm.py when run against a simulator
Signed-off-by: Koushik Das <koushik@apache.org>
2014-03-20 16:11:33 +05:30
Edison Su f109e38791 add apache licence header for cloudbyte 2014-03-19 16:38:02 -07:00
punith-cloudbyte 342696f271 cloudbyte storage plugin for master commit 2014-03-19 16:37:49 -07:00
Prachi Damle 0cc6b303e0 IAMEntityType change in the test after merge 2014-03-19 11:31:23 -07:00
Prachi Damle b3e22191cb More changes to support 'readOnly' access
Conflicts:
	api/src/org/apache/cloudstack/api/ApiConstants.java
2014-03-19 11:31:06 -07:00
Prachi Damle a919f740d0 Adding support for 'readOnly' access. AccessType.ListEntry introduced.
Conflicts:
	api/src/org/apache/cloudstack/api/ApiConstants.java
2014-03-19 11:30:22 -07:00