Commit Graph

5013 Commits

Author SHA1 Message Date
Nitin Mehta fc82d5fd64 bug CS-14156: While listing Pods Having Vms for an Account during userconcentratedpod_firstfit allocation look for starting and stopping states of vms as well.
Reviewed-by: Prachi
2012-06-06 22:06:45 +05:30
kishan f19d8d0084 bug CS-15221: Encrypt config value before changing category to Hidden. Regression due to af1fc1cf5d361cb6d43e0107a644c42f645a0ccc
status CS-15221: resolved fixed
reviewed-by: Nitin
2012-06-05 14:41:06 +05:30
Alena Prokharchyk 79cdb23301 CS-15220: fixed db upgrade for networks using external devices
Reviewed-by: Sheng Yang
2012-06-04 19:20:34 -07:00
frank 26fc280d7b CloudStack CS-15222
Rebalancing of hosts fails with "java.lang.ClassCastException:" since SSVM host gets picked up for rabalacing.

fixed
reviewed-by: edison
2012-06-04 18:22:46 -07:00
frank 2c0dd7dbaa CloudStack CS-15195
Multinode Management server - Not able to put the host in maintanace mode when the request is issed from the management server that is not the owner of the host

resolved fixed
reviewed-by: edison
2012-06-04 11:48:23 -07:00
Murali reddy e8531f5bf7 bug CS-15196: Upgrade Failed 2.2.14 -> Bonita CloudStack-tag-3.0.3-prerelease1-3.0.3-0.2549-rhel5 : Caused by: java.sql.SQLException:
status CS-15196: resolved fixed
Reviewed-by: Nitin
2012-06-04 22:38:17 +05:30
Kelven Yang 3d8a14fce6 bug CS-15191: remove a sanity check that prevent us from getting traffic lable under VMware
Reviewed-by: anthony
2012-06-01 10:34:17 -07:00
sateesh 3f9180d13e CS-14938 Trying to detect the traffic label for public network while adding Cluster with Nexus Vswitch in Basic Zone network
Status CS-14938: resolved fixed
Reviewed-by: Devdeep
2012-06-01 15:20:28 +05:30
Vijayendra Bhamidipati 7065c17910 CS-15173: Additional Cluster is allowed to add with the same VSM IPaddress as the previous cluster
reviewed-by: Sateesh
Description:

	Missed deletion of cluster record in case of failure in
	validation of vsm:cluster mapping restriction.
2012-05-31 23:46:35 -07:00
Vijayendra Bhamidipati 00dfebf26c CS-15173: Additional Cluster is allowed to add with the same VSM IPaddress as the previous cluster
reviewed-by: Vijay
Description:

	Fixing null pointer exception introduced by previous
	checkin.
2012-05-31 17:32:49 -07:00
Vijayendra Bhamidipati ea23f52003 CS-15173: Additional Cluster is allowed to add with the same VSM IPaddress as the previous cluster
reviewed-by: Vijay
Description:

	Restricting association of a Cisco Nexus VSM to a single
	cluster.
2012-05-31 13:49:48 -07:00
Kelven Yang 0b210f0602 CS-15080: VMware control network is CloudStack management network, correct the way to send down a correct traffic label to VMware resource
Reviewed-by: Anthony
2012-05-31 11:32:23 -07:00
Murali reddy 5ffaac9c4c bug CS-15144: Upgrade 3.0.1 -> Bonita 3.0.3 with F5 and SRX devices failed
status CS-15144: resolved fixed
reviewed-by: Murali
2012-05-31 20:11:11 +05:30
kishan 0a4f635d88 bug CS-15168: Use cagetory from DB instead of Config.java, set category to Hidden during upgrade if they are not already
status CS-15168: resolved fixed
reviewed-by: Nitin
2012-05-31 14:34:41 +05:30
prachi 5bb3257719 CS-14156: Handle UserConcentratedPod for DOMR creation
Reviewed-By: Alena

Changes:
- corrected the account being set in vmProfile as owner of the VM.
- It was set to the caller of the start Vm method. However in case of routers, the caller account is System account while the router owner is the network owner account.
2012-05-30 15:45:08 -07:00
prachi 13faf93287 CS-13944 : 2.2.x - 3.0 db upgrade for multiple physical networks
Reviewed-By: Alena

Changes:
- need to add physical network referrence to public vlan entries.
2012-05-29 17:03:38 -07:00
Sateesh Chodapuneedi 9ef5a2767d CS-14956 Support for rate limiting policies in Nexus dvSwith feature for CloudStack
Removed global parameters that are not required. Cleanup.
Reviewed-by: Devdeep
2012-05-26 05:28:17 +05:30
Kelven Yang f6d7c96e7d bug 15080: check traffic type in host discovery stage - cluster level checks
Reviewed-by: Anthony
2012-05-25 10:56:06 -07:00
Kelven Yang 95766bef1d bug : CS-15080 - check traffic label at host discovery stage also
Reviewed-by: anthony
2012-05-25 10:56:05 -07:00
Alena Prokharchyk 5d888a44ba CS-15082: changed search criteria for Running vms in Network. Ip4 Address for guest network can be null for nic in Basic zone when vm originally fails to start.
Reviewed-by: Frank
2012-05-25 10:19:32 -07:00
Vijayendra Bhamidipati d584018d32 CS-9919: Support for Nexus Swiches (Cisco Vswitches)
reviewed-by: vijay
Description:

	Incorporating Salvatore's review comments.
