Commit Graph

20499 Commits

Author SHA1 Message Date
Prachi Damle 8dfd34cd7e CLOUDSTACK-4651: Restarting management server when volume Snapshot is still in progress for root volume of a VM , then there is no way to restart VM since the startVM job is stuck forever since the volume is in "Snapshoting" state.
Change:
-If no volume of the VM is usable, VM cannot be deployed or started. Atleast ROOT volume should always be in usable state to start up the VM
2013-09-13 16:55:44 -07:00
Prachi Damle f3be68a833 CLOUDSTACK-4664: [ZWPS] High delay to start a stopped VM which has ROOT/DATA volumes migrated to Second Zone wide primary Storage(More than 10 mins)
Changes:
- DeploymentPlanningManager needs to reuse the zone wide primary storage pool when VM's volume is READY
2013-09-13 16:55:41 -07:00
Prachi Damle f4e4be01ff CLOUDSTACK-4668: Upgrade to 4.2 fails with NullPointerException when hypervisor_type is null for a cluster entry
Changes:
- Care for null value during comparing the hypervisor_type
- Do not consider removed clusters
- Method rename according to coding conventions
2013-09-13 16:55:37 -07:00
Min Chen d28cca7bf0 CLOUDSTACK-4671:ListZone API failed with Assertion error if assertion is
turned on for MS.
2013-09-13 16:53:54 -07:00
Kelven Yang 670fc7e6ec CLOUDSTACK-4659: Add the missing feature back for GC VMware worker VMs 2013-09-13 16:26:55 -07:00
Brian Federle 93d8b965f9 CLOUDSTACK-4669: Fix disassociateProfileFromBlade action icon 2013-09-13 16:08:23 -07:00
Jessica Wang 758b0bff8e CLOUDSTACK-4669: UI > Infrastructure > zone > UCS manager > UCS blade > implement new action disassociateProfileFromBlade. 2013-09-13 15:38:21 -07:00
Frank Zhang 3a3caf62b8 CloudStack CLOUDSTACK-4224
UCS:UI: Delete UCS returns unknown API
2013-09-13 09:24:52 -07:00
Gaurav Aradhye 23c759ec35 Automation - Portable Ip feature test cases
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-13 17:27:57 +05:30
Jessica Wang cae8b39b43 CLOUDSTACK-4662: UI > Network > IP Address > select a portable IP Address > Port Forwarding > VM grid - select a VM - dropdown of VM NIC IP appears - dropdown option value is networkID + VmGuestIp, split it and pass only VmGuestIp to API call. 2013-09-12 19:21:13 -07:00
Min Chen a096c96672 CLOUDSTACK-4661:[DB Upgrade] SecondaryStorage entry in host table before
upgrade is not marked as removed after migrating them to image_store
table.
2013-09-12 18:52:40 -07:00
Jessica Wang 3919b9fd2d CLOUDSTACK-4128: UI > zone wizard > secondary storage step > check if S3 secondary storage (region-wide) exists. If yes, (1)Provider dropdown has only one option "S3". (2)Name input field is loaded with the existing S3 secondary storage name and disabled. (3)Create NFS Secondary Staging Store checkbox is checked and disabled. (4)NFS Server field and Path field are required. 2013-09-12 16:37:57 -07:00
Vijayendra Bhamidipati 4aa7b1990e CLOUDSTACK-4645: There is no upgrade path from 4.1.1 to 4.2.0
Description:

    Simpler fix to support upgrade path from 4.1.1 to 4.2.0
    by adding a 4.1.1 string in the db update version range.

    Commit # d1642a489c introduced a duplicate
    user_vm_view view in the schema-410to420.sql script. Removing the first
    occurrence of that view, since whatever QA has been testing until now
    would have used the duplicated view that gets created after the first one.
2013-09-12 09:42:00 -07:00
Vijayendra Bhamidipati 85c5f51fd0 Revert "CLOUDSTACK-4645: There is no upgrade path from 4.1.1 to 4.2.0"
This reverts commit 1167057441.

Description:
    The fix can be much simpler - will check it in in subsequent commit.
2013-09-12 09:41:21 -07:00
Edison Su 52a45ce56e CLOUDSTACK-4650: change volume state during snapshot only 2013-09-12 16:02:40 -07:00
frank 4c1a20fe66 Add Baremetal agent package back to RPM spec file
add missing file in d58044ccba
2013-09-12 14:47:37 -07:00
frank d58044ccba Add Baremetal agent package back to RPM spec file 2013-09-12 14:14:23 -07:00
radhikap cb71b5c1c2 removed the occurrence of 4.1 from RN as per Animesh 2013-09-12 19:54:09 +05:30
venkataswamybabu budumuru 1a20cb8270 Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
Corrected Indentation issues.
(cherry picked from commit 2ea66124f2)
2013-09-12 18:38:19 +05:30
venkataswamybabu budumuru 237f8ec702 Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
Skipped the test "test_createSharedNetwork_usedVlan" as there is another test
(test_createSharedNetwork_usedVlan2) which is covering the righ scenario.
moreover this test is creating issues for couple of other tests due to
incompleteness
2013-09-12 18:25:42 +05:30
radhikap bff5a64ed2 build fixed, global parameter and manage cloud were sections, changed to chapter as per adminguide.xml 2013-09-12 18:12:54 +05:30
radhikap 81510f2b6d known issues from animesh has been added, edited, updated CLOUDSTACK-4245 and heading changes 2013-09-12 18:11:07 +05:30
Devdeep Singh 9d7f894d10 CLOUDSTACK-4617. Add host succeeds but host goes to alert state and comes back to UP state
after a short while. Fixed the link local network creation part.
2013-09-12 16:21:13 +05:30
radhikap ab63a4b902 CLOUDSTACK-2289 updated with all the granular parameter at cluster/zone level 2013-09-12 12:00:29 +05:30
radhikap bf7cda2598 vmware dvswitch update, UI has changed for traffic label CLOUDSTACK-4089 doc changes 2013-09-12 11:24:18 +05:30
Laszlo Hornyak 7df1b43162 simplify setCpuUsed
- variables inlined
- cpu utilization is not cast to float from double

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
Signed-off-by: Min Chen <min.chen@citrix.com>
2013-09-11 18:33:18 -07:00
Laszlo Hornyak ec3464b660 simplified casting
double values do not need a Double object to be casted to long

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
Signed-off-by: Min Chen <min.chen@citrix.com>
2013-09-11 18:26:21 -07:00
Vijayendra Bhamidipati 1167057441 CLOUDSTACK-4645: There is no upgrade path from 4.1.1 to 4.2.0
Adding upgrade patch for 4.1.1 to 4.2.0
2013-09-11 11:46:59 -07:00
Edison Su c08254bc70 CLOUDSTACK-4641: fix create volume from snapshot timeout issue 2013-09-11 18:08:06 -07:00
Anthony Xu 5950d37e9f CLOUDSTACK-4649
use the same virtual hardware platform in XS 6.2 as that in XS 6.0.2
2013-09-11 17:16:25 -07:00
Anthony Xu 47c06e8252 CLOUDSTACK-4643
put host maintenance mode will not change XS master,
when you delete a host, and this host is master, master will be designated by CS
2013-09-11 15:46:41 -07:00
Brian Federle 66b2809de8 CLOUDSTACK-4642: Fix width of drop-down
Fix width of timezone select drop-down to support longer time zone text
2013-09-11 12:23:59 -07:00
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