Commit Graph

1181 Commits

Author SHA1 Message Date
Saksham Srivastava 3943e0ba1c CLOUDSTACK-6575: Deploy VM failed with NPE while using custom compute offering 2014-05-11 11:30:33 +02:00
Daan Hoogland a2d8f6c9cb be able to remove vpc as owning entity of a network 2014-05-09 17:16:16 +02:00
Alena Prokharchyk a3825f126f CLOUDSTACK-6596: UUID and display flag update support for LBStickinessPolicy and LBHealthCheckPolicy 2014-05-08 09:48:27 +02:00
Jayapal 5a84654d15 CLOUDSTACK-6582 updated the table network_acl_item_cidrs name in Upgrade430to440 2014-05-07 09:22:35 +02:00
Alena Prokharchyk 8985b8badc CLOUDSTACK-6585: added missing metadata support for LBStickiness/LBHealthcheck policies 2014-05-07 09:20:16 +02:00
Jayapal 980eac607f CLOUDSTACK-6582: fixed network acl cidr issues 2014-05-06 22:39:07 +02:00
Daan Hoogland 94415b80eb CLOUDSTACK-6582: cidr field removed 2014-05-06 22:38:53 +02:00
Harikrishna Patnala a521c02c54 CLOUDSTACK-5976: Typo in "ssh_keypairs" table's foreign key constraints
on the Upgraded Setup
2014-05-05 20:34:20 +02:00
Bharat Kumar aabde469d2 Cloudstack-5077: reserve cpu and memory only when vmware.reserve.cpu/mem are set to true. Insted of setting the ovecommit values to one on upgrade, we popultate them from the global values.
Conflicts:
	engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java
	engine/schema/src/com/cloud/upgrade/dao/Upgrade420to421.java
	plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
2014-05-05 14:06:09 +02:00
Daan Hoogland ce56894d37 CLOUDSTACK-6549: ommission due to insufficient tests in CLOUDSTACK-6231 2014-05-01 09:43:43 +02:00
Daan Hoogland 2239eb4b17 CLOUDSTACK-6231: network acl item cidrs loaded from a seperate table 2014-04-30 14:56:16 +02:00
Min Chen 65bdf2c9ca CLOUDSTACK-6478: Failed to download Template when having 3 SSVM's in one
zone on Vmware.
2014-04-25 21:26:27 +02:00
Alena Prokharchyk dceaa7ccef Revert "Return isolation methods as a part of listPhysicalNetworks call"
This reverts commit eb877a093c.
2014-04-22 18:06:33 -07:00
Alena Prokharchyk eb877a093c Return isolation methods as a part of listPhysicalNetworks call 2014-04-22 14:46:34 -07:00
Amogh Vasekar 3419c812ae CLOUDSTACK-6437:
Add ability to distinguish between user defined and system defined guest OS and mappings
Add default mappings for XenServer

Local testing with
1. Add new guest OS by API
2. Add new guest OS mapping by API
2014-04-18 11:33:42 -07:00
Harikrishna Patnala bc9737ec8a CLOUDSTACK-6211: Xenserver - HA - SSVM fails to start due to running out of management Ip ranges when testing host down scenarios
Signed-off-by: Koushik Das <koushik@apache.org>
2014-04-18 17:43:49 +05:30
Saksham Srivastava 406c289d15 CLOUDSTACK-6151: Local data disk with tag goes to the wrong local storage pool
Signed-off-by: Koushik Das <koushik@apache.org>
2014-04-16 16:20:04 +05:30
Koushik Das 800e9dbac5 CLOUDSTACK-6402: Fix StopCommand so that VMs are not removed accidentally as part of vmsync
Added a new flag 'checkBeforeCleanup' to StopCommand based on which check is done to see if VM is running in HV host.
If VM is running then in this case it is not stopped and the operation bails out.
Also modified the MS code to call the StopCommand with appropriate value for the flag based on the context.
Currently it is only set to 'true' when called from the new vmsync logic based on powerstate of VM. For rest it
is set to 'false' meaning no change in behaviour.
2014-04-14 16:12:35 +05:30
Sanjay Tripathi 127196e95d CLOUDSTACK-6366: add vgpuTypes details in vgpu_types table. 2014-04-09 18:22:06 +05:30
Harikrishna Patnala 68c80e28c0 CLOUDSTACK-6253: Optimizing VR alerts getting algorithm In addition to this a new configuration parameter is added router.alerts.check.interval defaulted to 30minutes to check for alerts in Virtual Router 2014-04-09 18:11:24 +05:30
Koushik Das e0a2fcabcc CLOUDSTACK-6362: Parallel VM deployment - direct.agent.thread.cap needs to default to 1.0 (currently 0.1) to allow for parallel Vm deployments. 2014-04-09 11:41:43 +05:30
Sanjay Tripathi 156fb7ebd3 CLOUDSTACK-6357: Not able to select GPU card in case of GPU-passthrough. 2014-04-08 22:08:17 +05:30
Sanjay Tripathi ce966c8b38 CLOUDSTACK-6345: Non gpu enabled VMs are getting deployed in gpu enabled Hosts. 2014-04-07 16:05:58 +05:30
Jayapal 936de7e1c5 CLOUDSTACK-6327: Updated the removeFromLoadBalancerRule and listLoadBalancerRuleInstances API
Updated these APIs to use VM primary/secondary details on LB rule.

listLoadBalancerRuleInstances API lists the vm ips which are assigned to lb rule when passed
listlbvmips
removeFromLoadBalancerRule is updated to remove the spcific vm ip entry assinged to LB rule.
Added new param vmidipmap to this API
2014-04-04 18:32:43 +05:30
Prachi Damle 8a46539bc4 CLOUDSTACK-6329 [Automation] Changing service offering of VM from medium to small failing with NPE
- The hostAllocators were not getting set
2014-04-03 23:07:13 -07:00
Prachi Damle 8ddf0a42b7 CLOUDSTACK-6330 [Automation] createRemoteAccessVpn call fails with access permission error
- Correcting the EntityType for PublicIpAddress entity
- Adding the EntityType in the @APICommand for *IPAddrCmds
2014-04-03 23:07:10 -07:00
Kelven Yang eb41250a48 Do app-level iteration to avoid mysql deadlocks 2014-04-02 16:01:34 -07:00
Anshul Gangwar 90117f09e8 CLOUDSTACK-6288: Changing default ImageFormat to vhdx for hyper-v and allowing registration of vhdx format templates.
Signed-off-by: Devdeep Singh <devdeep@gmail.com>
2014-04-01 13:40:21 +05:30
Mike Tutkowski fe0c9768cf CLOUDSTACK-6170 (VMware root-disk support for managed storage) 2014-03-31 00:10:49 -06:00
Edison Su 392dc817af fix build 2014-03-27 17:38:42 -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 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 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
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
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
Anthony Xu 31d22c1b16 use correct interval for cleanTask and transitionTask 2014-03-25 12:05:31 -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 7b19b6cc19 vm meta sync sync xstoolsversion as well 2014-03-24 15:49:15 -07: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
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
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
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
Kelven Yang 63563b740a Fix style-check issue after cherry-picks 2014-03-18 17:34:54 -07:00
Kelven Yang a5f418dd02 Let VMSync be aware of HA take-over on VM state management. 2014-03-18 17:34:36 -07:00
Kelven Yang 0043a8f384 avoid mysql lock-promotion situation. 2014-03-18 17:30:09 -07:00