Commit Graph

1183 Commits

Author SHA1 Message Date
Salvatore Orlando 8c398654d3 Open vSwitch tunnel manager
Applying patch with new ovs-tunnel-manager on top of cloudstack oss-master

Conflicts:

	api/src/com/cloud/network/ovs/OvsCreateTunnelAnswer.java
2012-04-24 02:20:37 +01:00
Nitin Mehta 9f63a3d2bb bug CS-14530: Whenver adding a new capacity check the state of the resource - if its disabled/enabled.
Reviewed By: Kishan
2012-04-20 10:56:27 +05:30
Abhi 6179fb38fb adding support for NetworkUsageCommand for XCP 2012-04-18 14:50:38 +05:30
anthony 22379f21d7 bug : 14543
XenServer doesn't need to provide gateway
2012-04-17 16:11:59 -07:00
Murali reddy e0e721d76a bug CS-14458: NetScaler SDX support in CloudStack only work with 10 gig interface
This fix will ensure both 10gig and 1 gig interfaces of NetScaler SDX are supported
2012-04-17 14:13:54 +05:30
anthony cac44f799d correct template name for CentOS 6.0 2012-04-13 15:12:37 -07:00
Abhi d954bf9907 bug CS-14389: removing duplicates 2012-04-11 16:58:37 +05:30
Abhi 063fabb268 adding missing os types for xen 6 2012-04-11 15:44:04 +05:30
Rajesh Battala f34c84c68f Xenserver Secure Console Proxy Phase I 2012-04-10 16:00:46 -07:00
Alena Prokharchyk d3bca8df8f bug 14615: deployVm can work 2 diff ways now: 1) Default way - create and start the vm. 2) Create the vm without starting it. Note that vm's volumes stay in Allocated state -not created on the backend till the point where vm starts
status 14615: resolved fixed
2012-04-06 11:30:26 -07:00
Alena Prokharchyk 0bd655f79b bug 14539: 1) introduced 2 new config parameters defining default offerings for ssvm and cpvm - consoleproxy.service.offering and secstorage.service.offering
2) Added new api - changeServiceForSystemVm - to support service offering upgrade for system vms
3) Removed global config parameters that are not in use anymore: consoleproxy.ram.size, consoleproxy.cpu.mhz, secstorage.vm.ram.size, secstorage.vm.cpu.mhz
2012-04-03 10:51:35 -07:00
frank 72d284de7d Switch to Apache license 2012-04-03 04:54:14 -07:00
Alena Prokharchyk 36b670c7a4 bug 14555: use hostName in toString() method of vmVO
status 14555: resolved fixed
2012-03-30 13:35:55 -07:00
Murali reddy 192e820df5 bug 14554: Failed to add Usage Filter on SRX during SetStaticNatRulesCommand Execution
status 14554: resolved fixed
reviewed-by: Janardhan
2012-03-30 16:34:53 +05:30
Kelven Yang f7f512c32b bug 14491: use template unique name instead of self-generated UUID name. Reviewed-By: Kelven(with test) 2012-03-28 14:12:35 -07:00
Kelven Yang 271bd15172 Console proxy refactoring incremental check-in - new VNC protocol implementation
Reviewed-By: Kelven
2012-03-27 15:06:46 -07:00
Murali reddy 47496f61f6 bug 14463: Failed to Deploy VM due to failure in creation of guest VLAN on SRX
status 14463; resolved fixed

moved all static (config related) variables to non-static in SRX server resource as we can have more than
one SRX device in a zone
2012-03-26 17:17:21 +05:30
Murali reddy 883e2cf830 Revert "bug 14463: Failed to Deploy VM due to failure in creation of guest VLAN on SRX"
This reverts commit c9be61adcb.
2012-03-26 15:44:20 +05:30
Murali reddy c9be61adcb bug 14463: Failed to Deploy VM due to failure in creation of guest VLAN on SRX
status 14463: resolved fixed
reviewed-by: Janardhana.Reddy@citrix.com
2012-03-26 15:05:02 +05:30
Nitin Mehta 277c0c8bca Bug 14490: Fix NPE in ListCapacity 2012-03-24 16:32:48 +05:30
Abhi 7acd080a03 bug 14135: mapping windows 2003 os types to xen templates 2012-03-22 17:18:38 +05:30
Kelven Yang faa03175ee Bug 14213: use UUID name in secondary storage for templates. Reviewed-By: edison 2012-03-21 16:45:30 -07:00
kishan b4b05515e2 bug 14409: VMware, create network_stats iptables rule while creating router
status 14409: resolved fixed
2012-03-21 17:27:46 +05:30
Murali reddy beb6599f02 bug 14016:When a Vm gets deleted from a LB rule , it also gets deleted from other LB rules which is pointing to the same private port.
status 14016: resolved fixed
2012-03-20 19:26:07 +05:30
frank d35a9dde95 Bug 14189 - multiple physical nw - SSVM fail to download guest templates from storage server which is in isolated network only accessible by host's bridge
if storage network is present, don't set route through private ip when adding internal download site

