Min Chen
6ba541afb7
Disable IAM feature from 4.4 release.
...
Conflicts:
test/integration/smoke/test_vm_iam.py
2014-05-21 13:49:11 +02:00
Prachi Damle
0b99822262
CLOUDSTACK-6476: Basic Zone with Multiple Pods Setup: DHCP server doesnt get deployed in the pod where the VM gets deployed
...
Changes:
PodId in which the router should get started was not being saved to the DB due to the VO's setter method not following the setXXX format. So when planner loaded the router from DB, it always got podId as null and that would allow planner to deploy the router in any pod. If the router happens to start in a different pod than the user VM, the Vm fails to start since the Dhcp service check fails.
Fixed the VO's setPodId method, that was causing the DB save operation fail.
2014-05-17 11:25:02 +02:00
Murali Reddy
99dc7e009c
CLOUDSTACK-6686:NetworkACLItemCidrsDaoImpl uses firewallRuleId instead
...
of networkAclItemId
fix uses networkAclItemId instead of firewallRuleId
2014-05-16 22:54:20 +02:00
Sanjay Tripathi
13ba59c5f0
CLOUDSTACK-6649: CS is not giving the system-wide capacity for GPU reosurce.
2014-05-14 13:52:46 +02:00
Amogh Vasekar
a7bf66b9f0
This patch disallows deleting / modifying system defined guest OS mappings
...
Local env
1. Create user defined mapping
2. Delete / modify user defined mapping. Should pass
3. Delete / modify system defined mapping. Should fail
Signed off by :- Nitin Mehta<nitin.mehta@citrix.com>
2014-05-13 22:55:14 +02:00
Devdeep Singh
820f8724fa
CLOUDSTACK-6622: After a volume was live migrated, the destination smb storage path was added to
...
the folder column. For an smb share the smb credentials are in the query string of the path.
Before adding the path, smb shares query string should be cleaned up.
2014-05-13 10:52:35 +02:00
Devdeep Singh
f0dcf474f2
CLOUDSTACK-6510: Fix gson serialization exception in storage migration. Gson couldn't serialize
...
a map with volume and storagepool objects for logging. Fixed by using volume and storage pool
ids instead of objects in the map.
2014-05-13 10:51:42 +02:00
Amogh Vasekar
02bd3d0671
CLOUDSTACK-6358: As a part of supporting dynamic guest OS defined by user, removing the hard-coded dependencies.
...
This patch is for KVM
1. Local testing on KVM
2. Successfully got up system VMs
3. Successfully created a CentOS VM
4. Snapshots are not supported for KVM
Signed off by :- Nitin Mehta<nitin.mehta@citrix.com>
2014-05-13 10:33:15 +02:00
Amogh Vasekar
1fb358d004
CLOUDSTACK-6358: As a part of supporting dynamic guest OS defined by user, removing the hard-coded dependencies.
...
This patch is for XenServer.
1. Local testing on XenServer 6.0.2
2. Successfully got up system VMs
3. Successfully created a CentOS VM
4. Created VM snapshot and reverted to snapshot
5. Manipulated guest_os_hypervisor table for mapping, and checked for correct propagation of platform emulator.
Signed off by :- Nitin Mehta<nitin.mehta@citrix.com>
2014-05-13 10:32:41 +02:00
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