Vijay
b10274efd9
CS-15866. Packaging AutoScale Vm Group as part of delete
...
load balancer rule.
ReviewedBy: Devdeep Singh
2012-08-08 17:44:28 +05:30
Koushik Das
a9c7ae2934
Fix CS-15621
...
Using migrateVolumes method which does not perform input validation. Some input validation in the migrateVolume method prevented migration of volume in READY state. Also using volume disk offering to check if it is a local or shared one.
Reviewed-by: Nitin
2012-08-08 16:53:38 +05:30
kishan
f57b242e1f
bug CS-15648: For volumes created from snapshot, create usage event after successful volume
...
status CS-15648: resolved fixed
reviewed-by: Nitin
2012-08-08 16:21:15 +05:30
kishan
23aa4bff69
bug CS-15221: Support multiple public interfaces
2012-08-08 13:42:14 +05:30
Sheng Yang
9898495974
S2S VPN: Fix multiply remote side guest networks
2012-08-07 18:34:41 -07:00
Prachi Damle
e59a2f2ef6
CS-14817 Intergrating External network service provider using pluggable interface - issue with CreateNetwork and UpdateNetwork
...
Changes:
- While checking if network has any external provider, we should consider all providers in the network. Not just F5, Juniper, Netscalar
2012-08-07 18:01:39 -07:00
Sheng Yang
a7342974b3
S2S VPN: Fix typo
2012-08-07 16:26:06 -07:00
Sheng Yang
20f4b6a386
CS-15243: Add service combination check at create network offering
2012-08-07 12:52:59 -07:00
Sheng Yang
acd9f4887f
S2S VPN: CS-15882: Only allow VPN connection between same account's gateways
2012-08-07 11:51:14 -07:00
Alena Prokharchyk
1cf91a8397
VPC: more unittests for VpcService
2012-08-07 11:01:43 -07:00
Jayapal
3455305f69
Fix: CS-15398 fix for basic zone dns issue in multiple pods
2012-08-07 16:16:24 +05:30
Likitha Shetty
0dd17697bb
CS-14796. deployVirtualMachine api, added a check to see if the userdata provided is base64 encoded.
...
Reviewed by: Prachi
2012-08-07 14:18:21 +05:30
Alena Prokharchyk
44ae760257
VPC: CS-15850 - don't unplug the nic for public network when there are existing ips in the same vlan having network rules
2012-08-06 17:37:16 -07:00
Alena Prokharchyk
08a1e93462
VPC: CS-15850 - don't unplug the nic for public network when there are existing ips in the same vlan having network rules
2012-08-06 16:31:32 -07:00
Alena Prokharchyk
ddb9e498f7
VPC: unittest preparation
2012-08-06 16:31:32 -07:00
Rajesh Battala
9317c888d6
CS-15778: Fetching thumbnail
2012-08-06 20:47:22 +05:30
Rajesh Battala
96826e5218
CS-15778: Fetching thumbnail
2012-08-06 20:31:00 +05:30
Koushik Das
f772c9aa99
Fix CS-15835
...
Using the disk offering associated with volume to determine the storage type
Reviewed-by: Nitin
2012-08-06 18:51:35 +05:30
Abhinandan Prateek
4146b4273d
bug CS-15859: put a check on volume limit
2012-08-06 17:50:29 +05:30
Koushik Das
32c577ef7d
Fix CS-15834
...
Added storage type in list disk offerings response
Reviewed-by: Abhi, Nitin
2012-08-06 15:24:01 +05:30
kishan
b87800c159
bug CS-15852: Added VPN network usage. Uses vpn mark 0x525 to match VPN packets
2012-08-06 03:19:58 +05:30
kishan
f3536fecc1
bug CS-15577: corrected regular router usage changes due to VPC usage addition
2012-08-05 23:51:09 +05:30
Rajesh Battala
ed6cd4f77e
CS-15779 - fixed composeThumbnailurl to send thumbnail request to ConsoleProxyAjaxImage Handler
2012-08-04 17:57:34 +05:30
Sheng Yang
7779097653
S2S VPN: CS-15642: Re-initiate the VPN connections after router reboot
2012-08-03 15:37:34 -07:00
Alena Prokharchyk
da9bd84e09
VPC: more validation for static route rules: 1) Can't belong to guest cidr defined on Vpc 2) Can't belong to link local cidr
2012-08-03 15:32:27 -07:00
Alena Prokharchyk
0b2b021f18
VPC: CS-15812 - fixed listVPCs by projectId
2012-08-03 14:08:26 -07:00
Vijayendra Bhamidipati
6dc833c771
CS-15217: Security: Malicious user is able to get the size of the cloud by enumerating IDs
...
Description:
Missed throwing exceptions at few places when making
changes previously. Commit includes whitespace corrections.
2012-08-03 13:24:18 -07:00
Alena Prokharchyk
a25cf5e08f
VPC: CS-15827 - register only VpcVirtualNetworkApplianceMgr
2012-08-03 11:47:50 -07:00
Nitin Mehta
a82ad3b3bc
bug CS-15200: Introducing state transition when volume is getting copied from secondary storage and it is put into Creating state
...
Reviewed-by: Kishan
2012-08-03 16:15:22 +05:30
Murali Reddy
f837a0431d
bug CS-15817 system VM's fail to create in basic zone with EIP/ELB network offering
...
removing the ActionEvent annotation on associate IP, acuquire IP methods
on internal methods, so that static NAT for system VM succeeds
2012-08-03 08:54:35 +05:30
Alena Prokharchyk
2cca73daef
VPC: applyStaticRoutes - don't exclude static routes in Revoke state
2012-08-02 18:42:35 -07:00
Sheng Yang
263ae86311
S2S VPN: CS-15820: Remove account information of vpn gateway and vpn connection
...
The owner would be always same as VPC owner.
2012-08-02 18:01:58 -07:00
Sheng Yang
d4ce07779f
S2S VPN: Allow name to be modified in updateCustomerGateway
2012-08-02 18:01:58 -07:00
Sheng Yang
0f603daff6
S2S VPN: CS-15472: Separate IKE lifetime and ESP lifetime
2012-08-02 18:01:58 -07:00
Alena Prokharchyk
863bce0171
VPC: createPrivateGateway - added cleanup part happening in case when the gateway fails to be applied on the backend
2012-08-02 17:57:43 -07:00
Alena Prokharchyk
967ff1141b
VPC: CS-15818 - don't allow having ICMP networkACLs with the same cidr and icmpType=-1 for rule1 and icmpType!=-1 for rule 2 as the rule1 covers rule2 in this case
2012-08-02 17:06:31 -07:00
prachi
102a563cdd
CS-12510: Deleting the host_details and inserting them back causes deadlocks.
...
Changes:
- 3.0.4 release has a patch where a unique key is added on host_details.
- But this key is not present in 3.0.4 GA
- So 3.0.5 upgrade has to consider both cases and add the key only if it does not exist in the 3.0.4 version.
2012-08-02 16:16:26 -07:00
Alena Prokharchyk
b526affe01
Revert "CS-15398: Fix for dns issue in multiple pods"
...
This reverts commit dd4e19c16f .
2012-08-02 15:53:31 -07:00
Alena Prokharchyk
b05e6ba959
listVirtualMachines: implemented search by templateId/isoId
2012-08-02 15:40:20 -07:00
Alena Prokharchyk
a3b00a7535
VPC: CS-15821 - corrected mac address format for vpc private network
2012-08-02 14:52:04 -07:00
Murali Reddy
f64a52a3f9
bug CS-15654 Restarting guest network fails with exception
...
in basic zone when NetScaler is providing EIP and ELB services, NetscalerElement should
have no action to take on implement and shutdown of the network
2012-08-02 18:51:42 +05:30
kishan
8c53b79cfe
bug CS-15577: Added per gateway network usage for VPC
2012-08-02 17:14:57 +05:30
Vijay
d027a0f705
CS-15781. AutoScale.
...
During update of Autoscale VM Group, the interval is
checked for validity against existing policies in the group as well.
2012-08-02 14:22:15 +05:30
Jayapal
dd4e19c16f
CS-15398: Fix for dns issue in multiple pods
2012-08-02 12:40:39 +05:30
Alena Prokharchyk
3e9eea42f0
VPC: CS-15813 - ICMP type and code validation
2012-08-01 19:49:45 -07:00
Alena Prokharchyk
f47d3f7b59
VPC: CS-15805 - verify vpc guest network cidr only against networks in the same vpc
2012-08-01 17:59:36 -07:00
Alena Prokharchyk
41655c0395
VPC: CS-15811 - removed Netscaler from the list of supported providers in VPC
2012-08-01 16:47:05 -07:00
Alena Prokharchyk
f80bfb35f5
VPC: CS-15798 - added vpc resource limit. Check vpc functional spec for more details:
...
http://wiki.cloudstack.org/display/RelOps/Inter-VLAN+Routing+functional+spec
2012-08-01 16:19:30 -07:00
Sheng Yang
4ddc002764
S2S VPN: CS-15810: Add check for customer gateway subnets / VPC CIDR overlap
2012-08-01 15:29:36 -07:00
Alena Prokharchyk
751ebce589
VPC: CS-15791 - allow having the same NetworkACL for 2 different protocols
2012-08-01 15:25:06 -07:00
Alena Prokharchyk
204b6e6ad9
VPC: add account/domain info to the API vpc response
2012-08-01 15:11:52 -07:00
Alena Prokharchyk
9630cf574f
Fixed numerous bugs in listNetworks call related to filtering by projectId/listAll/domainId/etc. All the rules below are followed now:
...
1) When account/domainId or projectId are passed in:
* list all account specific networks of the account/project
* list all domain level networks from the domainId + subdomains if the targeted network has allowSubdomainAccess = true
In other words, we use all the networks that can be used for vm deployment by account/domainId.
If listAll is not specified in the request, account/domainId are being defaulted to the account/domainId of the caller
listAll is ignored if the call is being done by the regular user.
2) listAll is passed in by the Root admin, we list:
* all Account specific networks in the system
* all domain specific networks in the system
3) listAll is passed by the Domain admin, we list:
* All Account specific networks belonging to domain/subdomains of the domain admin.
* All domain specific networks belonging to domain/subdomains of the domain admin
* All domain specific networks allowing subdomain access belonging to the parent domain.
4) domainId - can be passed either with or without listAll. We list:
* all account specific networks belonging to the domain
* all domain specific networks of the domain
* all domain specific networks of the subdomains if isRecursive = true is passed in
2012-08-01 14:47:50 -07:00
prachi
c55489224b
CS-12510: Deleting the host_details and inserting them back causes deadlocks.
...
Reviewed-By: Alex
Changes:
- Deleting and inserting the host_details in one transaction leads to this MySQL deadlock issue sometimes
- This fix is to use the ON DUPLICATE KEY UPDATE MySQL query that will insert the deatils if they are new or update the ones that are existing.
- This needs a UNIQUE constraint on host_details.
2012-08-01 14:38:24 -07:00
Nitin Mehta
7e1c434f20
bug CS-13935: correcting description for create.volume.from.snapshot.wait global setting
...
Reviewed-by: Kishan
2012-08-01 16:48:00 +05:30
Deepak Garg
3b3c62d5cc
CS-15744. Fixed the error message
2012-08-01 12:25:02 +05:30
Deepak Garg
cb0bcfa63a
CS-15745. Fixed the maxmembers variable
2012-08-01 12:20:16 +05:30
Vijay
a0d6dd4ad3
CS-15788 Update of AutoScale Vm Profile is failing when the vm group's state is in disabled state.
...
Corrected the check on path of updateAutoScaleVmProfile.
2012-08-01 08:24:53 +05:30
Alena Prokharchyk
21f2d1b779
VPC: moved vpc related code from NetworkManager to VpcManager
2012-07-31 16:58:14 -07:00
Alena Prokharchyk
6826dd16b5
VPC: reduced visability for some vpc related methods
2012-07-31 14:30:59 -07:00
Alena Prokharchyk
da8c8e9922
VPC: CS-15774 - VPC and guest networks of VPC should belong to the same zone
2012-07-31 10:37:47 -07:00
Alena Prokharchyk
e4eb0c3a1b
Fixed listNetworks to return domain level networks when listAll is passed to the request
2012-07-31 10:21:07 -07:00
Koushik Das
6bc1d1247a
Fix for CS-15631
...
Support for up to 16 VDIs per VM on XS 6.0 and above (16 VDIs => root + cd + 14 data volumes). Currently in CS number of data disk that can be attached to VM is hard-coded to 6. Made this setting configurable by moving it to hypervisor capabilities. Although XS 6.0 and above supports upto 16 VDIs but while testing on XS 6.0.2 found that only 13 data volumes can be attached to a VM. So for XS 6.0 and 6.0.2 max_data_volumes_limit is set to 13 currently.
Reviewed-by: Nitin
2012-07-31 19:13:05 +05:30
Murali Reddy
0aadda26e9
Bug CS-15639: Upgrade 2.2.14-> Burbank fails with db upgrade error " Exception while adding F5 load balancer due to..."
...
pushing changes commited for bug CS-15495 in 3.0.3 to 3.0.x branch
2012-07-31 18:11:28 +05:30
Deepak Garg
eae9ddfe1f
CS-15735 removed system vm ips from search builder
2012-07-31 14:46:31 +05:30
Sheng Yang
768be1a69b
S2S VPN: CS-15724: Show more parameter for listVpnCustomerGateways API
2012-07-30 15:48:31 -07:00
Sheng Yang
6948902b75
S2S VPN: CS-15748: Deleting customer vpn gateway when delete account
2012-07-30 15:16:17 -07:00
Alena Prokharchyk
ba2c05cc55
Allow EIP/ELB network creation only in Basic zone
2012-07-30 14:26:19 -07:00
Pranav Saxena
07344c7643
Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x
2012-07-31 02:06:04 +05:30
Pranav Saxena
2388bd8f82
CS-15044:API changes to provide UI option to view the list of instances which are part of the guestnetwork is not availble
2012-07-31 02:02:17 +05:30
Alena Prokharchyk
d467ff8a49
CS-15743: disable static nat as a part of network resources cleanup
2012-07-30 10:53:01 -07:00
Koushik Das
bb17d09e01
Support for local data disk (part 2)
...
- Zone level config to enable/disable local storage usage for service and disk offerings.
- Local storage gets discovered when a host is added/reconnected if zone level config is enabled. When disabled existing local storages are not removed but any new local storage is not added.
- Deploy VM command validates service and disk offerings based on local storage config.
- Upgrade uses the global config 'use.local.storage' to set the zone level config for local storage.
Reviewed-by: Abhi, Nitin
2012-07-30 13:59:14 +05:30
Likitha Shetty
ddcb3d7b30
CS-14770. ec2-run-instances and ec2-describe-instances don't return keypair information.
...
Changing CS deployVirtualMachine and listVirtualMachine api response to include ssh keypair information.
Component: AWSAPI.
2012-07-30 11:50:04 +05:30
Sheng Yang
65ef8b24c1
CS-15730: Prohibit create VPN connection from different gateway to same customer gateway
2012-07-27 17:41:22 -07:00
Vijayendra Bhamidipati
774e73dae3
Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x
2012-07-27 15:38:56 -07:00
Alena Prokharchyk
984f9290ae
CS-15717: fail to delete the network when corresponding network elements fail to be destroyed
2012-07-27 15:33:28 -07:00
Sheng Yang
e8dbac17f6
CS-15719: Fix state change when stopping
2012-07-27 15:31:52 -07:00
Sheng Yang
260422de07
CS-15704: Fix wrong domain id setting of non-root domain
2012-07-27 15:31:52 -07:00
Vijayendra Bhamidipati
b6e70f2281
CS-15217: Security: Malicious user is able to get the size of the cloud by enumerating IDs
...
Description:
New 3.0.x merge included a new instance of InvalidParameterValue exception
being raised. Fixing it.
2012-07-27 15:15:32 -07:00
Vijayendra Bhamidipati
b8211728e1
Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x
2012-07-27 15:11:14 -07:00
Vijayendra Bhamidipati
62c11df4e9
CS-15217: Security: Malicious user is able to get the size of the cloud by enumerating IDs
...
Description:
1) With this commit in the series for this bug,
removed all occurrances of db IDs being passed
when raising InvalidParameterValueException.
2) Renamed HyervisorTemplateAdapter.java to
HypervisorTemplateAdapter.java.
2012-07-27 15:08:48 -07:00
Alena Prokharchyk
c0b58130d3
VPC: CS-15725 - don't allow regular offering upgrade to the offering that can be used inside vpc only
2012-07-27 13:32:00 -07:00
Alena Prokharchyk
78a00c03e1
VPC: replaced vmTo object with vmName parameter in plug/unplugNic commands
2012-07-27 13:32:00 -07:00
Vijay
57b1783764
CS-15729. AutoScale. Default counter names are corrected to valid values without special characters
2012-07-27 21:00:03 +05:30
Sheng Yang
c971d3c2a6
CS-15697: Fix wrong class for finalizeStop()
2012-07-26 16:04:10 -07:00
Vijayendra Bhamidipati
1e9c5c54df
Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x
2012-07-26 18:27:55 -04:00
Alena Prokharchyk
ecd8450ab6
Added missing action events for enable/disable static nat
2012-07-26 15:26:53 -07:00
Vijayendra Bhamidipati
06e974ef92
Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x
2012-07-26 18:06:06 -04:00
Vijayendra Bhamidipati
2e18ffec20
CS-15217: Security: Malicious user is able to get the size of the cloud by enumerating IDs
...
Description:
Removing more DB IDs from exception messages.
2012-07-26 18:05:43 -04:00
Alena Prokharchyk
5eb87e99ff
VPC: added global configuration for limiting number of networks per vpc (vpc.max.networks)
2012-07-26 14:05:56 -07:00
prachi
5f433ff7bc
Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x
2012-07-26 11:37:36 -07:00
prachi
6fe394231b
CS-15299: Typo in use.external.dns setting description
...
Changes:
- fixed the typo in the setting description
2012-07-26 11:37:04 -07:00
Alena Prokharchyk
20b6b36302
VPC:
...
1) CS-15692 - ipAddress is always null for NetworkACL rule
2) CS-15699 - redundant router = true when provider is VirtualRouter
3) CS-15701 - fixed error message
2012-07-26 10:15:35 -07:00
Sheng Yang
cc35ea2be3
S2S VPN: CS-15650: Add connection status update to s2s vpn
2012-07-25 22:00:40 -07:00
Sheng Yang
517c9af7c9
S2S VPN: Add list function for normal users
2012-07-25 18:59:49 -07:00
Vijayendra Bhamidipati
3b13c47e38
Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x
2012-07-25 18:43:21 -04:00
Vijayendra Bhamidipati
a0fa53ecd8
CS-15217: Security: Malicious user is able to get the size of the cloud by enumerating IDs
...
Description:
Removing more DB IDs from exception messages.
2012-07-25 18:39:48 -04:00
Alena Prokharchyk
8cfc3c4775
Bug 14875: fixed listNetworks by domainId/aclType=Domain
2012-07-25 14:48:08 -07:00
Alena Prokharchyk
f6041de179
VPC: added vif info to ipassoc command
2012-07-25 13:03:40 -07:00
Vijay
d4e43846f8
AutoScale. Adding default counters
2012-07-25 18:17:32 +05:30
Koushik Das
266b8e5ee8
Support for local data disk (part 1)
...
Following changes are made:
- Create disk offering API now takes an extra parameter to denote storage type (local or shared). This is similar to storage type in service offering.
- Create/delete of data volume on local storage
- Attach/detach for local data volumes. Re-attach is allowed as long as vm host and data volume storage pool host is same.
- Migration of VM instance is not supported if it uses local root or data volumes.
- Migrate is not supported for local volumes.
Reviewed-by: Abhi
2012-07-25 15:16:42 +05:30