Commit Graph

1185 Commits

Author SHA1 Message Date
anthony fe3200c72e bug CS-14718: wait util xenserver join pool operation stablize.
status CS-14718: resolved fixed
2012-05-02 19:58:37 -07:00
Kelven Yang 310453f993 Use the correct XenServer console streaming URL via XAPI 2012-05-02 14:15:01 -07:00
Salvatore Orlando a794e49545 CS-14724 : Making the default network label configurable, improving exception management
Please also see notes added to wiki.cloudstack.org/display/QA/Open+vSwitch+Tunnel+Manager
2012-05-02 15:16:10 +01:00
Murali reddy 310a9fd671 bug cs-14285 NetScaler SDX: can not create VPX instances when XVA image is not NSVPX-XEN-9.3-52.4_nc.xva
status cs-14285: resolved fixed

This fix enables to use the first available VPX image and device profile on the SDX while creating VPX
2012-05-02 17:20:10 +05:30
Murali reddy c961fb11a6 bug cs-14510:NetScaler SDX does not work when public network is setup to be in untagged network
status cs-14510: resolved fixed

This fix ensures VPX's provisioned on the SDX by CloudStack will be made part of both
tagged and untagged public networks
2012-05-01 12:20:12 +05:30
Kelven Yang 8d2a00874b bug 14090: handle the case when command is sent to a different host that is not owner of the VM 2012-04-24 16:48:37 -07:00
Salvatore Orlando 026ed52f1d CS-14437: Final changes to ensure proper tunnel creation (rebase problems) 2012-04-24 15:53:10 +01:00
Sheng Yang 1ced2ed424 CS-14555: Calculated checksum before unzip
Otherwise checksum would be overrided by wrong value.
2012-04-23 19:20:16 -07:00
Salvatore Orlando f66dd8927e Fix conflict resolution errors 2012-04-23 22:33:19 +01:00
Salvatore Orlando b980993864 Adding DB support for interfaces OVS tunnel manager will use as GRE endpoints 2012-04-23 22:33:19 +01:00
Salvatore Orlando 02cd1484b7 Removing superfluous log statements 2012-04-23 22:33:18 +01:00
Salvatore Orlando 2340ebced3 Now using vnets instead of network id for creating networks
Fixed issues with vif scripts on 5.6FP1
Fixed ipv6 issue on 5.6FP1
Plus other various fixes and improvements

Starting to remove debug code
NOTE: Network is configured correctly but instances do not start. Possibly indefinite wait occuring on some commands
2012-04-23 22:33:18 +01:00
Salvatore Orlando 3eef46f8a9 Open vSwitch tunnel manager
Applying patch with new ovs-tunnel-manager on top of cloudstack oss-master
2012-04-23 22:32:52 +01:00
Salvatore Orlando e2cc2c1f6e Fixing remaining issues with per-VIF flow script and removing version-specific scripts.
Now generating XSnetwork names using gre keys

Plus other minor corrections
2012-04-23 22:32:52 +01:00
Salvatore Orlando 241ba26a03 Work in progress - Need to fix issue on sec storage 2012-04-23 22:32:52 +01:00
Salvatore Orlando 8987499cda Now using vnets instead of network id for creating networks
Fixed issues with vif scripts on 5.6FP1
Fixed ipv6 issue on 5.6FP1
Plus other various fixes and improvements

