Commit Graph

20467 Commits

Author SHA1 Message Date
Min Chen 362bf5b8b4 CLOUDSTACK-4534:[object_store_refactor] Deleting uploaded volume is not
deleting the volume from backend.
2013-09-11 10:11:05 -07:00
Wei Zhou e74d8a1d14 add error message for ResourceAllocationException in DeployVMCmd.java 2013-09-11 10:06:03 +02:00
Nitin Mehta 17a186557d CLOUDSTACK-2813 - Some deployment failures do not release the resources.
Applying the short term fix of force cleaning up if the answer recieved from startcommand is not valid
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-09-11 12:19:23 +05:30
radhikap a0c8fdf26f new workload image for RN 2013-09-11 11:50:31 +05:30
radhikap a944436656 new features section updated, api section added CLOUDSTACK-4245 2013-09-11 11:29:23 +05:30
Jessica Wang 11fb92ce13 CLOUDSTACK-4642: UI > storage > volume > recurring snapshot > timezone dropdown > remove hardcoding dropdown option from index.jsp since dropdown option is generated on the fly from timezoneMap variable in JavaScript file. 2013-09-10 16:15:39 -07:00
Jessica Wang 523cac4bce CLOUDSTACK-4642: UI > get complete timezone list from Java class TimeZone 2013-09-10 15:52:55 -07:00
Wei Zhou 13a0619732 CLOUDSTACK-4610: fix incorrect value available_bytes of storage pool
(cherry picked from commit 5c141a46fc)
2013-09-10 11:42:34 +02:00
Koushik Das ab60e9eae9 CLOUDSTACK-4636: In a scaled up setup all Vm's in a cluster were stopped and/or started after management server restart
Issue happens as there are more than one thread processing connect for a host simultaneously. The VM full sync. is not designed to work in this scenario and as a result user VMs may get stopped incorrectly.
Direct agent scan task runs at regular intervals (direct.agent.scan.interval defaulted to 90 secs) and identifies hosts that needs to be processed for connect. In a normal scenario hosts mostly get connected within that interval and there are no issues. But if due to some reason the connect process takes more time and is not completed by the time next agent scan runs. In this case, based on the db. state same hosts may get picked up again. And then there will be situations where more than one thread is processing connect for the same host.
The fix is to check if there is a thread already processing connect for a host and in this case all subsequent threads for that host will simply bail out. Also there may be a scenario where one thread already completed processing connect but another thread already got scheduled before that and will again repeat the same. This is also prevented by putting appropriate checks.
2013-09-10 11:54:32 +05:30
Min Chen e607998afa CLOUDSTACK-4628:[Automation] Failed to create template from snapshot
with same name; after deleting the first one.
2013-09-09 16:08:31 -07:00
Edison Su cb170d6afd CLOUDSTACK-4627: fix NPE in vm migration 2013-09-09 15:58:22 -07:00
Jessica Wang 37c87a84fa CLOUDSTACK-4619: UI > Infrastructure > zone > Using listApis to check existence of listVmwareDcs API command will show an error in the log when listVmwareDcs API command doesn't exist (in oss build).
So, still use listClusters to determine the existence of listVmwareDcs API command.
2013-09-09 14:00:26 -07:00
Jessica Wang 2e3104ac1e CLOUDSTACK-4629: UI > Infrastructure > zone > Add UCS Manager > change label from URL to IP Address. 2013-09-09 13:47:38 -07:00
Prasanna Santhanam 0a0ff45b16 CLOUDSTACK-4608: Resolve the hostname to fqdn from marvin config
In case the marvin configuration does not contain fqdn information fetch
and compare the fqdns of hostip from `cloud`.`host` with the fqdn
available on the client.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 433d5839a1)
2013-09-09 11:43:18 +05:30
Marcus Sorensen b2c4529a8a Updating devcloud-kvm marvin config to enable InternalLbVM
upon zone deployment.
2013-09-07 23:08:50 -06:00
Edison Su f2c5b5fbfe CLOUDSTACK-4618: fix CLVM 2013-09-06 17:55:29 -07:00
Min Chen 80aa0d3608 CLOUDSTACK-4625:Snapshots and templates should be deleted from staging
storage after create template from snapshot on S3.
2013-09-06 17:27:30 -07:00
Min Chen f05d6a5419 CLOUDSTACK-4190:[Object_store_refactor] volume should be deleted from
staging storage after successfule volume migration, specially handle
DeleteVolume command for Vmware volume structure in secondary storage.
2013-09-06 14:33:34 -07:00
Jessica Wang 3f492ca2ea CLOUDSTACK-4619: UI > zone detail page > check if the zone has any cluster whose hypervisor is VMware. If not, skip calling listVmwareDcs API. 2013-09-06 10:28:03 -07:00
Gaurav Aradhye 751fe8e339 CLOUDSTACK-4531: Fixed indent problem with the patch.
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-06 21:35:18 +05:30
Wei Zhou add6505182 change display name in /etc/init.d/cloudstack-agent from cloud-agent to cloudstack-agent 2013-09-06 14:20:18 +02:00
Jayapal bd65241660 CLOUDSTACK-4613 correcting anti spoofing security group rules 2013-09-06 15:41:28 +05:30
sanjeevneelarapu daaec56d40 CLOUDSTACK-702: Tests for Multiple IP Ranges 1. Removed advanced tag from all the tests. At the movement scripts support only basic zone 2. Added a test to deploy guest vm after adding ip range in new CIDR
CLOUDSTACK-702: Removed test for deploying vm after adding new cidr
1.This test would block parallel execution of remianing tests
2.Removed list_Routers proc and unused code
3.Added few more debug statements

