Jessica Wang
b4a692d80f
CLOUDSTACK-3016: remove zonetype parameter from listVolumes API.
2013-06-14 16:39:04 -07:00
Jessica Wang
ea0de9eaf4
CLOUDSTACK-3016: remove zonetype parameter from listStoragePools API.
2013-06-14 16:33:27 -07:00
Jessica Wang
cb37d4cb63
CLOUDSTACK-3016: remove zonetype parameter from listHosts API.
2013-06-14 16:14:45 -07:00
Edison Su
a715eb8121
clean up storage related code, and add lru replacement algorithm for cache storage
2013-06-14 15:55:59 -07:00
Min Chen
bb85a564da
Remove state from vm_template table, we should use template_store_ref
...
state column to represent the state of a template in each zone.
2013-06-14 15:14:09 -07:00
Mice Xia
7663684981
fix CLOUDSTACK-2989 normal user are allowed to create isolated network offerings with vlan assignments
...
1) only root admin can list network offering with specifyVlan=true
2) only root admin can create network with specifyVlan=true
2013-06-14 14:58:24 +08:00
Mice Xia
5e56e43e31
fix CLOUDSTACK-2930, exception while applying ACL rule with protocol as ALL.
...
1) change UI, disable startport and endport when protocol=All
2) validate parameters for API createNetworkACL
2013-06-14 13:19:07 +08:00
Sheng Yang
5a8a2a259e
CLOUDSTACK-2792: Send "saved_password" to BACKUP router when reset password for user VM
...
Otherwise when MASTER failed, the user VM would get password reset again after
reboot.
But this fix still have issues if MASTER is failure before VM boot up, but in
that case, password of user VM won't change and user would request password
change again, then it would be fine.
2013-06-13 16:05:15 -07:00
Sheng Yang
fbe6b273e3
CLOUDSTACK-1170: Redundant Router: Ensure MACs are same on other than first public nic
2013-06-13 16:05:15 -07:00
Harikrishna Patnala
b83b8eb838
CLOUDSTACK-2502: Scalevm and over provisioning should respect each other
...
During Scale up of VM, memory/cpu calculations should consider the memory/cpu overprovisioning factors which are set per cluster.
CLOUDSTACK-2939: CPU limit is not getting set for vm after scaleup to a service offering which have cpu cap enabled
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-13 16:30:56 +05:30
Jayapal
b72c79b370
CLOUDSTACK-2934 Fixed not showing uuid in list firewall rules response
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-13 14:37:34 +05:30
Vijayendra Bhamidipati
ff0a524bd6
CLOUDSTACK-2969: Exception when creating vlan ip range
...
Description:
Putting in null pointer check when creating ip range.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-06-13 11:07:12 +05:30
Min Chen
18aeef3ef1
Merge branch 'master' (up to commit
...
c30d9be3cea30339cfff40c1002906634291b373) into object_store.
2013-06-12 11:20:32 -07:00
Bharat Kumar
31f0e34539
CLOUDSTACK-2963 Build failure due to validateIpRange test failure
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-12 18:48:46 +05:30
Nitin Mehta
2aafc39f3d
CLOUDSTACK-2957
...
deployVm API size attribute should be capped by the storage.max.volume.size as it is in createVolume.
2013-06-12 17:01:41 +05:30
Bharat Kumar
ca13586331
Cloudstack-2511 Multiple_Ip_Ranges: Adding guest ip range in subset/superset to existing CIDR is allowed Cloudstack-2651 [Shared n/w]Add IP range should ask for gateway and netmask
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-12 16:27:56 +05:30
Wei Zhou
51a3a5a9b5
CLOUDSTACK-2945: ignore collect disk statistics if vm is not running on KVM or XenServer
2013-06-12 11:57:17 +02:00
Nitin Mehta
83fcba9ee6
CLOUDSTACK-2946
...
CS-15158: Correcting the allocated size for local storage in listStoragePools
2013-06-12 14:58:54 +05:30
Harikrishna Patnala
215b638e8e
CLOUDSTACK-2347: Zone filter for listSnapshots API
...
Added new optional parameter zone id in listSnapshots API which allows to list snapshots with additional criteria.
Signed off by :- Nitin Mehta <nitin.mehta@citrix.com>
2013-06-12 13:35:58 +05:30
Nitin Mehta
e73aafc09a
CLOUDSTACK-2940
...
Allowing Replacement of realhostip.com with a customized domain for SSVM. Though the config variable was there we were always hardcoding to realhostip.com
Reviewed-by: Abhi
2013-06-12 11:51:45 +05:30
Nitin Mehta
d21e064724
CLOUDSTACK-2937
...
Scheduled snapshot events should be shown to users
2013-06-12 11:42:10 +05:30
Jayapal
358f3edc57
CLOUDSTACK-2609 Fixed accoundId, domainId for the secondary ip address for shared networks
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-12 10:32:04 +05:30
Min Chen
ec55c2e909
CS-17842: java.lang.NullPointerException seen when using
...
"updateTemplatePermission" with projectids parameter.
2013-06-11 17:07:26 -07:00
Likitha Shetty
7b63894a0a
CLOUDSTACK-2891. While adding a new vlan range if the new range extends an existing range then CS extends the existing range to include the new range.
...
This is done by checking if the last vlan in the new range is same as the start vlan of any existing range.
Since for a single vlan the start and the end vlan are the same the check goes to an infinite loop resulting in a java.lang.OutOfMemoryError: Java heap space error.
Remove the check for a single vlan because if an existing range starts with the single vlan then it implies that the range already exists
2013-06-11 12:08:05 +05:30
Min Chen
cc0de88088
Remove old DeleteTemplateCommand, DeleteVolumeCommand,
...
DeleteSnapshotBackupCommand, replaced by DeleteCommand.
2013-06-10 17:55:30 -07:00
Kelven Yang
923deba89b
Wire CreateSnapshotCmd with @Inject support in SnapshotSchedulerImpl
2013-06-10 17:52:14 -07:00
Wei Zhou
76ce304411
CLOUDSTACK-2707: use executeBatch instead of persist in Usage Server
2013-06-10 15:00:08 +02:00
Nitin Mehta
d8a235ee31
CLOUDSTACK-2923: Delete Secondary storage of a Zone was giving NPE bcz we were still refering to the object. Instead log that the cpvm and ssvm cant be created bcz sec storage is not available
2013-06-10 16:48:50 +05:30
Jayapal
c1ad3b7974
CLOUDSTACK-2604 Fixed deleting secondary ip when no PF rules set
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-10 12:13:08 +05:30
Likitha Shetty
22a8508280
CLOUDSTACK-2894. Removing all vlan ranges should update the vnet column to NULL.
2013-06-10 10:39:55 +05:30
Prachi Damle
8c9f681f9e
CLOUDSTACK-2350: Anti-Affinity - As admin user, when tryinto update the affinity group for a Vm that is deployed by a regular user , he is presented with admin's affinity groups.
...
Changes:
- listAffinityGroups API takes in accountname and domainId parameter
- For admin, listall=true should return all affinity groups of all users
2013-06-07 15:28:28 -07:00
Saksham Srivastava
5dc7387d3b
CLOUDSTACK-1647: IP Reservation should not happen if the guest-vm cidr and network cidr is not same but their start ip and end ip are same.
...
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-06-07 16:54:40 +05:30
Likitha Shetty
e7d5ccaada
Fix DB warnings - txn: Commit called when it is not a transaction: -NetworkServiceImpl.dedicateGuestVlanRange:3050
2013-06-07 12:12:18 +05:30
Sheng Yang
4a14ea8a4d
CLOUDSTACK-1771: Fix ipv6 address for router
...
Now it won't change(as ipv4 address) after router is destroyed.
2013-06-06 18:04:35 -07:00
Min Chen
66e702222d
Simplify various DeleteTemplateCommnad, DeleteVolumeCommand and
...
DeleteSnapshotBackupCommand to use one DeleteCommand, also provide
BaseImageStoreDriverImpl class for plugin to inherit to avoid code
duplication.
2013-06-06 18:00:38 -07:00
Alena Prokharchyk
f4a1a2ff38
Allow account to have multiple networks with customer defined cidrs as we already let it happen when the cidr is taken from the physical network config
2013-06-06 11:52:15 -07:00
Kishan Kavala
62e125c081
check for null ACL before creating ACL commands
2013-06-06 19:02:44 +05:30
Kishan Kavala
aa2fb31112
check for null protocol while validating ACL item
2013-06-06 19:02:44 +05:30
Wei Zhou
d2e6bf5fa4
CLOUDSTACK-2865: fix error in prepareStop
2013-06-05 16:43:31 +02:00
Alena Prokharchyk
54481d0b7b
listLoadBalancingRules: when list by networkId, no need to pass the dataCenterId to the call
2013-06-05 10:25:25 -07:00
Wei Zhou
1696e8cb16
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cloudstack
2013-06-05 14:29:06 +02:00
Wei Zhou
15265479f6
CLOUDSTACK-2856: collectVmDiskStatistics before reboot/stop/migrate
2013-06-05 14:28:43 +02:00
Devdeep Singh
5af702dd90
CLOUDSTACK-2737: findHostsForMigration is resulting in an exception when there are no suitable tagged storage pools. Instead of a foreach made changes to use a iterator in the loop to avoid ConcurrentModificationException as the host list is being updated inside the loop.
2013-06-05 17:41:01 +05:30
Murali Reddy
91b15711b6
CLOUDSTACK-2343: listGlobalLoadBalancerRules shouldn't list the
...
globalGSLBRules of other accounts
imposing ACL checks
2013-06-05 15:02:03 +05:30
SrikanteswaraRao Talluri
4da995238b
CLOUDSTACK-2783: FIXED listHypervisorCapabilities API response to include the following fields: 1. maxdatavolumes 2. maxhostspercluster 3. storagemotionenabled
2013-06-05 13:50:41 +05:30
Prasanna Santhanam
956a5967dd
Pulling out Network operations into a separate manager
...
Network operations like VM, host and storage are pulled into a separate
managaer for simulator.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-05 12:23:07 +05:30
Min Chen
e92cd6d632
Move data store specific extract volume logic from VolumeManager to data
...
store driver.
2013-06-04 13:54:14 -07:00
Alena Prokharchyk
95c9835f69
CLOUDSTACK-2817: set SearchBuilder with the "scheme" attribute
2013-06-04 13:45:54 -07:00
Min Chen
ef03d5a122
Move data store specific extract template/iso logic from
...
TemplateManager to data store driver.
2013-06-04 11:50:43 -07:00
Kishan Kavala
b5148af0c6
CLOUDSTACK-2809: Assign acl_id to VPC tier only when NetworkACL service is supported
2013-06-04 20:08:26 +05:30