Min Chen
49dd7289c0
CLOUDSTACK-4468:template created from snapshot is destroyed once we
...
restart management server.
2013-08-26 11:58:53 -07:00
frank
b37e6c14c1
CloudStack CLOUDSTACK-1365
...
UI support for baremetal PXE server
CloudStack CLOUDSTACK-1364
UI support for baremetal DHCP server
Conflicts:
plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BareMetalPingServiceImpl.java
plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BaremetalKickStartServiceImpl.java
plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BaremetalPxeManagerImpl.java
2013-08-22 16:35:23 -07:00
Min Chen
0fdaef8e3d
CLOUDSTACK-4455:object_store - Template sync results in private
...
templates being synced to all the secondary stores.
2013-08-22 16:02:47 -07:00
Min Chen
2611ac75c1
CLOUDSTACK-4454:object_store - Not able to delete secondary storage when
...
existing snapshots are deleted.
2013-08-22 16:02:31 -07:00
Kishan Kavala
ad0fba31a3
CLOUDSTACK-4115 : Encrypt password in cluster_details table. This fix is to handle upgrades from versions earlier than 3.0.5 and 4.0. Upgrade was not handled when the cluster_details password encryption was introduced.
2013-08-22 18:53:45 +05:30
Min Chen
e65a302f15
CLOUDSTACK-3950: add "regionsecondaryenabled" in listCapabilitiesCmd
...
response.
2013-08-20 15:59:46 -07:00
Min Chen
3bd2bbf59d
CLOUDSTACK-3950:Set cross-zone flag in registerTemplate/registerIso in
...
case of region-wide secondary is enabled.
2013-08-20 14:13:49 -07:00
Min Chen
c4f41f4a53
CLOUDSTACK-4395:[Object_store_refactor] Default template is not
...
available for use to deploy vm in case of multi zone environment.
2013-08-19 17:37:33 -07:00
Edison Su
4fd09cb344
CLOUDSTACK-4324: delete snapshot_store_ref, if create snapshot failed on primary storage
2013-08-19 15:26:18 -07:00
Edison Su
0040c4adef
CLOUDSTACK-4363: fix possible NPE, if copy volume failed.
2013-08-19 15:25:20 -07:00
Edison Su
77e7ccbbe1
CLOUDSTACK-4325: add more test cases for zone wide storage pool allocator
2013-08-19 15:25:04 -07:00
Min Chen
3937a7b5a5
CLOUDSTACK-4400:[object_store_refactor] Three entries for one template
...
in template_store_ref when MS was restarting during template download.
2013-08-19 15:01:57 -07:00
Alex Huang
f23f1530e7
Removed missing class from application context
2013-08-19 14:13:31 -07:00
Alex Huang
092e20204a
Divided NetworkManagerImpl into two files: NetworkManagerImpl and IpAddressManagerImpl
2013-08-19 14:13:29 -07:00
Alex Huang
564502abd7
Moved the virtualmachine implementation into engine/orchestration
2013-08-19 14:13:28 -07:00
Alex Huang
4ba359c3fe
Moved VirtualMachineManager into engine
2013-08-19 14:13:28 -07:00
Min Chen
5d3bc5339e
CLOUDSTACK-4399:[Templates] template entries are deleted from
...
template_store_ref when downloadTemplate times out.
2013-08-19 11:27:16 -07:00
Alena Prokharchyk
f1c63df665
CLOUDSTACK-4403: vmInstanceDao - initialize the SearchBuilder in init() method instead of the search dao method which wasn't thread safe, and could cause NPEs during search builder initializing.
2013-08-19 10:28:23 -07:00
Sateesh Chodapuneedi
17b6f1c570
CLOUDSTACK-4294 After upgrade of CloudStack to 4.2, support old vswitch type in existing clusters if user changes the vswitch backend to another type of vSwitch
...
While upgrading to 4.2, the type of vswitch being used by each cluster is persisted to cluster_details table. This helps if user want to change the type of vswitch used in a zone or entire cloud later on but leave existing cluster continue to use old vswitches. Hence even after modifying the type of vswitch at cloud level (by modifying global configuration parameters) or modifying the type vswitch at zone level (by modifying the traffic label) would not disturb operation of existing clusters.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-19 16:32:14 +05:30
Min Chen
ba4a05eed1
CLOUDSTACK-4287: Template sync should remove template_store_ref entry
...
for corrupted template.
2013-08-15 14:56:49 -07:00
Edison Su
81fedcfa3e
CLOUDSTACK-4338: catch up exception in case of deleting volume in parallel: it's possible that two threads can delete one volume at the same time, if the volume state is in Expunging
2013-08-14 18:16:08 -07:00
Min Chen
c675f826e5
CLOUDSTACK-4318:[Object_Store_Refactor] Failed to delete snapshot copied
...
to Staging storage during snapshot creation.
2013-08-14 18:12:53 -07:00
Edison Su
37d58313c9
CLOUDSTACK-4325: if userdispersing algorithm is used, then zone wide storages never been picked up
2013-08-14 15:52:55 -07:00
Edison Su
374de76dae
CLOUDSTACK-4324: need to clean up snapshot_store_ref, if creating snapshot failed.
2013-08-14 14:59:19 -07:00
Mike Tutkowski
0f60b5d41c
CLOUDSTACK-4331 - Enable more capacity from a managed storage device to be given to CloudStack
2013-08-14 15:02:57 -06:00
Min Chen
67beef15c9
CLOUDSTACK-3706:[Object_Store_Refactor] Failed to create template from
...
stopped guest vm's root disk.
2013-08-14 13:11:06 -07:00
Nitin Mehta
efa861cd5c
CLOUDSTACK-4287
...
Builtin template Ready Status is No even after the Status is downlaod complete. The reason was that template sync updates only the template download state but not the state. Fixing that. Ideally we should change the state through state machine only.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-08-14 18:43:47 +05:30
Kishan Kavala
21831211f6
CLOUDSTACK-4295 : TemplateTO should contain physical size along with virtual size. Usage ignores templates with size 0
2013-08-14 17:34:05 +05:30
Wei Zhou
02d1757724
CLOUDSTACK-4316: updateSystemVms is not need in Upgrade304to305 as new templates are used in upgrade from 4.1 to 4.2
2013-08-14 11:03:52 +02:00
Alena Prokharchyk
b2d2f2c050
Fixed deployDb - in setRAWformatForRBDVolumes use executeUpdate instead of executeQuery when perform an update with the prepared statement
2013-08-13 17:14:25 -07:00
Edison Su
c58f15d867
CLOUDSTACK-4222: use new volume object in case of migrate volume
2013-08-13 15:16:45 -07:00
Min Chen
5c35bd1b3e
CLOUDSTACK-3860: S3 and Swift-backed Secondary Storage Migration
2013-08-13 11:55:03 -07:00
Wido den Hollander
04f378bcff
CLOUDSTACK-4114: Use RAW disk images for RBD instead of QCOW2
2013-08-13 16:14:45 +02:00
Likitha Shetty
b172eb21c4
CLOUDSTACK-4279. Usage manager - Parameter index out of range error
2013-08-13 15:58:17 +05:30
Hugo Trippaers
d57796b94f
Fix XML validation errors
2013-08-13 08:25:45 +02:00
Alex Huang
3df5571d2e
Resolved merge conflicts
2013-08-12 20:15:24 -07:00
Alex Huang
de2bd96d98
Moved volume related code into cloud-engine-orchestration
2013-08-12 19:06:51 -07:00
Alex Huang
0e19e82fac
Split up the volume manager into two. One part is for self-service. One part belongs in the engine. Removed old 2.1 upgrade code. In order to upgrade from 2.1, you must upgrade to 2.2. first. So therefore these files are no necessary in the newer versions of CloudStack
2013-08-12 19:05:22 -07:00
Edison Su
9a89fd94fc
CLOUDSTACK-4211: fix s3 on kvm
2013-08-12 17:20:09 -07:00
Murali Reddy
5cff9bd2e6
CLOUDSTACK-4111: Prompt "Acquire New IP - Cross Zones - YES/NO" wizard
...
only when there is portable IP range added at region level.
region response will now have details if portable IP service is enabled
or not. Portable IP service for a region is turned off by default. when
adming adds a portable ip range portable ip service is enabled for the
region.
2013-08-12 18:12:13 +05:30
Harikrishna Patnala
5404bf6063
CLOUDSTACK-4123: 3.0.6 to ASF 4.2 Upgrade: On Adding VMWare Cluster to the Setup, 3.0.6 System VM Template for VMWare is downloaded instead of 4.2
...
Updating the new system template URLs for the existing templates during upgrade to 4.2.
If new 4.2 system template is registered before upgrade then marking the old templates as removed during upgrade.
2013-08-10 18:02:49 +05:30
Min Chen
3efa2767a8
CLOUDSTACK-4204: return a ZoneScope in picking cache storage.
2013-08-09 18:14:01 -07:00
Min Chen
fc7743773a
CLOUDSTACK-4204:[Object_store_refactor] Snapshot created from volume in
...
zone2 is copying to secondary staging storages in zone1
2013-08-09 18:13:46 -07:00
Min Chen
e018936dc4
CLOUDSTACK-4129: select SSVM based on ImageCache data store instead of
...
region wide image store.
2013-08-09 18:13:29 -07:00
Koushik Das
8cf48ed2ce
CLOUDSTACK-4179: [Performance Testing] Time taken for Deploy VM async job to complete is considerably higher
...
The time increased due to the newly added dedicated resources feature. During regular VM deployment, all dedicated resources are put in avoid list so that they are not considered for deployment.
Now the way to compute the list of dedicated resources is not optimal and performance deteriorates in an environment having lot of pods, clusters and hosts as the logic is to query db. for each suc resource.
The fix is to optimize the logic not to loop through all resources but get the list of each resource type in a single query.
Conflicts:
server/src/com/cloud/deploy/DeploymentPlanningManagerImpl.java
2013-08-09 16:57:21 +05:30
Kishan Kavala
0eb67bff12
CLOUDSTACK-4146, CLOUDSTACK-4147: Fix KVM snapshot upgrade.
...
when migrating KVM snapshot path, CONCAT is not required. back_snap_id is complete path for KVM snapshots
2013-08-09 14:50:26 +05:30
Nitin Mehta
ab5ea3febd
CLOUDSTACK-4133
...
Introduce a global lock on template and pool id so that concurrent threads wont be inserting the same row in DB and hit MySQLIntegrityConstraintViolationException
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-08-09 14:03:43 +05:30
Min Chen
99c3e4f3f5
CLOUDSTACK-4190: Add endpoint selector implementation for ImageCache
...
data store and also delete object from staging area for volume copy from
primary to secondary or vice versa.
2013-08-08 16:17:00 -07:00
Min Chen
bf6961255a
CLOUDSTACK-4190:[Object_store_refactor] volume should be deleted from
...
staging storage after successfule volume migration .
2013-08-08 16:16:36 -07:00
Alex Huang
dfe99a5b15
Fixed the referral to the deleted project
2013-08-08 15:02:40 -07:00
Alex Huang
5495f10bce
Revert "Reverting the range of commits that broke the build"
...
This reverts commit b59e3aaefc .
2013-08-08 15:02:40 -07:00
Alena Prokharchyk
4976a67bfc
CLOUDSTACK-4193: don't let privateGateway to be created with NULL networkId
2013-08-08 10:49:12 -07:00
Koushik Das
12ba37c8af
CLOUDSTACK-4136: [upgraded ENV]Deleting Snapshot which was created before upgrade is throwing NPE.
...
Snapshot object is being accessed even when it is null. In case snapshot is not present in backup store the code should return after cleaning db entry.
Also noticed discrepancy in the upgraded db setup but couldn't fully verify it, so added logging in the upgrade logic for template/snapshots etc.
2013-08-08 15:13:08 +05:30
Prasanna Santhanam
b59e3aaefc
Reverting the range of commits that broke the build
...
This reverts commits 30c33415..f6a2c817bc
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-08 14:46:56 +05:30
Sateesh Chodapuneedi
3e85f480c4
CLOUDSTACK-4165 3.0.6 to ASF 4.2 Upgrade: Data Migration step of the Upgrade Fails on "persistLegacyZones"
...
Track the Datacenter of previous cluster correctly while going through each cluster in the zone to see if 2 clusters are from different DC/vCenter.
Cherry picked from 4.2 commit a3450afff5
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-08 09:02:17 +05:30
Edison Su
e851f4a930
CLOUDSTACK-4109: fix upload volume to s3 for vmware
2013-08-07 19:14:18 -07:00
Min Chen
98041dba46
CLOUDSTACK-4109:[Object_store_refactor] Extract volume failed with NPE.
2013-08-07 17:11:40 -07:00
Alex Huang
5287f4c9ec
Got everything running through testing
2013-08-07 16:41:06 -07:00
Alex Huang
942f282a6e
Moved config into it's own package
2013-08-07 16:41:02 -07:00
Alex Huang
cf3bbb1fb1
Switched AgentManager to use ConfigDepot
2013-08-07 16:41:00 -07:00
Bharat Kumar
e55844c364
Cloudstack-4100 preserve data in iso_id column while upgrading from 3.0.7 to 4.2
...
Conflicts:
engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java
2013-08-07 18:47:05 +05:30
Marcus Sorensen
789ac14c14
Summary: CLOUDSTACK-4121 fix local storage volume deployment
...
Detail: Fix hypervisor type lookup for local storage volumes by
adding in a statement for the 'HOST' storage scope.
Reviewed-by: Rajesh Battala
2013-08-06 21:37:11 -06:00
Edison Su
a8ee45de7c
CLOUDSTACK-4074: if hypervisor doesn't return size of volume/template, don't update it into db
2013-08-06 15:53:57 -07:00
Min Chen
ec89e23665
CLOUDSTACK-4116: don't update db if hypervisor storage processor does
...
not return volume size.
2013-08-06 15:42:18 -07:00
Min Chen
93814d1738
CLOUDSTACK-4002: We should use backup_snap_id in snapshots table to
...
construct snapshot install_path in snapshot_store_ref for pre-4.2.0
snapshot.
2013-08-06 15:04:57 -07:00
Min Chen
a8990cffd4
CLOUDSTACK-4003: We should not delete a READY data object from object
...
store ref table in case of any operation failure related to this data
object.
2013-08-06 15:04:57 -07:00
Min Chen
5908a3931c
CLOUDSTACK-4002:Fix snapshot install path for upgraded snapshots.
2013-08-06 15:04:57 -07:00
Rajesh Battala
7bb0e2a4ca
CLOUDSTACK-3781 Unable to resize disk with Zone wide storage
2013-08-06 12:59:06 -07:00
Bharat Kumar
1a89bc06c8
Cloudstack-4015 No error logged when deleteing all the valns when there are allocateed vnets. Alos not updating the vnet range in physicalnetworks table in the above case.
...
Signed-off-by: Jayapal <jayapal@apache.org>
2013-08-06 17:28:22 +05:30
Harikrishna Patnala
c1e78809b2
CLOUDSTACK-4070: upgrade from 2.2.14 to 4.2 is failing with 4.0 VMware SystemVm template not found. Cannot upgrade system Vms
...
System template upgrade is not required during 4.0 upgrade since we handle the same during 4.2 upgrade. So removing the system template update during 4.0 upgrade.
2013-08-06 17:17:20 +05:30
Kishan Kavala
95e15833b9
Encrypt pre shared key in Site2Site customer gateway DB entries
...
Conflicts:
engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java
2013-08-06 17:01:31 +05:30
Prasanna Santhanam
0eafc0c0d8
CLOUDSTACK-4064: Missed renaming the config for KVM snapshots
...
KVM.snapshot.enabled is lowercased by f025db95 to keep the configs
uniformly lower-case. But it missed the upgrade script and the
references in SnapshotManagerImpl. This commit will fix the issue in all
locations
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 0e216fa7e41bdfe0cc744006bb896c8b00138ca2)
2013-08-06 10:39:14 +05:30
Alena Prokharchyk
beabf596ba
CLOUDSTACK-4080: don't GC the network when it has vms in Starting state even when the nics are not allocated for them yet (can happen when vm is being created)
2013-08-05 14:15:04 -07:00
Alena Prokharchyk
19c7cecde4
CLOUDSTACK-4065: db upgrade - when insert placeHolder nic for Shared networks, always mark this nic as non-default explicitly
...
Conflicts:
engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java
2013-08-05 09:21:08 -07:00
Harikrishna Patnala
506f2a4b94
CLOUDSTACK-3228: system vms are not comming up in zone with two cluster xen and kvm CLOUDSTACK-3631: Enhance System vm deployment retry mechanism
...
Signed off by : Nitin Mehta<nitin.mehta@citrix.com>
2013-08-05 18:19:16 +05:30
Nitin Mehta
f28a28dc77
CLOUDSTACK-3913
...
Private templates would now get copied to only one of image storage chosen randamly as was the case earlier. Dont throw an exception for uploading volumes when there are multiple image stores, instead choose one of them randomly
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-08-05 17:43:57 +05:30
Min Chen
151a7ee497
CLOUDSTACK-3861 and CLOUDSTACK-3862: Deprecate old S3/Swift classes.
2013-08-02 18:16:46 -07:00
Chiradeep Vittal
d8a5f03c7f
Revert "Starting the work of moving orchestration pieces to engine"
...
This reverts commit 7a2aaf96fd .
2013-08-02 15:09:29 -07:00
Alex Huang
7a2aaf96fd
Starting the work of moving orchestration pieces to engine
2013-08-02 13:51:48 -07:00
Alex Huang
8930cfa983
Switched over to use the new jobs framework
2013-08-02 11:07:55 -07:00
Bharat Kumar
65370f31bc
upgrade to ASF 4.2 "cloud" Database Schema Inconsistencies on the Upgraded Setup - Table "volumes"
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-08-02 17:07:22 +05:30
Wei Zhou
0529da136f
upgrade: Add upgrade patch to 4.3.0
2013-08-02 11:50:19 +02:00
Min Chen
2e0f11f15f
CLOUDSTACK-4002: [Upgrade][2.2.16 to 4.2] After upgrade creation of
...
volume from a snapshot which was existing before upgrade, fails with NPE
2013-08-01 17:08:49 -07:00
Edison Su
239c6cef45
CLOUDSTACK-4008: fix snapshot npe if its volume is deleted
2013-08-01 13:59:41 -07:00
Bharat Kumar
21f1b137cb
Cloudstack-3753 Multiple VLAN range API need to accept a list rather than "add" or "remove" per command
...
Reviewed-by: Alena Prokharchyk
Conflicts:
server/test/com/cloud/network/MockNetworkManagerImpl.java
2013-08-01 13:36:20 -07:00
Alena Prokharchyk
f444ce7f65
CLOUDSTACK-4015: don't insert the fake template record when upgrade from 304 to 305
2013-08-01 09:58:43 -07:00
Chip Childers
8225374138
Updating pom.xml version numbers for release 4.3.0-SNAPSHOT
...
Signed-off-by: Chip Childers <chipchilders@apache.org>
2013-08-01 10:35:00 -04:00
Bharat Kumar
b9a2b07ceb
Fix for incorect capacity displayed at the dashboard.
2013-08-01 12:31:07 +05:30
Mice Xia
51e4f597e0
fix CLOUDSTACK-3591 add usage recording for VM snapshots
...
Conflicts:
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
server/src/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java
setup/db/db/schema-410to420.sql
2013-08-01 10:47:36 +08:00
Edison Su
6ea9d8b159
CLOUDSTACK-3976: if the snapshot is empty and it's the last one in the chain, we need to take full snapshot for the snapshots in sequence
2013-07-31 17:43:49 -07:00
Edison Su
06b9976371
CLOUDSTACK-3976: delete parent snapshot if child snapshots are deleted
2013-07-31 17:03:27 -07:00
Min Chen
ad653bf9f5
CLOUDSTACK-3977: vm deployement is failing ;: Resource [Host:5] is
...
unreachable: Host 5: Unable to send class
org.apache.cloudstack.storage.command.CopyCommand because agent is in
maintenance mode.
2013-07-31 14:04:20 -07:00
Alena Prokharchyk
2cacbeac2c
CLOUDSTACK-3974: 410-420 db upgrade - exclude is_inline field from the query when insert the entry for the F5 load balancer as this field was dropped as a part of 40-41 upgrade
2013-07-31 13:33:52 -07:00
Bharat Kumar
c7a1dbb176
Cloudstack-2997 unable to update concurrent_conncetions feild in network_offerin.
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-31 15:31:42 +05:30
Harikrishna Patnala
9939d09455
CLOUDSTACK-3969: Upgrade failed from 3.0.3 to 4.2 in KVM host with error 4.2.0 KVM SystemVm template not found though systemvm-kvm-4.2 template is uploaded during 3.0.3 setup
...
This is due to mysql version conflict with '=' and 'LIKE'.
Changing to '=' while searching for new system template.
2013-07-31 15:12:10 +05:30
Min Chen
c2192808aa
CLOUDSTACK-3686: Registering a template does not generate a usage event.
2013-07-30 17:35:12 -07:00
Alena Prokharchyk
95fde83815
CLOUDSTACK-3936: db upgrade - added upgrade path from CCP 2.2.15,2.2.16 to CS 4.2
2013-07-30 10:53:23 -07:00
Alex Huang
46e644e134
Separate agentmanager from server code. Moved out ssvm. Remove methods that shouldn't be used
2013-07-29 19:13:31 -07:00
Prachi Damle
ccec275e09
CLOUDSTACK-3904 listHosts API fails in VMware setup when virtualmachineid parameter is passed
...
Changes:
- Pod and Cluster can be null, modified the query to append these only if non-null
2013-07-29 15:51:44 -07:00
Min Chen
42da3efbc3
CLOUDSTACK-3862: Remove S3/Swift-backed Secondary Storage Code.
2013-07-29 14:31:33 -07:00
Edison Su
ae534388c0
CLOUDSTACK-3852: fix upload volume
...
Conflicts:
plugins/hypervisors/vmware/src/com/cloud/hypervisor/guru/VMwareGuru.java
server/src/com/cloud/template/TemplateManagerImpl.java
2013-07-29 11:50:16 -07:00
Edison Su
d64c318f57
CLOUDSTACK-3510
...
Persist the download url in the db for volume download.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
Conflicts:
server/src/com/cloud/storage/VolumeManagerImpl.java
2013-07-29 11:50:15 -07:00
Alex Huang
a4cea4ebf2
Removed schema from the dependency of many components
2013-07-29 10:55:19 -07:00
Rajesh Battala
63fea5e94e
CLOUDSTACK-3877 Unable to Resize Volume (kvm, vmware)
2013-07-29 18:50:41 +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
Alex Huang
c2752ba93c
Removed mysql as any dependency
2013-07-26 20:35:48 -07:00
Alex Huang
1834e81476
Added the missing directories
2013-07-26 16:34:09 -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
Prachi Damle
72c46103af
fixing imports
2013-07-26 16:23:25 -07:00
Prachi Damle
a5e8c8aeb7
Fixing license headers
2013-07-26 16:23:22 -07:00
Alena Prokharchyk
8cac1e0443
DB upgrade: upgraded the bunch of db upgrade files with Apache license header
2013-07-26 15:37:07 -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
Min Chen
199e861a51
CLOUDSTACK-3856:[ZWPS] Template downloaded from ROOT volume is not seen
...
in the UI because of failure to get hypervisor_type for the ROOT volume
for zone-wide primary storage.
2013-07-26 13:41:58 -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
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
6a916b9e82
DB upgrade: added db upgrade paths for CloudPlatform (Citrix) releases 303,304,305,306,307 to 4.2
2013-07-25 16:39:16 -07:00
Edison Su
5e427bd2f6
CLOUDSTACK-2536: fix the regression introduced by 4c81ea69c4
2013-07-25 16:36:06 -07:00
Prachi Damle
08bbfbdc4a
CLOUDSTACK-3491 delete host resulting NPE; Exception caught while handling disconnect: java.lang.NullPointerException
...
Changes:
- During host deletion, host entry in databse gets removed prior to the disconnect task getting processed.
- This causes the disconnect task to get NPE while trying to do the host state transition
2013-07-25 15:57:39 -07:00
Min Chen
e7cdaa1b31
CLOUDSTACK-3667:[Object_Store_Refactor][VMWare] System VMs StartCommand
...
failed due to Exception: java.lang.Exception Message: secondary storage
for dc 3 is not ready yet?
2013-07-25 10:57:05 -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
Edison Su
7f200d966e
CLOUDSTACK-3681: fix bunch of bugs related to vmware, regarding to snapshot
2013-07-24 19:06:30 -07:00
Min Chen
13a9b94193
CLOUDSTACK-3665:Failed to create volume from snapshot.
2013-07-24 14:39:07 -07:00
Edison Su
d22bea6031
CLOUDSTACK-2630: fix delta snashpt
2013-07-24 09:48:59 -07:00
Edison Su
fa358cf01f
CLOUDSTACK-2630: fix delta snashpt
2013-07-24 09:48:41 -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
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
Devdeep Singh
7dec27e844
CLOUDSTACK-3708, Migration of a volume attached to a running instance isn't working (Storage motion).
...
The request to migrate was coming till ancient data motion strategy but wasn't worked on and forwarded
to the resource. The code probably got removed by a bad merge. Bringing it back.
2013-07-23 10:49:51 +05:30
Alex Huang
5297a071d2
Changed virtual machine stop to use uuid
2013-07-22 20:06:04 -07:00
Min Chen
cc99a83d71
CLOUDSTACK-3716:NPE triggered in DownloadListener.
2013-07-22 17:26:33 -07:00
Min Chen
181fb03e7e
CLOUDSTACK-3716:NPE triggered in DownloadListener
2013-07-22 17:14:30 -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
eff27e1f83
don't update VM state if the state doesn't really change. updating VM state increases the update count, which might cause real VM update fail
2013-07-22 15:56:37 -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
Min Chen
f8b5a4159b
CLOUDSTACK-3419: [Object_Store_Refactor] Uploaded volume is being
...
deleted while attaching it to guest VM.
2013-07-20 12:16:55 -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
Koushik Das
c202142a1e
CLOUDSTACK-3628: [Storage]Migration of data disk from Shared primary to shared/local primary storage is throwing NPE
...
'Long' value was getting passed to a parameter of type 'long' and in case of null was resulting in NPE
2013-07-19 19:08:03 +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
Harikrishna Patnala
499b78bf09
CLOUDSTACK-3601: Adding router.template.xen/vmware/kvm/lxc/hyperv parameters in upgrade setup
...
Signed-off-by: Jayapal <jayapal@apache.org>
2013-07-19 14:40:13 +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
Alena Prokharchyk
ca1f8a6632
CLOUDSTACK-3612: fixed missing indexes in some cloud tables. In the bug those tables are addressed as table #4 , table #5 , and table #6
...
Conflicts:
setup/db/db/schema-410to420.sql
2013-07-18 16:00:19 -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
Vijayendra Bhamidipati
dfa612d1fe
CLOUDSTACK-3598: [Automation] NullPointerException observed while connecting agent
...
Description:
Fixing an NPE when setting resource count.
2013-07-18 08:55:57 -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
Nitin Mehta
551fdd7df4
CLOUDSTACK-3605
...
Make the display_offering = true by default in the code.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-07-18 15:12:29 +05:30
Min Chen
cb2a84241b
CLOUDSTACK-3513: [Automation] Failed to copy iso and template between
...
zones.
2013-07-17 17:31:50 -07:00
Edison Su
c618caf102
fix localendpoint npe
2013-07-17 16:29:52 -07:00
ahuang
ee4d067c12
Fixed a bunch of asserts
2013-07-17 16:20:53 -07:00
ahuang
541f9d7f9c
Changed allocate method to be virtual machine type agnostic
2013-07-17 15:58:46 -07:00
Edison Su
4bbaac2d28
fix NPE in localhostendpoint
2013-07-17 10:16:58 -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
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
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
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
ahuang
aa131525ba
Added missing files
2013-07-16 11:24:21 -07:00
Prachi Damle
fa9ca72f36
CLOUDSTACK-2155: Anti-Affinity -When Vm deployment is done in parallel , anti-affinity rule is not honored.
...
Changes:
- Locking the group and save reservation mechanism done by DPM
- Added admin operation to cleanup VM reservations
- DPM will also cleanup VM reservations on startup
2013-07-16 10:53:06 -07:00
Prachi Damle
661088927d
CLOUDSTACK-2155 Anti-Affinity -When Vm deployment is done in parallel , anti-affinity rule is not honored.
...
Changes to check if the destination found does not conflict with any vm reservation
2013-07-16 10:53:02 -07:00
Min Chen
2d30f42d0f
After upgrade to 4.2.0, restart of system vms and router vm fails with a
...
NPE.
2013-07-15 15:37:08 -07:00
Koushik Das
396a13dd0b
CLOUDSTACK-3445: Observing the system alerts "unallocated Local Storage is low in cluster" when Primary storage is Local Storage
...
Available bytes was getting stored in the used bytes property of local storage pools. As a result of this, for newly added local pools Cloudstack thinks that there is no space available and generated alerts.
2013-07-15 15:20:28 +05:30
Edison Su
8f4575e877
CLOUDSTACK-3400: add swift support
2013-07-13 02:07:15 -07:00
Edison Su
0c1ae20e77
add inital swift support
...
Conflicts:
server/src/com/cloud/resource/ResourceManagerImpl.java
server/test/com/cloud/resource/MockResourceManagerImpl.java
2013-07-13 02:07:03 -07:00
Vijayendra Bhamidipati
d9ce49b1f1
CLOUDSTACK-3264: [ZWPS]NPE while finding storage pools for migration
...
Description:
Filter primary storage pools based on zonewide/clusterwide configuration
when considering pools to list for storage migration of volumes.
2013-07-12 15:19:36 -07:00
Likitha Shetty
aaaf168f5a
CLOUDSTACK-2757. When configs are added the value of the property 'category' is not persisted.
2013-07-12 16:50:30 +05:30
Harikrishna Patnala
5dd1a1dd8e
CLOUDSTACK-2987: Fixing dynamicallyScalable flag in register and update template API Previuos commit: 7b6b8d7a07 This fix is due to some changes made by the merges after this commit.
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-12 15:19:25 +05:30
Saksham Srivastava
bdc7e4ce33
CLOUDSTACK-3094: Adding a shared network to already deployed VM is failing.
...
Signed-off-by: Mice Xia <mice_xia@tcloudcomputing.com>
2013-07-12 14:30:10 +08:00
Alena Prokharchyk
dd91974920
CLOUDSTACK-2843: added CopyCommand to the list of the commands controlled by execute.in.sequence.hypervisor.commands global config. This command was introduced by the Storage refactoring, and used for volume creation on the primary storage
2013-07-11 17:44:12 -07:00
Sanjay Tripathi
08669f5de2
CLOUDSTACK-3462: NumberFormatException with TemplateService while performing template synchronization.
2013-07-11 14:16:57 +05:30
Sanjay Tripathi
429e6bd4bb
CLOUDSTACK-1768: Ability to delete Events and Alerts: Delete by a time period is required.
...
User should be able to delete/archive alerts and events by selecting a time period or by
choosing the alerts and events older than a date. Added the ability to choose a time period
too.
2013-07-11 14:12:17 +05:30
Koushik Das
aed49572c7
CLOUDSTACK-2918: In a scaled up environment, hosts fail to come up after Management server restart in clustered set up
...
Summary of changes in the fix
- Optimized host scan logic, now instead of iterating over each cluster host scan is done for a batch of clusters
- Made host scan task interval configurable
2013-07-10 12:13:24 +05:30
Mike Tutkowski
06f73092fb
Changes related to Review Board comments
2013-07-09 22:50:14 -06:00
Sheng Yang
7d8f6c7022
CLOUDSTACK-3417: Prevent conflict of existed foreign keys of baremetal when upgrade
...
Now we dropped the keys(if any) then re-add them.
2013-07-09 16:36:52 -07:00
Kishan Kavala
acb4a19633
CLOUDSTACK-2429: Multiple private gateways are allowed within a VPC. Check for conflicting routes in all gateways when adding a new static route
2013-07-09 17:27:06 +05:30
Murali Reddy
ea8b85af2a
CLOUDSTACK-234: create/delete firewa/lb/pf rule: send ip assoc command
...
only on first rule is created on the IP and last rule is revoked on the
IP
Current suboptima logic of IP Assoc
- On associate IP to GuestNetwork there is an IPAssoc command sent to
corresponding network service providers of the network
- On every rule apply on IP associated with the network send IP assoc
to the network service providers
- On every rule deletion on IP associated with a network sernd IP assoc
command to the network service providers
With this fix logic of IP assoc is changed as below which eliminates
executio of unnessary and expensive IpAssocCommand resource command
- On associate IP to GuestNetwork, associate IP only to the network,
Untill any service is associated with the IP dont send IP Assoc
- On creation of first rule on the IP send IPAssoc to corresponding
network service provider. Since IP is used for a service, IPAssoc
need to be sent to correpondign service provider
- On deletion of last rule on the IP send IPAssoc to corresponding
network service provider. When last rule is deleted, IP has no
service associated with it, so send IP assoc to service provider to
remove the IP association
2013-07-08 14:52:12 +05:30
Prasanna Santhanam
f96b89f25e
CLOUDSTACK-3273: ClassCastException when adding cache store via API
...
Filter the detail map sent over the wire into Map<String, String> before
processing underneath by storage life cycle
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-05 15:32:41 +05:30
Vijayendra Bhamidipati
6bad34c509
CLOUDSTACK-3110: [VMWARE]NPE while adding primary storage(scope=cluster) with Invalid hostname
...
Description:
When retrieving primary datastore, handle case for non-existing datastores/hosts.
Throw exception and handle the exception in datastore mgmt layer and pass onward
to create storage pool API.
2013-07-03 09:43:00 -04:00
Harikrishna Patnala
e63ac5512e
CLOUDSTACK-3324: Fix/Improve upgrade system vm template 41 to 42
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-03 17:18:25 +05:30
Min Chen
d425fa76f7
CLOUDSTACK-3335:[Object_Store_Refactor][Automation]CopyTemplate failed
...
with Unexpected exception.
2013-07-02 18:01:47 -07:00
Rajesh Battala
2bc4cbf9fb
CLOUDSTACK-2571 Zone Wide Primary Storage blocker issues while Enabling in Maintenance State
...
Signed-off-by: Edison Su <sudison@gmail.com>
2013-07-02 11:49:16 -07:00
Murali Reddy
2f3764ef94
CLOUDSTACK-1959: GSLB: add capability to provide weights to the sites
...
involved in the GSLB
add weights to each site participating in the GSLB. Traffic will be load
balanced across the sites based on the weigths associated with each
site. If not specified weight of site is defaulted to 1.
2013-07-02 17:55:58 +05:30
Dave Brosius
625a9a1dc8
remove dead code
...
Signed-off-by: Dave Brosius <dbrosius@mebigfatguy.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
Reviewed-by: Prachi Damle <prachi@cloud.com>
2013-07-02 12:17:39 +05:30
Min Chen
3d37b8c049
CLOUDSTACK-3277: Remove unused PrimaryDataStoreEntityImpl class
2013-07-01 14:00:44 -07:00
Alena Prokharchyk
4f89c88985
41-42 DB upgrade: fixed physicalNetworkUpdate method - one of the preparedStatement elements wasn't set
2013-07-01 12:00:54 -07:00
Edison Su
49ded7e4a3
the plugin better not touch database
2013-06-29 15:09:43 +05:30
Prasanna Santhanam
f1134da8df
Group storage subsystem components for spring
...
Breaking down storage components among oss, nonoss and simulator
contexts. The default components are loaded by
OSS - applicationContext + componentContext
NonOSS - applicationContext + nonossComponentContext
Simulator - applicationContext + simulatorComponentContext
provider beans are are selectively overridden for simpler configuration.
Where possible beans are loaded by local reference.
<list merge=true> does not unfortunately work perfectly for bean merging
the providers causing a bit of bloat. Explore for later.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-29 13:53:41 +05:30
Prasanna Santhanam
de38cd815f
Fix typo in class name
...
AsyncRpcConext -> AsyncRpcContext
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-29 13:50:25 +05:30
Min Chen
87c401aaaf
CLOUDSTACK-3144: [Automation] Deletion of templates failing. Fails to
...
find image store housing template.
2013-06-28 17:57:42 -07:00
Donal Lafferty
58f9202818
CLOUDSTACK-3215: Cannot Deploy VM when using S3 object store without NFS Cache
...
Signed-off-by: Edison Su <sudison@gmail.com>
2013-06-28 16:52:06 -07:00
Mike Tutkowski
99227f7b3e
SolidFire plug-in and related changes
...
SolidFire plug-in
SolidFire plug-in related
2013-06-28 16:59:21 -06:00
Prachi Damle
02ab2eb384
Revert "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"
...
This reverts commit 7f2f25d640 .
2013-06-28 14:58:32 -07:00
Bharat Kumar
6b0df2566d
Cloudstack-3106 Delete all ips except ipAlias. Cloudstack-3119 Shared network removal doesn't cleanup corresponding IP ranges
...
Signed-off-by: Jayapal <jayapal@apache.org>
2013-06-28 19:05:55 +05:30
Bharat Kumar
7f2f25d640
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: Jayapal <jayapal@apache.org>
2013-06-28 19:05:54 +05:30
Kishan Kavala
87a5dc582e
encrypt vnc_password for removed Vms also. Snapshots of removed Vms still refer Vm VOs
2013-06-28 11:13:02 +05:30
Min Chen
b09f69d917
CLOUDSTACK-3249: [Object_Store_Refactor] Unable to deployVm from
...
template when the management server was restarted in the middle of
Secondary to Primary storage template download.
2013-06-27 17:36:02 -07:00
Alena Prokharchyk
5437a0d058
CLOUDSTACK-3126: don't count system network (private gateway's network) when calculate networks count in the vpc
2013-06-27 17:10:14 -07:00
Donal Lafferty
4361418e41
Removed Dead Code from Management Server Hyper-V 2012 Support
...
Update ImageFormat enum to include VHDX format introduced with Hyper-V
Server 2012.
Remove existing Hyper-V plugin, because it does not work and is dead
code.
Remove references to existing Hyper-V plugin from config files.
Remove Hypervisor.HypervisorType.Hyperv special cases from manager code
that are unused or unsupported.
Specifically, there is no CIFS secondary storage class
"CifsSecondaryStorageResource". Also, the Hyper-V plugin's
ServerResource is contacted by the management server and not the other
way around.
Add Hyperv-V support to ListHypervisorsCmd API call
Signed-off-by: Edison Su <sudison@gmail.com>
2013-06-27 11:46:02 -07:00
Kishan Kavala
f96442a45b
CLOUDSTACK-3231: Update service offering Id of allocated Vm usage whem service offering changes for a Vm
2013-06-27 16:01:39 +05:30
Min Chen
de44a77878
Gracefully handle racing condition in updating state of dataobject and
...
data store mapping table.
2013-06-26 17:16:25 -07:00
Murali Reddy
ff167134e4
CLOUDSTACK-3214: transferring portable IP across zones with enableStatic
...
NAT does not work
making an exception for portabe IP, so that if the current datacenter with
portable IP is associated is different from destiantion data center
also on transfer on to new zone, transfer the portable ip association to
new data center, physical network id's
2013-06-26 19:29:55 +05:30
Nitin Mehta
1c102a0589
CLOUDSTACK-2835: Change function from execute to executeUpdate
2013-06-26 17:47:17 +05:30
Harikrishna Patnala
c0591531d8
CLOUDSTACK-3187: cluster.(cpu/memory).allocated.capacity.disablethreshold in not considering overcommit factor. cluster is getting disable based on actual use
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-26 16:02:21 +05:30
Harikrishna Patnala
9385cf0453
CLOUDSTACK-2835: VR Deployement from admin registered template is failing because registered template type is user. Additional parameter "isrouter" in register/update template API for the root admin. True if registered template is of type ROUTING.
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-26 16:00:12 +05:30
Kishan Kavala
da0006618f
CLOUDSTACK-3124: Deletion of ACL associated with a tier/ pvt gateway should not be allowed. Check for associated tiers/gateways before deletion
2013-06-24 17:58:29 +05:30
Jayapal
6a7ae637dd
CLOUDSTACK-1578 Egress default policy configurable using network offering in xenserver with VR as firewall provider
2013-06-24 13:37:00 +05:30
Alena Prokharchyk
ae6e8b448f
CLOUDSTACK-3085: network implement - deploy internal lb vm for the ip only when:
...
* the load balancer contains lb rule in state "Active"
* when lb rule has at least one vm assigned to it
2013-06-20 13:01:32 -07:00
Edison Su
205722aabf
fix nonoss build
2013-06-20 10:47:19 -07:00
Edison Su
733ed3622d
fix compile
2013-06-20 00:57:06 -07:00
Edison Su
97f8c524b8
merge object_store
2013-06-20 00:18:00 -07:00
Harikrishna Patnala
7b6b8d7a07
CLOUDSTACK-2987 Ensure XStools to be there in template inorder to enable dynamic scaling of vm
...
CLOUDSTACK-3042 - handle Scaling up of vm memory/CPU based on the presence of XS tools in the template
This also takes care of updation of VM after XS tools are installed in the vm and set memory values accordingly to support dynamic scaling after stop start of VM
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-20 11:08:38 +05:30
Edison Su
9aec9c605c
merge to master
2013-06-19 18:16:47 -07:00
Alena Prokharchyk
d66e9c7b51
CLOUDSTACK-2843: Provideded an ability to turn off the synchronization being done on the CS agent side,
...
for number of commands participating in Vm deployment process, as parallel deployment is supported on the hypervisor side.
The behavior is controlled by global config varirables:
"execute.in.sequence.hypervisor.commands" (false by default) sets/resets the synchronization for commands:
=========================
StartCommand
StopCommand
CreateCommand
CopyVolumeCommand
"execute.in.sequence.network.element.commands" (false by default) sets/resets the synchronization for commands:
==========================
DhcpEntryCommand
SavePasswordCommand
UserDataCommand
VmDataCommand
As a part of the fix, increased the global lock timeout to 30 mins in several VR scripts:
===========================
edithosts.sh
savepassword.sh
userdata.sh
to support situations when multiple concurrent calls to the script are being made.
2013-06-19 10:12:13 -07:00
Wei Zhou
10e80afdeb
remove duplicated VPC router in return value of functions in DomainRouterDaoImpl
2013-06-18 15:29:46 +02:00
Wei Zhou
882220e802
CLOUDSTACK-1301: VM Disk I/O Throttling
2013-06-18 10:02:55 +02:00
Alena Prokharchyk
5d0a1cee13
CLOUDSTACK-2883: create default network offering with internal lb support (if doesn't exist already)
2013-06-17 16:13:19 -07:00
Jessica Wang
880029844b
CLOUDSTACK-3016: remove zonetype parameter from listTemplates, listIsos API.
2013-06-17 16:08:38 -07:00
Min Chen
cf43344541
Fix build error
2013-06-17 13:48:02 -07:00
Dave Brosius
3a02942123
set rpcProvider field correctly
...
Signed-off-by: Dave Brosius <dbrosius@mebigfatguy.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-17 19:12:02 +05:30
Likitha Shetty
770cf02ccf
Global config to disable an account from acquiring public ips and guest vlans from the system if the account
...
has dedicated resources and the dedicated resources have all been consumed - use.system.public.ips and use.system.guest.vlans
Both configs are configurable at the account level too.
2013-06-17 17:54:36 +05:30
Edison Su
f41c800d88
merge to master
2013-06-14 19:06:33 -07:00
Edison Su
c2da4eac89
fix NPE for cache ref cnt
2013-06-14 17:24:31 -07:00
Edison Su
a715eb8121
clean up storage related code, and add lru replacement algorithm for cache storage
2013-06-14 15:55:59 -07:00
Min Chen
bb85a564da
Remove state from vm_template table, we should use template_store_ref
...
state column to represent the state of a template in each zone.
2013-06-14 15:14:09 -07:00
Min Chen
c5083a385f
Migrate NFS secondary storage data from 4.1 to 4.2.
2013-06-14 10:54:41 -07:00
Min Chen
7a3e7d1891
Send CopyCommand to Host instead of randomly picking host and ssvm in
...
backup snapshot. For VMware, it will delegate to ssvm in VMwareGuru.
2013-06-13 11:21:25 -07:00
Min Chen
80ed9254b6
Fix db creation issue caused from merge conflict.
2013-06-12 15:37:21 -07:00
Min Chen
18aeef3ef1
Merge branch 'master' (up to commit
...
c30d9be3ce ) into object_store.
2013-06-12 11:20:32 -07:00
Nitin Mehta
2aafc39f3d
CLOUDSTACK-2957
...
deployVm API size attribute should be capped by the storage.max.volume.size as it is in createVolume.
2013-06-12 17:01:41 +05:30
Harikrishna Patnala
a30f9fa64a
Fix for CLOUDSTACK-1704 and CLOUDSTACK-1622
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-12 15:01:59 +05:30
Nitin Mehta
07e5cbe813
CLOUDSTACK-2932
...
Allow deleting of snapshots that have errored out. Simply mark the removed column as there is no physiocal clean up required
2013-06-11 16:23:21 +05:30
Min Chen
3bf15bd1ff
Code cleanup.
2013-06-10 18:03:15 -07:00
Min Chen
cc0de88088
Remove old DeleteTemplateCommand, DeleteVolumeCommand,
...
DeleteSnapshotBackupCommand, replaced by DeleteCommand.
2013-06-10 17:55:30 -07:00
Min Chen
40982ccef2
drop all alert indice on column last_sent created up to 4.1 version
2013-06-10 11:04:50 -07:00
Nitin Mehta
5b48ec24d8
CLOUDSTACK-2924
...
Recurring snapshot schedule not showing up in UI
For some of the volumes Recurring snapshot schedule was not showing up in UI because the active column was set to false. Since we dont use this column anymore I am removing the active=true check in the listSnapshotPolicies call.
2013-06-10 20:00:16 +05:30
Wei Zhou
76ce304411
CLOUDSTACK-2707: use executeBatch instead of persist in Usage Server
2013-06-10 15:00:08 +02:00
Jayapal
c8d607eae5
CLOUDSTACK-2650 setting vm ip null in user_ip_address when static nat ip
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-10 12:14:34 +05:30
Jayapal
c1ad3b7974
CLOUDSTACK-2604 Fixed deleting secondary ip when no PF rules set
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-10 12:13:08 +05:30
Min Chen
04b5f53392
Removed unused code handling for DeleteSnapshotBackupCommand since we
...
don't send that command anymore.
2013-06-07 17:55:05 -07:00
Sanjay Tripathi
da5c4619c3
CLOUDSTACK-2286: Volume created from snapshot state is in allocated state instead of Ready state which is letting Primary storage not to increment the resources.
2013-06-07 17:17:54 +05:30
Min Chen
03f4c60360
Add missing new file.
2013-06-06 18:01:25 -07:00
Min Chen
66e702222d
Simplify various DeleteTemplateCommnad, DeleteVolumeCommand and
...
DeleteSnapshotBackupCommand to use one DeleteCommand, also provide
BaseImageStoreDriverImpl class for plugin to inherit to avoid code
duplication.
2013-06-06 18:00:38 -07:00