Bharat Kumar
a8387568f3
Fixed the conditon which checks for the provider's capabilty and reapply ipaliases on virtual router restart.
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-29 17:40:00 +05:30
Harikrishna Patnala
2f369973e2
CLOUDSTACK-3779: Support System vm scaling on VMWare
...
Marked the system template new system template as dynamicallyScalable
- handled upgrade case
- moved "dynamicallyScalable" flag to vm_instance table from user_vm_details to support dynamic scaling of system vm
Signed off by : Nitin Mehta<nitin.mehta@citrix.com>
2013-07-29 15:25:07 +05:30
Harikrishna Patnala
8ef097ef6e
CLOUDSTACK-3669: Bringing down the dynamic scalable check (for VM whether it has xstools or vmware tools in it) to the management layer.
...
Signed off by : Nitin Mehta <nitin.mehta@citrix.com>
2013-07-29 15:16:21 +05:30
Sateesh Chodapuneedi
26d8c668f9
CLOUDSTACK-3870 [VMware] Management traffic network over a VLAN is not working
...
CLOUDSTACK-3437 In case of multiple physical network setup we see log message "can't get physical network"
CloudStack's control network is management network in case of VMware.
Processing management VLAN id provided in zone traffic label for management traffic.`
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-29 08:20:51 +05:30
Prachi Damle
790a02f936
CLOUDSTACK-3343 UI/API should also return the mode(Strict/Preferred) when listing the ServiceOffering that uses ImplicitDedicationPlanner
...
Changes:
- API is fixed to return the service_offering details
Conflicts:
api/src/org/apache/cloudstack/api/response/ServiceOfferingResponse.java
2013-07-28 22:44:00 -07:00
Min Chen
1fb513e783
CLOUDSTACK-3861: Remove s3.enable and swift.enable from global setting.
2013-07-27 21:56:46 -07:00
Prachi Damle
abfc351b78
CLOUDSTACK-3814 Duplicate entry for CPU, Public ip address in dashboard
...
Changes:
- ListCapacity API was searching the capacities per zone, pod and cluster causing duplicates to end up in th result.
- Instead we should group by zone if zone and pod both are null. Group by pod if zone is provided but no pod. Or group by cluster when zone and pod both are provided.
2013-07-27 16:24:48 -07:00
Harikrishna Patnala
a8ad908666
CLOUDSTACK-3703: change service offering of stopped vm on
...
Conflicts:
server/test/com/cloud/vm/UserVmManagerTest.java
2013-07-27 19:52:30 +05:30
Alex Huang
3d2e49bcfc
Changed the log4j config files to log org.apache.cloudstack in debug and change the layout format
2013-07-26 20:35:49 -07:00
Alex Huang
c2752ba93c
Removed mysql as any dependency
2013-07-26 20:35:48 -07:00
Min Chen
b17b40bbfe
CLOUDSTACK-3857:[Object_Store_Refactor][Usage] Two VOLUME_CREATE usage
...
events are generated for one data disk after creating and attaching to
VM.
2013-07-26 17:45:05 -07:00
Alex Huang
3f7c558de5
Removed all the extra mockito, inject, and junit dependencies. Changed any test/resource to test/resources and rely on the master pom to tell us where the resources are instead of each individual project
2013-07-26 16:34:08 -07:00
Min Chen
c8cafb91a7
CLOUDSTACK-3818: NFS Cache Improperly Named.
2013-07-26 15:07:45 -07:00
Alex Huang
f5e5b39c9b
Moved the DB layer code into framework-db and change only the necessary projects to refer to it. Cut down on the dependencies introduced with all the code in utils.
2013-07-26 15:02:10 -07:00
Rajesh Battala
24a8d60d6f
CLOUDSTACK-62 [AWS Style Health Checks] Response of the API listLoadBalancerRuleInstances should show the service state of a VM if health check is configured for it
2013-07-26 16:40:26 +05:30
Sanjay Tripathi
13fc4690fc
CLOUDSTACK-3488: listStoragePools throws NPE if any of the storage pools are not in the right state.
...
This issue is reporducible if user adds a primary storage and quickly fires
listStoragePool API command without waiting for the responce of previous
createStoragePool API command. So during this period
(before receiving createStoragePool API resonce), the primary srorage is in
initialized status and the "scope" of storage is not set.
2013-07-26 16:00:06 +05:30
Alex Huang
2dc3ede0a8
Remove a line to make it compile
2013-07-25 20:29:13 -07:00
Alex Huang
111febc567
Fixed up the rest of the management server code that calls clustermanager
2013-07-25 19:57:45 -07:00
Alex Huang
9aaa378b08
Moved ClusterManager into it's own package. Removed the agent load balancing code.
2013-07-25 19:00:26 -07:00
Alex Huang
395cbcc023
Move the rest of the generics out of virtualmachinemanager
2013-07-25 19:00:25 -07:00
Min Chen
db93ebf169
Fix build break due to commit 2e0847bfe0.
2013-07-25 18:04:12 -07:00
Min Chen
45d38c4142
CLOUDSTACK-3709:[Object_Store_Refactor][UI] Can't delete NFS Cache
...
storage through UI. Fixed at API side.
Conflicts:
server/src/com/cloud/storage/StorageManagerImpl.java
2013-07-25 17:33:28 -07:00
Alena Prokharchyk
2e0847bfe0
CLOUDSTACK-3232: InternalLB system vm - allocate control ip address from the private range when vm's hypervisor is vmWare
2013-07-25 16:39:23 -07:00
Edison Su
5e427bd2f6
CLOUDSTACK-2536: fix the regression introduced by 4c81ea69c4
2013-07-25 16:36:06 -07:00
Prachi Damle
dc66b6baa6
CLOUDSTACK-3821 RegisterTemplate URL validation issue
...
Changes:
- Added validation for the url path
2013-07-25 15:57:57 -07:00
Min Chen
588efa0150
Fix an incomplete logging message.
2013-07-25 15:47:39 -07:00
Edison Su
a39de009da
CLOUDSTACK-2536: fix the regression introduced by 4c81ea69c4
2013-07-25 15:13:00 -07:00
Koushik Das
deb701b7e0
CLOUDSTACK-3493: [storage ref] Attach volume to VM is failing in case of Primary-Localstorage .
...
Some existing scenarios for root and data volume combination was not working. These are
a. Local root + Shared data
b. Shared root + Local data
Enabled these scenarios as part of this fix
2013-07-25 17:10:20 +05:30
Alex Huang
555211a080
Moved Configuration from api to utils and moved the package. This was done by eclipse so I only ran the unit test to verify everything is fine
2013-07-25 03:57:12 -07:00
Nitin Mehta
8ee4e5ac14
=Disable the test and write a better one
2013-07-25 15:52:05 +05:30
Nitin Mehta
1f64354ec8
CLOUDSTACK-3712
...
Use Vminstance instead of user vm for scaling stopped vms.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-07-25 14:58:42 +05:30
Chiradeep Vittal
1744ed7ad5
CLOUDSTACK-3626 register the correct user and account for api calls made with api keys and secret keys
2013-07-25 14:45:59 +05:30
Harikrishna Patnala
0010faee4b
Fix for CLOUDSTACK-2536
...
Removing memoryovercommitratio and cpuovercommitratio parameters from addCluster and updateCluster APIs,
since these can be configurable using updateConfiguration API at cluster level.
By default while creating cluster these values are taken from global configuration parameters.
2013-07-25 13:42:08 +05:30
Edison Su
7f200d966e
CLOUDSTACK-3681: fix bunch of bugs related to vmware, regarding to snapshot
2013-07-24 19:06:30 -07:00
Bharat Kumar
e14f5d0aeb
Cloudstack-3694 Dnsmasq rewrite in bash
...
(Sheng: Fix typo, fix log and error message, remove 'set -x' in script)
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2013-07-24 14:00:31 -07:00
Edison Su
be3883b678
fix create template from snapshot if it's swift
2013-07-24 09:48:07 -07:00
Likitha Shetty
b7a483608f
CLOUDSTACK-3735. Domain deletion fails even when the networks within the domain have been destroyed.
...
When a network is destroyed remove the corresponding network entry from domain_network_ref and account_network_ref table
2013-07-24 20:03:51 +05:30
Saksham Srivastava
135a2e66c5
CLOUDSTACK-2508: Template usage should report both physical and virtual sizes
2013-07-24 18:17:09 +05:30
Sateesh Chodapuneedi
79d49ca2dc
CLOUDSTACK-3758 [Vmware][ZWPS] Failed to create volume from snapshot
...
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-24 03:51:23 +05:30
Alex Huang
e99a1ef1d9
Moved the rest of VirtualMachineManager to be vm agnostic
2013-07-23 18:24:59 -07:00
Alex Huang
9bc5870f01
Removed the remove method. Not sure why we added to VirtualMachineManager
2013-07-23 18:24:58 -07:00
Alex Huang
3ae0acc26f
Forgot to save something in VirtualMachineManager
2013-07-23 18:24:58 -07:00
Alex Huang
861be3063c
Simplify the components that VirtualMachineManager uses
2013-07-23 18:24:57 -07:00
Min Chen
67b15ed956
CLOUDSTACK-3639:Unable to create template from snapshot when there are
...
multiple secondary storages in the zone.
2013-07-23 16:56:46 -07:00
Sheng Yang
8295cb0ac2
CLOUDSTACK-3250: Add PvlanSetupCommand into maintenance mode allowed command list
...
Then the rule in the old host can be cleared.
2013-07-23 15:19:34 -07:00
Min Chen
956e8301c2
CLOUDSTACK-3716: State of expunged volumes are not consistent in volumes
...
table and volume_store_ref.
Conflicts:
server/src/com/cloud/storage/VolumeManagerImpl.java
2013-07-23 15:06:34 -07:00
Alena Prokharchyk
57623832b0
CLOUDSTACK-3478: fixed volume destroy. #1 - don't call destroy() when the volume is in Expunged/Expunging/Destroy state. #2 - added state transition for Expunged state
2013-07-23 14:40:59 -07:00
Alena Prokharchyk
3962f117ac
CLOUDSTACK-3733: fixed migrateVm - no need to cast vm to user vm to retrieve the iso information. Extract iso information from VirtualMachineProfile object passed to the method.
...
Conflicts:
server/src/com/cloud/storage/VolumeManagerImpl.java
2013-07-23 11:04:39 -07:00
Wei Zhou
9985a895a4
CLOUDSTACK-3734: remove wrong break in 'for' block in VirtualMachineManagerImpl.java
2013-07-23 17:37:39 +02:00
Sanjay Tripathi
a7084b2dac
CLOUDSTACK-3727: Resource Count calculation happens for deleted accounts on restart of managment server.
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-23 20:25:15 +05:30
Likitha Shetty
7e87221372
CLOUDSTACK-3526. When volume upload is in progress the state of the volume is UploadError.
...
Update volume_view to join volumes table with volume_store_ref table instead of volume_host_ref table.
2013-07-23 18:44:39 +05:30
Saksham Srivastava
89b94bb754
CLOUDSTACK-3382. Alert should be raised if a vm is migrated from dedicated to non-dedicated resource and vice versa.
...
Alerts are generated for VM migration between:
1) Source host is dedicated and destination host is not.
2) Source host is not dedicated and destination host is dedicated.
3) Both hosts are dedicated to different accounts/domains
2013-07-23 13:38:14 +05:30
Alex Huang
51377c40f2
Forgot to populate a method to called advanceStop
2013-07-22 20:06:05 -07:00
Alex Huang
5297a071d2
Changed virtual machine stop to use uuid
2013-07-22 20:06:04 -07:00
Alex Huang
319d91e1c2
Removed the getByTypeAndId() method and replace it with getById method
2013-07-22 20:06:04 -07:00
Alex Huang
6ac361e6a2
Removed VM generic from VirtualMachineGuru. Part of the cleanup to make vmsync a simple vm manager that doesn't understand the different types of vms
2013-07-22 16:32:59 -07:00
Min Chen
db8b9ea53a
Remove CLOUDSTACK-3513 debugging messages.
2013-07-22 16:18:16 -07:00
Min Chen
0fb3286cb1
CLOUDSTACK-3513:[Automation] Failed to copy iso and template between
...
zones. Failed to pass generated copy url to DownloadCommand.
2013-07-22 16:17:56 -07:00
Anthony Xu
3d05fb0b3e
throw exception if stopping VM fails, then UI can show the error message in stead of fails silently
2013-07-22 16:14:01 -07:00
Anthony Xu
04cdd90a84
in one zone, Admin should not be allowed to add a Shared Network with a subnet that is already associated with another Vlan.
2013-07-22 14:29:38 -07:00
Alex Huang
1325014a03
Changed VirtualMachineProfile to be non-generic. From here on VirtualMachineManager will only manage vm instance. It doesn't understand the difference between different types of VMs. This makes the vmsync code to be generic across all vms.
2013-07-22 11:48:11 -07:00
Alex Huang
7928963d16
Changed start to use uuid instead of generic vm start
2013-07-22 11:46:33 -07:00
Alena Prokharchyk
d0422904d7
CLOUDSTACK-3711: return descriptive error message to the regular user when his resource limit has exceed. No harm in returning this info as the user aware of the resource limits/number of resources available for allocation, for his account
...
Conflicts:
server/src/com/cloud/api/ApiServer.java
2013-07-22 10:28:42 -07:00
Sheng Yang
2df1d7f328
Revert "CLOUDSTACK-3357: dnsmasq on vpc-routervm"
...
This reverts commit f99d599930 .
Due to it break vpc function and block regression test.
Conflicts:
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
server/src/com/cloud/network/router/VpcVirtualNetworkApplianceManagerImpl.java
server/test/com/cloud/network/router/VpcVirtualNetworkApplianceManagerImplTest.java
2013-07-21 22:23:48 -07:00
Min Chen
d423a755f5
CLOUDSTACK-3274: API Refactoring: secretkey and accesskey of the backing
...
store is found in plaintext in the logs.
Conflicts:
server/src/com/cloud/api/ApiServer.java
server/src/com/cloud/api/ApiServlet.java
2013-07-20 18:01:49 -07:00
Min Chen
6689e83d7f
CLOUDSTACK-3513: ListIsos/ListTemplates does not return correct results
...
when id and zoneid are passed.
2013-07-20 15:18:33 -07:00
Harikrishna Patnala
78f1092df1
CLOUDSTACK-3365: cluster level parameters cluster.(cpu/memory).allocated.capacity.notificationthreshold is not considering overcommit value
2013-07-20 16:53:45 +05:30
frank
0633608f80
CLOUDSTACK-3453
...
UCS:API: List Blades after decommissioning a blade, listUcsBlades API returns wrong number of total blades
fixed resolved
2013-07-19 16:16:41 -07:00
Edison Su
cd6853cc1a
CLOUDSTACK-732 Add disk snapshot for KVM 6.3, add the flag in CS.
...
Signed-off-by: Edison Su <sudison@gmail.com>
Conflicts:
engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java
2013-07-19 13:26:19 -07:00
Alena Prokharchyk
823c72552e
InternalLb: fixed creation for default network offering with internal lb support - public lb support should be disbaled on it
2013-07-19 13:20:57 -07:00
Murali Reddy
a5dcb27547
CLOUDSTACK-3640: [Usage][GSLB] usage events are not generated for GSLB
...
geneating usage events for create/delete of GSLB rule
2013-07-19 18:45:36 +05:30
Murali Reddy
28aaa7534a
CLOUDSTACK-3642: [Usage][PortableIP] CS is not generating usage events
...
for portable IPs
generating usage events for acquire/release of portable IP
2013-07-19 18:45:14 +05:30
Sanjay Tripathi
3771e8a0e6
CLOUDSTACK-3496: [Regression]Primary Storage resource usage is not getting updated if detached volume is deleted
2013-07-19 16:04:36 +05:30
Sanjay Tripathi
539eb38908
CLOUDSTACK-3492: [Regression]Update Resource Count for an account is updating the primary storage incorretly.
...
The issue is that while calculating the used primary storage size, the updateResourceCount
API is also calculating the disk size of virtual router VM, created for that account and
because of this, the API is returning the incorrect result.
2013-07-19 16:04:10 +05:30
Devdeep Singh
bd54fa13a3
CLOUDSTACK-3661: Fix for IndexOutOfBoundException in connect process to SSVM.
2013-07-19 13:03:21 +05:30
Harikrishna Patnala
03fac83180
CLOUDSTACK-3358: create template from a volume/snapshot should also take input from User/Admin whether xstools / vmware tools installed in the VM
...
Signed off by : Nitin Mehta<nitin.mehta@citrix.com>
2013-07-19 11:55:32 +05:30
Alex Huang
5af61a85ae
Fixed build. Not sure why it didn't come up on my compile before the commit
2013-07-18 22:53:30 -07:00
Alex Huang
b18c72626b
Moved the SprintUtils which is for testing only to be in test directory. Changed pom.xml for different projects to use the utils test-jar. Removed some @Component annotations. Moved majority of the dependencies from cloudstack pom to utils pom
2013-07-18 21:53:51 -07:00
Mike Tutkowski
b43a2a5fae
Changes related to Review Board comments
2013-07-18 20:10:58 -06:00
Min Chen
e1c17bd853
CLOUDSTACK-3513: add debug message to diagnose copyIso issue on
...
automation setup where DownloadCommand is never sent.
2013-07-18 16:08:29 -07:00
Prachi Damle
463a3aba71
CLOUDSTACK-3451 Parallel deployment - Xenserver - When deploying 30 Vms in parallel, some of the Vm deployment fails when “applying dhcp entry/applying userdata and password entry on router” and retry eventually happens when they succeed.
...
Changes:
- Passing the avoid set generated by the first pass of deployment to the second try.
- The second try is done, when the first pass that uses a reserved plan fails to deploy on the reserved host, to search over the entire zone again
2013-07-18 15:32:30 -07:00
Min Chen
598a647105
ListIsos only shows cross-zone ISO in one zone.
2013-07-18 10:56:45 -07:00
Devdeep Singh
876a7b3361
Add VHDX image support, which is missing from DiskFormat class, revised ImageFormat interface, StorageManager implementation, and the application component spec.
2013-07-18 18:58:05 +05:30
Prasanna Santhanam
0c5b698ac8
CLOUDSTACK-3633: AffinityGroupResponse does not include uuid
...
The uuid->id of the affinity group created is not included as part of
the response. Included the uuid.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit fbf38a35d2 )
Conflicts:
server/src/com/cloud/api/ApiResponseHelper.java
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-18 18:31:23 +05:30
Harikrishna Patnala
b4662af0a9
CLOUDSTACK-3551: scaling up VM to service offering with 2gbram
...
Fixed the type overflow of Ram value.
Signed off by : Nitin Mehta<nitin.mehta@citrix.com>
2013-07-18 15:04:20 +05:30
ahuang
11971b5a58
Bring over from vmsync changes in utils package. Simple changes. New files are not being used yet in master
2013-07-17 18:29:42 -07:00
Min Chen
cb2a84241b
CLOUDSTACK-3513: [Automation] Failed to copy iso and template between
...
zones.
2013-07-17 17:31:50 -07:00
ahuang
1e3e131e14
Save the zone and pod
2013-07-17 17:14:30 -07:00
ahuang
cb5ab37916
Fixed the account id
2013-07-17 16:21:14 -07:00
ahuang
541f9d7f9c
Changed allocate method to be virtual machine type agnostic
2013-07-17 15:58:46 -07:00
Saksham Srivastava
e8e207863c
CLOUDSTACK-3476:deleteDomain api should fail when release dedicated resource to that domain fails
2013-07-17 11:25:39 -07:00
Bharat Kumar
f76bf5b053
Cloudstack-2150 DB table entries of phisical network is not proper.Shows Duplicate entries Cloudstack-2980 Adding a VLAN range that overlaps with two existing ranges results in inconsistent DB entries
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-17 15:22:33 +05:30
Sanjay Tripathi
21b1c9449a
CLOUDSTACK-3376: NPE: resource count calculation from the account manager on account cleanup
...
This issue is happing because of the steps the code follow to cleanup the account.
The cleanupAccount was deleting the entries from the resource_limit and
resource_count table and performing further cleaning afterwards. Ideally, deletion
of entries from resourceLimit and resourceCount should be the last step in
cleanupAccount process.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-17 12:39:16 +05:30
Bharat Kumar
d73bb22802
Incorportaed the review changes Now dhcpservice IPs are removed when last vm from the subnet is removed. Rebased with master.
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-17 12:35:06 +05:30
Abhinandan Prateek
954e197813
Cloudstack-2997: maxconn missing param
2013-07-17 10:06:11 +05:30
Bharat Kumar
dd33abffbe
Cloudstack-2997 Make haproxy maxconn configurable
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-17 10:06:11 +05:30
Bharat Kumar
6b549074fa
Cloudstack-3313 Cannot deploy vm in ipv6 network
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-17 10:06:11 +05:30
Edison Su
bf32776f9f
be able to upload template into swift
2013-07-16 18:07:06 -07:00
Sheng Yang
86bbe211f2
CLOUDSTACK-494: Loose the limition of same ip used by site-to-site vpn
...
Different account can have same remote side IP now. Of course the remote side need
to identify them and configured properly to handle it.
2013-07-16 17:26:51 -07:00
Vijayendra Bhamidipati
fff763ef81
CLOUDSTACK-3514: [Automation] Vmware - Failed to download default template for first zone
...
Description:
Fixing reference to null object.
2013-07-16 16:14:51 -07:00