Signed-off-by: sanjeevneelarapu <sanjeev.neelarapu@citrix.com>
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-06 15:26:41 +05:30
Jessica Wang eb9ab676f6 CLOUDSTACK-4089: zone wizard > hypervisor VMware > if zoneType is Basic, not show vSwitchType dropdown in Edit Traffic Type for Guest. 2013-09-05 15:30:33 -07:00
Sheng Yang e1e6f93306 Revert "CLOUDSTACK-2792: Send "saved_password" to BACKUP router when reset password for user VM"
This reverts commit 5a8a2a259e.

We would fix it in another way, since mgmt server may get state updated in
time.

Conflicts:
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2013-09-05 14:55:45 -07:00
Wei Zhou fb97e8e617 CLOUDSTACK-4533: fix two usage issues (db.properties and log4j-cloud.xml)
(1) Replacing db.properties with management server db.properties
(2) Rename log4j-cloud_usage.xml to log4j-cloud.xml
2013-09-05 23:47:10 +02:00
sanjeevneelarapu dfee47e3b6 CLOUDSTACK-4203: Adding a test for migrating volumes of stopped vms to test_stopped_vm.py
Signed-off-by: sanjeevneelarapu <sanjeev.neelarapu@citrix.com>
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>

s
2013-09-05 18:53:02 +05:30
Sowmya Krishnan c1ea61a0e7 CLOUDSTACK-4487 Fix adding Netscaler service provider if not already done
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-05 15:06:10 +05:30
Nitin Mehta 65e85962db CLOUDSTACK-4327:
Check for the all the transition states for Maintenance. Also corrected the isMaintenance function for StoragePoolVo
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-09-05 12:41:05 +05:30
radhikap e1f6fde414 CLOUDSTACK-4565 review comments on VPN 2013-09-05 11:46:19 +05:30
Girish Shilamkar 4f3b411d4c CLOUDSTACK-4531: Resolved ssh error for basic zone. Public ip should be used for ssh instead of ipaddress of nic
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-05 10:07:38 +05:30
Min Chen 9f870eee0e CLOUDSTACK-4430: Add retry logic back in case of template reload needed
for vmware.
2013-09-04 15:02:28 -07:00
Sheng Yang 8451d35324 CLOUDSTACK-4601: Add PATH for cron job of check_heartbeat.sh
Also fix a typo in the script template.
2013-09-03 16:54:53 -07:00
Min Chen 3dc8b8863a CLOUDSTACK-4600:Registered Cross-zone template does not populate
template_zone_ref for later added zones.
2013-09-03 16:31:40 -07:00
Wei Zhou d0ffc9e339 CLOUDSTACK-1192: fix collectVmDiskStatistics issue when stopping a vm
(Cherry-picked from commit 65c1c986da)
2013-09-03 13:13:58 +02:00
Jayapal b99962d27f CLOUDSTACK-4586 Added CIDR validation for SG Egress rules 2013-09-03 14:17:16 +05:30
Wido den Hollander 8c3986df81 docs: Add more information about RBD cloning to the Release Notes 2013-09-02 22:04:07 +02:00
radhikap 569594f962 CLOUDSTACK-4565 sheng's comments 2013-09-02 14:31:48 +05:30
radhikap 6e463f236f CLOUDSTACK-4565 sheng's comments 2013-09-02 14:30:51 +05:30
radhikap 034a67a7b4 review comments on API dev guide is incorporated 2013-09-02 14:00:47 +05:30
Kelven Yang 8ccff04722 CLOUDSTACK-4585: make run-time datastore folder migration, VM snapshot, bug in root disk controller type carried from previous version work under upgrade situation 2013-09-01 07:14:47 -07:00
Prasanna Santhanam 2575ded3f3 get host credentials from marvin configuration for ssvm test 2013-08-31 12:51:53 +05:30
Edison Su 21a44e3ed1 disk resize NPE, if the new disk offering doesn't have tags, then NPE 2013-08-30 18:15:20 -07:00
Edison Su ffc53e81e0 kvm upgrade issue from 2.2.14: 1. the uuid passed by mgt server is malformat, libvirt can't start vm. 2. the template path on primary storage is incorrect, which contains absolute path 2013-08-30 18:06:27 -07:00
Jessica Wang ff4f931cd8 CLOUDSTACK-4089: UI > zone wizard > VMware hypervisor > physical network > edit traffic type > set default value for vSwitchName field upon selected vSwitchType. 2013-08-30 15:18:32 -07:00
Jessica Wang 8d60e4436b CLOUDSTACK-4089: UI > zone wizard > VMware hypervisor > physical network > edit Public/Guest traffic type > vSwitchType dropdown > set default option upon configuration 'vmware.use.dvswtich' and 'vmware.use.nexus.vswitch'. 2013-08-30 14:55:06 -07:00
Jessica Wang 845e280d71 UI > Infrastructure > clusters > Add cluster dialog > change variable name for Nexus DVS fields to be more intuitive. 2013-08-30 14:55:06 -07:00
Chiradeep Vittal a98eb12549 CLOUDSTACK-4575: Portable IP: disassociating a transferred public IP fails
The code is excessively complicated and convoluted.
 DisassociateIP ->
     Revoke Rule -> {FW, PF{incl SNAT}, LB, RA VPN} ->
        -> Send IpAssoc (false) to VR
     Send all config to VR again
        -> Send IpAssoc(false) to VR again  <---- fails here since it cannot find the VLAN for the IP since it is already gone
        -> Mark Ip as released

The workaround fix would be to not throw an exception in CitrixResourceBase if it is disassociate and the VLAN does not exist on the XS host.

Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-08-30 14:30:04 -07:00
Saksham Srivastava 6354604eed CLOUDSTACK-4572: findHostsForMigration API does not return correct host list
Changes:
Expected behavior:
The api should return the list of suitable/unsuitable hosts
Added fix that creates a deep copy of the the variable allHosts and prevents faulty host list return.
2013-08-30 12:31:25 -07:00
Kelven Yang e362f51f37 CLOUDSTACK-4362: always honor vCenter on-disk meta data to work with live migration better 2013-08-30 11:11:20 -07:00