2012-05-25 09:44:43 -07:00
Nitin Mehta a268af4298 bug CS-14945: Throw an error message if the user is trying to attach the volume in local only storage zone.
Reviewed-by: Kishan
2012-05-25 18:49:53 +05:30
Vijayendra Bhamidipati f16bd16077 CS-9919: Support for Nexus Swiches (Cisco Vswitches)
reviewed-by: Vijay

Description:

	Deleting the row in cluster_vsm_map after
	a cluster is deleted, if the cluster type
	is vmware and the global vswitch nexus
	config flag is set to true.
2012-05-24 13:58:44 -07:00
Alena Prokharchyk 6875c7125c CS-15083: fixed source nat ip assoc for the case when account owns more than 1 guest network, and 1+ public account specific ranges
reviewed-by: Frank Zhang
2012-05-24 13:41:29 -07:00
Alena Prokharchyk 59a4758237 CS-15082: don't allow to remove guest network in Basic zone when there are non-expunged CPVM/SSVMs using it.
reviewed-by: Edison Xu
2012-05-24 11:45:28 -07:00
Vijayendra Bhamidipati 023dd8d57c CS-9919: Support for Nexus Swiches (Cisco Vswitches)
reviewed-by: Devdeep
Description:

	Incorporating more changes from Alena's review.

	Modified the Nexus Enable and Disable commands
	to return CiscoNexusVSMResponse instead of
	SuccessResponse.

	Put event annotations for enable/disable functions
	that the enable/disable nexus commands cal into.
2012-05-23 18:35:59 -07:00
Vijayendra Bhamidipati b5b309d6ee CS-9919: Support for Nexus Swiches (Cisco Vswitches)
reviewed-by: Devdeep
Description:

	Removed the vcenter_dc_name and vcenter_ipaddr
	fields from the virtual_supervisor_module
	table, the CiscoNexusVSMDeviceVO, addClusterCmd,
	and all other references to these two fields.

	Fixing null pointer exceptions when checking
	for nexus related global parameter values in
	addClusterCmd.
2012-05-23 16:44:50 -07:00
Sateesh Chodapuneedi a387e0c77d CS-9919: Support for Nexus Swiches (Cisco Vswitches)
reviewed-by: Devdeep

Updating the checks for VSM parameter validation while adding cluster.
2012-05-23 23:53:03 +05:30
Vijayendra Bhamidipati 3ffb109b5e CS-9919: Support for Nexus Swiches (Cisco Vswitches)
reviewed-by: Devdeep

Description:

	Modifying column names in db tables to
	adhere to naming conventions.
2012-05-23 23:37:42 +05:30
Vijayendra Bhamidipati 42901e5a6e CS-15055: DB exception when creating n1kv VSM when adding a cluster via the latest management server GUI.
reviewed-by: sateesh

Description:

	Missed a check for Null pointer.
2012-05-23 23:35:01 +05:30
Vijayendra Bhamidipati 07f0e549c4 CS-15055: DB exception when creating n1kv VSM when adding a cluster via the latest management server GUI.
reviewed-by: sateesh

Description:

	Adding an optional flag to the addCluster command,
	"addvsmflag". If this is set to true, the API will
	throw an exception if any VSM parameter is missed
	out. The above bug was running into a DB exception
	because the vCenter ipaddress wasn't passed in and
	the API didn't catch it.
2012-05-23 23:33:49 +05:30
Vijayendra Bhamidipati e90e5e9c8c Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-05-22 17:25:51 -07:00
Vijayendra Bhamidipati f3647ff0b5 CS-9919: Support for Nexus Swiches (Cisco Vswitches)
Description:

	Incorporating more changes post review by Alena.

	1. Renamed the ListCiscoVSMDetailsCmd command
	   to ListCiscoNexusVSMsCmd. The command will
	   return a list of VSMs always, depending on
	   what parameter is passed to it. If a clusterId
	   is passed to it, it will return the VSM
	   associated to that cluster, if present. If
	   a zoneId is passed in, it will return a list
	   of all VSMs configured for any clusters of
	   type VMware within that zone. If neither is
	   passed, it will return a list of all VSMs
	   configured in the management server. If no
	   VSMs are found, it will return an exception
	   response.

	2. Cleaned up miscellaneous code.
