Daan Hoogland
f8fb422612
uses of parseInt and parseLong secured
2013-09-09 22:15:07 +02:00
Daan Hoogland
79e239e307
white space cleanup and syntax warnings auto-addressed
2013-09-09 22:08:24 +02:00
Min Chen
b11a8e12e8
CLOUDSTACK-4625:Snapshots and templates should be deleted from staging
...
storage after create template from snapshot on S3.
2013-09-06 17:48:40 -07:00
Alex Huang
a05ec6df33
Fixed up the agent separation. Added comments for config packaging.
2013-09-06 15:40:39 -07:00
Alex Huang
1f5699b29f
Fixed unit tests
2013-09-06 15:40:39 -07:00
Alex Huang
8f556e6d88
Made changes to configuration. Eliminated ConfigValue and only use ConfigKey
2013-09-06 15:40:38 -07:00
Alex Huang
435e74e914
Commit to try something on removing getZone
2013-09-06 15:40:33 -07:00
Alex Huang
2e5bb63f77
Moved NetworkManagerImpl to NetworkOrchestrator
2013-09-06 15:40:32 -07:00
Alex Huang
8e5249df62
Moved NetworkManager to NetworkOrchestrationService
2013-09-06 15:40:31 -07:00
Wei Zhou
5c141a46fc
CLOUDSTACK-4610: fix incorrect value available_bytes of storage pool
2013-09-05 11:16:12 +02:00
Kelven Yang
ae231444bc
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-04 14:49:46 -07:00
Kelven Yang
e81e75c6b0
CLOUDSTACK-4362: always honor vCenter on-disk meta data to work with live migration better
2013-09-04 14:49:46 -07:00
Kelven Yang
281b94d587
CLOUDSTACK-4458: Volume attach/detach command needs to sent to hypervisor resource even when target VM is in Stopped state
2013-09-04 14:49:46 -07:00
Kelven Yang
ea13e089b8
CLOUDSTACK-4519: reimplementdestroy-volume to take consideration of on-disk snapshot
2013-09-04 14:49:46 -07:00
Kelven Yang
a4762b0904
CLOUDSTACK-4464,CLOUDSTACK-4529: use property collector to collect all information in one round, we have a few other places that need to do it the same way
2013-09-04 14:49:46 -07:00
Kelven Yang
d6bac1465a
CLOUDSTACK-4518: make folder sync resilience with possible runtime situation
2013-09-04 14:49:46 -07:00
Kelven Yang
e929b4ceb2
CLOUDSTACK-4522: check before we do dynamic casting
2013-09-04 14:49:46 -07:00
Kelven Yang
bae2666549
CLOUDSTACK-3237: add disk chain sync logic to handle out-of-band chain changes that could happen in storage live migration and VM snapshot operations
2013-09-04 14:49:46 -07:00
Kelven Yang
e3a5b3fad9
CLOUDSTACK-3237: acknowledge the behind-back VMDK disk consolidation happend in vCenter after storage live migration
2013-09-04 14:49:46 -07:00
Kelven Yang
c528e71fec
CLOUDSTACK-4390, CLOUDSTACK-4358: Enable full-clone deployment by default for VMware. Apply keep-alive kick for all outstanding vCenter sessions
2013-09-04 14:49:45 -07:00
Kelven Yang
899f92b725
CLOUDSTACK-4288: Fix the way that VmwareClient is using vSphere 5.1 SDK which caused huge memory footprint
2013-09-04 14:49:45 -07:00
Kelven Yang
0becde90bb
CLOUDSTACK-3568: Refactore CloudStack/vCenter API session management facility to avoid the situation that multiple API requests are sharing with the same vCenter API session
2013-09-04 14:49:45 -07:00
Kelven Yang
c6dfb33d9f
CLOUDSTACK-3237: pass disk file name instead of full datastore path when setting up storage relocation specin order to safely locate the disk device
2013-09-04 14:49:45 -07:00
Kelven Yang
dbe4e13e8e
CLOUDSTACK-3778: serialize configuration of port group at per-host level to prevent run-time race condition
2013-09-04 14:49:45 -07:00
Kelven Yang
75bb38394b
CLOUDSTACK-3869: fix merge conflicts
2013-09-04 14:49:45 -07:00
Kelven Yang
362ef67013
CLOUDSTACK-3869: make new folder structure to work with Create/Delete/Attach/Detach commands
2013-09-04 14:49:45 -07:00
Kelven Yang
9a2148ffc3
CLOUDSTACK-3886: check in for review request https://reviews.apache.org/r/13008/
2013-09-04 14:49:45 -07:00
Kelven Yang
40869a5a2b
CLOUDSTACK-3869: Move VMware datastore folder structure policy management to central place
2013-09-04 14:49:45 -07:00
Kelven Yang
249e2e8f59
Correct DAO usage in VmwareDatacenterVO, relax assertion conditions to work with stack calling frame that is not wrapped with @DB injection
2013-09-04 14:49:44 -07:00
Prachi Damle
f31c318158
Changes required to merge to master:
...
- Replace UserContext by CallContext
2013-09-03 20:03:11 -07:00
Prachi Damle
a0b48a45c0
CLOUDSTACK-4222: [VMWare] NPE: VM Failed to start after Volume Migration
...
- ExplicitDedicationProcessor should process only if group of this type is used!
2013-09-03 20:03:05 -07:00
Prachi Damle
012afceed2
CLOUDSTACK-4276 Dedicated Resources: Private Zone functionality issues
...
Changes:
createZone API:
- This API takes in domainid, set it to the zone record in the data_center table
updateZone API:
- This API uses 'isPublic' flag to set a private zone to public - if this flag is set and the zone is dedicated, release the dedication and remove the domainid from the data_center table
listZone API:
- This API already has 'domainid' parameter. We should allow list zones by domain for Root admin.
DedicateZone API:
- set domainid in the data_center table
ReleaseDedicatedZone API:
- remove zoneid from the data_center table
2013-09-03 20:02:56 -07:00
Prachi Damle
96ca70e2da
CLOUDSTACK-4259 Dedicated Resources: createAffinityGroup API should not allow admin to create the group of this type through API
...
Changes:
- Block API from creating this type of group
2013-09-03 20:02:53 -07:00
Prachi Damle
25cc9eb869
CLOUDSTACK-4234:Dedicated Resources: When multiple dedication groups are chosen for VM deployment, dedicated resources belonging to both groups should be considered
...
Changes:
- Do not add the dedicated resource to avoid list if it is present in the list of resources to consider for the deployment.
2013-09-03 20:02:50 -07:00
Prachi Damle
5628153c59
CLOUDSTACK-4221: Dedicated Resources: changes to associate the dedicated resource with the 'ExplicitDedication' affinity group
...
Changes:
- Adding mocks in unit tests for new injected components
Conflicts:
server/test/org/apache/cloudstack/networkoffering/ChildTestConfiguration.java
2013-09-03 20:02:44 -07:00
Prachi Damle
ef22b42b38
CLOUDSTACK-4221: Dedicated Resources: changes to associate the dedicated resource with the 'ExplicitDedication' affinity group
...
Changes:
- Implict creation of the 'ExplicitDedication' Affinity group during resource dedication
- Only one group per account or per domain will be present
- ListDedicatedResources by affinityGroup
- Deployment should consider dedicated resources associated to the group only
- Deleting affinity group should release the dedicated resouces
- Releasing the dedicated resources should remove the group associated if there are no more resources.
Conflicts:
plugins/dedicated-resources/src/org/apache/cloudstack/dedicated/DedicatedResourceManagerImpl.java
plugins/dedicated-resources/test/org/apache/cloudstack/dedicated/manager/DedicatedApiUnitTest.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
2013-09-03 20:02:38 -07:00
Prachi Damle
a06bd9fa2b
CLOUDSTACK-4168 Root Admin should be able to create 'ExplicitDedication' affinity group at domain level and make it available for all accounts in the domain
...
Changes:
- 'ExcplicitDedication' type of group can be created/deleted by Root admin only
- Users can no longer create this type of affinity group
- RootAdmin can create this type of affinitygroup at domain level. Such a domain level group is available for all accounts in that domain for listing and for use during deployVM.
- The domain level affinitygroup should be visible to the users in that domain, domain admins and Root admin.
Conflicts:
server/src/com/cloud/api/query/QueryManagerImpl.java
server/src/org/apache/cloudstack/affinity/AffinityGroupServiceImpl.java
server/test/org/apache/cloudstack/affinity/AffinityApiUnitTest.java
2013-09-03 20:02:34 -07:00
Wei Zhou
f555e26c87
CLOUDSTACK-1192: fix silly mistake
2013-09-03 08:52:35 +02:00
Wei Zhou
87d73e227f
CLOUDSTACK-1192: GetVmDiskStatsCommand return null as disk I/O statistics does not support xen/vmware
...
(cherry picked from commit 3121133c03 )
2013-09-02 16:04:59 +02:00
Daan Hoogland
2fb6ae814f
copyright
2013-09-01 23:59:53 +02:00
Daan Hoogland
f1a4e9fdf5
copyrights
2013-09-01 23:49:05 +02:00
Daan Hoogland
d9c06e538b
CLOUDSTACK-4346 replace URI getHost() and create(String) calls with BroadcastDomainType methods
2013-09-01 22:53:23 +02:00
Ian Duffy
bdba0ddeed
Bring up to date with master
2013-08-31 00:25:48 +01:00
frank
2a0e371881
[Upgrade from 3.0.6 to 4.2][vmware] After upgrade the system vms fail to come up because "Secondary storage mount point" is pointing to a wrong location
...
when secondary storage is mounted as read-only, changing permission of files on it will fail. But we should still stick to current mount point instread of
returning a wrong mount point /mnt/sec
2013-08-29 10:32:13 -07:00
frank
e217c0f1c3
CloudStack CLOUDSTACK-4426
...
[VMware] [upgrade] system VM not coming up after upgrade from 3.0.4 to 4.2
2013-08-28 15:40:33 -07:00
frank
993a1f937f
CloudStack CLOUDSTACK-4426
...
[VMware] [upgrade] system VM not coming up after upgrade from 3.0.4 to 4.2
2013-08-28 15:40:28 -07:00
Mike Tutkowski
de531c0c0a
Trim IQN so that the format /iqn/lun becomes iqn.
2013-08-28 15:08:45 -06:00
Wido den Hollander
c3a275fc75
CLOUDSTACK-4423: Do not always append .qcow2 to volume names when copying
...
Disk images are not always in the QCOW2 format, so don't assume that the
filename will always and in .qcow2
2013-08-27 18:34:39 +02:00
Alex Huang
ff6b3fd11a
Removed getzone
2013-08-26 17:31:08 -07:00
Mike Tutkowski
bd2d875073
Make Mutual CHAP optional for VMware.
2013-08-26 16:08:37 -06:00