status 14189: resovled fixed
2012-03-16 14:48:56 -07:00
Sheng Yang e8c27c1978 bug 14215: Fix SSVM on Xen kernel panic due to "too many env var"
Just add different delimitor for VM and extract them from cmdline later.

status 14215: resolved fixed
2012-03-16 14:45:30 -07:00
Sheng Yang 96518ecaf3 Add missing annotation 2012-03-12 17:10:41 -07:00
Kelven Yang dd5123b8ba bug 13989: correct the usage about the control IP in VMware resource, new command like GetDomRVersion command is not using the right control IP address under basic zone mode. Reviewed-By: Anthony 2012-02-27 15:59:15 -08:00
anthony ffe962604f bug 13955: increase the retry time for checkssh
status 13955: resolved fixed

reviewed-by : edison
2012-02-24 15:58:28 -08:00
Kelven Yang 01a3a6ba58 bug 13987: a regression was caused by typo. Reviewed-By:Anthony 2012-02-24 13:30:31 -08:00
Alena Prokharchyk 27705a129c bug 13961: always return NetworkUsageAnswer from the networkUsageCommand
status 13961: resolved fixed
Reviewed-by: Alex Huang
2012-02-23 11:15:24 -08:00
Murali reddy 6b03e9ca58 bug 13855: F5 - Hold time paramS for sticky policies are not getting programmed in F5
Reviewed-by:Sam
status 13855: resolved fixed

  - configuring unique persistence profile for each LB rule with sticky method applied
  - removing source based sticky method for source based LB method which is not supported by F5