2012-05-22 17:22:29 -07:00
Murali reddy 895c361dca bug CS-13897: DB upgrade for external Firewall/external LB devices
status CS-13897: resolved fixed
2012-05-22 20:31:22 +05:30
Vijayendra Bhamidipati 960d92dccf CS-9919: Support for Nexus Swiches (Cisco Vswitches)
Description:

	More changes incorporating Alena's review comments:

	  1. Changed id to clusterId for better naming.

	  2. Changed the name of GetCiscoVSMByClusterIdCmd
	     to ListCiscoVSMDetailsCmd.

	  3. Removed the GetCiscoVSMDetailsCmd command.

	  4. Removed catch{} blocks in each of the Nexus
	     related APIs since the exceptions raised in
	     the API implementations will be caught in the
   	     command dispatcher.

	  5. Added ActionEvent annotation to
	     deleteCiscoNexusVSM() function.

	  6. Modified each Nexus API command's
	     getEntityOwnerId() to return
	     Account.ACCOUNT_ID_SYSTEM.
2012-05-21 21:10:56 -07:00
Vijayendra Bhamidipati a1eba25802 CS-9919: Support for Nexus Swiches (Cisco Vswitches)
Description:

	Putting in code changes as per Alena's reviews:

	  Replaced references to CiscoNexusVSMDeviceVO
	  in GetCiscoVSMByClusterIdCmd to work with an
	  interface that CiscoNexusVSMDeviceVO instead,
	  since VO objects should not be directly accessed
	  in APIs.

	  Made associated changes in other files.

	More commits incorporating Alena's review comments
	will follow.
2012-05-21 19:16:00 -07:00
Vijayendra Bhamidipati 704683d1f0 Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-05-21 16:50:40 -07:00
Vijayendra Bhamidipati 02d95e2b97 CS-9919: Support for Nexus Swiches (Cisco Vswitches)
Description:

	Removing two unexposed APIs that we never use:
		ConfigureCiscoNexusVSMCmd
		ListCiscoNexusVSMCmd

	More changes to follow.
2012-05-21 16:49:11 -07:00
Alena Prokharchyk 0e306c9a05 CS-15025
listTemplates: made executable filters to work for regular user
2012-05-21 15:37:37 -07:00
anthony 74addad480 CS 14006: log fix 2012-05-21 11:45:42 -07:00
Murali reddy 135431d727 bug CS-14862: EIP/ELB - SSVM and CPVM should be given an ip address from the public ip address range.
With this fix  both SSVM and CPVM will get public IP's in case of basic zone with EIP service.
A static NAT rule is implicitly configured on the EIP service provider to map public IP to a
guest IP address associated with SSVM/CPVM
2012-05-21 20:08:46 +05:30
Nitin Mehta d310b7fa0a bug CS-14945:
UploadVolume API is async now with the guidance for all the new apis added in 3.0.x need to be async. Though the success/failure wont be available through the queryAsync job which will report only the initial validation success or failure. The success or failure and the progress will all be available through listVolumes api.
2012-05-21 14:18:02 +05:30
Vijayendra Bhamidipati 3a39913fe1 CS-9919 Support for Nexus Swiches (Cisco Vswitches)
Description:

	Modified the following commands to be Async:
		a. EnableCiscoNexusVSM
		b. DisableCiscoNexusVSM
		c. DeleteCiscoNexusVSM

	Cleaned up miscellaneous code.
2012-05-18 17:32:17 -07:00
Alena Prokharchyk e5bfa22944 CS-14894: listTemplates - return hypervisor type to everybody 2012-05-18 12:46:32 -07:00
Nitin Mehta 4b0ae1252d bug CS-14957: Return hypervisor type for uploaded volume 2012-05-17 19:38:49 +05:30
Vijayendra Bhamidipati 74b105b9d2 CS-9919 Support for Nexus Swiches (Cisco Vswitches)
Description:

	Didn't stage all modified files in previous
	commit by mistake. Checking in the rest of
	the changes in this commit. Please refer to
	immediate previous commit for CS-9919 for
	details on what changes went in with this
	commit.
2012-05-16 19:51:28 -07:00
Vijayendra Bhamidipati 9cdba91bd1 CS-9919 Support for Nexus Swiches (Cisco Vswitches)
Description:

	Removed the AddCiscoNexusVSMCmd command, and all
	references to it. From now on, we shall support
	adding a Nexus VSM only when the cluster is being
	created. The VSM ipaddress, username, password,
	the vCenter DC Name and vCenter Ipaddress that it
	serves and connects to respectively can be passed
	to the addClusterCmd command optionally. To support
	these new parameters, parameters have been added
	to the addClusterCmd command.

	Added a debug statement in the code that runs checks
	when attempting to delete a VSM.
2012-05-16 19:51:18 -07:00
Vijayendra Bhamidipati 1b36020873 CS-9919 Support for Nexus Swiches (Cisco Vswitches)
Description:

	Added a new API GetCiscoVSMDetailsCmd. This
	API gets all details of a VSM when provided
	with the VSM ID.

Resolved Conflicts:

	client/tomcatconf/cisconexusvsm_commands.properties.in
2012-05-16 18:06:50 -07:00
anthony 03028c4086 CS-14237 GC commands only sent to UP host
resolved fixed
2012-05-16 17:21:08 -07:00
Kelven Yang 72bf0c46fa Support console access through rebooting with XAPI session re-negotiation 2012-05-16 16:57:48 -07:00