Starting to remove debug code
NOTE: Network is configured correctly but instances do not start. Possibly indefinite wait occuring on some commands
2012-04-23 22:32:52 +01:00
Salvatore Orlando 9f321ffeac Open vSwitch tunnel manager
Applying patch with new ovs-tunnel-manager on top of cloudstack oss-master
2012-04-23 22:32:16 +01:00
anthony 352f3d95ed add CentOS 6.0, CentOS 5.7, RHEL 5.7 support for XenServer 6.0.2 2012-04-23 13:57:59 -07:00
Nitin Mehta 4434aa0d2d bug CS-10789: More changes for the imageformat, introdueced new column in db for the format, created scripts for doffernt hypervisors ...and the list goes on. 2012-04-23 13:44:34 +05:30
Nitin Mehta 14adf23700 bug CS-10789: Adding more code changes for usage, delete volume . 2012-04-23 13:42:53 +05:30
Nitin Mehta ac2175bdbc bug CS-10789: Adding volume sync and delete functionality. 2012-04-23 12:29:38 +05:30
Nitin Mehta 54956280e6 Preliminary upload and attach changes work .. 2012-04-23 12:28:36 +05:30
Nitin Mehta 564cef8ddf More changes for uploadVolume. Create framework for upload volume progress communication between MS and SSVM. 2012-04-23 12:14:35 +05:30
Nitin Mehta e04822eb70 bug CS-14530: Whenver adding a new capacity check the state of the resource - if its disabled/enabled.
Reviewed By: Kishan
2012-04-19 14:24:12 +05:30
Abhi 08bda90268 adding support for NetworkUsageCommand for XCP 2012-04-18 14:51:52 +05:30
anthony 478eb1df6c bug : 14543
XenServer doesn't need to provide gateway
2012-04-17 16:08:15 -07:00
Murali reddy e5bf243498 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:07:47 +05:30
anthony 7cc93d4ed4 correct template name for CentOS 6.0 2012-04-13 15:16:48 -07:00
Abhi 3cb6656234 bug CS-14389: removing duplicates 2012-04-11 16:57:10 +05:30
Abhi d1cc223673 bug CS-14389: adding missing os types for xen 6 2012-04-11 15:49:38 +05:30
Rajesh Battala 3cbb8bc198 Xenserver Secure Console Proxy Phase I 2012-04-10 18:01:56 +05:30
David Nalley a0171b9874 changing lots of line endings 2012-04-06 17:51:57 -04:00
Alena Prokharchyk 2d1a6b0b35 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:48 -07:00
Alena Prokharchyk b14bac0977 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:52:32 -07:00
frank 2f634c0913 Switch to Apache license 2012-04-03 04:50:05 -07:00
Alena Prokharchyk bd02f0c533 bug 14555: use hostName in toString() method of vmVO
status 14555: resolved fixed
2012-03-30 13:36:08 -07:00
Murali reddy 6cc90a0615 bug 14554: Failed to add Usage Filter on SRX during SetStaticNatRulesCommand Execution
status 14554: resolved fixed
reviewed-by: Janardhan
2012-03-30 16:35:57 +05:30
Abhi 4f5386a5df bug 13873: memory overhead can now be overridden for each version, increasing the overhead for SP2 by 1.5% 2012-03-29 17:35:18 +05:30
Kelven Yang 7d906c2f60 bug 14491: use template unique name instead of self-generated UUID name. Reviewed-By: Kelven(with test) 2012-03-28 14:15:00 -07:00
Murali reddy 3d13371116 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:10:53 +05:30
Murali reddy 2fe0f10657 Revert "bug 14463: Failed to Deploy VM due to failure in creation of guest VLAN on SRX"
This reverts commit 9eb23c64dd.
2012-03-26 15:54:58 +05:30
Murali reddy 9eb23c64dd 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:03:45 +05:30
Nitin Mehta a78537398c Bug 14490: Fix NPE in ListCapacity 2012-03-24 16:24:51 +05:30
Abhi 97963b37a2 bug 14135: mapping windows 2003 os types to xen templates 2012-03-22 17:20:06 +05:30
Kelven Yang 1a8e5287fd Bug 14213: use UUID name in secondary storage for templates. Reviewed-By: edison 2012-03-21 16:46:03 -07:00
kishan 53499c928f bug 14409: VMware, create network_stats iptables rule while creating router
status 14409: resolved fixed
2012-03-21 17:25:38 +05:30
Murali reddy 2dd328fac4 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:23:38 +05:30
frank a6a54a2f87 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:49:30 -07:00
Sheng Yang 8071f51678 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:47:42 -07:00
Sheng Yang 2b3b3e21ad Add missing annotation 2012-03-12 17:10:13 -07:00
Vijayendra Bhamidipati 768d7a2a26 Bug 13127: API error text refer to database ids instead of uuids
Description:

1)	Moved RuntimeCloudException from api/ to utils/.

	Added simple constructor to RuntimeCloudException.

	Modified all classes that extended RuntimeException
	to extend RuntimeCloudException. These classes
	are listed below:

		ServerApiException
		CloudAuthenticationException
		CloudExecutionException
		AsyncCommandQueued
		HypervisorVersionChangedException
		RuntimeCloudException

2)	Added overloaded constructed to CloudException.
	Modified all classes that extend Exception to extend CloudException instead.
	These classes are listed below:

		ConcurrentOperationException
                ConflictingNetworkSettingsException
                ConnectionException
                DiscoveryException
                InsufficientCapacityException
                ManagementServerException
                ResourceUnavailableException
                VirtualMachineMigrationException
                AgentControlChannelException
                OperationTimedoutException.java
                UnsupportedVersionException.java
                UsageServerException.java
                UnableDeleteHostException.java
                AgentAuthnException.java
                HttpCallException.java
                ActiveFencingException.java
                ClusterInvalidSessionException.java
                GreTunnelException.java
                OvsVlanExhaustedException.java
2012-02-27 17:54:53 -08:00
Kelven Yang bdc99ea17a 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:05:34 -08:00
anthony bd9b52fc3d bug 13955: increase the retry time for checkssh
status 13955: resolved fixed

reviewed-by : edison
2012-02-24 16:01:08 -08:00
Kelven Yang 16e1f18afe bug 13987: a regression was caused by typo. Reviewed-By:Anthony 2012-02-24 13:29:03 -08:00
Alena Prokharchyk f03fc196ad bug 13961: always return NetworkUsageAnswer from the networkUsageCommand
status 13961: resolved fixed
Reviewed-by: Alex Huang
2012-02-23 11:15:38 -08:00
Alena Prokharchyk 2e9511e2ae Changed isElastic to isSystem for the publicIpAddress assigned during the vm deployment in EIP enabled network
Reviewed-by: Chiradeep
2012-02-21 15:39:49 -08:00
Kelven Yang d41ad93f0f 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:59 -08:00
kishan 11e4ded985 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:41:37 +05:30
Murali reddy 4e9b312bf2 bug 13855: F5 - Hold time paramS for sticky policies are not getting programmed in F5
- 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-21 22:04:37 +05:30
Murali reddy e278eb674e 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:10:02 +05:30
frank a1fa313902 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:24:32 -08:00
kishan 9c5fb5f199 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 16:42:32 +05:30
kishan ced6fd46b8 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 13:50:18 +05:30
Murali reddy 4c4d08cc15 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:14:31 +05:30
Nitin Mehta 805ce41a39 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:02:39 +05:30
Kelven Yang 5e630c0699 bug 13537: use --no-same-owner when we untar OVA file to work with NFSv4. Reviewed-By: Anthony 2012-02-14 11:50:09 -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