2012-02-22 08:18:57 +05:30
Alena Prokharchyk 12aade4dc7 Changed isElastic to isSystem for the publicIpAddress assigned during the vm deployment in EIP enabled network
Reviewed-by: Chiradeep
2012-02-21 15:38:31 -08:00
Kelven Yang 2bb15e259e bug 13808: unpack OVA if OVF file does not exist (don't rely on template installation script to unpack it for us). Reviewed-By: Edison 2012-02-21 13:21:03 -08:00
kishan 04341c0839 Bug 13619: Throw exception when not traffic sentinel host is not available. Update last_collection timestamp when atleast 1 IP has nonzero bytes
Status 13619: resolved fixed
Reviewed-By: Nitin
2012-02-21 23:39:51 +05:30
Murali reddy f016acdcd5 bug 13872: Implementation of Guest Network by JuniperSRX failed: NPE during the execution of IPAssoc
Reviewed-by: Jana
status 13872: resolved fixed
2012-02-20 18:12:12 +05:30
frank e7a445d268 Bug 13568 - secondary storage VM's static route for nfs server breaks things!
status 13568: resolved fixed
reviewed-by: Sheng Yang
2012-02-17 16:19:38 -08:00
kishan aec1204eb2 Bug 13741: Added new Config category Secure. Any config in secure category will encrypted along with the Hidden category configs
Status 13741: resolved fixed
Reviewed-By: Nitin
2012-02-17 17:35:59 +05:30
kishan e8bee34179 Bug 12954: Added usage for security groups. Usage will be generated for each security group that is assigned to a Vm.
Status 12954: resolved fixed
Reviewed-By: Nitin
2012-02-17 17:35:59 +05:30
Murali reddy 3438e506b6 bug 13626: Able to add a F5 device successfully even when invalid username/password was provided
Reviewed-By:nitin.mehta@citrix.com
status 13626: resolved fixed

added a fake call during to login to force validate the credentails
2012-02-15 17:34:23 +05:30
Nitin Mehta 67d91cef5d Bug 13684: Remove .vhd that we were appending for backupSnapshot UUID and keep it only in teh case of swift.
Reviewed-By: Kishan
2012-02-15 14:06:54 +05:30
Kelven Yang 72cc472222 bug 13537: use --no-same-owner when we untar OVA file to work with NFSv4. Reviewed-By: Anthony 2012-02-14 11:49:24 -08:00
Murali reddy 6e2aee8320 bug 13570: vmware cant find vmroot disk because the uuid gets truncated and cloudstack cant reference
truncating template name to 32 chars so they work well with vSphere API
2012-02-10 17:00:20 +05:30
Nitin Mehta 680ab2f908 Bug 13059: Using Float instead of float for percentage.
Reviewed-By: Kishan
2012-02-10 11:11:47 +05:30
Edison Su 498d57fa3d fix upgrade 2012-02-09 14:56:41 -08:00
Edison Su 1ab89dd436 add cert chain in db, and also open the api to upload a cert chain 2012-02-09 14:56:40 -08:00
frank aa9d250280 port copy template fix to acton 2012-02-09 14:19:08 -08:00
Murali reddy a4c891d002 bug 13492: vmware:Template sizes are incorrectly reported
status 13492: resolved fixed
reviewed-by: Nitin

virtual size of the private templated from size mentioned in the OVF file
2012-02-09 21:07:47 +05:30
Sheng Yang b97914cc8a bug 13475: Fix invalid char in the gson string
Thanks fix provided by Frank. The reason is some invalid char in the json
message result in json parsing chaos.

status 13475: resolved fixed
2012-02-08 15:54:09 -08:00
Naredula Janardhana Reddy 31fe8bd815 Summary of HAProxy stickines param changes:
- converted all mandatory params to optional, and internally fill with default value before sending to haproxy. default value is available through description.
  - accept holdtime without units.
2012-02-08 14:56:41 +05:30
prachi dbe2305352 Bug 13099 table physical-network-traffic-types needs to be updated when xen network device setting is modified in the global settings
Changes:
- We do not need these global setting anymore. These will be hidden since 3.0
- The default traffic label will be picked from the global setting which is null by default. When traffic label is null it means the resource uses tag on the default gateway
- Changes to invoke discoverer to reload the resource object on host connection
- Since a zone can have many physical networks, there can be multiple guest, public networks. Only the zone wide storage and management traffic label will be stored in host_details henceforth.
- If traffic labels are updated, discoverer should update the host_details
2012-02-07 18:41:23 -08:00
Nitin Mehta ce26703e5c Bug 13059: Make DB changes to list top consumed resources for enabled resources only. For this introdiuced a new state called capacity state in the op_host_capacity table and would be updated on every operation of zone pod cluster and host
Reviewed-By: Kishan
2012-02-07 20:53:25 +05:30
Murali reddy 7add26e5db bug 12432: Netscaler-Inspite of Network creation failing to implement guest Vlan , subsequent Vm creation succeeds.
status 12432: resolved fixed
2012-02-07 16:51:24 +05:30
abhi 93a67de978 bug 13473: fixed the concurrent access to vms hashmap 2012-02-07 07:59:22 +05:30
Nitin Mehta 93b8178f19 Bug 13059: Introduce a new api to list top consumed resources in cloudstack.
Reviewed-By: Kishan
2012-02-06 20:32:40 +05:30
abhi 59c7150af7 bug 13439: full sync at management server restart, disabling hourly sync 2012-02-06 15:01:44 +05:30
anthony cdc7c4083c bug 12844 : use plugin echo main to test if master can connect to slave
status 12844: resolved fixed

reviewed-by : edison
2012-02-03 15:54:38 -08:00
anthony 6d0bb6d585 Revert "bug 13379: throw exception, if master cannot connect to slave"
This reverts commit 01768176fcd4b0dfe72baf16039e073d18344578.
2012-02-03 15:54:38 -08:00
Alena Prokharchyk 1490e45a1c Fixed format style in a bunch of files (replaced tabs with spaces as a part of it) 2012-02-03 13:49:11 -08:00
Murali reddy 47a6f74f6f bug 13191 : on account deletion gracefully cleanup all the resources configured on the NetScaler device
status 13191: resolved fixed
2012-02-03 20:59:10 +05:30
kishan a388ed792f Bug 13326: Added is_elastic flag to IP address usage. Added new column in usage_ip_address, defaults to false. size column will contain is_elastic info in cloud_usage table
Status 13326: resolved fixed
Reviewed-By: Nitin
2012-02-03 18:01:30 +05:30
Murali reddy b70f74088c bug 12880 : NetScaler sticky session support does not work for "lbcookie" and "appcookie"
status 12880: resolved fixed
2012-02-03 17:27:15 +05:30
Murali reddy cf75552186 bug 13146: Netscaler - Editing the algorithm from "source" to "roundrobin" fails
status 13146: resolved fixed
2012-02-02 18:05:57 +05:30
abhi 1beab0be32 bug 12849: applying vm sync fence fix/cleanup to master 2012-02-02 11:15:14 +05:30
Kelven Yang 1658a75a72 Prepare network environment before relocating VM 2012-02-01 15:47:49 -08:00
Kelven Yang dcee71e923 Prepare secondary storage in migration target host before migration happens, unlike primary storage, secondary storage is prepared on-demand 2012-02-01 15:20:59 -08:00
Naredula Janardhana Reddy aea81205ef Bug 11845:
Summary of Changes:
    - created a generic way for LB rule validations, so as LB device(like Haproxy) specific validations can be done syncronously.
    - Removed asyncronous validations from Haproxy and done syncronously.
2012-02-01 18:01:11 +05:30
Naredula Janardhana Reddy 72fb7256d7 Bug 13297,13375,12705 :
Summary of changes :
        - Added a new flag -s to ipassoc command to carry if the ip address is
used for SNAT or not.
        - SNAT is completly decoupled from the first flag. first flag is used
to decide if the ip address is first ip address of the interface.
        - -s and -f are independent, SNAT can be enabled on the non-first ip
also.
2012-02-01 12:39:10 +05:30
Kelven Yang ac08f53d14 bug 10355: let detachIso failure message be bubbled up 2012-01-31 18:03:43 -08:00
Kelven Yang a81db8a100 rootDiskController option should only be applied to root volumes 2012-01-31 16:47:13 -08:00
Murali reddy 73aa18eac9 bug 13332: Not able to access Lb rules created on VPX instances ( that were created by SDX)
Reviewed-by:Prasanna.Santhanam@citrix.com
status 13332: resolved fixed

fixing the regression because of the fix done for NetScaler in basic zone deployment. ELB does
not need USIP to be set as 0.0.0.0/0 port ingress security group rule need to be configured
2012-01-31 11:54:16 +05:30
Murali reddy a3bbda8075 bug 13276: Static NAT on Elastic Ip does not respect the Ingress rules that are set on the VM
Reviewed-by:Prasanna.Santhanam@citrix.com

This fix configures Inat and LB rules on the NetScaler device to send the source IP recived on the packets
as is, so that security groups configured can take affect
2012-01-31 11:53:57 +05:30
anthony bb84435008 bug 13379: throw exception, if master cannot connect to slave
status 13379: resolved fixed
2012-01-30 16:49:24 -08:00
Kelven Yang cb959aa377 bug 13369: recycle roger hung worker VMs in vCenter 2012-01-30 14:21:56 -08:00
Kelven Yang 0f333a5124 Let system VM still use the old naming convention for host names 2012-01-27 09:59:52 -08:00
Edison Su 5e2f02fdd5 bug 13315: add httpproxy support in ssvm, only basic auth. User can add secstorage.proxy = http://username:password@hostname:port
status 13315: resolved fixed
2012-01-26 18:46:44 -08:00
anthony 110f4331f8 bug 13086: remove host tag from VDI after rset_power a VM
status 13086: resolved fixed
2012-01-26 17:45:32 -08:00
prachi e48e7226bd Bug 13239 - java.lang.NullPointerException seen in management server logs when netscaler instance is unreachable whenever network usage thread is executed
Changes:
- Added Null check for lbvserver
- Need not process the usage answer when we get some error.
2012-01-26 16:40:16 -08:00
Kelven Yang c1fb754de7 VM display name can be NULL in schema, leave it as NULL instead of empty string when user does not provide a optional VM display name 2012-01-26 11:30:40 -08:00
anthony 27c59872a3 remove host.enable from XenServerConnectionPool 2012-01-25 17:51:15 -08:00
Kelven Yang 8083b29235 bug 13306: remove sensive DB id info from VM display name 2012-01-25 17:16:21 -08:00
Kelven Yang ff5153f2e8 relax the host/VM relationship check, IPAssoc command may be sent to a wrong host when domR is taken over from other host 2012-01-25 14:19:53 -08:00
Kelven Yang b07fc6b5f8 bug 12957: sort disk by device id to make sure ROOT disk is configured at very first 2012-01-25 11:53:44 -08:00
anthony e468755964 remove fake PV logic, all VMs need to install xs-tools 2012-01-25 10:36:11 -08:00
Naredula Janardhana Reddy 5ca5851b1b Bug 12808:
Summary of changes:
  - Mutiple routing table for each public interface is added (previously there is only one routing table ). when the packet is send out of public interface corresponding per-interface routing table will be used. per-interface routing table will modified when ever ip/interface added/deleted.
  - New parameter is added to ipassoc command  to include the default gateway for every interface/ip. prevously it is using only one public interface to send out, default gateway is obtained at the boot up time.
  - In the DNAT case. In the revese path(from guest vm to outside, or when DNAT packet receives from the eth0) the public ip/source ip will not be available till POSTROUTING. to overcome this, DNAT connection are marked with routing table number at the time of connection creation, in the reverse path the routing table# from DNAT connection is used to detect per-interface routing table.
2012-01-25 12:54:00 +05:30
Sam Robertson 7fb6a695c1 Bug 11860: combining 32 bit signed values into a 64 bit value had errors. This should correct that 2012-01-23 01:30:15 -08:00
Kelven Yang 1056afbbcf bug 13225: setup firewall rules for all ESX/ESXi hosts under a cluster as worker VM may be created at any host available, also add connect retry when work with vCenter and ESX/ESXi hosts 2012-01-20 17:58:54 -08:00
anthony 86aef08865 cleanup snapshot in secondary storage in background
Conflicts:

	core/src/com/cloud/storage/resource/NfsSecondaryStorageResource.java
	server/src/com/cloud/storage/StorageManager.java
	server/src/com/cloud/storage/StorageManagerImpl.java
2012-01-19 20:44:44 -08:00
Murali reddy 40ac2f5cdf bug 12826: enable NetScaler in basic zone for load balancing and static NAT
status 12826: resolved fixed
2012-01-19 14:00:07 -08:00
Abhinandan Prateek c13c4b12a4 bug 12875: vm-sunc syncronizing on cluster ids 2012-01-16 15:11:06 +05:30
Sam Robertson 20959ae989 Bug 13082 - Refreshing srx connection on every synchronized command 2012-01-16 00:33:13 -08:00
Kelven Yang b1376e1f04 bug 13021: add a global configuration variable to let control default network adapter type inside system VMs 2012-01-12 14:21:11 -08:00
kishan b589e49263 Bug 12929: Added domain_id to event table. Populate domain_id while persisting events. Cleanedup EventUtils.
Status 12929: resolved fixed
Reviewed-By: Nitin
2012-01-12 16:16:06 +05:30
Sam Robertson 4edeb0cfec Updating srx resource to make sure it logs into the srx after establishing a connection 2012-01-11 18:43:01 -08:00
Edison Su 0fac4a2bb1 bug 10380: after finishing download template, caculate checksum and report to mgt server
status 10380: resolved fixed
2012-01-11 15:05:52 -08:00
Sheng Yang 804cfaec46 Fix some testcases 2012-01-11 13:51:43 -08:00
Murali reddy cd84e82599 bug 12911: Netscaler- SDX - Not able to deploy VM when using SDX netscaler for load balancing services. 2012-01-11 16:33:17 +05:30
anthony 24f7991a70 bug 10831: replace "//" with '/'
status 10831: resolved fixed
2012-01-10 18:42:40 -08:00
anthony 9be635367e bug 10363 : cleanup vhd in secondary storage if creating private template fails
status 10363 : resolved fixed

Conflicts:

	core/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
2012-01-10 16:45:07 -08:00
anthony 1b0b88c43a bug 10363 : cleanup vhd in secondary storage if backsnapshot fails 2012-01-10 15:55:15 -08:00