Harikrishna Patnala
b83b8eb838
CLOUDSTACK-2502: Scalevm and over provisioning should respect each other
...
During Scale up of VM, memory/cpu calculations should consider the memory/cpu overprovisioning factors which are set per cluster.
CLOUDSTACK-2939: CPU limit is not getting set for vm after scaleup to a service offering which have cpu cap enabled
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-13 16:30:56 +05:30
Min Chen
18aeef3ef1
Merge branch 'master' (up to commit
...
c30d9be3ce ) into object_store.
2013-06-12 11:20:32 -07:00
Bharat Kumar
360eae3687
Cloudstack-2854 [Multiple_IP_Ranges] Failed to create ip alias on VR while deploying guest vm with ip address from new CIDR
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-12 11:15:47 +05:30
Min Chen
cc0de88088
Remove old DeleteTemplateCommand, DeleteVolumeCommand,
...
DeleteSnapshotBackupCommand, replaced by DeleteCommand.
2013-06-10 17:55:30 -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
Min Chen
4e404953ad
Support Multi part upload for S3 using TransferManager.
2013-06-05 09:40:33 -07:00
Prasanna Santhanam
da6f39b782
PlugNic and UnplugNic both call the method getVmName
...
Renaming the method in the command objects to be uniform with
PlugNicCommand/UnplugNicCommand.getVmName
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-05 12:37:42 +05:30
Bharat Kumar
48913679e8
CLOUDSTACK-2648 [Multiple_IP_Ranges] Reboot or start/stop router vm deletes the ip alises created on VR in case of multiple subnets
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-03 19:22:27 +05:30
Bharat Kumar
0a69b82899
CLOUDSTACK-2620 [Multiple_IP_Ranges] Guest vm's nameserver is not set to VRs guest IP address in case of multiple subnets
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-03 19:09:01 +05:30
Wei Zhou
f714d26039
Revert "CLOUDSTACK-1301: Add VM Disk I/O Throttling"
...
This reverts commit 6dad8adf8f .
2013-06-03 07:48:03 +02:00
Wei Zhou
6dad8adf8f
CLOUDSTACK-1301: Add VM Disk I/O Throttling
2013-06-01 08:03:02 +02:00
Wei Zhou
b9b0168da4
CLOUDSTACK-1192: Add Disk I/O Statistics
2013-06-01 08:00:48 +02:00
Sateesh Chodapuneedi
f24e81fe0d
CLOUDSTACK-659 Support for storage migration in Cloudstack deployment over VMware Added VmwareStorageMotionStrategy to deal with storage motion tasks. Added target host parameter to MigrateWithStorageCommand.
...
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
CLOUDSTACK-659
Support for storage migration in Cloudstack deployment over VMware Added
Resource changes to perform VM live migration along with virtual disks across the clusters in a zone.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
CLOUDSTACK-659
Support for storage migration in Cloudstack deployment over VMware
Added VmwareStorageMotionStrategy to application context.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
Support for volume live migration across datastores
Unit tests for vmware storage motion. These test the VmwareStorageMotionStrategy.
CLOUDSTACK-659
Fixing migrate volume.
CLOUDSTACK-659
Support for storage migration in Cloudstack deployment over VMware Added
Resource changes to perform VM live migration along with virtual disks across the clusters in a zone.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
Support for volume live migration across datastores
CLOUDSTACK-659
Support for storage migration in Cloudstack deployment over VMware Added
Resource changes to perform VM live migration along with virtual disks across the clusters in a zone.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
Support for volume live migration across datastores
CLOUDSTACK-659
Support for storage migration in Cloudstack deployment over VMware Added
Resource changes to perform VM live migration along with virtual disks across the clusters in a zone.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
Support for volume live migration across datastores
Added vm type to prepareNetworkFromNicInfo in MigrateWithStorageCommand implementation.
CLOUDSTACK-2701 - Enable storage migration for VMware resources
Fixing attach volume and delete volume cases for volumes that are moved off original path in datastore when created.
If volume is not found in root directory or datastore, do search in sub folders.
CLOUDSTACK-2701 - Enable storage migration for VMware resources
Sending command MigrateWithStorageCommand to source host instead of target host for the case of migration of VM within cluster.
CLOUDSTACK-2701 - Enable storage migration for VMware resources
Searching for virtual disk during device tear down.
Adding dependency of 'cloud-engine-storage' to vmware hypervisor plugin.
Add hypervisor capability storage_motion_supported for VMware 5.0 and 5.1
CLOUDSTACK-659
Support for storage migration in Cloudstack deployment over VMware
Added VmwareStorageMotionStrategy to deal with storage motion tasks.
Added target host parameter to MigrateWithStorageCommand.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
CLOUDSTACK-659
Support for storage migration in Cloudstack deployment over VMware Added
Resource changes to perform VM live migration along with virtual disks across the clusters in a zone.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
CLOUDSTACK-659
Support for storage migration in Cloudstack deployment over VMware
Added VmwareStorageMotionStrategy to application context.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
Support for volume live migration across datastores
Unit tests for vmware storage motion. These test the VmwareStorageMotionStrategy.
CLOUDSTACK-659
Fixing migrate volume.
CLOUDSTACK-659
Support for storage migration in Cloudstack deployment over VMware Added
Resource changes to perform VM live migration along with virtual disks across the clusters in a zone.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
Support for volume live migration across datastores
Added vm type to prepareNetworkFromNicInfo in MigrateWithStorageCommand implementation.
Adding dependency of 'cloud-engine-storage' to vmware hypervisor plugin.
Add hypervisor capability storage_motion_supported for VMware 5.0 and 5.1
CLOUDSTACK-659
Support for storage migration in Cloudstack deployment over VMware
Added VmwareStorageMotionStrategy to deal with storage motion tasks.
Added target host parameter to MigrateWithStorageCommand.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
CLOUDSTACK-659
Support for storage migration in Cloudstack deployment over VMware Added
Resource changes to perform VM live migration along with virtual disks across the clusters in a zone.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
CLOUDSTACK-659
Support for storage migration in Cloudstack deployment over VMware
Added VmwareStorageMotionStrategy to application context.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
Support for volume live migration across datastores
Unit tests for vmware storage motion. These test the VmwareStorageMotionStrategy.
CLOUDSTACK-659
Fixing migrate volume.
Adding dependency of 'cloud-engine-storage' to vmware hypervisor plugin.
Add hypervisor capability storage_motion_supported for VMware 5.0 and 5.1
Adding dependency of 'cloud-engine-storage' to vmware hypervisor plugin.
CLOUDSTACK-659
Support for storage migration in Cloudstack deployment over VMware
Added VmwareStorageMotionStrategy to deal with storage motion tasks.
Added target host parameter to MigrateWithStorageCommand.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
CLOUDSTACK-659
Support for storage migration in Cloudstack deployment over VMware Added
Resource changes to perform VM live migration along with virtual disks across the clusters in a zone.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
CLOUDSTACK-659
Support for storage migration in Cloudstack deployment over VMware
Added VmwareStorageMotionStrategy to application context.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
Support for volume live migration across datastores
CLOUDSTACK-659
Fixing migrate volume.
Unit tests for vmware storage motion. These test the VmwareStorageMotionStrategy.
CLOUDSTACK-2701 - Enable storage migration for VMware resources
Sending command MigrateWithStorageCommand to source host instead of target host for the case of migration of VM within cluster.
CLOUDSTACK-2701 - Enable storage migration for VMware resources
Moved 2 methods that are not specific to VMware but Volume are moved to VolumeManager from VmwareManager.
Moved datastore volume path constructing code to separate method.
Added check for source and target host, if they are from different DCs/vCenter instances.
Updated error message & removed stale comment
CLOUDSTACK-2701 - Enable storage migration for VMware resources
Injecting component VolumeManager into VmwareResource.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-05-31 21:19:28 +05:30
Anthony Xu
56535a7a83
zero size of template/volume being registered causes infinite loop on SSVM,
...
the fix is if the size is 0, return success without download
2013-05-29 15:18:20 -07:00
Min Chen
8a1a51c6fc
Clean up deleteSnapshot agent command, since snapshot path is already
...
stored in snapshot_store_ref, no need to construct path in resource
side.
2013-05-28 13:36:54 -07:00
Min Chen
27133fba7d
Simplify clean up snapshots logic in secondary storage and consolidate
...
to use one agent command DeleteSnapshotBackupCommand for snapshot
deletion task by removing CleanupSnapshotBackupCommand.
2013-05-25 20:48:15 -07:00
Edison Su
0ed441c690
CLOUDSTACK-2637: fix upload volume
2013-05-24 19:00:52 -07:00
Min Chen
98af424053
Merge branch 'master' into object_store.
2013-05-23 18:00:15 -07:00
Min Chen
f5732fe3bf
Consolidate code to use UriUtils.validateUrl instead of repeating code
...
several places.
2013-05-21 16:50:02 -07:00
Bharat Kumar
79dc83d1ac
blocker bug in dnsmaq config
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-05-21 17:49:05 +05:30
Dave Brosius
9350441dd3
remove bogus self assign to parent
...
Signed off by : Nitin Mehta <nitin.mehta@citrix.com>
2013-05-21 12:19:03 +05:30
Edison Su
f7c1b711ad
merge to master
2013-05-16 23:56:20 -07:00
Vijayendra Bhamidipati
15be97772e
PVLAN : Implementing PVLAN deployment capability for VMware deployments in cloudstack.
2013-05-16 14:50:16 -07:00
Min Chen
62a9daa5d6
Properly invoke parent constructor to default Answer result to true.
2013-05-15 15:52:46 -07:00
Edison Su
a0c3d280b4
merge to master
2013-05-15 00:40:53 -07:00
Edison Su
879a954b98
delete snapshot at the backend
2013-05-14 21:58:07 -07:00
Edison Su
68ffe1c706
fix bug in create volume from snapshot
2013-05-14 16:38:02 -07:00
Min Chen
3424ac86ad
Fix size issue for template created from snapshot.
2013-05-13 17:45:22 -07:00
Jayapal Reddy
2d950e2858
CLOUDSTACK-768: ACL on private gateway
2013-05-13 19:24:23 +05:30
Nitin Mehta
f84b6abde0
merge with master
2013-05-13 17:30:42 +05:30
Bharat Kumar
052c24c4d1
CLOUDSTACK-702: Multiple ip ranges in different subnets.
...
This feature enables adding of guest ip ranges (public ips) form different subnets.
In order to provide the dhcp service to a different subnet we create an ipalias on the router. This allows the router to listen to the dhcp request from the guest vms and respond accordingly. Every time a vm is deployed in the new subnet we configure an ip alias on the router. Cloudstack uses dnsmasq to provide dhcp service. We need to configure the dnsmasq to issue ips on the new subnets. Added a new class dnsmasqconfigurator which generates the dnsmasq confg file, this file replaces the old config in the router.
The details of the alias ips are stored in db in the nic_ip_alias table. Every time a new subnet is added one of the ip from the subnet is used to configure the ip alias.
I have pushed the code to https://github.com/bvbharatk/cloud-stack/tree/Cloudstack-702 , also rebased the code with master.
I need to test the code for advanced sg enabled network using kvm.
I have added the unit test
Marvin tests are at https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=53e4965
Also accomodated some of the changes suggested by koushik.
corrected the import statements. renamed the IpAlias command to createIpAlias command.
This feature supports only ipv4
2013-05-13 17:06:44 +05:30
Nitin Mehta
8d53b1ef05
merge with master
2013-05-13 16:36:41 +05:30
Kishan Kavala
e2449cfcf0
CLOUDSTACK-763: Added replaceNetworkACLList API. Added support for ACL action allow/deny and also number
2013-05-13 12:03:38 +05:30
Nitin Mehta
c11dbad9c9
merge master
2013-05-11 15:28:43 +05:30
Edison Su
993187622e
fix compile, after rebase to master
2013-05-10 20:39:02 -07:00
Alex Huang
342624e0eb
Merged with head
2013-05-10 16:33:57 -07:00
Alex Huang
3047929367
Merged
2013-05-10 16:21:43 -07:00
Edison Su
15fc4e137d
add license header
2013-05-10 11:40:11 -07:00
Edison Su
42e25a22fc
refactor kvm/vmware resource code
2013-05-09 23:10:05 -07:00
Min Chen
a83b87b7e5
Set template size for S3 template downloader.
2013-05-09 22:49:14 -07:00
Min Chen
f965e2d892
Download system template while adding S3 image store is working.
2013-05-09 21:49:12 -07:00
Min Chen
292e77b96b
Fix marvin test to add S3 image store and cache storage.
2013-05-09 16:19:06 -07:00
Min Chen
8ad517c028
Append template unique name for S3 key for template sync.
2013-05-08 17:58:52 -07:00
Min Chen
dc5d2f45e9
Make copyFromS3ToNFS flow work.
2013-05-08 17:39:46 -07:00
Min Chen
3b45bc9c30
Make S3 register template work.
2013-05-08 11:12:26 -07:00
Edison Su
ac7be218d5
creat template from volume/snapshot, and then create vm from template works now
2013-05-07 20:18:19 -07:00
Edison Su
5aeca646ae
make create template from volume/snapshot work
2013-05-07 20:18:19 -07:00
Min Chen
3315b23595
Relax url port validation and some MockLocalNfsSecondaryStorageResource
...
fix.
2013-05-07 13:34:27 -07:00
Min Chen
f5d5526d41
Fix unit test to test NFS template download flow.
2013-05-06 18:02:52 -07:00
Alex Huang
572e71e57d
Moved most of the VOs and DAOs from server package into engine-schema as well
2013-05-06 16:34:26 -07:00
Alex Huang
f6913b5088
Removed files that are no longer used and further separated out the files in the core project
2013-05-06 16:34:21 -07:00
Alex Huang
ad2777c547
Moved agent commands to core and out of api
2013-05-06 16:34:20 -07:00
Alex Huang
e0d8f01ecd
Removed framework-api which is completely useless. Changed framework-ipc to reference gson itself. Move VOs into engine-schema.
2013-05-06 16:34:16 -07:00
Min Chen
0d78209b73
Address various UI requirements by introducing provider constants.
2013-05-06 15:12:33 -07:00
Min Chen
4db84fb45e
Remove the hard-coded package assumption in Command serialization.
2013-05-06 15:11:42 -07:00
Wei Zhou
af5bf94b43
CLOUDSTACK-2319: fix "unable to add egress rules" in SecurityGroup
...
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-05-06 20:58:32 +01:00
Min Chen
7ad263b67e
Revert previous workaround for ListTemplateCommand, which is correct
...
after updating the systemvm.iso on devcloud.
2013-05-06 11:29:57 -07:00
Min Chen
a221ecb484
Workaround an issue of null url when ListTemplateCommand is received on
...
SSVM side, also fix a bug in listTemplates with id passed.
2013-05-04 23:09:23 -07:00
Min Chen
bb7a72b7d6
Add unit test for DataTO/DataStoreTO serializer/deserializer adapter.
2013-05-03 17:42:39 -07:00
Min Chen
e0ab845e92
Add gson adapter to serialize/deserialize DataTO and DataStoreTO.
2013-05-03 17:29:12 -07:00
Min Chen
23db72d8b4
S3 template download test is working except state transition part.
2013-05-03 14:59:13 -07:00
Min Chen
c60c373a38
Modify DownloadCommand to pass DataTO.
2013-05-02 23:05:19 -07:00
Min Chen
87fafb7287
Add S3 register template integration test.
2013-05-02 15:20:46 -07:00
Jayapal
1f1467974f
CLOUDSTACK-1828 Source Nat on private gateway feature
2013-05-02 15:40:15 +05:30
Kelven Yang
f101241050
Apply patch for https://reviews.apache.org/r/10892/
2013-05-01 17:40:38 -07:00
Edison Su
37cbe8890f
refactor snapshot
2013-04-29 18:51:13 -07:00
Min Chen
35264f7087
Add Download progress support for S3 template/volume download.
2013-04-29 17:07:25 -07:00
Kelven Yang
85e73d18f5
Refactor message bus facitlity to avoid confusing with event bus for external notification, planning to use it in VMSync
2013-04-29 14:36:03 -07:00
Min Chen
5b7ea8b0fe
Remove DeleteObjectFromSwiftCommand, which can be achieved through
...
DeleteTemplateCommand.
2013-04-26 17:52:50 -07:00
Min Chen
c2e9be8d31
Handle DeleteVolumeCommand for S3.
2013-04-26 16:45:11 -07:00
Min Chen
471ad51080
Handle Volume type in DownloadCommand.
2013-04-26 16:34:23 -07:00
Min Chen
91bfbdf1c4
Handle ListTemplateCommand in NfsSecondaryStorageResource for various
...
data store provider.
2013-04-26 12:25:06 -07:00
Min Chen
efb4471dc9
CLOUDSTACK-2196 and CLOUDSTACK-2126: fix missing async job status in
...
listXXX api and incorrect async job status in other async api.
Conflicts:
server/src/com/cloud/api/query/vo/AccountJoinVO.java
2013-04-25 17:40:18 -07:00
Nitin Mehta
d1642a489c
=initial changes
2013-04-25 18:29:57 +05:30
Min Chen
4c174a6867
Fix DeleteSnapshotBackupCommand to pass dataStore information.
2013-04-24 17:30:38 -07:00
Min Chen
0a976d5fd5
Change Upload table to store dataStoreId instead of hostId.
2013-04-24 15:20:09 -07:00
Min Chen
8d29cdf804
Remove SnapshotVO.getSecHostId and SnapshotVO.setSecHostId references
...
from codebase to use SnapshotDataStoreVO.
2013-04-24 11:54:42 -07:00
Vijayendra Bhamidipati
b0caae6b33
CLOUDSTACK-1086: DeployVirtualMachine userdata enhancements
...
Description:
Currently, userdata sent over to the DeployVMCmd and
updateVMCmd commands can be upto 2K in length, whether
sent over GET or POST. We remove this limitation for
POST to change this limit to 32K. Also enabling lazy
load on userdata to improve performance during reads
of large sized userdata from user VM records.
Signed-off-by: Min Chen <min.chen@citrix.com>
2013-04-24 13:42:38 +05:30
Edison Su
b8c5c67fbc
add copycommand at resouce side
2013-04-22 19:12:50 -07:00
Min Chen
29687663e8
Rename SnapshotStrategy to SnapshotService to have consistent naming
...
convention for Template, Snapshot, Volume. Also rename CopyCmd to
CopyCommand to follow internal command naming convention.
2013-04-22 16:15:57 -07:00
Edison Su
abf40435f3
refactor downloadlistener, sync system vm templates when adding a new image store
2013-04-21 22:46:02 -07:00
Min Chen
6f70fe28e8
Trigger system vm template download while adding image store. Just a
...
code skeleton, waiting for some code in EndPoint.
2013-04-19 19:37:06 -07:00
Devdeep Singh
21ce3befc8
Storage motion for Xenserver changes: 1. Implemented Api findStoragePoolsForMigration. Added a new response objects to list storage pools available for migration. 2. Updated migrateVolume api for allowing migrating volumes of running vms. These changes are integrated into the latest storage refactoring changes. 3. Added the implementation for findHostsForMigration api. It lists the hosts to which an instance can be migrated, including hosts from within and across clusters to which an instance may be migrated with storage motion. The work of migrating a volume of a running vm is also done in copyAsync. 4. Updated the listHosts api for backward compatibility. 5. Added the implementation for migrateVirtualMachineWithVolume api. It migrates an instance with its volumes within a cluster and also across clusters. Also introduced a new XenServerStorageMotionStrategy for migrating volumes of a vm. When a vm is being migrated with its volumes, the vm is put in migrating state and a request is send to the volume manager to migrate the vm and its volumes. Volume manager calls into the volume service which forwards the request to data motion service after moving all the volumes to migrating state. Data motion service enumerates the strategies and the request reaches the XenServerStorageMotionStrategy. It calls in to the resource to complete the operation. 6. Resolved an issue where storage xenmotion of 2nd VM created from the same template to a host was failing with duplicate_vm exception. Made changes to remove the mac_seed key value pair from other_config when vms are created. This is was storage motion to fail. 7. Updated the db upgrade schema script. 8. Added the right permissions in commands.properties 9. Marvin tests for testing storage motion. Following scenarios are tested. 9.1. A virtual machine is migrated to another host. Its volumes are also migrated to another storage pool. 9.2. Just the volumes of a vm are migrated to another storage pool while the vm continues to run on the same host. 10. Unit tests for testing migration of a vm with its volumes.
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-04-19 11:36:42 +05:30
Min Chen
7ba1a8fa21
Populate hypervisor_type column in registering ISO by referring it from
...
guest os id to make listIsos and listTemplates implementation more
consistent.
2013-04-18 13:52:35 -07:00
Edison Su
ef30ee52ee
add copy stuff from s3 into nfs cache storage
2013-04-18 13:44:49 -07:00
Edison Su
1fe5d7c886
need to download image to cache storage from s3/swift on mgt server for default system vm templates
2013-04-18 01:56:34 -07:00
Min Chen
fe4f53bfcd
Fix SecStorageSetupCommand for Nfs image store.
2013-04-17 17:16:01 -07:00
Alena Prokharchyk
9584815d4f
CLOUDSTACK-1941: introduced "default" flag to account/user objects. Admin/System accounts that come with the CS install are default, and can never be removed. All accounts created by the CS admin, have default flag set to false, and can be removed at any time.
2013-04-17 12:04:18 -07:00
Min Chen
fe3b01ece1
Update DataObjectInStore interface and unify implementation of
...
ImageDataFactory, VolumeDataFactory and SnapshotDataFactory
implementations.
2013-04-17 11:40:57 -07:00
Min Chen
0da2da852b
Fix the flow of deleteTemplateCmd.
2013-04-16 12:03:12 -07:00
Min Chen
593337565e
Add S3 code to handle DownloadCommand for registerTemplate.
2013-04-15 14:44:39 -07:00
Hugo Trippaers
accfccd83e
Summary: Add support for nested hypervisors to the VmWare resource.
...
Add a flag VmDetailConstants.NESTED_VIRTUALIZATION_FLAG
Add an advanced config uption VmwareEnableNestedVirtualization
Depending on the settings of the flags and the capabilities of the target hypervisor the nested virtualization option will be set on guest VMs. It's a global setting intended only for developers to support cloud-in-a-cloud deployments.
2013-04-12 13:49:42 +02:00
Min Chen
bb64672715
Refactor DownloadMonitorImpl code, move some functionalities to
...
TemplateServiceImpl and VolumeServiceImpl.
2013-04-11 18:09:42 -07:00
Mice Xia
b646e43a1a
use hypervisor capabilities to control if vm snapshot is enabled for hypervisors
2013-04-10 12:36:42 +08:00
Chiradeep Vittal
2e6c65fd34
QuickCloud: sanitize logs for normal running of agents outside systemvm
2013-04-09 14:45:27 -07:00
Chiradeep Vittal
e7983b25cc
QuickCloud: Enable secondary storage daemon to run outside the system vm
2013-04-09 14:45:25 -07:00
Nitin Mehta
3e4430d811
CLOUDSTACK-658 - Scaleup vm support for Xenserver
...
Added the framweork so that it can be extended for vmware and kvm as well.
Added unitests and marvin tests.
2013-03-28 16:43:37 +05:30
Anshul Gangwar
61754cd987
CLOUDSTACK-680: Feature SNMP Alerts support in CloudStack
...
Signed-off-by: Anshul Gangwar <anshul.gangwar@citrix.com>
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-03-18 11:36:19 +05:30
Kishan Kavala
2dd31f331d
CLOUDSTACK-1636: Removed the concept of owner region.
...
Removed region_id from user/account and domain tables.
Removed forwarding of api calls to owner region.
Removed api_key and secret_key from region table.
Included related DB upgrade changes.
2013-03-14 11:53:40 +05:30
Jayapal Uradi
a49261c3b1
CLOUDSTACK-24: mipn feature for basiczone
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-03-13 10:24:22 +05:30
Sheng Yang
e35ce6587a
CLOUDSTACK-1461: Don't set dns server for non-default ipv6 network
...
The non-default parameter can be used by ipv4 as well in the future.
2013-03-08 17:43:23 -08:00
Sanjay Tripathi
f539f40e35
CLOUDSTACK-874: Ability to delete Events and Alerts
...
This feature will provide the functionality to delete or archive
the Alerts/Events.
Delete or archive alerts APIs are available only for root-admin,
delete or archive events are available for regular users.
2013-03-08 11:59:53 -08:00
Chip Childers
bd4508589b
Revert "CLOUDSTACK-874 Ability to delete Events and Alerts"
...
This reverts commit 5e4c2c8a9e .
2013-03-08 14:28:23 -05:00
Sanjay Tripathi
5e4c2c8a9e
CLOUDSTACK-874 Ability to delete Events and Alerts
...
Signed-off-by: Min Chen <min.chen@citrix.com>
2013-03-08 10:52:40 -08:00
Kishan Kavala
a1fdb0c2d4
CLOUDSTACK-241: Remove API sync. Merge changes from 4.1 branch. Converted tabs to spaces.
2013-03-08 19:02:41 +05:30
Edison Su
409ec9c6b6
CLOUDSTACK-1426: We has strong implication that VO must implement an interface, otherwise EntityManagerImpl can't the vo
2013-03-07 18:25:57 -08:00
Hiroaki Kawai
19c6d8054b
CLOUDSTACK-1535: kvm agent will silently ignore many exceptions
...
Current kvm agent will silently ignore many exception, and there's no
way to see what really happened. This patch will log in trace level log
that was silently ignored. And also, it will fix huge bare Exception
catch, which is very harmful because it also catches RuntimeException.
2013-03-06 10:22:44 -08:00
Nitin Mehta
b12aebefee
Revert "CLOUDSTACK-658 - Adding Scalevm command and XS related changes"
...
This reverts commit e0019eccd9 .
2013-03-04 23:32:52 +05:30
Nitin Mehta
e0019eccd9
CLOUDSTACK-658 - Adding Scalevm command and XS related changes
2013-03-04 14:47:55 +05:30
Mice Xia
9d043cba81
CLOUDSTACK-1350 Management server Stop and start causes previously downloaded ISOs to redownload
2013-02-27 17:25:01 +08:00
Edison Su
8e360f342d
CLOUDSTACK-724: add basic zone wide storage support, refactor storage allocator, need ui support
2013-02-26 18:39:23 -08:00
Kishan Kavala
e37fdce125
CLOUDSTACK-241: Removed API based account sync. Removed all the related API changes and RegionsAPIUtil.
...
Converted tabs to spaces in the related files.
Verified account, user and domain APIs.
2013-02-26 14:21:21 +05:30
frank
cd291f6b4b
From c72615de97b007517fb324044cb4625258c5fc61 Mon Sep 17 00:00:00 2001
...
From: Vijayendra <vijayendra.bhamidipati@citrix.com>
Date: Mon, 25 Feb 2013 14:37:27 -0800
Subject: [PATCH] CS-670: Configurable setting to use linked clones or not on
VMware
Description:
Providing support for creation of user VMs as full clones on ESX.
Putting in unit tests for VO and Dao classes introduced in this commit.
Signed-off-by: Vijayendra <vijayendra.bhamidipati@citrix.com>
---
core/src/com/cloud/vm/UserVmCloneSettingVO.java | 50 ++++++
.../hypervisor/vmware/manager/VmwareManager.java | 3 +
.../vmware/manager/VmwareManagerImpl.java | 18 +-
.../hypervisor/vmware/resource/VmwareResource.java | 117 +++++++++----
server/conf/migration-components.xml | 1 +
server/src/com/cloud/configuration/Config.java | 1 +
server/src/com/cloud/vm/UserVmManagerImpl.java | 184 ++++++++++-----------
.../com/cloud/vm/dao/UserVmCloneSettingDao.java | 37 +++++
.../cloud/vm/dao/UserVmCloneSettingDaoImpl.java | 74 +++++++++
.../vm/dao/UserVmCloneSettingDaoImplTest.java | 62 +++++++
.../UserVmCloneSettingDaoTestConfiguration.java | 52 ++++++
.../test/resources/CloneSettingDaoTestContext.xml | 42 +++++
setup/db/db/schema-410to420.sql | 9 +
13 files changed, 527 insertions(+), 123 deletions(-)
create mode 100755 core/src/com/cloud/vm/UserVmCloneSettingVO.java
create mode 100755 server/src/com/cloud/vm/dao/UserVmCloneSettingDao.java
create mode 100755 server/src/com/cloud/vm/dao/UserVmCloneSettingDaoImpl.java
create mode 100644 server/test/com/cloud/vm/dao/UserVmCloneSettingDaoImplTest.java
create mode 100644 server/test/com/cloud/vm/dao/UserVmCloneSettingDaoTestConfiguration.java
create mode 100644 server/test/resources/CloneSettingDaoTestContext.xml
2013-02-25 14:57:57 -08:00
Edison Su
0f532c4b3a
rebase to master
2013-02-21 11:22:49 -08:00
Edison Su
ff047e75d3
refactor snapshot, move existing snapshot code into its own snapshotstrategy
2013-02-21 11:22:49 -08:00
Edison Su
0b86b33c56
rebase to master
2013-02-21 11:22:48 -08:00
Edison Su
a22403edcd
squash changes into one giant patch
2013-02-21 11:22:48 -08:00
Rohit Yadav
80d58b6c73
CLOUDSTACK-1317: Bump CloudStack package version to 4.2.0-SNAPSHOT in all poms
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-20 16:42:56 +05:30
Koushik Das
bc493bd39b
CLOUDSTACK-672: Set VMware cluster max. limit based on HV version
...
Max. number of hosts in a Vmware clueter is specific to the version of the HV. This limit is read from the hypervisor_capabilities table
2013-02-15 16:19:40 +05:30
Mice Xia
fe44e39dfd
CS648 ckeck in missing VO file
2013-02-14 10:01:38 +08:00
Alex Huang
f542c320d3
Removed a bunch of missing files and useless imports
2013-02-13 15:41:27 -08:00
Mice Xia
13a4c0670e
CLOUDSTACK-1176 1) remove 'final' modifier from id attribute in SnapshotVO 2) make state setter method comply with convention
2013-02-07 13:41:49 +08:00
Mice Xia
d65bfc56cd
CLOUDSTACK-1174 rename field status-> state to comply with javabean convetion
2013-02-06 15:54:15 +08:00
Kelven Yang
7b75f0d990
Sync master to javelin one more time
2013-02-01 11:37:33 -08:00
Kishan Kavala
9ea90c3359
Merge branch 'master' into regions
...
Conflicts:
client/tomcatconf/components.xml.in
server/src/com/cloud/api/ApiResponseHelper.java
2013-02-01 11:38:16 +05:30
Murali Reddy
96c24930ae
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack
...
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
2013-02-01 08:45:53 +05:30
Kelven Yang
7bd8bec68a
Sync javelin with master up to 894cb8f7d9
2013-01-31 17:20:19 -08:00
Sheng Yang
5cb9df91a1
Merge branch 'ipv6'
...
Conflicts:
api/src/com/cloud/network/NetworkProfile.java
2013-01-31 15:07:33 -08:00
Murali Reddy
e7a554fc6a
Merging events framework branch into master. This commit will bring
...
following changes
- introduced notion of event bus with publish, subscribe, unsubscribe
semantics
- a plug-in can implement the EventBus abstraction to provide event
bug to CloudStack
- A rabbitMQ based plug-in that can interact with AMQP servers to
provide message broker based event-bug
- stream lines, action events, usage events, alerts publishing in to
convineance classed which are also used to publish corresponding
event on to event bus
- introduced notion of state change event. On a state change, in the
state machine corrsponding to the resource, a state change event is
published on the event bug
- associated a state machined with Snapshot and Network objects
- Virtual Machine, Volume, Snaphost, Network object state changes wil
result in a state change event
2013-02-01 01:37:24 +05:30
Kelven Yang
1b2b369ecb
Merge latest master into javelin
2013-01-31 11:34:49 -08:00
Kishan Kavala
c607e03f0e
Merge branch 'master' into regions
2013-01-31 22:31:25 +05:30
Jayapal
b6727e5646
CLOUDSTACK-299: Egress firewall rules feature for guest network on VR
2013-01-31 11:20:47 +05:30
Kelven Yang
176523254e
Improve component lifecycle management with system run-level concept
2013-01-30 15:21:02 -08:00
Kishan Kavala
d3089ba2a5
Merge branch 'master' into regions
2013-01-29 11:50:49 +05:30
Marcus Sorensen
fe9398dc73
Summary: Fix S3 from trying to upload directories found in template dirs
...
Detail: The S3 upload code fails on directories in the templates dir, such as
"KVMHA" that gets created for KVM. This skips directories in the templates dir.
BUG-ID: CLOUDSTACK-1056
Bugfix-for: 4.1 (master)
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1359390176 -0700
2013-01-28 09:22:56 -07:00
Sheng Yang
8f66d266b3
IPv6: Enable VR's ability to provide DHCPv6 service
2013-01-26 23:14:42 -08:00
Kishan Kavala
1f57d925eb
Apply API refactoring changes. Make changes to Regions API to work with new code
2013-01-25 18:41:59 +05:30
Prachi Damle
aa7b3e0f6d
Renaming VmInstanceVO: dataCenterIdToDeployIn to dataCenterId
...
Corresponding getter/setter is renamed too.
Reason is GenericDao does not update the field unless the method name matches the field name; the setter of this VO was one such case.
2013-01-22 12:56:39 -08:00
Prachi Damle
94e8090bf3
Deploy, Start, Stop, Destroy VM orchestration service changes
2013-01-22 12:54:04 -08:00
Edison Su
4fbecf15ec
add unit test back, primary storage life cycle is tested
2013-01-21 17:01:00 -08:00
Alex Huang
4a9cf4b4a8
Merge branch 'javelin' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack into javelin
2013-01-18 15:59:24 -08:00
Edison Su
1283712d93
replace spring injection in nfssecondarystorage
2013-01-18 15:10:08 -08:00
Alex Huang
10d9c019a9
All merge conflicts resolved
2013-01-18 12:14:57 -08:00
Koushik Das
070856affd
CLOUDSTACK-988: HV version must be updated in hypervisor_version column of host table HV version is stored in hypervisor_version column in host table wherever present Also correctly populating version column in host table with resource file version
...
Signed-off-by: Koushik Das <koushik.das@citrix.com>
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-01-18 16:49:52 +05:30
Marcus Sorensen
b77503b5bd
Summary: fix ipsectunnel.sh being called as ipsectunnel in KVM S2S vpn
...
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1358446796 -0700
2013-01-17 11:19:56 -07:00
Marcus Sorensen
1ff7a147bd
Revert "Summary: fix ipsectunnel.sh being called as ipsectunnel in KVM S2S vpn"
...
This reverts commit 1a2e69fb22 .
accidentally pushed mode change of sh file as well, need to split this out
2013-01-17 11:17:43 -07:00
Marcus Sorensen
1a2e69fb22
Summary: fix ipsectunnel.sh being called as ipsectunnel in KVM S2S vpn
...
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1358446410 -0700
2013-01-17 11:13:30 -07:00
Kelven Yang
497dcd5044
Get rid of PlugService annotation, replace it with Spring standard injection in command classes
2013-01-16 18:44:44 -08:00
Kelven Yang
727fab71cb
Disable StorageProvider, storageType introduced in Javelin new code, temporarily, to make existing code run
2013-01-16 14:16:01 -08:00
Kelven Yang
339c09bdef
Remove unused fields in VMInstanceVO.java
2013-01-15 18:28:51 -08:00
Kelven Yang
df684261cf
Put command classes under Spring injection framework
2013-01-15 18:07:19 -08:00
Kelven Yang
a2dab60236
deprecate storage provider in StroragePoolVO
2013-01-15 18:07:19 -08:00
Alex Huang
56e5fbdee2
removed import of componentlocator and inject from all files
2013-01-10 11:44:47 -08:00
Alex Huang
f40e7b7511
removed componentlocator and inject
2013-01-10 11:05:20 -08:00
Alex Huang
cf8de7ee17
Removed all the .project files
2013-01-08 14:11:00 -08:00
Alex Huang
30f2565d98
Merge branch 'api_refactoring' into javelin
2013-01-08 12:36:04 -08:00
Prachi Damle
a4f4c98670
OrchestrationService: some changes for DeployVM
2013-01-08 11:53:54 -08:00
Prasanna Santhanam
840da55520
api: Entities will extend InternalIdentity and Identity
...
Entities correlated to the Identity and carry a uuid and those
correlated to InternalIdentity carry an id. Those entities that carry
both will correlated to Identity and InternalIdentity.
This refactors entities wherever possible to ensure the VO only
implements the first class entity.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2012-12-26 19:11:15 -08:00
Rohit Yadav
057ac12d23
Enforce InternalIdentity interface on all VO classes that impls long getId()
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-26 15:09:44 -08:00
Rohit Yadav
b75d92419e
api: Enforce InternalIdentity interface on AsyncJobVO
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-26 15:09:44 -08:00
Rohit Yadav
296b49c2f8
Merge branch 'master' into test-merge-api
...
Conflicts:
api/src/com/cloud/agent/api/BackupSnapshotCommand.java
api/src/com/cloud/agent/api/storage/PrimaryStorageDownloadCommand.java
api/src/com/cloud/agent/api/to/PortForwardingRuleTO.java
api/src/com/cloud/network/NetworkService.java
api/src/com/cloud/resource/ResourceService.java
api/src/org/apache/cloudstack/api/ApiConstants.java
api/src/org/apache/cloudstack/api/ResponseGenerator.java
api/src/org/apache/cloudstack/api/response/SSHKeyPairResponse.java
client/tomcatconf/commands.properties.in
core/src/com/cloud/storage/SnapshotVO.java
pom.xml
server/src/com/cloud/api/ApiDispatcher.java
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/api/ApiServer.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/rules/RulesManagerImpl.java
server/src/com/cloud/offerings/NetworkOfferingVO.java
server/src/com/cloud/resource/ResourceManagerImpl.java
server/src/com/cloud/upgrade/dao/Upgrade40to41.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/test/com/cloud/vpc/MockNetworkManagerImpl.java
setup/db/create-schema.sql
setup/db/db/schema-40to410.sql
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-23 13:54:46 -08:00
Min Chen
503db14127
Add back Identity interface to most VO class to avoid cast error in
...
ApiDispatcher.setupParameter call.
2012-12-22 22:35:09 -08:00
Rohit Yadav
024f0d95dd
api: Use Identity interface instead of java reflect to getId
...
- Add new interface method to getId
- Fix method definition in AsyncJob
- Get rid of mechanism to getId using reflect, use Identity interface
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-21 19:05:45 -08:00
Min Chen
290dc79366
Populate uuid for uploadVO in create case.
2012-12-20 22:33:43 -08:00
Min Chen
b14b39a69f
Remove IdentityProxy from BaseResponse, ExtractResponse. Now
...
IdentityProxy is only referenced in CreateCmdResponse, which involves
some async job logic change. Since it is not impacting list performance,
will leave it there for now.
Signed-off-by: Min Chen <min.chen@citrix.com>
2012-12-20 16:52:52 -08:00
Min Chen
1d729578d4
Remove IdentityProxy from Response classes.
...
Signed-off-by: Min Chen <min.chen@citrix.com>
2012-12-18 23:16:38 -08:00
Min Chen
4b75132aa2
Remove IdentityProxy from Response classes.
...
Signed-off-by: Min Chen <min.chen@citrix.com>
2012-12-18 16:33:12 -08:00
Min Chen
1aa30f03e7
Remove IdentityProxy from AutoScale responses.
...
Signed-off-by: Min Chen <min.chen@citrix.com>
2012-12-18 11:19:36 -08:00
Min Chen
79f8c104eb
Remove IdentityProxy from GuestOSResponse and GuestOSCategoryResponse.
...
Signed-off-by: Min Chen <min.chen@citrix.com>
2012-12-17 18:01:31 -08:00
Min Chen
e017dc2c00
commit ba3fef5d0650c42463d0f225f4ca14b5f9046c44
...
Author: Min Chen <min.chen@citrix.com>
Date: Mon Dec 17 17:42:30 2012 -0800
Remove IdentityProxy from AlertResponse and AsyncJobResponse.
Signed-off-by: Min Chen <min.chen@citrix.com>
2012-12-17 17:44:39 -08:00
Min Chen
348d3ae448
Conflicts:
...
api/src/org/apache/cloudstack/api/response/AccountResponse.java
Signed-off-by: Min Chen <min.chen@citrix.com>
2012-12-17 15:41:56 -08:00
kishan
0be6e2e02b
bug CS-14982: Make traffic sentinel metering zones configurable. Global config default will be used when no zones are listed while adding Traffic Sentinel Host
...
status CS-14982: resolved fixed
reviewed-by: Nitin
Conflicts:
api/src/com/cloud/api/ApiConstants.java
2012-12-17 15:18:31 +05:30
Edison Su
b70c1a5a84
Backs NFS-based secondary storage with an S3-compatible object store. Periodically, a reaper thread synchronizes templates and ISOs stored on a NFS secondary storage mount with a configured S3 object store. It also pushes snapshots to the object store when they are created and downloads them in other zones on-demand. In addition to permitting the use of commodity or IaaS storage solutions for static assets, it provides a means of automatically synchronizing template and ISO assets across multiple zones.
2012-12-13 23:18:37 -08:00
Rohit Yadav
6fc3bc3760
api_refactor: refactor vpn and vm apis
...
- Refactor VPN and VM APIs to admin and user pkgs
- Names space, org.apache.cloudstack
- Fix refactored apis in commands*.in
- Fix comments etc.
- Expand tabs, remove trailing whitespace
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-03 21:27:02 -08:00
Rohit Yadav
5edfc2760a
refactor: remove redundant imports, fix trailing chars
2012-12-03 13:54:37 -08:00
Hiroaki Kawai
c8832cd4b6
Commit https://reviews.apache.org/r/8075/
...
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2012-11-19 12:02:26 +01:00
Kelven Yang
d79f1f6fdc
Replace Adapters and PluggableServices, use Spring to load them
2012-11-07 15:03:24 -08:00
Kelven Yang
aab02e2743
Add Spring annotation to major components
2012-11-07 14:53:39 -08:00
Alex Huang
91e68b5f2c
A bunch of .project changes again
2012-11-04 19:25:03 -08:00
Marcus Sorensen
1c0e2cf3f5
Summary: Implement Static NAT for KVM VPC
...
Detail: SetVPCStaticNatRules was one command that was left off of the initial
VPC implementation. This adds it in.
BUG-ID : CLOUDSTACK-426
Reviewed-by: Marcus Sorensen
Reported-by: Marcus Sorensen
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1351698124 -0600
2012-10-31 09:42:04 -06:00
Alex Huang
f92ce72639
Correct dependency errors
2012-10-24 11:12:40 -07:00
Edison Su
059f605ace
add more interfaces
2012-10-22 17:50:51 -07:00
Kishan Kavala
f0f33bf4da
Added Mock ApiServer, Regions API calls with api keys
2012-10-17 14:16:36 +05:30
Edison Su
7f104b1feb
[PATCH] CLOUDSTACK-335: fix lb for vpc on kvm
2012-10-12 18:58:46 -07:00
Kelven Yang
5fee891162
merge from master
2012-10-11 17:42:25 -07:00
Rohit Yadav
16fa74b729
Revert "core: Comment testSourceDirectory in pom.xml to fix build"
...
Had unclean git repo, from switching between 4.0 and master.
This reverts commit c3f9a9b748 .
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-10-11 17:12:20 +05:30
Rohit Yadav
c3f9a9b748
core: Comment testSourceDirectory in pom.xml to fix build
...
A clean build is breaking due to testSourceDirectory being enabled. The
tests in core/test/com/cloud/hypervisor/vmware/ depend on vmware nonoss
libs and utils's test classes.
The issue here is that core's test classes depend on utils's test
classes.
Commenting testSourceDirectory for now.
The following patch should be added when this issue is fixed, only if
VMWare related tests are moved from core/test:
+ <profiles>
+ <profile>
+ <id>vmware</id>
+ <activation>
+ <property>
+ <name>nonoss</name>
+ </property>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>com.cloud.com.vmware</groupId>
+ <artifactId>vmware-vim</artifactId>
+ <version>1.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.cloud.com.vmware</groupId>
+ <artifactId>vmware-vim25</artifactId>
+ <version>1.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.cloud.com.vmware</groupId>
+ <artifactId>vmware-apputils</artifactId>
+ <version>1.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.cloud.com.vmware</groupId>
+ <artifactId>vmware-lib-jaxrpc</artifactId>
+ <version>1.0</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.cloudstack</groupId>
+ <artifactId>cloud-plugin-hypervisor-vmware</artifactId>
+ <version>${project.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.cloudstack</groupId>
+ <artifactId>cloud-core</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ </dependencies>
+ </profile>
+ </profiles>
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-10-11 15:47:36 +05:30
Alena Prokharchyk
339aa41442
CLOUDSTACK-304: Synchronization support for createSnapshot command - don't sent more than "concurrent.snapshots.threshold.perhost" createSnapshots commands to the backend host.
...
Conflicts:
core/src/com/cloud/async/AsyncJobVO.java
core/src/com/cloud/async/SyncQueueVO.java
server/src/com/cloud/api/ApiDispatcher.java
server/src/com/cloud/api/ApiServer.java
server/src/com/cloud/async/AsyncJobManagerImpl.java
server/src/com/cloud/async/SyncQueueManager.java
server/src/com/cloud/async/SyncQueueManagerImpl.java
server/src/com/cloud/async/dao/SyncQueueDao.java
server/src/com/cloud/storage/snapshot/SnapshotSchedulerImpl.java
server/test/com/cloud/async/TestSyncQueueManager.java
setup/db/create-schema.sql
2012-10-10 13:40:00 -07:00
Alena Prokharchyk
839929b9b2
Fixed lineendings and trailing whitespaces in a bunch of files
...
Conflicts:
core/src/com/cloud/async/SyncQueueItemVO.java
core/src/com/cloud/async/SyncQueueVO.java
server/src/com/cloud/async/dao/SyncQueueDaoImpl.java
server/src/com/cloud/async/dao/SyncQueueItemDaoImpl.java
2012-10-09 17:17:36 -07:00
Kishan Kavala
89779cceb8
Merge branch 'master' into regions
...
Conflicts:
api/src/com/cloud/api/ApiConstants.java
api/src/com/cloud/api/ResponseGenerator.java
client/tomcatconf/commands.properties.in
core/src/com/cloud/user/UserVO.java
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/user/AccountManagerImpl.java
setup/db/create-schema.sql
2012-10-03 14:09:01 +05:30
Hugo Trippaers
46be0537bf
Core should not depend on xapi, only the xen and ovm plugin.
...
Awsapi needs axis2-adb
2012-10-02 10:19:15 -07:00
Hugo Trippaers
f16b5103d8
Merge some stuff from maven-waf branch into master
2012-10-01 15:04:08 -07:00
Hugo Trippaers
011281f93d
Move vmware specific tests from core to vmware-base
2012-10-01 15:03:15 -07:00
Hugo Trippaers
aa6355ffe6
Updated master to 4.1.0
...
mvn release:update-versions -DautoVersionSubmodules=true -Dnonoss -P
client,deps,developer -DdevelopmentVersion=4.1.0-SNAPSHOT
2012-10-01 11:00:55 -07:00
Kishan Kavala
4fcf64dd74
updated regions branch with changes from master
2012-09-27 17:04:59 +05:30
Alex Huang
db9cc97ab3
Brought over new changes from master
2012-09-13 11:43:22 -07:00
Alex Huang
06b7d80fec
latest changes
2012-09-13 11:31:54 -07:00
Manikanta Kattamuri
cfc2b85651
Removing eclipse .classpath and .project files as they are configured to ant build and adding the entries into .gitignore to stop further comitting of the files
...
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2012-09-13 14:18:14 -04:00
Sheng Yang
fe8a2992a2
Elimiate mystery guestIp in IpAddressTO
...
Nobody can explain why it's there...
Also fix wrong return result of several empty network element callbacks
2012-09-12 15:42:48 -07:00
Saksham Srivastava
a56631bc66
bug CS-15278: Added global setting login.attempts.allowed which defines the maximum incorrect password attempts allowed.
...
Also after the maximum attempts are reached the user account is disabled
2012-09-12 19:35:24 +05:30
frank
38e8b46398
remove wrong storage network ip checking when setting internal ip route in NFS secondary
...
storage resource.
The bug prevent vmware setting static route to vcenter
2012-09-11 17:33:16 -07:00
frank
a7b77f3316
remove wrong storage network ip checking when setting internal ip route in NFS secondary
...
storage resource.
The bug prevent vmware setting static route to vcenter
2012-09-07 11:03:01 -07:00
Alex Huang
1d0a10c69e
Merged master over to javelin to get new poms and maven build
2012-09-05 14:31:24 -07:00
Edison Su
ea9121bc8f
KVM initial VPC support
...
Implements
SetupGuestNetworkCommand,SetNetworkACLCommand,SetSourceNatCommand,IpAssocVpcCommand,SetPortForwardingRulesVpcCommand.
Passes basic functionality, though I'm sure there may be some honing to
do.
Also fixes a few minor things found along the way:
vpc_guestnw.sh wasn't successfully setting up apache due to default
listen IP of 10.1.1.1
vpc_guestnw.sh was referencing a 'logger_it' function, replaced with
'logger -t cloud'
system vms were running with OS type "Debian GNU/Linux 5.0(32-bit)",
which was not found in the KVMGuestOsMapper
the Xen implementation of SetupGuestNetworkCommand had apparently
copied its catch message from UnPlug Nic, fixed string
Send-by: Marcus Sorensen
RB: https://reviews.apache.org/r/6883
2012-09-04 11:45:59 -07:00
Alex Huang
b9ddcf8cfe
Started an object model for the orchestration platform
2012-08-30 15:54:33 -07:00
Alex Huang
6309253de1
Deleted some useless files
2012-08-30 09:59:25 -07:00
Edison Su
cc73f2a8f2
add volumeorchestra
2012-08-29 18:17:18 -07:00
Kelven Yang
2300310243
Messaging facility initials for new architecture
2012-08-28 17:58:45 -07:00
Edison Su
60758785b7
Add more storage code
2012-08-27 18:07:54 -07:00
olivier lamy
a06ed5728c
remove intermediate parent poms
2012-08-27 16:43:24 +02:00
olivier lamy
3aa469da2a
groupdId is now org.apache.cloudstack
2012-08-25 09:20:21 +02:00
olivier lamy
5ef60aceb1
%s/tab/ws/
2012-08-25 00:03:23 +02:00
Darren Shepherd
4a4007e652
Add license
2012-08-24 11:18:54 -07:00
Darren Shepherd
ebc0fa458a
* Maven 3 support
...
* Pretty Format POM's
* AWS API compiles now
2012-08-24 11:18:54 -07:00
Darren Shepherd
f826971fea
Maven config, initial commit
2012-08-24 11:18:52 -07:00
kishan
4ea36b82e9
propogate account changes to other Regions
2012-08-24 15:59:59 +05:30
Kelven Yang
d06d6dae72
add maven eclipse project files from Darren
2012-08-23 17:55:20 -07:00
Kelven Yang
9a51ff3bfc
Maven worksplace fixes/patches from Darren
2012-08-23 14:26:27 -07:00
Darren Shepherd
2f6cc4b0cb
Add license
2012-08-23 14:26:26 -07:00
Darren Shepherd
ad54ed1790
* Maven 3 support
...
* Pretty Format POM's
* AWS API compiles now
2012-08-23 14:26:26 -07:00
Darren Shepherd
b8e95e435f
Maven config, initial commit
2012-08-23 14:26:25 -07:00
Mice Xia
89015cbf3c
Remove @author tag from non third-party source files in core folder
2012-08-13 15:20:10 +08:00
Alena Prokharchyk
b61468d65c
Merge branch 'master' into vpc
...
Conflicts:
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
2012-08-11 18:27:18 -07:00
Edison Su
0307effcfa
fix the wrong md5sum check
2012-08-10 17:32:44 -07:00
Edison Su
bc12fd2337
Summary: Introduce Vif Driver in KVM
...
Add BridgeVifDriver and move current vif implementation to it.
- remove dependency on VirtualRoutingResource.
- factor out some of the networking code in LibvirtComputingResource
to BridgeVifDriver.
Add base class for KVM VifDriver.
Add VifDriver Interface for KVM.
RB: https://reviews.apache.org/r/6285
Send-by: Tomoe Sugihara <tomoe@midokura.com>
2012-08-10 12:05:24 -07:00
Edison Su
9be74d1d1e
Revert "Summary: Introduce Vif Driver in KVM"
...
This reverts commit 7705635804 .
Sorry, accidently checked in, this patch needs more tuning
2012-08-10 11:49:12 -07:00
Edison Su
7705635804
Summary: Introduce Vif Driver in KVM
...
Add BridgeVifDriver and move current vif implementation to it.
- remove dependency on VirtualRoutingResource.
- factor out some of the networking code in LibvirtComputingResource
to BridgeVifDriver.
Add base class for KVM VifDriver.
Add VifDriver Interface for KVM.
RB: https://reviews.apache.org/r/6285
Send-by: Tomoe Sugihara <tomoe@midokura.com>
2012-08-10 11:34:32 -07:00
Alena Prokharchyk
c5e3493792
Merge branch 'master' into vpc
2012-08-08 18:38:35 -07:00
Alex Huang
e83c60a057
added JoinType to remove the j2ee source code in CloudStack
2012-08-08 13:42:08 -07:00
Alex Huang
457f3b3dc9
Removed all javax source code from utils package
2012-08-08 12:58:22 -07:00
Sheng Yang
c4eadf3011
S2S VPN: CS-15884: Delete iptables rules after delete vpn connection
2012-08-07 16:32:22 -07:00
Alena Prokharchyk
95449da4be
Merge branch 'master' into vpc
2012-08-07 11:37:45 -07:00
Chip Childers
81ff7a09fd
CS-15875 resolved via patch from Andy Gross.
2012-08-07 14:10:11 -04:00
Sheng Yang
1b5103c501
S2S VPN: CS-15472: Separate IKE lifetime and ESP lifetime
2012-08-06 15:19:26 -07:00
Edison Su
0ec679c359
CS-14826, CS-14996: fix the md5 checksum
...
Cherry-picked from 6618101d .
Signed-off-by: Rohit Yadav <rohit.yadav@citrix.com>
2012-08-06 10:32:33 -07:00
Hugo Trippaers
dd6fd2b68d
Remove XTrustProvider as this class is kept within the
...
cloud-iControl.jar.
2012-08-06 16:31:36 +02:00
Alena Prokharchyk
0e0b75a041
Merge branch 'master' into vpc
...
Conflicts:
api/src/com/cloud/api/ApiConstants.java
2012-08-02 18:45:37 -07:00
Chip Childers
9ed5d3840a
License header updates for the core folder
2012-08-02 09:22:36 -04:00
Alena Prokharchyk
ce9f1afa78
Merge branch 'master' into vpc
...
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
2012-08-01 19:04:28 -07:00
anthony
d49776938b
CS-15713 : remove listen section, when ld is removed
2012-08-01 17:22:34 -07:00
Koushik Das
3f571684aa
CS-15631 : Support for up to 16 VDIs per VM on XS 6.0 and above
...
Support for up to 16 VDIs per VM on XS 6.0 and above (16 VDIs => root + cd + 14 data volumes). Currently in CS number of data disk that can be attached to VM is hard-coded to 6. Made this setting configurable by moving it to hypervisor capabilities. Although XS 6.0 and above supports upto 16 VDIs but while testing on XS 6.0.2 found that only 13 data volumes can be attached to a VM. So for XS 6.0 and 6.0.2 max_data_volumes_limit is set to 13 currently.
Signed-off-by: Koushik Das <Koushik.Das@citrix.com>
2012-08-01 19:39:30 +05:30
Alena Prokharchyk
7706a9c32f
Merge branch 'master' into vpc
...
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/rules/RulesManagerImpl.java
2012-07-31 13:37:28 -07:00
Edison Su
7a0a9231c3
Move KVM related code into plugins/hypervisor/kvm, a new jar file is
...
created: cloud-kvm.jar
2012-07-30 14:55:47 -07:00
anthony
f44ce52b87
CS-15555 : typo
2012-07-27 16:56:40 -07:00
anthony
1261f0c821
KVM : fix, can boot user VM
2012-07-27 16:56:39 -07:00
anthony
0021192b05
KVM fix
2012-07-27 16:54:05 -07:00
Sheng Yang
8eee8f342e
S2S VPN: CS-15650: Add connection status update to s2s vpn
2012-07-27 16:28:06 -07:00
Alena Prokharchyk
a39fd61249
Merge branch 'master' into vpc
...
Conflicts:
server/src/com/cloud/network/rules/RulesManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/src/com/cloud/vm/VirtualMachineGuru.java
2012-07-27 13:47:46 -07:00
chip.childers@gmail.com
ad9cf9dc28
Corrected license that was inappropriately changed to ASF.
...
This file is licensed from F5, and needs to be reviewed.
2012-07-26 22:58:47 -04:00
Wido den Hollander
406fd95d87
Add RBD support for primary storage
...
This patch adds RBD (RADOS Block Device) support for primary storage in combination with KVM.
To get this patch working you need:
- libvirt-java 0.4.8
- libvirt with RBD storage pool support (>0.9.13)
- Qemu with RBD support (>0.14)
The primary storage does not support all the functions of CloudStack yet, for example snapshotting is disabled
due to the fact that backupping up a RBD snapshot is not possible in the way CloudStack wants to do it.
Creating templates from RBD volumes goes well, creating a VM from a template however is still a hit-and-miss.
NFS primary storage is also still required, you are not able to run your System VM's from RBD, they will need
to run on NFS.
Other then these points you can run instances with RBD backed disks.
2012-07-26 22:22:26 +02:00
Sheng Yang
f1e2be7157
CS-15511: Fix parameter transfer in bash
...
[Dropped Vmware support in this commit, due to lack of VMware support in VPC now]
Conflicts:
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
2012-07-23 14:51:40 -07:00
Alena Prokharchyk
31f9d718fb
Merge branch 'master' into vpc
...
Conflicts:
server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
2012-07-03 17:32:50 -07:00
kishan
6a1b0f3ecf
Add Region APIs
2012-07-03 13:05:19 -07:00
Sheng Yang
8d4079d477
CS-6840: Add hypervisor commands for site-to-site vpn
...
Conflicts:
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
2012-07-02 16:28:44 -07:00
David Nalley
1581d65c99
License header updates for the core folder from Chip Childers
...
https://reviews.apache.org/r/5705/
2012-07-02 09:54:47 -04:00
Alena Prokharchyk
1f01d923ca
Merge branch 'master' into vpc
2012-06-28 17:44:08 -07:00
Alena Prokharchyk
634cd78baa
Merge branch 'master' into vpc
...
Conflicts:
api/src/com/cloud/api/ApiConstants.java
api/src/com/cloud/api/BaseCmd.java
api/src/com/cloud/api/ResponseGenerator.java
api/src/com/cloud/api/commands/ListNetworksCmd.java
api/src/com/cloud/api/response/NetworkResponse.java
api/src/com/cloud/event/EventTypes.java
api/src/com/cloud/network/NetworkService.java
client/tomcatconf/commands.properties.in
scripts/network/domr/getDomRVersion.sh
scripts/network/domr/ipassoc.sh
scripts/network/domr/l2tp_vpn.sh
scripts/network/domr/networkUsage.sh
scripts/network/domr/router_proxy.sh
server/src/com/cloud/api/ApiDBUtils.java
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/dao/IPAddressDao.java
server/src/com/cloud/network/dao/IPAddressDaoImpl.java
setup/apidoc/gen_toc.py
setup/db/create-schema.sql
wscript
2012-06-28 17:41:40 -07:00
Alena Prokharchyk
1a232171eb
VPC: implementation for Add/delete/list StaticRoute. Agent implementation is yet to be done
2012-06-28 10:11:41 -07:00
Murali reddy
8197f1f07c
moving out VMWAre and Nexus VSM support code into plugins/hypervisors/vmware
2012-06-26 19:48:55 -07:00
Murali reddy
550b22576f
Moving out XenServer support code into plugins/hypervisors/xen
2012-06-26 16:42:31 -07:00
David Nalley
5f0ece8014
fixing line encoding
2012-06-26 10:45:51 -04:00
Murali reddy
392ae5cb13
moving out Srx code into Plugins/network-elements
2012-06-25 16:55:53 -07:00
Murali reddy
422c4ce513
moving out F5 code from server into plugins/network-elements/f5/
2012-06-23 14:16:59 -07:00
Murali reddy
49b88472a5
moving out NetScaler network element code from CloudStack core into plugins/network-elements/netscaler
2012-06-21 18:57:18 -07:00
Edison Su
e7995d09dc
CS-15281: Removal of third party dependencies in Citrix code base.
...
[Problem]
CloudStack uses a significant amount of third party software. As part of the move to ASF there is a certain set of licenses that are compatible with ASF policy. We need to make sure that every dependency we have is in that set. If it's not we have to remove it.
[Solution]
First set: Removing JnetPcap.
[Reviewers]
Edison Su, David Nalley
[Testing]
[Test Cases]
Executed ANT build-all sucessfully after removing JnetPcap and its respective dependencies.
[Platform]
Fedora release
Signed-off-by: Pradeep <pradeep.soundararajan@citrix.com>
2012-06-21 10:03:37 -07:00
Alena Prokharchyk
374a600746
VPC: initial checkin for network ACLs
...
Conflicts:
client/tomcatconf/commands.properties.in
2012-06-20 17:19:49 -07:00
Alena Prokharchyk
982562b9fb
VPC: ipAssoc consists of 3 parts: plug nic (if needed), associateIp, enableSourceNat(if ip is source nat ip)
...
Conflicts:
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2012-06-15 14:31:58 -07:00
anthony
95faedc09f
VPC : bug fix
2012-06-15 14:29:47 -07:00
anthony
edbf4a0ba7
VPC : many debug fix
2012-06-15 14:26:41 -07:00
anthony
fb72b7e31b
VPC : get correct guest gateway
2012-06-15 14:26:31 -07:00
anthony
a4d0f91cfe
VPC : use routerProxy to call l2tpVpn
...
Conflicts:
core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
2012-06-15 14:26:20 -07:00
anthony
c75fe80125
VPC : use routerProxy to call networkUsage.sh
...
Conflicts:
core/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
2012-06-15 14:25:21 -07:00
anthony
251a91f5b3
VCP : use routerProxy to call checkrouter script
2012-06-15 14:24:18 -07:00
anthony
f5056d4898
VPC : implement SetupGuestNetworkCommand
2012-06-15 14:23:00 -07:00
anthony
8c1700a3a4
VPC : introduce router_proxy.sh, resource should use this as a proxy to call scripts inside domr
...
already did this for ipassoc and getDomRVersion
2012-06-15 14:22:49 -07:00
anthony
daf1aa4b92
VPC, implement plug/unplug nic
2012-06-15 14:22:29 -07:00
Alena Prokharchyk
72974831a0
Modified virtual router startup procedure - initial start happens with control nic only; then we plug Public and then Guest nic to it
2012-06-15 14:22:19 -07:00
Alena Prokharchyk
0a7faa9838
Support for adding private network
...
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/upgrade/dao/Upgrade2214to30.java
2012-06-15 14:20:34 -07:00
Alena Prokharchyk
d9fd7e02a5
Plug nic support
...
Conflicts:
server/src/com/cloud/consoleproxy/AgentBasedConsoleProxyManager.java
server/src/com/cloud/consoleproxy/ConsoleProxyManagerImpl.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/storage/secondary/SecondaryStorageManagerImpl.java
2012-06-15 14:07:46 -07:00
Alena Prokharchyk
f4060c3c1d
1) Added new element - VpcVirtualRouterElement. Extends VirtualRouter + has plug/unplug nics support
...
2) Added services api support for plugging/unplugging the nics to VpcElement
Conflicts:
api/src/com/cloud/network/NetworkService.java
core/src/com/cloud/vm/VMInstanceVO.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
server/test/com/cloud/network/MockNetworkManagerImpl.java
2012-06-15 14:04:09 -07:00
Alena Prokharchyk
9debd3a5df
1) Added start logic to the VPC
...
2) VirtualRouterManagerImpl - refactored deployVirtualRouter method
3) Added vpcId to domain_router/user_ip_address tables and corresponding vo objects
Conflicts:
server/src/com/cloud/network/IPAddressVO.java
2012-06-15 13:56:05 -07:00
Alena Prokharchyk
998cf66e6c
Removed network_id reference from domain_router table as now VirtualRouter can be associated with multiple networks (VPC case). Code modifications were done accordingly to the places where this field was used.
...
Router->Networks (one to many) are held in router_network_ref table now
2012-06-15 13:54:48 -07:00
anthony
5f3e0c5783
CS-15155 : after system VMs boot up, destroy CD virtual device for System VM
...
when reconnect XenServer host, try to destroy CD virtual device for System VM, this is for upgrade
2012-06-15 11:27:53 -07:00
anthony
2af6789020
CS-12972 : cap is per VM , weight is per VCPU
2012-06-14 18:28:33 -07:00
Edison Su
3a89d33e92
CS-14826
...
fix typo
Reviewed-by: sheng
2012-06-14 14:27:49 -07:00
Kelven Yang
8b6936bde6
CS-15080: VMware control network is CloudStack management network, correct the way to send down a correct traffic label to VMware resource
...
Reviewed-by: Anthony
2012-06-06 16:57:27 -07:00
Kelven Yang
874544fd64
bug CS-15119: check previously named datastore before we mount new one to support backwards compatibility
...
Reviewed-by:Anthony
2012-06-06 16:56:41 -07:00
Sateesh Chodapuneedi
4ad8845b28
CS-14956 Support for rate limiting policies in Nexus dvSwith feature for CloudStack
...
Removed global parameters that are not required. Cleanup.
Reviewed-by: Devdeep
2012-05-25 19:41:36 -07:00
Sateesh Chodapuneedi
8eff665784
CS-15073 Nexus vSwitch: Source NAT is being programmed on the wrong nic on the Virtual Router
...
Reviewed-by: Devdeep
Conflicts:
vmware-base/src/com/cloud/hypervisor/vmware/mo/VirtualMachineMO.java
2012-05-25 18:42:24 -07:00
Vijayendra Bhamidipati
9fcdfe5b19
CS-15024: NullPointerException thrown while executing GetVmStatsCommand
...
Description:
Fixing incorrect non-null object check.
2012-05-25 18:24:02 -07:00
Sateesh Chodapuneedi
e952f0d5f3
CS-15010 Nexus vSwitch: Advanced Zone - System VMs failed to deploy due to Start Command Failure
...
CS-15016 SSH connections to VSM are not cleared [Once the connections are exceeded it failed to connect to VSM]
Conflicts:
core/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
vmware-base/src/com/cloud/hypervisor/vmware/mo/VirtualMachineMO.java
2012-05-25 18:17:59 -07:00
Vijayendra Bhamidipati
b3e05a7dcb
CS-14937: System VMs and Router VMs does not come up after upgrading from 3.0 to Bonita
...
Description:
Reverting my earlier fix for bug 14937. The fix is
not needed.
2012-05-25 18:10:35 -07:00
Vijayendra Bhamidipati
f7797e8b02
CS-14937: System VMs and Router VMs does not come up after upgrading from 3.0 to Bonita
...
Description:
Putting in fix for bug 14937. Please note however,
that this fix may be modified later.
2012-05-25 18:10:18 -07:00
Sateesh Chodapuneedi
ed79950faa
CS-14937 System VMs and Router VMs does not come up after upgrading from 3.0 to Bonita
...
Enabling virtual NIC association with distributed vNetwork only in Nexus dvSwitch is enabled.
Conflicts:
core/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
2012-05-25 18:04:15 -07:00
Sateesh Chodapuneedi
67bfe23d28
CS-9919 Support for Nexus Swiches (Cisco Vswitches)
...
Avoid detection of public traffic label for basic zones. Check switch types along with global parameter for enabling a particular vmware vswitch types. Move credentials information into resource and load during resource configuration. Cleanup.
Conflicts:
server/src/com/cloud/hypervisor/vmware/VmwareServerDiscoverer.java
2012-05-25 18:00:13 -07:00
Sateesh Chodapuneedi
c65199cd8c
CS-9919 Support for Nexus Swiches (Cisco Vswitches)
...
Added VSM credentials to AddClusterCmd(optonal params only).
Cleanup.
Conflicts:
api/src/com/cloud/api/commands/AddClusterCmd.java
2012-05-25 17:56:46 -07:00
Sateesh Chodapuneedi
9709774b4b
CS-9919: Support for Nexus Swiches (Cisco Vswitches)
...
Description:
Instance configuration to join distributed vNetwork.
Conflicts:
core/src/com/cloud/hypervisor/vmware/manager/VmwareManager.java
core/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareHelper.java
2012-05-25 17:53:00 -07:00
Sateesh Chodapuneedi
c59d5415ad
CS-9919 Support for Nexus Swiches (Cisco Vswitches)
...
Description:
Portprofile shaping policies will be fetched
from nexus vswitch instead of vcenter.
ACLs and Policies won't be synced to vCenter.
Get physical network label while adding cluster.
Cleanup.
Conflicts:
core/src/com/cloud/hypervisor/vmware/manager/VmwareManager.java
server/test/com/cloud/network/MockNetworkManagerImpl.java
2012-05-25 17:44:02 -07:00
Sateesh Chodapuneedi
b6687faf89
CS-9919 Support for Nexus Swiches (Cisco Vswitches)
...
Description:
Retreving physical network configuration from
database. Passing configuration down to resource.
Cleanup.
Conflicts:
core/src/com/cloud/hypervisor/vmware/manager/VmwareManager.java
server/src/com/cloud/hypervisor/vmware/VmwareServerDiscoverer.java
2012-05-25 17:40:38 -07:00
Vijayendra Bhamidipati
7e845cfa62
CS-9919 Support for Nexus Swiches (Cisco Vswitches)
...
Description:
1. Removed CiscoNexusVSM.java.
2. Put in invocation of Netconfhelper's
connect method to a VSM, in
CiscoNexusVSMDeviceManagerImpl.java.
2012-05-25 17:29:35 -07:00
Sateesh Chodapuneedi
205f4a2192
CS-9919 - Support for Nexus Swiches (Cisco Vswitches)
...
Description:
Code changes to manage Cisco Nexus 1000v in CloudStack.
VmwareResource has been modified to leverage Nexus vSwitch.
Providing following global configuration parameters,
vmware.use.nexus.vswitch -
This would decide whether Nexus vSwitch in the VMware
cluster environment would be used/managed by CloudStack
for it's network infrastructure needs.
vmware.guest.network.vswitch.type -
This setting would enable CloudStack to use Nexus vSwitch
in the VMware cluster environment for guest traffic.
vmware.private.network.vswitch.type -
This setting would enable CloudStack to use Nexus vSwitch
in the VMware cluster environment for private traffic.
vmware.public.network.vswitch.type -
This setting would enable CloudStack to use Nexus vSwitch
in the VMware cluster environment for private traffic.
Functional Specification -
http://wiki.cloudstack.org/display/RelOps/Cisco+Nexus+1000v+Support+in+CloudStack+-+Functional+Specification
Documentation / README for usage instructions -
http://wiki.cloudstack.org/display/RelOps/Configuration+instructions+for+CloudStack+Deployment+with+Nexus+vSwitch
Conflicts:
core/src/com/cloud/hypervisor/vmware/manager/VmwareManager.java
core/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
server/src/com/cloud/hypervisor/vmware/VmwareServerDiscoverer.java
vmware-base/src/com/cloud/hypervisor/vmware/mo/HostMO.java
vmware-base/src/com/cloud/hypervisor/vmware/mo/HypervisorHostHelper.java
vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareContext.java
2012-05-25 17:27:00 -07:00
Vijayendra Bhamidipati
037ac6592e
Bug CS-9919: Support for Nexus Swiches (Cisco Vswitches)
...
Description:
1. Changed AddCiscoNexusVSMCmd to:
a. Extend BaseCmd instead of BaseAsyncCmd.
b. Take in more required parameters (viz
vCenterDCName and vCenterIpAddress)
1a. Changed DeleteCiscoNexusVSMCmd to also
extend BaseCmd.
2. Put in changes that will ensure that
When a VSM is added, it is disabled by default.
3. Fixed code that was leading to exceptions
related to DB reads/writes to VSM related tables.
4. Added new API Constants in ApiConstants.java.
NOTE - Always initialize new attributes in
ApiConstants.java to values in small case.
Never put in upper case there. Also regardless
of what names you give attributes in the
*Cmd.java's class, you pass in parameters via
API calls by specifying <key>=<value> where the
<key> is taken from the value you specified in
ApiConstants.java.
5. Modified the addCiscoNexusVSM() function in
CiscoNexusVSMDeviceManagerImpl.java to write VSM
records to the db.
2012-05-25 17:17:18 -07:00
Devdeep Singh
1198a62453
CS-9919: Support for Nexus Swiches (Cisco Vswitches)
...
Description:
Adding a netconf helper class for adding and
deleting port profiles. These functions need
to be further parameterized and error handling
needs to be taken care of.
2012-05-25 17:09:54 -07:00
Vijayendra Bhamidipati
28568e694b
Bug CS-9919: Support for Nexus Swiches (Cisco Vswitches)
...
Description:
This is work in progress. This set of changes will not
compile. Checking in for team wide code sync up.
Changes are underway to test if VMWareResource can be
leveraged to talk to the VSM, instead of creating a
new resource for the VSM, like we've been doing up
until now.
2012-05-25 17:09:08 -07:00
Vijayendra Bhamidipati
32ba2ef17a
CS-9919: Support for Nexus Swiches (Cisco Vswitches)
...
Reviewed by: Sateesh Chodapuneedi, Devdeep Singh
Description:
This is the first in a series of commits for integrating the
Cloudstack Management Server with the Nexus 1000v Virtual
Supervisor Module.
These changes introduce the necessary API command interfaces
to work with a Cisco N1KV VSM. The backend logic is still to
be put in and will be incorporated in subsequent commits.
Please do not attempt to use these APIs until then. Also,
these are not yet filled in into commands.xml, so they are
not currently exposed.
Additional APIs would be added if required.
These changes will not break any current management server
functionality.
Given below is a description of the changes put in here:
Added Cisco N1KV commands to core/api:
These are the added commands -
AddCiscoNexusVSMCmd
DeleteCiscoNexusVSMCmd
ConfigureCiscoNexusVSMCmd
ListCiscoNexusVSMCmd
ListCiscoNexusVSMNetworksCmd
Added a Network Element service file for Cisco N1KV.
Declared the interface functions that we'll need for
the N1KV VSM.
Defined a DeviceVO file for the Cisco Nexus Element.
Created a response file for Cisco Nexus VSM.
Created new event types for external Switching Management devices.
Put in logic to call interface methods in ListCiscoNexusVSMNetworksCmd
and ListCiscoNexusVSMCmd
NOT VSM RELATED:
Fixed minor typo in some of the event types for external load balancers.
Added properties of a VSM in the VSM VO class.
Replaced the "url" input parameter by "ipaddress"
in the AddCiscoNexusVSMCmd API.
Added a new file - CiscoNexusVSMElement.java to
contain the implementation of the functions
declared in the VSMElementService interface, and
put in implementations of the functions for the
Nexus VSM API commands. These functions are
defined in the CiscoNexusVSMElement class.
Added a class for Port Profiles (PortProfile.java).
The fields in this class are still not correctly
declared as of now. We'll make the required changes
going forward.
Added CiscoNexusVSMDeviceManagerImpl class.
Added CiscoNexusVSMResource class.
Created a new class to provide a package to
connect to Cisco Nexus VSMs. This will be a
set of Java wrapper functions that allow us
to connect/disconnect and send commands and
receive the results of those commands via
XML-RPC. These functions are yet to be
implemented, and will be checked in in future
commits.
Added two new classes, VSMCommand and
VSMResponse, to encapsulate XML-RPCcommands
and responses to and from a Ciscon Nexus VSM.
Put in the following function stubs inside the
CiscoNexusVSMService class:
connectToVSM()
disconnectFromVSM()
executeVSMCommand()
Added new field in the Type enum of the "Host"
interface, for Cisco Nexus VSMs.
Added two parameters to AddCiscoNexusVSMCommand
vsmName
zoneId
Modified the CiscoNexusVSMDeviceVO constructor to
take in an zoneId as a parameter when creating
the VO object.
Added new interface and class for the DeviceDao
implementation for Cisco Nexus VSM devices:
CiscoNexusVSMDeviceDao
CiscoNexusVSMDeviceDaoImpl
Removed the vsmvCenterDomainId property, since it's
going to the same as vsmDomainId, which is the VSM's
switch Domain Id.
Have started putting in the following query functions
in the CiscoNexusVSMDeviceDao interface:
Put in DAO implementations of some of the above functions in the CiscoNexusVSMDeviceDaoImpl class.
Added a vsmName parameter to the CiscoNexusVSMDeviceVO class.
2012-05-25 17:05:15 -07:00
prachi
3fd17ae029
Merge awsapi related changes to CloudStack
2012-05-25 14:40:53 -07:00
Kelven Yang
1e84fa4b12
bug CS-14964: use shorter UUID for datastore names
2012-05-24 15:21:49 -07:00
Kelven Yang
b6e5530a0b
CS-15080 - add support for private network on a VLAN under VMware
2012-05-24 15:14:46 -07:00
Edison Su
e96de4bc28
CS-14826, CS-14996: fix the md5 checksum
2012-05-24 15:09:44 -07:00
Sheng Yang
3d7d23d84c
Revert "bug 10946: Add default buffer length for compressed request"
...
This reverts commit e3d30c6be6 .
This fix CS-14646.
2012-05-23 12:13:38 -07:00
Sheng Yang
d18bb876c7
CS-14869: Fix KVM fail to apply DNS/ROUTER option of the network
2012-05-17 16:22:59 -07:00
anthony
297996e907
CS-14784 support multiple subnets
...
resolved fixed
2012-05-16 16:26:00 -07:00
Edison Su
403addc59d
bug CS-14833: if iso is xen/vmware tools, attach it to vm; status CS-14833: resolved fixed
2012-05-15 14:04:16 -07:00
frank
910ae7446b
don't call _secMgr.generateSetupCommand each time copying template
...
it will reboot httpd making in processing copy fail
2012-05-14 14:15:30 -07:00
frank
7f2f350acd
Don't call configSSL() in SecStorageSetupCommand
...
just for test
2012-05-14 14:15:21 -07:00
Kelven Yang
3020df75f1
Add support routines for incremental snapshot support
2012-05-11 17:17:48 -07:00
Nitin Mehta
9097b53eab
bug CS-10789: Put zone id in the volumehost ref table. make list volume to show the percent uploaded.
2012-05-03 10:46:02 +05:30
anthony
fe3200c72e
bug CS-14718: wait util xenserver join pool operation stablize.
...
status CS-14718: resolved fixed
2012-05-02 19:58:37 -07:00
Kelven Yang
310453f993
Use the correct XenServer console streaming URL via XAPI
2012-05-02 14:15:01 -07:00
Salvatore Orlando
a794e49545
CS-14724 : Making the default network label configurable, improving exception management
...
Please also see notes added to wiki.cloudstack.org/display/QA/Open+vSwitch+Tunnel+Manager
2012-05-02 15:16:10 +01:00
Murali reddy
310a9fd671
bug cs-14285 NetScaler SDX: can not create VPX instances when XVA image is not NSVPX-XEN-9.3-52.4_nc.xva
...
status cs-14285: resolved fixed
This fix enables to use the first available VPX image and device profile on the SDX while creating VPX
2012-05-02 17:20:10 +05:30
Murali reddy
c961fb11a6
bug cs-14510:NetScaler SDX does not work when public network is setup to be in untagged network
...
status cs-14510: resolved fixed
This fix ensures VPX's provisioned on the SDX by CloudStack will be made part of both
tagged and untagged public networks
2012-05-01 12:20:12 +05:30
Kelven Yang
8d2a00874b
bug 14090: handle the case when command is sent to a different host that is not owner of the VM
2012-04-24 16:48:37 -07:00
Salvatore Orlando
026ed52f1d
CS-14437: Final changes to ensure proper tunnel creation (rebase problems)
2012-04-24 15:53:10 +01:00
Sheng Yang
1ced2ed424
CS-14555: Calculated checksum before unzip
...
Otherwise checksum would be overrided by wrong value.
2012-04-23 19:20:16 -07:00
Salvatore Orlando
f66dd8927e
Fix conflict resolution errors
2012-04-23 22:33:19 +01:00
Salvatore Orlando
b980993864
Adding DB support for interfaces OVS tunnel manager will use as GRE endpoints
2012-04-23 22:33:19 +01:00
Salvatore Orlando
02cd1484b7
Removing superfluous log statements
2012-04-23 22:33:18 +01:00
Salvatore Orlando
2340ebced3
Now using vnets instead of network id for creating networks
...
Fixed issues with vif scripts on 5.6FP1
Fixed ipv6 issue on 5.6FP1
Plus other various fixes and improvements
Starting to remove debug code
NOTE: Network is configured correctly but instances do not start. Possibly indefinite wait occuring on some commands
2012-04-23 22:33:18 +01:00
Salvatore Orlando
3eef46f8a9
Open vSwitch tunnel manager
...
Applying patch with new ovs-tunnel-manager on top of cloudstack oss-master
2012-04-23 22:32:52 +01:00
Salvatore Orlando
e2cc2c1f6e
Fixing remaining issues with per-VIF flow script and removing version-specific scripts.
...
Now generating XSnetwork names using gre keys
Plus other minor corrections
2012-04-23 22:32:52 +01:00
Salvatore Orlando
241ba26a03
Work in progress - Need to fix issue on sec storage
2012-04-23 22:32:52 +01:00
Salvatore Orlando
8987499cda
Now using vnets instead of network id for creating networks
...
Fixed issues with vif scripts on 5.6FP1
Fixed ipv6 issue on 5.6FP1
Plus other various fixes and improvements
Starting to remove debug code
NOTE: Network is configured correctly but instances do not start. Possibly indefinite wait occuring on some commands
2012-04-23 22:32:52 +01:00
Salvatore Orlando
9f321ffeac
Open vSwitch tunnel manager
...
Applying patch with new ovs-tunnel-manager on top of cloudstack oss-master
2012-04-23 22:32:16 +01:00
anthony
352f3d95ed
add CentOS 6.0, CentOS 5.7, RHEL 5.7 support for XenServer 6.0.2
2012-04-23 13:57:59 -07:00
Nitin Mehta
4434aa0d2d
bug CS-10789: More changes for the imageformat, introdueced new column in db for the format, created scripts for doffernt hypervisors ...and the list goes on.
2012-04-23 13:44:34 +05:30
Nitin Mehta
14adf23700
bug CS-10789: Adding more code changes for usage, delete volume .
2012-04-23 13:42:53 +05:30
Nitin Mehta
ac2175bdbc
bug CS-10789: Adding volume sync and delete functionality.
2012-04-23 12:29:38 +05:30
Nitin Mehta
54956280e6
Preliminary upload and attach changes work ..
2012-04-23 12:28:36 +05:30
Nitin Mehta
564cef8ddf
More changes for uploadVolume. Create framework for upload volume progress communication between MS and SSVM.
2012-04-23 12:14:35 +05:30
Nitin Mehta
e04822eb70
bug CS-14530: Whenver adding a new capacity check the state of the resource - if its disabled/enabled.
...
Reviewed By: Kishan
2012-04-19 14:24:12 +05:30
Abhi
08bda90268
adding support for NetworkUsageCommand for XCP
2012-04-18 14:51:52 +05:30
anthony
478eb1df6c
bug : 14543
...
XenServer doesn't need to provide gateway
2012-04-17 16:08:15 -07:00
Murali reddy
e5bf243498
bug CS-14458: NetScaler SDX support in CloudStack only work with 10 gig interface
...
This fix will ensure both 10gig and 1 gig interfaces of NetScaler SDX are supported
2012-04-17 14:07:47 +05:30
anthony
7cc93d4ed4
correct template name for CentOS 6.0
2012-04-13 15:16:48 -07:00
Abhi
3cb6656234
bug CS-14389: removing duplicates
2012-04-11 16:57:10 +05:30
Abhi
d1cc223673
bug CS-14389: adding missing os types for xen 6
2012-04-11 15:49:38 +05:30
Rajesh Battala
3cbb8bc198
Xenserver Secure Console Proxy Phase I
2012-04-10 18:01:56 +05:30
David Nalley
aeee1e46f3
fixing line ending in cp and core
2012-04-07 19:37:57 -04:00
David Nalley
a0171b9874
changing lots of line endings
2012-04-06 17:51:57 -04:00
Alena Prokharchyk
2d1a6b0b35
bug 14615: deployVm can work 2 diff ways now: 1) Default way - create and start the vm. 2) Create the vm without starting it. Note that vm's volumes stay in Allocated state -not created on the backend till the point where vm starts
...
status 14615: resolved fixed
2012-04-06 11:30:48 -07:00
Alena Prokharchyk
b14bac0977
bug 14539: 1) introduced 2 new config parameters defining default offerings for ssvm and cpvm - consoleproxy.service.offering and secstorage.service.offering
...
2) Added new api - changeServiceForSystemVm - to support service offering upgrade for system vms
3) Removed global config parameters that are not in use anymore: consoleproxy.ram.size, consoleproxy.cpu.mhz, secstorage.vm.ram.size, secstorage.vm.cpu.mhz
2012-04-03 10:52:32 -07:00
frank
2f634c0913
Switch to Apache license
2012-04-03 04:50:05 -07:00
Alena Prokharchyk
bd02f0c533
bug 14555: use hostName in toString() method of vmVO
...
status 14555: resolved fixed
2012-03-30 13:36:08 -07:00
Murali reddy
6cc90a0615
bug 14554: Failed to add Usage Filter on SRX during SetStaticNatRulesCommand Execution
...
status 14554: resolved fixed
reviewed-by: Janardhan
2012-03-30 16:35:57 +05:30
Abhi
4f5386a5df
bug 13873: memory overhead can now be overridden for each version, increasing the overhead for SP2 by 1.5%
2012-03-29 17:35:18 +05:30
Kelven Yang
7d906c2f60
bug 14491: use template unique name instead of self-generated UUID name. Reviewed-By: Kelven(with test)
2012-03-28 14:15:00 -07:00
Murali reddy
3d13371116
bug 14463: Failed to Deploy VM due to failure in creation of guest VLAN on SRX
...
status 14463; resolved fixed
moved all static (config related) variables to non-static in SRX server resource as we can have more than
one SRX device in a zone
2012-03-26 17:10:53 +05:30
Murali reddy
2fe0f10657
Revert "bug 14463: Failed to Deploy VM due to failure in creation of guest VLAN on SRX"
...
This reverts commit 9eb23c64dd .
2012-03-26 15:54:58 +05:30
Murali reddy
9eb23c64dd
bug 14463: Failed to Deploy VM due to failure in creation of guest VLAN on SRX
...
status 14463: resolved fixed
reviewed-by: Janardhana.Reddy@citrix.com
2012-03-26 15:03:45 +05:30
Nitin Mehta
a78537398c
Bug 14490: Fix NPE in ListCapacity
2012-03-24 16:24:51 +05:30
Abhi
97963b37a2
bug 14135: mapping windows 2003 os types to xen templates
2012-03-22 17:20:06 +05:30
Kelven Yang
1a8e5287fd
Bug 14213: use UUID name in secondary storage for templates. Reviewed-By: edison
2012-03-21 16:46:03 -07:00
kishan
53499c928f
bug 14409: VMware, create network_stats iptables rule while creating router
...
status 14409: resolved fixed
2012-03-21 17:25:38 +05:30
Murali reddy
2dd328fac4
bug 14016:When a Vm gets deleted from a LB rule , it also gets deleted from other LB rules which is pointing to the same private port.
...
status 14016: resolved fixed
2012-03-20 19:23:38 +05:30
frank
a6a54a2f87
Bug 14189 - multiple physical nw - SSVM fail to download guest templates from storage server which is in isolated network only accessible by host's bridge
...
if storage network is present, don't set route through private ip when adding internal download site
status 14189: resovled fixed
2012-03-16 14:49:30 -07:00
Sheng Yang
8071f51678
bug 14215: Fix SSVM on Xen kernel panic due to "too many env var"
...
Just add different delimitor for VM and extract them from cmdline later.
status 14215: resolved fixed
2012-03-16 14:47:42 -07:00
Sheng Yang
2b3b3e21ad
Add missing annotation
2012-03-12 17:10:13 -07:00
Kelven Yang
52ebf15e7c
Console proxy refactoring incremental check-in - new VNC protocol implementation
2012-02-28 17:03:38 -08:00
Vijayendra Bhamidipati
768d7a2a26
Bug 13127: API error text refer to database ids instead of uuids
...
Description:
1) Moved RuntimeCloudException from api/ to utils/.
Added simple constructor to RuntimeCloudException.
Modified all classes that extended RuntimeException
to extend RuntimeCloudException. These classes
are listed below:
ServerApiException
CloudAuthenticationException
CloudExecutionException
AsyncCommandQueued
HypervisorVersionChangedException
RuntimeCloudException
2) Added overloaded constructed to CloudException.
Modified all classes that extend Exception to extend CloudException instead.
These classes are listed below:
ConcurrentOperationException
ConflictingNetworkSettingsException
ConnectionException
DiscoveryException
InsufficientCapacityException
ManagementServerException
ResourceUnavailableException
VirtualMachineMigrationException
AgentControlChannelException
OperationTimedoutException.java
UnsupportedVersionException.java
UsageServerException.java
UnableDeleteHostException.java
AgentAuthnException.java
HttpCallException.java
ActiveFencingException.java
ClusterInvalidSessionException.java
GreTunnelException.java
OvsVlanExhaustedException.java
2012-02-27 17:54:53 -08:00
Kelven Yang
bdc99ea17a
bug 13989: correct the usage about the control IP in VMware resource, new command like GetDomRVersion command is not using the right control IP address under basic zone mode. Reviewed-By: Anthony
2012-02-27 15:05:34 -08:00
anthony
bd9b52fc3d
bug 13955: increase the retry time for checkssh
...
status 13955: resolved fixed
reviewed-by : edison
2012-02-24 16:01:08 -08:00
Kelven Yang
16e1f18afe
bug 13987: a regression was caused by typo. Reviewed-By:Anthony
2012-02-24 13:29:03 -08:00
Alena Prokharchyk
f03fc196ad
bug 13961: always return NetworkUsageAnswer from the networkUsageCommand
...
status 13961: resolved fixed
Reviewed-by: Alex Huang
2012-02-23 11:15:38 -08:00
Alena Prokharchyk
2e9511e2ae
Changed isElastic to isSystem for the publicIpAddress assigned during the vm deployment in EIP enabled network
...
Reviewed-by: Chiradeep
2012-02-21 15:39:49 -08:00
Kelven Yang
d41ad93f0f
bug 13808: unpack OVA if OVF file does not exist (don't rely on template installation script to unpack it for us). Reviewed-By: Edison
2012-02-21 13:21:59 -08:00
kishan
11e4ded985
Bug 13619: Throw exception when not traffic sentinel host is not available. Update last_collection timestamp when atleast 1 IP has nonzero bytes
...
Status 13619: resolved fixed
Reviewed-By: Nitin
2012-02-21 23:41:37 +05:30
Murali reddy
4e9b312bf2
bug 13855: F5 - Hold time paramS for sticky policies are not getting programmed in F5
...
- configuring unique persistence profile for each LB rule with sticky method applied
- removing source based sticky method for source based LB method which is not supported by F5
2012-02-21 22:04:37 +05:30
Murali reddy
e278eb674e
bug 13872: Implementation of Guest Network by JuniperSRX failed: NPE during the execution of IPAssoc
...
Reviewed-by: Jana
status 13872: resolved fixed
2012-02-20 18:10:02 +05:30
frank
a1fa313902
Bug 13568 - secondary storage VM's static route for nfs server breaks things!
...
status 13568: resolved fixed
reviewed-by: Sheng Yang
2012-02-17 16:24:32 -08:00
kishan
9c5fb5f199
Bug 13741: Added new Config category Secure. Any config in secure category will encrypted along with the Hidden category configs
...
Status 13741: resolved fixed
Reviewed-By: Nitin
2012-02-17 16:42:32 +05:30
kishan
ced6fd46b8
Bug 12954: Added usage for security groups. Usage will be generated for each security group that is assigned to a Vm.
...
Status 12954: resolved fixed
Reviewed-By: Nitin
2012-02-17 13:50:18 +05:30
Murali reddy
4c4d08cc15
bug 13626: Able to add a F5 device successfully even when invalid username/password was provided
...
Reviewed-By:nitin.mehta@citrix.com
status 13626: resolved fixed
added a fake call during to login to force validate the credentails
2012-02-15 17:14:31 +05:30
Nitin Mehta
805ce41a39
Bug 13684: Remove .vhd that we were appending for backupSnapshot UUID and keep it only in teh case of swift.
...
Reviewed-By: Kishan
2012-02-15 14:02:39 +05:30
Kelven Yang
5e630c0699
bug 13537: use --no-same-owner when we untar OVA file to work with NFSv4. Reviewed-By: Anthony
2012-02-14 11:50:09 -08:00
Murali reddy
6e2aee8320
bug 13570: vmware cant find vmroot disk because the uuid gets truncated and cloudstack cant reference
...
truncating template name to 32 chars so they work well with vSphere API
2012-02-10 17:00:20 +05:30
Nitin Mehta
680ab2f908
Bug 13059: Using Float instead of float for percentage.
...
Reviewed-By: Kishan
2012-02-10 11:11:47 +05:30
Edison Su
498d57fa3d
fix upgrade
2012-02-09 14:56:41 -08:00
Edison Su
1ab89dd436
add cert chain in db, and also open the api to upload a cert chain
2012-02-09 14:56:40 -08:00
frank
aa9d250280
port copy template fix to acton
2012-02-09 14:19:08 -08:00
Murali reddy
a4c891d002
bug 13492: vmware:Template sizes are incorrectly reported
...
status 13492: resolved fixed
reviewed-by: Nitin
virtual size of the private templated from size mentioned in the OVF file
2012-02-09 21:07:47 +05:30
Sheng Yang
b97914cc8a
bug 13475: Fix invalid char in the gson string
...
Thanks fix provided by Frank. The reason is some invalid char in the json
message result in json parsing chaos.
status 13475: resolved fixed
2012-02-08 15:54:09 -08:00
Naredula Janardhana Reddy
31fe8bd815
Summary of HAProxy stickines param changes:
...
- converted all mandatory params to optional, and internally fill with default value before sending to haproxy. default value is available through description.
- accept holdtime without units.
2012-02-08 14:56:41 +05:30
prachi
dbe2305352
Bug 13099 table physical-network-traffic-types needs to be updated when xen network device setting is modified in the global settings
...
Changes:
- We do not need these global setting anymore. These will be hidden since 3.0
- The default traffic label will be picked from the global setting which is null by default. When traffic label is null it means the resource uses tag on the default gateway
- Changes to invoke discoverer to reload the resource object on host connection
- Since a zone can have many physical networks, there can be multiple guest, public networks. Only the zone wide storage and management traffic label will be stored in host_details henceforth.
- If traffic labels are updated, discoverer should update the host_details
2012-02-07 18:41:23 -08:00
Nitin Mehta
ce26703e5c
Bug 13059: Make DB changes to list top consumed resources for enabled resources only. For this introdiuced a new state called capacity state in the op_host_capacity table and would be updated on every operation of zone pod cluster and host
...
Reviewed-By: Kishan
2012-02-07 20:53:25 +05:30
Murali reddy
7add26e5db
bug 12432: Netscaler-Inspite of Network creation failing to implement guest Vlan , subsequent Vm creation succeeds.
...
status 12432: resolved fixed
2012-02-07 16:51:24 +05:30
abhi
93a67de978
bug 13473: fixed the concurrent access to vms hashmap
2012-02-07 07:59:22 +05:30
Nitin Mehta
93b8178f19
Bug 13059: Introduce a new api to list top consumed resources in cloudstack.
...
Reviewed-By: Kishan
2012-02-06 20:32:40 +05:30
abhi
59c7150af7
bug 13439: full sync at management server restart, disabling hourly sync
2012-02-06 15:01:44 +05:30
anthony
cdc7c4083c
bug 12844 : use plugin echo main to test if master can connect to slave
...
status 12844: resolved fixed
reviewed-by : edison
2012-02-03 15:54:38 -08:00
anthony
6d0bb6d585
Revert "bug 13379: throw exception, if master cannot connect to slave"
...
This reverts commit 01768176fcd4b0dfe72baf16039e073d18344578.
2012-02-03 15:54:38 -08:00
Alena Prokharchyk
1490e45a1c
Fixed format style in a bunch of files (replaced tabs with spaces as a part of it)
2012-02-03 13:49:11 -08:00
Murali reddy
47a6f74f6f
bug 13191 : on account deletion gracefully cleanup all the resources configured on the NetScaler device
...
status 13191: resolved fixed
2012-02-03 20:59:10 +05:30
kishan
a388ed792f
Bug 13326: Added is_elastic flag to IP address usage. Added new column in usage_ip_address, defaults to false. size column will contain is_elastic info in cloud_usage table
...
Status 13326: resolved fixed
Reviewed-By: Nitin
2012-02-03 18:01:30 +05:30
Murali reddy
b70f74088c
bug 12880 : NetScaler sticky session support does not work for "lbcookie" and "appcookie"
...
status 12880: resolved fixed
2012-02-03 17:27:15 +05:30
Murali reddy
cf75552186
bug 13146: Netscaler - Editing the algorithm from "source" to "roundrobin" fails
...
status 13146: resolved fixed
2012-02-02 18:05:57 +05:30
abhi
1beab0be32
bug 12849: applying vm sync fence fix/cleanup to master
2012-02-02 11:15:14 +05:30
Kelven Yang
1658a75a72
Prepare network environment before relocating VM
2012-02-01 15:47:49 -08:00
Kelven Yang
dcee71e923
Prepare secondary storage in migration target host before migration happens, unlike primary storage, secondary storage is prepared on-demand
2012-02-01 15:20:59 -08:00
Naredula Janardhana Reddy
aea81205ef
Bug 11845:
...
Summary of Changes:
- created a generic way for LB rule validations, so as LB device(like Haproxy) specific validations can be done syncronously.
- Removed asyncronous validations from Haproxy and done syncronously.
2012-02-01 18:01:11 +05:30
Naredula Janardhana Reddy
72fb7256d7
Bug 13297,13375,12705 :
...
Summary of changes :
- Added a new flag -s to ipassoc command to carry if the ip address is
used for SNAT or not.
- SNAT is completly decoupled from the first flag. first flag is used
to decide if the ip address is first ip address of the interface.
- -s and -f are independent, SNAT can be enabled on the non-first ip
also.
2012-02-01 12:39:10 +05:30
Kelven Yang
ac08f53d14
bug 10355: let detachIso failure message be bubbled up
2012-01-31 18:03:43 -08:00
Kelven Yang
a81db8a100
rootDiskController option should only be applied to root volumes
2012-01-31 16:47:13 -08:00
Murali reddy
73aa18eac9
bug 13332: Not able to access Lb rules created on VPX instances ( that were created by SDX)
...
Reviewed-by:Prasanna.Santhanam@citrix.com
status 13332: resolved fixed
fixing the regression because of the fix done for NetScaler in basic zone deployment. ELB does
not need USIP to be set as 0.0.0.0/0 port ingress security group rule need to be configured
2012-01-31 11:54:16 +05:30
Murali reddy
a3bbda8075
bug 13276: Static NAT on Elastic Ip does not respect the Ingress rules that are set on the VM
...
Reviewed-by:Prasanna.Santhanam@citrix.com
This fix configures Inat and LB rules on the NetScaler device to send the source IP recived on the packets
as is, so that security groups configured can take affect
2012-01-31 11:53:57 +05:30
anthony
bb84435008
bug 13379: throw exception, if master cannot connect to slave
...
status 13379: resolved fixed
2012-01-30 16:49:24 -08:00
Kelven Yang
cb959aa377
bug 13369: recycle roger hung worker VMs in vCenter
2012-01-30 14:21:56 -08:00
Kelven Yang
0f333a5124
Let system VM still use the old naming convention for host names
2012-01-27 09:59:52 -08:00
Edison Su
5e2f02fdd5
bug 13315: add httpproxy support in ssvm, only basic auth. User can add secstorage.proxy = http://username:password@hostname:port
...
status 13315: resolved fixed
2012-01-26 18:46:44 -08:00
anthony
110f4331f8
bug 13086: remove host tag from VDI after rset_power a VM
...
status 13086: resolved fixed
2012-01-26 17:45:32 -08:00
prachi
e48e7226bd
Bug 13239 - java.lang.NullPointerException seen in management server logs when netscaler instance is unreachable whenever network usage thread is executed
...
Changes:
- Added Null check for lbvserver
- Need not process the usage answer when we get some error.
2012-01-26 16:40:16 -08:00
Kelven Yang
c1fb754de7
VM display name can be NULL in schema, leave it as NULL instead of empty string when user does not provide a optional VM display name
2012-01-26 11:30:40 -08:00
anthony
27c59872a3
remove host.enable from XenServerConnectionPool
2012-01-25 17:51:15 -08:00
Kelven Yang
8083b29235
bug 13306: remove sensive DB id info from VM display name
2012-01-25 17:16:21 -08:00
Kelven Yang
ff5153f2e8
relax the host/VM relationship check, IPAssoc command may be sent to a wrong host when domR is taken over from other host
2012-01-25 14:19:53 -08:00
Kelven Yang
b07fc6b5f8
bug 12957: sort disk by device id to make sure ROOT disk is configured at very first
2012-01-25 11:53:44 -08:00
anthony
e468755964
remove fake PV logic, all VMs need to install xs-tools
2012-01-25 10:36:11 -08:00
Naredula Janardhana Reddy
5ca5851b1b
Bug 12808:
...
Summary of changes:
- Mutiple routing table for each public interface is added (previously there is only one routing table ). when the packet is send out of public interface corresponding per-interface routing table will be used. per-interface routing table will modified when ever ip/interface added/deleted.
- New parameter is added to ipassoc command to include the default gateway for every interface/ip. prevously it is using only one public interface to send out, default gateway is obtained at the boot up time.
- In the DNAT case. In the revese path(from guest vm to outside, or when DNAT packet receives from the eth0) the public ip/source ip will not be available till POSTROUTING. to overcome this, DNAT connection are marked with routing table number at the time of connection creation, in the reverse path the routing table# from DNAT connection is used to detect per-interface routing table.
2012-01-25 12:54:00 +05:30
Sam Robertson
7fb6a695c1
Bug 11860: combining 32 bit signed values into a 64 bit value had errors. This should correct that
2012-01-23 01:30:15 -08:00
Kelven Yang
1056afbbcf
bug 13225: setup firewall rules for all ESX/ESXi hosts under a cluster as worker VM may be created at any host available, also add connect retry when work with vCenter and ESX/ESXi hosts
2012-01-20 17:58:54 -08:00
anthony
86aef08865
cleanup snapshot in secondary storage in background
...
Conflicts:
core/src/com/cloud/storage/resource/NfsSecondaryStorageResource.java
server/src/com/cloud/storage/StorageManager.java
server/src/com/cloud/storage/StorageManagerImpl.java
2012-01-19 20:44:44 -08:00
Murali reddy
40ac2f5cdf
bug 12826: enable NetScaler in basic zone for load balancing and static NAT
...
status 12826: resolved fixed
2012-01-19 14:00:07 -08:00
Abhinandan Prateek
c13c4b12a4
bug 12875: vm-sunc syncronizing on cluster ids
2012-01-16 15:11:06 +05:30
Sam Robertson
20959ae989
Bug 13082 - Refreshing srx connection on every synchronized command
2012-01-16 00:33:13 -08:00
Kelven Yang
b1376e1f04
bug 13021: add a global configuration variable to let control default network adapter type inside system VMs
2012-01-12 14:21:11 -08:00
kishan
b589e49263
Bug 12929: Added domain_id to event table. Populate domain_id while persisting events. Cleanedup EventUtils.
...
Status 12929: resolved fixed
Reviewed-By: Nitin
2012-01-12 16:16:06 +05:30
Sam Robertson
4edeb0cfec
Updating srx resource to make sure it logs into the srx after establishing a connection
2012-01-11 18:43:01 -08:00
Edison Su
0fac4a2bb1
bug 10380: after finishing download template, caculate checksum and report to mgt server
...
status 10380: resolved fixed
2012-01-11 15:05:52 -08:00
Sheng Yang
804cfaec46
Fix some testcases
2012-01-11 13:51:43 -08:00
Murali reddy
cd84e82599
bug 12911: Netscaler- SDX - Not able to deploy VM when using SDX netscaler for load balancing services.
2012-01-11 16:33:17 +05:30
anthony
24f7991a70
bug 10831: replace "//" with '/'
...
status 10831: resolved fixed
2012-01-10 18:42:40 -08:00
anthony
9be635367e
bug 10363 : cleanup vhd in secondary storage if creating private template fails
...
status 10363 : resolved fixed
Conflicts:
core/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
2012-01-10 16:45:07 -08:00
anthony
1b0b88c43a
bug 10363 : cleanup vhd in secondary storage if backsnapshot fails
2012-01-10 15:55:15 -08:00
anthony
fb8364ad0c
bug 10363 : cleanup vhd in secondary storage if backsnapshot fails
...
Conflicts:
core/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
2012-01-10 15:51:13 -08:00
anthony
924953220b
bug 10363 : cleanup vhd in secondary storage if copy_vhd_to_secondarystorage fails
2012-01-10 15:07:49 -08:00
anthony
f964c4d227
bug 10363 : cleanup vhd in primary storage if download template to primary storage fails
...
Conflicts:
core/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
scripts/vm/hypervisor/xenserver/vmops
2012-01-10 13:56:29 -08:00
Kelven Yang
6b8ff93330
Add storage network support at VMware resource
2012-01-09 16:44:23 -08:00
Alena Prokharchyk
c581506103
bug 12306: list* command revamp
2012-01-09 10:07:42 -08:00
Kelven Yang
bde008ed7e
bug 12787: improve worker VM cleanup in snapshot operation
2012-01-06 19:15:29 -08:00
frank
6c8c657e2b
Bug 12777 - Add storage network configuration into CloudStack
...
basic done
2012-01-06 11:06:18 -08:00
frank
f72940e041
Bug 12777 - Add storage network configuration into CloudStack
...
most finish
2012-01-06 11:06:18 -08:00
Murali reddy
a4cabad669
bug 12911, 12912, 11417: netscaler SDX based dynamiac load balancer provisioning
...
status 12911, 12912, 11417: resolved fixed
2012-01-06 20:46:31 +05:30
Naredula Janardhana Reddy
d683e30e28
bug 12891: added cookie to destination if it is http based sticky.
2012-01-06 10:17:55 +05:30
Kelven Yang
cd29fdf711
bug 11484: print stack trace on catch-all clause
2012-01-05 18:15:09 -08:00
Murali reddy
ec9d3508ef
bug 11417: support for netscaler SDX
...
- acquire zone public IP, and use it to make VPX provisioned on SDX to be part of public network
2012-01-05 23:31:50 +05:30
Murali reddy
76d50fb0bf
bug 11417: support for netscaler SDX
...
- fixed bug in the destroying the VPX instance on SDX
- added method to acuire priavate IP from the zone, needed for the management IP of provisioned LB appliane
2012-01-05 02:39:46 +05:30
Sam Robertson
3f35ce40ac
Bug 12618 - Making usage data commands use their own socket instead of locking all activity to process data.
2012-01-03 17:29:28 -08:00
Abhinandan Prateek
a60d8cea86
bug 12530: moved the initial full sunc from the cron to host connect.
2012-01-02 13:40:33 +05:30
Sheng Yang
1bc44a578d
bug 12705: Don't set first ip if it's not source NAT
...
It would happen with first ip of nics other than first public nic.
status 12705: resolved fixed
2011-12-30 14:06:17 -08:00
anthony
1f7a811bac
SWIFT : sync swift with secondary storage
2011-12-28 11:47:55 -08:00
Abhinandan Prateek
5e4acc2a55
bug 12530: introduce initial full sync; cleanup syncronization;
2011-12-27 11:13:38 +05:30
anthony
a9f5e5f88a
SWIFT : download container
2011-12-23 17:16:50 -08:00
kishan
51d77c259d
bug 5412: Use same search criteria for listing pending events instead of creating a new one
...
status 5412: resolved fixed
reviewed-by: Nitin
2011-12-23 17:42:17 +05:30
anthony
b2f8c4bb2b
SWIFT : big file fix
2011-12-21 18:43:55 -08:00
anthony
4831a09089
bug 12694: fixed upload big file to swift
...
status 12694: resolved fixed
2011-12-21 14:50:12 -08:00
anthony
61eab674d2
bug 12328: XenServer 6.0 changes vnc-port path in xenstore
...
status 12328: resolved fixed
2011-12-21 12:00:27 -08:00
anthony
7d51e9fe12
SWIFT : handle big file in SSVM
2011-12-20 18:13:51 -08:00
kishan
e2cb4f94d6
bug 12337: Encrypt only password in host_detail table. Removed unused and duplicate references of HostDetailDao
...
status 12337: resolved fixed
reviewed-by: Abhi
2011-12-20 19:28:41 +05:30
Abhinandan Prateek
462ad5cfc2
bug 8962: network related improvements
2011-12-20 18:31:37 +05:30
kishan
cfb48fb7b7
bug 12337: encrypt Hidden category config values only
2011-12-20 13:01:06 +05:30
anthony
71d05d531e
SWIFT: voluem export
2011-12-19 20:34:57 -08:00
anthony
bb11bf9efd
SWIFT : fixed create template from snapshot
2011-12-19 15:37:51 -08:00
Edison Su
d33a23cca6
bug 12628: add default route in dhcpentrycommand
...
status 12628: resolved fixed
2011-12-19 15:24:31 -08:00
Kelven Yang
55175fb2fd
bug 12653: add default gateway support for multiple networks under VMware
2011-12-19 14:48:56 -08:00
Naredula Janardhana Reddy
109fe6fc70
Bug 12445: Added DeleteSnapshotBackupCommand to ssvm.
2011-12-19 09:56:11 +05:30
anthony
a85864e160
SWIFT : do not sync template to swift if it is marked as destroyed in secondry stoarge
2011-12-16 21:28:39 -08:00
Kelven Yang
e28ce91f3b
bug 12598: data disk should always be using scsi device.
2011-12-16 17:33:37 -08:00
Murali Reddy
8aa1964b04
bug 12385: Deleting Lb rules/Releasing Ip address with LB rule results in other LB rules which are linked to the same Vms to stop working
...
status 12385: resolved fixed
2011-12-16 22:55:07 +05:30
Murali Reddy
2e6b62cc43
fixing NetScaler/F5 sticky code
2011-12-16 22:54:37 +05:30
Abhinandan Prateek
9666af7a74
bug 12348: loggin changes and removing setting of start state from outside vm-sync
2011-12-16 17:41:07 +05:30
Abhinandan Prateek
e632323901
bug 12348: removing setting of start state from outside vm-sync
2011-12-16 15:38:07 +05:30
unknown
b506171aac
addign debug statement for various state changes during sync
2011-12-16 13:34:54 +05:30
kishan
3503c37f68
updated license
2011-12-15 16:51:55 +05:30
kishan
c3ed426837
bug 12206: Added op_user_stats_log table to store historic user stats. Network stats update thread will update aggregate bytes and log the entry in this table. Mgmt server with min id will run this job.
...
status 12206: resolved fixed
reviewed-by: Nitin
2011-12-15 16:46:41 +05:30
anthony
fb0f77711f
SWIFT: fixed delete template/iso
2011-12-14 19:53:56 -08:00
anthony
331bd6c103
SWIFT: add error handling code
...
add swift plugin for XenServer 6.0
2011-12-14 19:53:56 -08:00
anthony
2413eae6a5
SWIFT: fixed error handling
2011-12-13 18:07:37 -08:00
Abhinandan Prateek
a703315d34
bug 12348: fixed getting VMs for a cluster which was not getting back VMs in starting state
2011-12-13 12:20:48 +05:30
Nitin Mehta
35e2640019
bug 10674: For recurring snapshots when there is quota hit log it and send an email alert.
...
Reviewed by : Kishan.
2011-12-13 11:21:34 +05:30
Abhinandan Prateek
acdf26b267
bug 12005: java reflection was breaking due to parameter in the constructor
2011-12-12 10:00:29 +05:30
Kelven Yang
477676c168
bug 11814: rename option names, API server does not recognize dot separated name correctly.
2011-12-08 16:50:39 -08:00
Abhinandan Prateek
00dfbb228b
bug 12348: delink full sync states
2011-12-06 18:56:00 +05:30
Nitin Mehta
3f5fbb8fe4
bug 12282: Fixed NPE in register template API. The ssh key enabled attribute didnt have any default value and was throwing NPE. Also changed some minor code to stick to the conventions.
...
Reviewed by : Kishan.
2011-12-06 16:31:02 +05:30
Abhinandan Prateek
90a6bab334
bug 12348: putting a better check on stopped states
2011-12-06 09:13:20 +05:30
Alena Prokharchyk
84394ac3d4
bug 10804: added defaultDns parameter to DhcpEntry command
2011-12-05 16:56:31 -08:00
Alena Prokharchyk
d747801144
bug 12332: use short type for "accountType" field in EventVO object
...
status 12332: resolved fixed
2011-12-05 15:56:15 -08:00
Chiradeep Vittal
89f13ad700
bug 10804 virtual router support for per-vm default network
2011-12-05 14:53:42 -08:00
Murali Reddy
974dc62a2b
added support for dynamic load balancer provisioning when netscaler SDX is added
2011-12-05 00:06:45 -08:00
Kelven Yang
d24be5ca37
bug 12166: add new CheckNetworkCommand support to VMware resource
2011-12-02 17:00:38 -08:00
Alena Prokharchyk
a4773b7080
bug 12291: listVms - show non-project resources only if no projectId specified
...
status 12291: resolved fixed
2011-12-02 15:17:50 -08:00
frank
0d7dc40189
Bug 11689 - Templates need a ssh key enabled attribute
...
status 11689: resolved fixed
2011-12-02 14:20:08 -08:00
kishan
af0cf90b2b
bug 12208,12238: Do not encrypt user password and api key
...
status 12208,12238 : resolved fixed
reviewed-by: Abhi
2011-12-01 23:37:37 +05:30
Alena Prokharchyk
e8614dd5fa
Removed unused imports
2011-12-01 09:57:46 -08:00
Naredula Janardhana Reddy
09905b641b
bug 10617: merge code from branch bug10617.
2011-12-01 14:17:52 +05:30
Naredula Janardhana Reddy
e4b5a62402
bug 10796: merging code from branch
2011-11-30 15:03:43 +05:30
Abhinandan Prateek
a560d6f055
bug 11910: no need to do full sync as first thing after connect
2011-11-29 11:23:21 +05:30
Abhinandan Prateek
da20d33e27
bug 11910: full sync will only stop unknown VMs on agent
2011-11-23 16:48:12 +05:30
Murali Reddy
beb38c8310
making devices enabled independent of config commands
...
adding default device capacity when admin does not specify a vlaue
fixed bug in device allocation logic
2011-11-22 19:52:07 -08:00
prachi
54ec6598bb
Bug 12103 - Adding host without labelling guest network fails
...
Removing check for storage network for XenServer, since Xen resource does not use storage traffic type.
2011-11-21 17:24:20 -08:00
Murali Reddy
54f4ebf08c
changes for SRX add/config commands for UI integration
2011-11-21 16:57:41 -08:00
Murali Reddy
c9b2031fa9
changes in add/configure API commands for F5 & Netscaler for UI integration
2011-11-21 13:31:54 -08:00
Alex Huang
110b37a937
bug 12040: fixed the problem where if the connection is not retrievable, we cause a classcastexception
...
Reviewed-by: Anthony
2011-11-18 14:29:03 -08:00
Alex Huang
84d5f0514e
Changed network tags to network name as we no longer need to send the entire network tags down to the resource.
2011-11-18 14:28:16 -08:00
Murali Reddy
b6782183d9
fixing url parameters to be lower case
2011-11-18 12:49:02 -08:00
Murali Reddy
2b61009ec5
turing off secure API calls to netscaler temporarily
2011-11-18 10:16:43 -08:00
Nitin Mehta
e39498f1e7
bug 11997: Introduce created and update_time in the op_host_capacity table.
...
status 11997: resolved fixed
2011-11-17 18:10:59 +05:30
Kelven Yang
08339d663f
bug 12039,12041: when taking snapshot for detached volume, keep the worker VM around until backup copy to SSVM is done
...
Reviewed-by: Frank
2011-11-16 18:39:59 -08:00
Kelven Yang
9676947175
bug 12039, 12041: forgot one more place. Reviewed-by: kelven
2011-11-16 18:39:58 -08:00
Kelven Yang
67a2320001
bug 12039, 12041: detach all disks before destroy worker VM to avoid accidentally delete the underlying disk along with the worker VM. Reviewed-by: Kelven
2011-11-16 18:39:58 -08:00
Alena Prokharchyk
03eb3c9037
Removed unused imports
2011-11-15 16:42:26 -08:00
Kelven Yang
16530b532f
Make XML serializer support all fields within the class tree
2011-11-15 15:01:47 -08:00
Kelven Yang
277c60e4f6
bug 11814: Allow template to have details info in key/value pairs.
2011-11-15 15:01:46 -08:00
Murali Reddy
0b05badaaa
bug 11817: NAAS external network device support
...
-made Netscaler, SRX, F5 network elements as pluggable service
-added abstract load balancer device manager ExternaLoadBalancerDeviceManager
-made both F5 and Netscaler pluggable service to extend ExternaLoadBalancerDeviceManager
-added abstract firewall device manager ExternalFirewallDeviceManager
-made SRX pluugable service to extende ExternalFirewallDeviceManager
-added API's to configure and manage netscaler devices
2011-11-15 12:18:59 -08:00
prachi
20e53ce90f
- fixing updateProvider to throw error when the underlying element is not ready
...
- not use includingRemoved while listing networks
- Processing checkNetworkCommand dummy method to avoid failures connecting to Vmware and hyperv resource
2011-11-11 14:20:46 -08:00
Naredula Janardhana Reddy
f1b99f4f07
Revert "bug 10617: merging code from branch bug10617"
...
This reverts commit 8bc33448b9220534ba0ddc6c642ffb1e69d5844e.
Conflicts:
server/src/com/cloud/api/ApiResponseHelper.java
2011-11-11 20:23:26 +05:30
Abhinandan Prateek
eefeee72ae
bug 11979: if a VM is absent on the cluster, it is effectively in stopped state.
...
reviewed-by: kishan
2011-11-11 10:55:15 +05:30
Sheng Yang
bde1f6d2de
Merge branch 'networkasservice'
...
Conflicts:
api/src/com/cloud/api/commands/CreateRedundantVirtualRouterElementCmd.java
api/src/com/cloud/api/commands/CreateVirtualRouterElementCmd.java
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/network/ExternalNetworkDeviceManagerImpl.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
server/src/com/cloud/offerings/NetworkOfferingVO.java
setup/db/create-schema.sql
2011-11-10 16:36:08 -08:00
Alex Huang
d6c22c42fe
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2011-11-10 15:26:39 -08:00
Alex Huang
f6fcaa49ec
Merge complete except for virtualnetworkappliancemanager
2011-11-10 15:18:16 -08:00
Murali Reddy
122b62066a
bug 11817: NAAS: device allocation logic
...
- adding a allocation state to device
- change device allocation logic based on network offering and device state
2011-11-10 09:55:23 -08:00
Naredula Janardhana Reddy
02adbd4bd3
bug 10617: merging code from branch bug10617
2011-11-10 15:23:48 +05:30
Sheng Yang
9b8f96c06d
NaaS: Merge Role.DHCP_USERDATA and Role.DHCP_FIREWALL_LB_USERDATA to Role.VIRTUAL_ROUTER
2011-11-09 17:09:17 -08:00
anthony
548839e3bb
bug 11903: create local link when host is connected
...
status 11903: resolved fixed
2011-11-04 20:39:05 -07:00
prachi
5f93665a30
- Send network labels to hypervisor recource during processConnect
...
- Create Default physicalnetwork and add traffic types while creating a zone
- DeleteProvider should error out if there are networks using the provider.
- Other validations
2011-11-04 17:57:05 -07:00
Kelven Yang
2b6f3d458e
UUID support for XML responses
2011-11-04 17:38:22 -07:00
Abhinandan Prateek
dc0f798b26
bug 11800: checking for null value
2011-11-04 18:16:53 +05:30
frank
92edf56ccc
Bug 7883 - Add support to allow admins to sort templates, isos, offerings...
...
status 7883: resolved fixed
2011-11-03 10:54:00 -07:00
Kelven Yang
924e556c95
bug 6745: Using UUID instead of integers - for all commands
2011-11-03 07:34:00 -07:00
Kelven Yang
8d8775b533
bug 6745: Using UUID instead of integers - for Async Jobs
2011-11-03 07:33:58 -07:00
Kelven Yang
fa2dd8e93a
bug 6745: Using UUID instead of integers - for VM instances
2011-11-03 07:33:56 -07:00
Edison Su
6841e265d3
bug 10330: finally merge Rommer's CLVM patch
...
status 10330: resolved fixed
2011-11-02 18:03:58 -07:00
keshav
2a961c326d
Account for high-order/low-order integers being signed.
2011-11-01 15:57:09 -07:00
keshav
2bfcb3e27b
Changed F5 usage code to work with iControl API's high-order/low-order integers.
2011-10-31 16:20:25 -07:00
anthony
46dac852fa
Merge branch 'swift'
...
Conflicts:
server/src/com/cloud/agent/AgentManager.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/host/dao/HostDao.java
server/src/com/cloud/host/dao/HostDaoImpl.java
server/src/com/cloud/resource/ResourceManagerImpl.java
server/src/com/cloud/server/ManagementServerImpl.java
server/src/com/cloud/storage/download/DownloadMonitorImpl.java
server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java
2011-10-31 15:04:48 -07:00
anthony
9225e8d2d4
Revert "bug 6876: netscaler integration"
...
This reverts commit 72a267b69f80cd0accf455c7c3444e2e1f30e123.
2011-10-31 14:26:27 -07:00
Murali Reddy
0eb468ca90
bug 6876: netscaler integration
...
fixing a bug in updating deployed lb rule parameters
2011-10-31 19:01:52 +05:30
kishan
0d4971b34e
bug 10307: Aggregate network r/w bytes on all interfaces
...
status 10307: resolved fixed
2011-10-31 18:01:26 +05:30
kishan
284ee3909e
bug 9842: Added task to update user stats agg bytes in sync with aggregation range
...
status 9842: resolved fixed
2011-10-31 17:15:36 +05:30
anthony
2b039530c0
Swift : list Template
2011-10-28 16:07:31 -07:00
anthony
4116d0d4e4
Swift : bug fix
2011-10-27 16:04:18 -07:00
keshav
05560d2222
When deleting proxy ARP entries, first check that no static/source/destination NAT rules use them
2011-10-27 14:59:22 -07:00
anthony
d1141aff7d
Swift : add Swift api
2011-10-27 11:48:48 -07:00
frank
21de281276
Fix broken compilation by new anget manager merge
2011-10-27 11:24:10 -07:00
frank
cef30956e9
Merge branch 'newagentmgr'
...
Conflicts:
agent-simulator/src/com/cloud/api/commands/ConfigureSimulator.java
ovm/src/com/cloud/ovm/hypervisor/OvmDiscoverer.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/capacity/CapacityManagerImpl.java
server/src/com/cloud/network/F5BigIpManagerImpl.java
server/src/com/cloud/network/JuniperSrxManagerImpl.java
server/src/com/cloud/resource/ResourceManagerImpl.java
server/src/com/cloud/server/ManagementServerImpl.java
server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
utils/src/com/cloud/utils/db/GenericDao.java
2011-10-27 11:09:56 -07:00
Abhinandan Prateek
a1a0fdc0a3
bug 10588: making sure the vms are synced during a delta also
2011-10-27 15:56:53 +05:30
Abhinandan Prateek
57ac50799b
fixed a typo
2011-10-27 13:45:22 +05:30
Nitin
f85d558b6e
bug 10774: Introduce percentage in list commands and cluster id in alert table
2011-10-27 11:23:57 +05:30
Nitin
b336a8b813
bug 10774: On removing storage, local storage, cluster handle deletion of corresponding op_host_capacity rows.
2011-10-27 11:23:43 +05:30
Nitin
4b21650e23
bug 10848: Removing NPE from listCapacity and new alert code. Adding CAPACITY_TYPE_DIRECT_ATTACHED_PUBLIC_IP. Introducing thresholds for vlan and direct attached public ips.
2011-10-27 11:21:50 +05:30
frank
1883afeaa3
Bug 11522 - New agent manager
...
add update count into host table in order to make agent status update atomic
2011-10-26 16:14:57 -07:00
Murali Reddy
a48ee9c568
add support for multiple provider instanes per physical network
...
refactor NetworkDevicemanager and ExternalnetworkdeviceManager in to one single manager
2011-10-27 03:07:30 +05:30
anthony
b91dce4f8a
Swift: add listtemplate for swift
...
add swift configuration
2011-10-25 20:21:27 -07:00
anthony
510d1dbef7
Swift : upload template to Swift and sync between Swift and secondary storage
2011-10-24 18:48:16 -07:00
alena
75c8e33226
Removed guestIpType from network/networkOffering
2011-10-24 17:05:00 -07:00
frank
30f95e638a
Bug 11522 - New agent manager
...
1. get rid of host allocation state
2. remove Updating status from agent status
2011-10-24 16:49:32 -07:00
Edison Su
92eaf49f29
Add storage migration
2011-10-24 15:59:47 -07:00
Kelven Yang
fc3d93e3e7
bug 9614: let root volume use IDE disk controller by default to ensure backwards compatibility with existing CloudStack deployments
2011-10-24 15:28:51 -07:00
kishan
83b4d2f7f9
bug 5822, 10783: Security enhancements initial checkin. Added encryption support to db.properties and some DB values.
2011-10-24 10:26:02 +05:30
anthony
0df249172d
Swift: DeleteSnapshotBackupCommand and DeleteSnapshotsDirCommand are executed in SSVM
2011-10-21 19:53:48 -07:00
Kelven Yang
443c175793
bug 9614: enable SCSI device controller for root disk.(default root disk controller type can be conifgured through global configuration)
2011-10-21 18:44:56 -07:00
anthony
6c5c24dd6b
swift: create volume from template works
2011-10-21 12:53:58 -07:00
Sheng Yang
fdc354adb5
NaaS: Add VirtualRouterElements table
...
It would cover the configuration of DHCPElement, VirtualRouterElement and
RedundantVirtualRouterElement.
Also add foreign key in domain_router table to reflect the domain_router is
created from which element and use what configuration.
2011-10-20 13:59:02 -07:00
Abhinandan Prateek
1ea9b5d703
bug 10588: putting config param for cluster sync intervals
2011-10-20 10:51:40 +05:30
anthony
c97010a160
BackupSnapshot to Swift
2011-10-18 18:11:09 -07:00
Abhinandan Prateek
f7f2eb825d
bug 10588: incorporated review comments (Reviewer Nitin, Murali, Kishan, Jana)
...
1. Finetune vriable scope, s_ for static vars
2. Impl should be cluster aware and a host going down should not affect the sync
2011-10-17 14:59:24 +05:30
Kelven Yang
693432cb7a
bug 11716: save VMware local datastore info to local storage to support multiple local datastores per host situation
2011-10-14 17:13:58 -07:00
Abhinandan Prateek
edfbd2618f
bug 11675: minor update
2011-10-14 12:26:13 +05:30
Abhinandan Prateek
81a9358eb7
bug 11675: enable RHEL 6 for XCP 1.1
2011-10-14 11:36:40 +05:30
anthony
b3e6ab8d1c
add support for XenServer 6.0.0 GA
2011-10-13 15:50:12 -07:00
Kelven Yang
dce4e74b58
bug 11585: using pre-allocated NIC approach to support additional public interfaces for VMware
2011-10-11 15:40:31 -07:00
Chiradeep Vittal
1c5adc7714
bug 11336: compression to allow number of cidrs to scale beyond 8k
2011-10-06 17:56:59 -07:00
frank
3947c9a126
Bug 11522 - New agent manager
...
Initailize SearchCriteria2 in order to replace search interface of DAO
2011-10-03 10:32:27 -07:00
Sheng Yang
b8f8989821
bug 11130: Update template and script version in the database when domR started
2011-09-29 14:51:20 -07:00
Sheng Yang
89e45bd671
bug 11130: Add GetDomRVersionCmd
2011-09-29 14:50:11 -07:00
anthony
25c78592f4
bug 11552:
...
This bug also happens in XenServer 5.6 FP1, but this issue is hidden by bug 11564.
There are two issues here
1. in XenServer 5.6 FP1/SP2, when a slave host is down ( NIC is unplugged), and before master detect the slave is down( it takes about 10 minutes),
template.createClone doesn't work sometime, it complains can not contact slave host, looks like XenServer try to start VM on this slave host, we use VM.create instead, we can specify host in VM.create API, so it will not try to connect the slave
2. in XenServer 5.6 FP1/SP2, host tag is introduced into VDI, however in HA case, VM.reset_powerstate and VM.destory doesn't remove this host tag, when CloudStack try to start this VM on other host, XenServer complains this VDI is already used ( or mount as RW). CloudStack will manually remove the host tage in VDI in FenceCommand
status 11552: resolved fixed
2011-09-29 12:19:45 -07:00
Murali Reddy
a623b2824b
bug 6876: netscaler integration
...
added external lb network usage and inline support
2011-09-29 18:59:46 +05:30
anthony
98a5634647
bug 11564,11569: when host is down, host.enable or pool.sync_db hangs, remove them from critical path.
...
after this fix, 11552 HA can be seen in XenServer 11552 FP1
This patch should fix 11569 as well
status 11564,11569: resolved fixed
2011-09-28 12:41:53 -07:00
anthony
aef74ff521
bug 10579: disable pool vm sync and disable hostTrack for XenServer,
...
status 10579: resolved fixed
reviewed-by: alex
Conflicts:
core/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
2011-09-28 12:41:24 -07:00
frank
5efaed1d82
Bug 11522 - New agent manager
...
able to add host
2011-09-27 15:18:21 -07:00
frank
e5fca855c1
Bug 11522 - New agent manager
...
register/unregister resource state adapter in configure/stop of implementations
2011-09-27 11:51:03 -07:00
Abhinandan Prateek
83c6cf3db0
bug 10588: code to sync VM state at cluster level and dettached from ping command
2011-09-27 13:18:21 +05:30
frank
e8c13e10c7
Bug 11522 - New agent manager
...
able to compile besides mycloud stuff
2011-09-26 16:55:20 -07:00
Kelven Yang
d32241ec9c
bug 10971: support vSphere 5
2011-09-26 12:16:28 -07:00
alena
5c35b7f164
1) Resource limits for Projects
...
2) Security checker for Projects
2011-09-22 18:10:35 -07:00
frank
0343cb79c3
Bug 11522 - New agent manager
...
replace simulateStart with createHostAndAgent
2011-09-22 14:42:05 -07:00
frank
0677232e06
Bug 11522 - New agent manager
...
complete ResourceAdapter relevant interface
2011-09-22 11:55:23 -07:00
frank
443385471f
Bug 11522 - New agent manager
...
change angent state machine to state machine 2
2011-09-21 16:48:33 -07:00
Abhinandan Prateek
599631b9e8
bug 10588: adding new classes
2011-09-21 17:20:51 +05:30
alena
a1331d1cfc
Intermidiate checkin to Project feature:
...
1) Introduce new managers - ProjectManager and DomainManager. Moved all domain related code from AccountManager to DomainManager.
2) Moved some code from ManagementServerImpl to the correct managers.
3) New resource limit for Domain - Project
2011-09-20 18:35:28 -07:00
Edison Su
91320e481c
bug 11455: add vpn support in kvm
...
Reviewed-by:Murali.Reddy@citrix.com
2011-09-16 11:16:25 -07:00
Naredula Janardhana Reddy
10fb507609
bug 11372:
...
Added two New values "all" and "default" to global config "network.loadbalancer.haproxy.stats.visibility" . With this change, it can take six possible value:
global - stats visible from public network.
guest-network - stats visible only to guestnetwork.
link-local - stats visible only to link local network(for xen and kvm).
disabled - stats disabled.
all - stats available on public,guest and link-local. (Newly added)
default - stats availble on the serving http port, this does need any specific http port.(Newly added)
Except "default" and "disabled", all the rest of 4 need to configure the stats port.
2011-09-15 11:46:34 +05:30
Sheng Yang
e330e97f4b
bug 11307: Mark router as to-be-stopped, rather than force stop it.
...
Force stop the router would release all the resources it used, but router may
still running. Add a column "stop_pending" in the database, and stop it when the
router come back.
Admin would able to choose to force destroy such router, then recover the
network using restartNetwork command with cleanup=false.
2011-09-14 16:23:17 -07:00
Sheng Yang
3549067d55
bug 11307: Add BumpUpPriorityCommand
2011-09-14 16:22:19 -07:00
Sheng Yang
dfd36e4ae2
bug 11307: Add Bumped field for domain_router
...
Only used for redundant virtual router.
2011-09-14 16:22:11 -07:00
Sheng Yang
b987123daa
bug 11307: Let CheckRouterAnswer() parse the return result
2011-09-14 16:21:33 -07:00
Kelven Yang
9191a2fad5
bug 11286: ensure VM is powered off before we tear down devices
2011-09-14 16:15:20 -07:00
Kelven Yang
7a64d8fda4
add VmwareInvestigator and VmwareFencer, use short worker VM name to avoid vCenter truncation
2011-09-14 15:15:26 -07:00
Nitin
3609d166ca
bug 10856: On account delete the snapshots were not getting deleted from secondary storage. This was happenning because we were passing incorrect folder path of the snapshot.
2011-09-14 18:55:00 +05:30
Murali Reddy
72530c87c4
bug 11023: recalcuate vmware template virtuali size while upgrate above 2.2.10
2011-09-14 17:17:04 +05:30
anthony
d6cbd2b6bc
bug 11275:
...
remove heartbeat entry for this Primary Storage, when put this Primary Storage into maintenance mode
create heartbeat entry for this Primary Storage, when cancal maintenance for this Primary Storage
status 11275: resolved fixed
2011-09-13 22:15:21 -07:00
Edison Su
3b423dbc01
fix firwall/nat rule
2011-09-13 18:53:10 -07:00
Kelven Yang
6b33d114e8
bug 11380: taking VM snapshot is moved to do it at the same time when backup it to secondary storage, wait snapshot MOR really appears in vCenter until we continue.
2011-09-13 17:26:19 -07:00
alena
f6a79c603f
bug 11036: resource count update is refactored
...
status 11036: resolved fixed
1) Use row locks instead of global lock when update resource_count table. When update resource_count for account, make sure that we lock account+all related domains
2) Insert resource_count records for account/domain at the moment when account/domain is created.
3) As a part of DB upgrade, insert missing resource_count records for all non-removed accounts/domains
Conflicts:
core/src/com/cloud/alert/AlertManager.java
server/test/com/cloud/agent/MockAgentManagerImpl.java
2011-09-13 10:47:36 -07:00
Chiradeep Vittal
fae5e84699
if the xenserver host cannot do bridge firewalling do not attempt to retry the security rule updat
...
change some logs to debug level
2011-09-12 18:20:24 -07:00
Chiradeep Vittal
abf4754503
New security group mgr WIP : memory based queueing
2011-09-12 18:20:22 -07:00
Chiradeep Vittal
f41b352d36
revert egress rules implementation pending review
...
Reverts a19212703b9734ebd44ebf55cfdd81ebdc9d7fe4
Reverts 24e4e44b8f0712a37147a3777833de3f9e24829e
2011-09-12 14:45:58 -07:00
Chiradeep Vittal
d817f3c364
Revert "bug 10617: Added Egress rules to Security groups."
...
revert pending review
This reverts commit a19212703b9734ebd44ebf55cfdd81ebdc9d7fe4.
2011-09-12 14:45:58 -07:00
Chiradeep Vittal
e216686029
Revert "bug 10617: Intermediate checking"
...
revert pending review
This reverts commit 561b27565512d438db3d8896df6f97b644b0b498.
2011-09-12 14:45:58 -07:00
Naredula Janardhana Reddy
f9b0962ad9
bug 10617: Intermediate checking
...
Changes :
- Fixing API doc +response name + errorMessage
- Adding seperate events to Egress rules
- Egress rules Using the same database table as that of ingress with new column type.
Pending Tasks:
- db upgrade
- database table rename from security_ingress_rule to generic name, renaming some of the jave class from ingress to generic name.
- Retesting on kvm
2011-09-09 18:14:19 +05:30
prachi
4ad9ac5e71
Bug 11200 - maximum number of guests per host
...
Changes:
To make sure migration does not attempt to pick a host that has running VMs more than the max guest VM's limit:
- Changed manual migration to call host allocators to return a list of hosts suitable for migration. Host allocators check for the max guest VM limit.
- Earlier we returned hosts with enough capacity but now Host Allocators make other checks along with capacity. So the list of hosts returned are hosts that have enough capacity AND satisfy all other conditions like host tags, max guests limit etc. Or in other words Allocators dont return the hosts that dont satisfy all conditions even if they have capacity.
-Therefore, now we mark the list of hosts returned for manual migration as 'suitable' hosts instead of 'hasenoughCapacity' in the HostResponse.
- HA migration already calls allocators, so no change is needed there.
2011-09-08 18:08:31 -07:00
Kelven Yang
980c1cafd8
Merge VmwareResource.Initialize()
2011-09-08 17:47:03 -07:00
Kelven Yang
3b0fe32842
bug 11386: check host status before responding StartupCommand
2011-09-08 17:43:12 -07:00
Kelven Yang
048dc4eb62
bug 11381: Set HypervisorVersion to StartupRoutingCommand when a VMWare host connects
2011-09-08 17:04:48 -07:00
Kelven Yang
aa7f06d7eb
bug 11384: deprecate vmware.guest.nic.device.type global configuration variable
2011-09-08 16:11:17 -07:00
anthony
4423da06a2
1. added timeout in Command Class, then each command can configure itself timeout, if timeout is not configed, use the default timeout , which is 30 minute
...
2. added following configurable timeout
PrimaryStorageDownloadWait("Storage", TemplateManager.class, Integer.class, "primary.storage.download.wait", "10800", "In second, timeout for download template to primary storage", null),
CreateVolumeFromSnapshotWait("Storage", StorageManager.class, Integer.class, "create.volume.from.snapshot.wait", "10800", "In second, timeout for create template from snapshot", null),
CopyVolumeWait("Storage", StorageManager.class, Integer.class, "copy.volume.wait", "10800", "In second, timeout for copy volume command", null),
CreatePrivateTemplateFromVolumeWait("Storage", UserVmManager.class, Integer.class, "create.private.template.from.volume.wait", "10800", "In second, timeout for CreatePrivateTemplateFromVolumeCommand", null),
CreatePrivateTemplateFromSnapshotWait("Storage", UserVmManager.class, Integer.class, "create.private.template.from.snapshot.wait", "10800", "In second, timeout for CreatePrivateTemplateFromSnapshotCommand", null),
BackupSnapshotWait("Storage", StorageManager.class, Integer.class, "backup.snapshot.wait", "10800", "In second, timeout for BackupSnapshotCommand", null),
2011-09-07 19:17:54 -07:00
Kelven Yang
3f40fdd6e1
Add explicit setting to VMware VM to allow device hot-plug
2011-09-07 18:22:02 -07:00
Kelven Yang
905df61aac
bug 11362: Make VM network adapter device type be selectable based on VM-specific details
2011-09-07 17:58:42 -07:00
Kelven Yang
f70958809b
bug 11360: make user_vm_details generic to all VMs instead of user-only VMs, VM details info will be carried down to hypervisor resource
2011-09-07 15:42:40 -07:00
prachi
84868b7f9c
Bug 11200 - maximum number of guests per host
...
Changes:
- Adding a new table 'hypervisor_capabilities' that will record capabilities for each hypervisor version. Added db schema changes for this.
- Currently a few capabilities have been added, namely, 'max_guests_limit' and 'security_group_enabled'
- Added a new column 'hypervisor_version' to host table. StartupRouting command now takes in this parameter. It should be set when a host connects.
- If a host's hypervisor version is not present, we find all the capabilities rows for that hypervisor type and use the first record.
- 'max_guests_limit' is the maximum number of running guest Vms that a host can have for the given hypervisor.
- Host Allocators use this limit and skip a host if the number of running VMs on that host exceeds this limit.
2011-09-07 14:53:05 -07:00
anthony
ed82f7695a
XenServer 5.6 SP2 support is disabled by branch merge.
...
added it back
2011-09-07 14:47:45 -07:00
anthony
13ee22d421
bug 10078:
...
1. introduce migratewait in global configuration, the default value is 1 hour
2. use async xapi VM migration API
status 10078: resolved fixed
2011-09-07 12:36:17 -07:00
alena
65194a0c20
bug 10550: check if the network is configured properly on the backend before vm creation
...
status 10550: resolved fixed
2011-09-02 17:02:37 -07:00
Kelven Yang
4ef35767f5
bug 11324: merge fix from branch 2.2.10
2011-09-02 15:37:32 -07:00
anthony
c7fb330914
put getConnection into try
2011-09-02 15:01:28 -07:00
Kelven Yang
cddd117e99
bug 11296 : merge fix from 2.2.10
2011-09-01 11:57:35 -07:00
anthony
5e1886ee35
try pingXenServer first before getConnect in getCurrentStatus
2011-09-01 11:51:42 -07:00
Edison Su
c9b3266582
add other linux guest support
2011-08-31 16:19:01 -07:00
anthony
f47bf2e4cf
fixed eclipse classpath
2011-08-31 13:35:37 -07:00
alena
acaba52736
Print exception stack trace when catch generic exception in CitrixResourceBase
2011-08-30 16:31:58 -07:00
Naredula Janardhana Reddy
854f81962f
bug 10617: Added Egress rules to Security groups.
...
Description :
API's:
- Two new api's authorizeSecurityGroupEgress,revokeSecurityGroupEgressCmd are added. These two API's are similer to ingress rule API's.
- authorizeSecurityGroupEgress :Authorizes a particular egress rule for this security group . Usageof API is very similer to that of authorizeSecurityGroupIngress except that instead of source cidr there will be destination cidr. By default like ingress, all the outgoing flows are blocked.
- revokeSecurityGroupEgress : It is similer to revokeSecurityGroupIngress api, It removes the egress rule.
- listSecurityGroup API's response changed. It include's egress list apart from the existing ingress rules in the output of the API.
Hypervisors :
- It is implemented in Xen and KVM.
Pending Tasks : Blocking using destination security groups.
Previous commits: c9fda641673df7701f44963ef27e1d488f121219 , 24e4e44b8f0712a37147a3777833de3f9e24829e
2011-08-30 16:28:35 +05:30
Murali Reddy
9a10f2b402
bug 6876: netscaler MPX & VPX support
...
- adding supprt for Netscaler VPX & MPX load blancers
- implemented for virtual networking
- works only with new fetched public IP, inline support is not added yet
more details will be added in the bug
2011-08-29 19:26:08 +05:30
Edison Su
c7407617fe
bug 10557: allow haproxy works on specific nic on vmware
...
status 10557: resolved,fixed
2011-08-26 16:25:04 -07:00
Naredula Janardhana Reddy
cbed4c7a44
bug 11253:
...
Added New value "link-local" to global config network.loadbalancer.haproxy.stats.visibility . With this change it can take new parameter "link-local" value apart from the existing 3 values global,guest-network,disabled.
global - stats visible from public network
guest-network - stats visible only to guestnetwork.
link-local - stats visible only to link local network
disabled - stats disabled.
2011-08-26 15:21:29 +05:30
Kelven Yang
8d3d3272ab
bug 11269: merge fix from 2.2.10
2011-08-25 18:28:37 -07:00
Kelven Yang
9ace681547
bug 11162: merge fix from 2.2.10 premium
2011-08-25 15:38:43 -07:00
prachi
05440f0905
Bug 9921 - template tags
...
Changes:
- CreateTemplate and RegisterTemplate now support adding a template tag. It is a string value. This is root-admin only action - only admin can add template tags.
- ListTemplates will return the template tag in response.
- HostAllocator changed to use template tag along with the existing tag on service offering. If both tags are present, allocator now finds hosts satisfying both tags. If no hosts have both tags, allocation will fail.
- DB changes to add new column to vm_template table.
- DB upgrade changes for upgrade from 2.2.10 to 2.2.11
2011-08-25 12:03:59 -07:00
Nitin
ece07d7d7f
bug 11076: Improve logging - dont login the password in the logs.
...
status 11076: resolved fixed
2011-08-25 16:15:48 +05:30
Nitin
5923fe950b
bug 11077: Improve logging - put in the hostid and hostname on which the vm launches.
...
status 11077: resolved fixed
2011-08-25 16:06:09 +05:30
Naredula Janardhana Reddy
9feb05ac13
bug 10617: This is Intermediate commit for Egress rules implementation in security groups.
...
previous commit: c9fda641673df7701f44963ef27e1d488f121219 ( this under bug 1067, typing error)
changes: 1) partially implemented listing of egress rules along with ingress rules.
2) partially implemneted egress rules for KVM
2011-08-25 12:18:33 +05:30
Kelven Yang
1061738924
bug 11230, 11229: merge fix from 2.2.10 branch, fix Eclipse project settings for premium-move
2011-08-24 15:18:08 -07:00
frank
b3478c377e
Full opensource
2011-08-23 19:52:19 -07:00
Alex Huang
5c12f07462
Added environment variables to not control pool master
2011-08-23 15:49:45 -07:00
Kelven Yang
4f8a52f94c
Move VMware/Premium Secondary storage VM to opensource
2011-08-23 14:43:39 -07:00
alena
d3eb9db7fa
bug 11204: when search for domR/dhcp, include Role to the corresponding search to eliminate getting "LB" network element in the response
...
status 11204: resolved fixed
Conflicts:
server/src/com/cloud/network/element/VirtualRouterElement.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java
2011-08-23 12:05:53 -07:00
Alex Huang
3ed2385582
bug 11212: disable vlan network when vm fails to start. It is still possible for it leak. For example, if the VM object wasn't constructed and we already failed but those cases are less likely and it's not absolutely necessary to disable vlan.
2011-08-23 11:29:29 -07:00
alena
8a7feb8ec1
Merge branch '2.2.y'
...
Conflicts:
agent/src/com/cloud/agent/resource/computing/LibvirtComputingResource.java
api/src/com/cloud/agent/api/routing/LoadBalancerConfigCommand.java
api/src/com/cloud/agent/api/to/FirewallRuleTO.java
api/src/com/cloud/agent/api/to/IpAddressTO.java
api/src/com/cloud/agent/api/to/PortForwardingRuleTO.java
api/src/com/cloud/api/ApiConstants.java
api/src/com/cloud/api/BaseCmd.java
api/src/com/cloud/api/ResponseGenerator.java
api/src/com/cloud/api/commands/CreateFirewallRuleCmd.java
api/src/com/cloud/api/commands/CreateIpForwardingRuleCmd.java
api/src/com/cloud/api/commands/CreateLoadBalancerRuleCmd.java
api/src/com/cloud/api/commands/CreatePortForwardingRuleCmd.java
api/src/com/cloud/api/commands/DeleteLoadBalancerRuleCmd.java
api/src/com/cloud/api/commands/ListCapabilitiesCmd.java
api/src/com/cloud/api/commands/UpdateNetworkCmd.java
api/src/com/cloud/api/response/CapabilitiesResponse.java
api/src/com/cloud/network/Network.java
api/src/com/cloud/network/NetworkService.java
api/src/com/cloud/network/firewall/FirewallService.java
api/src/com/cloud/network/lb/LoadBalancingRule.java
api/src/com/cloud/network/lb/LoadBalancingRulesService.java
api/src/com/cloud/network/rules/FirewallRule.java
api/src/com/cloud/network/rules/RulesService.java
api/src/com/cloud/offering/NetworkOffering.java
client/tomcatconf/commands.properties.in
cloud.spec
core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
core/src/com/cloud/hypervisor/xen/resource/CitrixHelper.java
core/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
core/src/com/cloud/storage/template/DownloadManagerImpl.java
core/src/com/cloud/vm/DomainRouterVO.java
debian/cloud-deps.install
patches/systemvm/debian/config/etc/init.d/cloud-early-config
patches/systemvm/debian/config/root/ipassoc.sh
patches/systemvm/debian/config/root/loadbalancer.sh
scripts/vm/hypervisor/kvm/rundomrpre.sh
scripts/vm/hypervisor/xenserver/vmops
server/src/com/cloud/agent/manager/AgentAttache.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/agent/manager/AgentMonitor.java
server/src/com/cloud/agent/manager/ClusteredAgentManagerImpl.java
server/src/com/cloud/alert/ClusterAlertAdapter.java
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/api/ApiServer.java
server/src/com/cloud/cluster/ClusterManagerImpl.java
server/src/com/cloud/configuration/Config.java
server/src/com/cloud/configuration/ConfigurationManager.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/deploy/FirstFitPlanner.java
server/src/com/cloud/ha/HighAvailabilityManagerImpl.java
server/src/com/cloud/host/dao/HostDaoImpl.java
server/src/com/cloud/hypervisor/xen/discoverer/XcpServerDiscoverer.java
server/src/com/cloud/network/LoadBalancerVO.java
server/src/com/cloud/network/NetworkManager.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/dao/FirewallRulesDao.java
server/src/com/cloud/network/dao/FirewallRulesDaoImpl.java
server/src/com/cloud/network/element/DhcpElement.java
server/src/com/cloud/network/element/VirtualRouterElement.java
server/src/com/cloud/network/firewall/FirewallManagerImpl.java
server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
server/src/com/cloud/network/rules/FirewallManager.java
server/src/com/cloud/network/rules/FirewallRuleVO.java
server/src/com/cloud/network/rules/PortForwardingRuleVO.java
server/src/com/cloud/network/rules/RulesManagerImpl.java
server/src/com/cloud/network/rules/StaticNatRuleImpl.java
server/src/com/cloud/network/security/SecurityGroupListener.java
server/src/com/cloud/network/security/SecurityGroupManagerImpl.java
server/src/com/cloud/offerings/NetworkOfferingVO.java
server/src/com/cloud/server/ConfigurationServerImpl.java
server/src/com/cloud/server/ManagementServerImpl.java
server/src/com/cloud/storage/StorageManager.java
server/src/com/cloud/storage/StorageManagerImpl.java
server/src/com/cloud/storage/dao/VMTemplateHostDaoImpl.java
server/src/com/cloud/storage/download/DownloadMonitorImpl.java
server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
server/src/com/cloud/upgrade/dao/Upgrade228to229.java
server/src/com/cloud/upgrade/dao/Upgrade229to2210.java
server/src/com/cloud/user/AccountManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
server/src/com/cloud/vm/dao/DomainRouterDao.java
server/src/com/cloud/vm/dao/DomainRouterDaoImpl.java
setup/db/create-index-fk.sql
setup/db/create-schema.sql
setup/db/db/schema-222to224.sql
setup/db/db/schema-227to228.sql
setup/db/db/schema-228to229.sql
setup/db/db/schema-229to2210.sql
tools/testClient/README
ui/scripts/cloud.core.instance.js
utils/src/com/cloud/utils/SerialVersionUID.java
utils/src/com/cloud/utils/db/ConnectionConcierge.java
utils/src/com/cloud/utils/db/Merovingian2.java
utils/src/com/cloud/utils/db/Transaction.java
utils/src/com/cloud/utils/nio/Link.java
utils/src/com/cloud/utils/nio/NioConnection.java
utils/src/com/cloud/utils/time/InaccurateClock.java
2011-08-22 20:28:30 -07:00
frank
cbbf80cee3
Use class.getSimpleName in ResourceListener
2011-08-19 17:06:58 -07:00
frank
7091a8f00a
Introduce new resource life cycle listener
...
add files
2011-08-19 17:06:23 -07:00
frank
18f87c2108
Merge branch 'cvm' into 2.2.y
...
Conflicts:
api/src/com/cloud/api/BaseCmd.java
cloud.spec
core/src/com/cloud/storage/template/DownloadManagerImpl.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/deploy/FirstFitPlanner.java
server/src/com/cloud/host/dao/HostDao.java
server/src/com/cloud/network/security/SecurityGroupListener.java
server/src/com/cloud/storage/StorageManagerImpl.java
server/src/com/cloud/storage/listener/StoragePoolMonitor.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
utils/src/com/cloud/utils/SerialVersionUID.java
2011-08-19 16:08:35 -07:00
Naredula Janardhana Reddy
4369b0ba96
bug 1067:
...
- covered basic impelementation for xen, need to test corner cases.
- Not implemneted: kvm, vmware , listing of egress rules.
2011-08-19 11:10:16 +05:30
alena
d726b26180
Defined missing length field for VO classes
2011-08-17 15:13:28 -07:00
alena
c82a373327
Defined missing length field for VO classes
2011-08-17 15:10:07 -07:00
alena
08a1809a49
bug 11133: field size should be declared in VO object explicitly if it's greater than 255
...
status 11133: resolved fixed
2011-08-16 14:38:49 -07:00
alena
52318703fd
bug 11133: field size should be declared in VO object explicitly if it's greater than 255
...
status 11133: resolved fixed
2011-08-16 14:38:32 -07:00
Naredula Janardhana Reddy
b9183c0840
bug 10561: merging code from 2.2.10 to master
2011-08-16 14:20:51 +05:30
alena
d72200bbfc
If one of the static nat rules failed to apply on the backend, the end result should be false
2011-08-15 10:18:44 -07:00
anthony
02aec3b3ef
revert pool vm sync to host vm sync in startupcommand in 2.2.10.
...
then XenServer upgrade is supported in 2.2.10
2011-08-15 10:18:10 -07:00
alena
803255b0ba
bug 11029: db upgrade from 2.2.9 to 2.2.10 includes firewall_rule upgrade now
...
status 11029: resolved fixed
Commit also includes the following:
* map firewall rule to pf/lb/staticNat/vpn when the firewall rule is created as a part of pf/lb/staticNat/vpn rule creation
* when delete firewall rules, also delete related firewall rule
2011-08-15 10:18:09 -07:00
Nitin
5ef0c96e70
bug 11096: ExtractTemplate - For private template choose the correct sec storage host id since its not present in all the sec storage now.
2011-08-12 14:30:34 +05:30
Nitin
f1d13729af
bug 11096: ExtractTemplate - For private template choose the correct sec storage host id since its not present in all the sec storage now.
2011-08-12 12:21:02 +05:30
Chiradeep Vittal
51af0db682
mass merge 2.2.10
2011-08-11 16:41:52 -07:00
alena
278f2a401f
bug 10561: intermediate checkin for enable/disableStaticNat.
...
1) On enableStaticNat command we actually send the command to the backend (we used to just upgrade the DB in the past). The backend command carries sourceIp and destIp, and creates IP to IP mapping on the domR.
2) On disableStaticNat for the Ip address in addition to cleaning up port ranges, we also delete IP to IP mapping on the domR.
2011-08-11 10:19:22 -07:00
Edison Su
501048952d
Revert "bug 11064: add setfirewallrule for kvm"
...
This reverts commit 8b52313bd9fceceb3c4c5ff2b849652cbd37258c.
2011-08-11 09:45:14 -07:00
Edison Su
58862d702c
Revert "bug 11064: add setfirewallrule for kvm"
...
This reverts commit c9f36c07c22dfe3073efc1dfc0cae290fc6e880a.
2011-08-10 17:59:13 -07:00
anthony
3a2790abdc
bug 10504: what is happening is, MS use vdi-copy to create template from volume, then get physical size from XAPI, the physical size might be wrong , SR-SCAN is needed before getting physical size to make XenServer pick the new physical size.
...
status 10504: resolved fixed
2011-08-10 17:46:48 -07:00
anthony
5639b5eab8
bug 10504: what is happening is, MS use vdi-copy to create template from volume, then get physical size from XAPI, the physical size might be wrong , SR-SCAN is needed before getting physical size to make XenServer pick the new physical size.
...
status 10504: resolved fixed
2011-08-10 17:45:46 -07:00
anthony
94ff9fe2c1
bug 10504: what is happening is, MS use vdi-copy to create template from volume, then get physical size from XAPI, the physical size might be wrong , SR-SCAN is needed before getting physical size to make XenServer pick the new physical size.
...
status 10504: resolved fixed
2011-08-10 17:41:19 -07:00
Edison Su
5a34c9259b
bug 11064: add setfirewallrule for kvm
2011-08-10 16:18:23 -07:00
Edison Su
790af4dcb3
bug 11064: add setfirewallrule for kvm
2011-08-10 16:18:03 -07:00
Edison Su
fde6e7d801
bug 11064: add setfirewallrule for kvm
2011-08-10 16:17:00 -07:00
alena
fe3dd44bec
ICMP protocol is supported in createFirewallRule command only; throw an error if specified in createPF/StaticNat/LB rule
2011-08-10 12:56:25 -07:00
alena
32b53351ff
Fixed response processing in createFirewallRule command
2011-08-10 11:36:34 -07:00
Naredula Janardhana Reddy
f5011189c8
bug 10561: code cleanup
2011-08-10 18:15:07 +05:30
Naredula Janardhana Reddy
a9eb14c42e
bug 10561: backend added for CreateFirewallRule and deleteFirewallRule
2011-08-10 17:06:42 +05:30
Abhinandan Prateek
f24e14d2d9
bug 10731: reverting changes for source cidr for portforwading and loadbalancing rules
2011-08-10 10:43:26 +05:30
anthony
bfe3fd2a8f
bug 11046: fixed a typo, otherwise Other PV doesn't work
...
status 11046: resolved fixed
2011-08-09 19:58:10 -07:00
anthony
e5e85d05e9
bug 10695: add XCP 1.0 support
...
status 10695: resolved fixed
Conflicts:
core/src/com/cloud/hypervisor/xen/resource/CitrixHelper.java
2011-08-09 19:51:32 -07:00
anthony
33b3e02c17
bug 10695: add XCP 1.0 support
...
status 10695: resolved fixed
2011-08-09 19:49:12 -07:00
frank
f377ac1cf7
Use class.getSimpleName in ResourceListener
2011-08-09 15:56:17 -07:00
alena
6b9603bc4c
bug 10561: intermidiate checkin for FirewallRuleFeature
...
1) Added new apis: createFirewallRule, deleteFirewallRule, listFirewallRules
2) Modified existing apis - added boolean openFirewall parameter to createPortForwardingRule/createIpForwardingRule/createRemoteAccessVpn. If parameter is set to true, open firewall on the domR before creating an actual PF rule there
Modified backend calls appropriately.
3) Schema changes for firewall_rules table:
* startPort/endPort can be null now
* added icmp_type, icmp_code fields (can be not null only when protocol is icmp)
4) Added new manager - FirewallManagerImpl
Conflicts:
api/src/com/cloud/api/BaseCmd.java
client/tomcatconf/commands.properties.in
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
server/src/com/cloud/network/rules/RulesManagerImpl.java
2011-08-09 15:51:56 -07:00
Abhinandan Prateek
cd94e6ac25
bug 10731: reverting changes for source cidr for portforwading and loadbalancing rules
2011-08-09 16:05:20 +05:30
Chiradeep Vittal
179368ea32
get lb working on advanced mode again
2011-08-09 01:02:58 -07:00
Chiradeep Vittal
924961d898
merge nectarine
2011-08-08 21:45:37 -07:00
alena
06d007337a
bug 10561: intermidiate checkin for FirewallRuleFeature
...
1) Added new apis: createFirewallRule, deleteFirewallRule, listFirewallRules
2) Modified existing apis - added boolean openFirewall parameter to createPortForwardingRule/createIpForwardingRule/createRemoteAccessVpn. If parameter is set to true, open firewall on the domR before creating an actual PF rule there
Modified backend calls appropriately.
3) Schema changes for firewall_rules table:
* startPort/endPort can be null now
* added icmp_type, icmp_code fields (can be not null only when protocol is icmp)
4) Added new manager - FirewallManagerImpl
2011-08-08 20:59:40 -07:00
Chiradeep Vittal
c5a999757a
get ELB working on 2.2.8
2011-08-08 17:58:35 -07:00
frank
19ae5fbe55
Introduce new resource life cycle listener
...
add files
2011-08-08 17:05:27 -07:00
Chiradeep Vittal
8277584b8a
merge ELB / nectarine branch
2011-08-08 15:20:56 -07:00
frank
6aaf3d5ae0
Merge branch 'cvm'
...
Conflicts:
api/src/com/cloud/api/BaseCmd.java
api/src/com/cloud/storage/Storage.java
cloud.spec
core/src/com/cloud/storage/template/DownloadManagerImpl.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/deploy/FirstFitPlanner.java
server/src/com/cloud/host/dao/HostDao.java
server/src/com/cloud/storage/StorageManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
utils/src/com/cloud/utils/SerialVersionUID.java
2011-08-08 14:14:09 -07:00
frank
c6fba0fd42
Bug 8966 - Oracle VM (OVM) support
...
OCFS2 support -- prepare OCFS2 nodes
2011-08-05 17:46:29 -07:00
Kelven Yang
d10c8e2a1d
bug 10765: fix step 2 - programming VNC server to let it chose the right keyboard mapping to load into
2011-08-04 18:30:50 -07:00
Kelven Yang
19567df49b
bug 10765: fix step 2 - programming VNC server to let it chose the right keyboard mapping to load into
2011-08-04 18:27:45 -07:00
Chiradeep Vittal
61fd6a79c8
ensure elb vm is managed by elb manager
2011-08-04 17:02:27 -07:00
Sheng Yang
a6bb0a855d
Fix KVM agent connection issue, and build
...
non-static inner class can't be serialized, also it lacks no-args
constructor.
2011-08-04 11:57:21 -07:00
Sheng Yang
f1d3e73d08
Fix KVM agent connection issue, and build
...
non-static inner class can't be serialized, also it lacks no-args
constructor.
2011-08-04 11:56:37 -07:00
Nitin
a3cb6d9a09
bug 9345: Remove pool_id from template_host_ref. Its not needed anymore. Also removed the unwarranted code.
...
status 9345: resolved fixed
2011-08-04 12:51:35 +05:30
Sheng Yang
e3d30c6be6
bug 10946: Add default buffer length for compressed request
...
Then it can support 2.2.8 system vm connection.
status 10946: resolved fixed
2011-08-03 11:54:26 -07:00
Sheng Yang
cb5e4574f9
bug 10946: Add default buffer length for compressed request
...
Then it can support 2.2.8 system vm connection.
status 10946: resolved fixed
2011-08-03 11:54:11 -07:00
anthony
8a5a057231
bug 10483: if hypervisor doesn't support a guest OS type, boot from ISO of this guest OS type fails,
...
deployed VM is not impacted, if the guest OS type is not supported, run it as HVM
status 10483: resolved fixed
Conflicts:
core/src/com/cloud/hypervisor/xen/resource/CitrixHelper.java
core/src/com/cloud/hypervisor/xen/resource/XenServer60Resource.java
2011-08-02 18:34:41 -07:00
anthony
66d07c5d27
bug 10483: if hypervisor doesn't support a guest OS type, boot from ISO of this guest OS type fails,
...
deployed VM is not impacted, if the guest OS type is not supported, run it as HVM
status 10483: resolved fixed
2011-08-02 18:29:28 -07:00
alena
8d47c53735
Revert "bug 10435: removed vpn feature"
...
This reverts commit ea9e1b5d138950e8de49fce7ffdbb12a1c72c560.
Conflicts:
api/src/com/cloud/api/ResponseGenerator.java
scripts/vm/hypervisor/xenserver/vmops
server/src/com/cloud/configuration/Config.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2011-08-02 18:12:57 -07:00
anthony
37dcec77bb
Bug 10197:
...
implement pool-wise VM sync,
For XenServer, VM fullSync is pool-wise now, VM deltaSync is still per host
Conflicts:
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
2011-08-02 17:31:36 -07:00
anthony
dc7ff2b5ad
Bug 10197:
...
implement pool-wise VM sync,
For XenServer, VM fullSync is pool-wise now, VM deltaSync is still per host
2011-08-02 16:52:24 -07:00
anthony
93244b5b62
Bug 10197: if VM is already running, just return the host it is running on
2011-07-29 16:33:57 -07:00
anthony
31100824d7
Bug 10197: if VM is already running, just return the host it is running on
2011-07-29 16:33:33 -07:00
anthony
055e5c82c7
bug 9997:
...
put copy scripts in SetupCommand,
1. initiate returns host version,
2. if it doesn't match with DB, update DB, and reconnect the host.
status 9997: resolved fixed
2011-07-29 10:45:11 -07:00
anthony
59a556a780
fixed a typo
2011-07-28 10:20:01 -07:00
anthony
8e2b1ce4cf
fixed a typo
2011-07-28 10:19:29 -07:00
anthony
8045f61cea
fixed a typo
2011-07-28 10:18:19 -07:00
Naredula Janardhana Reddy
15d57cef9f
bug 10557: implemented the TODO - opening the stats port using iptable
2011-07-28 17:28:20 +05:30
Naredula Janardhana Reddy
2fc7be14de
bug 10557: implemented the TODO - opening the stats port using iptable
2011-07-28 17:24:10 +05:30
Naredula Janardhana Reddy
3c66075b8b
bug 10557: made more feature enhancement instead of bug- added more stats parametes as global config
2011-07-27 14:06:26 +05:30
Naredula Janardhana Reddy
93680fdc9e
Bug:10557
2011-07-27 14:05:47 +05:30
Naredula Janardhana Reddy
f0b1f3d229
bug 10557: made more feature enhancement instead of bug- added more stats parametes as global config
2011-07-27 13:42:14 +05:30
anthony
bad0f77659
use the safe way to delete secondary storage directory
2011-07-25 18:16:05 -07:00
anthony
4572810b72
bug 10854: get basecopy physical size before destroying VDI, basecopy might be coalesced after destroying VDI
...
status 10854: resolved fixed
2011-07-25 17:57:53 -07:00
anthony
f7bd74d461
bug 10854: get basecopy physical size before destroying VDI, basecopy might be coalesced after destroying VDI
...
status 10854: resolved fixed
2011-07-25 17:53:18 -07:00
anthony
d03a396569
bug 10854: get basecopy physical size before destroying VDI, basecopy might be coalesced after destroying VDI
...
status 10854: resolved fixed
2011-07-25 17:47:03 -07:00
Murali Reddy
5322accbc8
bug 10764: changing service offering drops cpu cap
...
status 10764: resolved fixed
2011-07-25 18:23:11 +05:30
Murali Reddy
9e90999aab
bug 10764: changing service offering drops cpu cap
...
status 10764: resolved fixed
2011-07-25 18:15:31 +05:30
Naredula Janardhana Reddy
96bacb85f8
Bug:10557
2011-07-25 17:40:33 +05:30
anthony
a7af9cdae2
use the safe way to delete secondary storage directory
2011-07-22 19:35:46 -07:00
anthony
afbadbf223
use the safe way to delete secondary storage directory
2011-07-22 19:29:58 -07:00
Murali Reddy
2ee7d34c10
bug 10763: vmware disk size not showing up right
...
status 100763: resolved fixed
calculate vmdk virtual disk size from ovf meta data
2011-07-22 19:32:21 +05:30
Murali Reddy
674e472792
bug 10763: vmware disk size not showing up right
...
status 100763: resolved fixed
calculate vmdk virtual disk size from ovf meta data
2011-07-22 19:20:18 +05:30
anthony
e666cf5e77
bug 10743: default local storage is ext in XenServer 6.0, add ext local storage support
2011-07-21 17:31:43 -07:00
Abhinandan Prateek
dff712f2a9
bug 10731: sending source cidrs to the required router element, on domR allowing these source cidrs thru iptables
...
status 10731: resolved fixed
2011-07-21 13:48:42 +05:30
Abhinandan Prateek
de34d6089d
bug 10731: sending source cidrs to the required router element, on domR allowing these source cidrs thru iptables
...
status 10731: resolved fixed
2011-07-21 13:40:06 +05:30
anthony
c152d1c33f
support XenServer 6.0 beta
2011-07-20 16:47:48 -07:00
anthony
9f2eaca6cb
Support XenServer 6.0 beta
2011-07-20 16:47:48 -07:00
kishan
28119036b8
bug 10398: Added scheduled job, alert and interval config param for usage sanity check
2011-07-20 17:20:11 +05:30
kishan
427b73a2b9
bug 10372: Added Vm State Machine listener for usage events
...
status 10372: resolved fixed
2011-07-20 11:13:56 +05:30
Sheng Yang
44d4113ae6
bug 10429: backport redundant router
...
Part 2
commit 797839360c65cd348d2eb20630521177ab0919de
bug 9154: redundant virtual router
commit 8ff7f230204d4d3a7a4adee75523a9a84f4276fe
bug 9154: Replace domain_router.is_master with domain_router.redundant_state in DB
commit 230b99e9e0b152648f1dd2a5eab6f22315b8e7b4
bug 9154: Add redundant state to DomainRouterResponse
commit ccefb5ff5e83d713798a347c99bce1a0d04b4317
bug 9154: Add router fault state report
commit 7a3090378f9785caecf741b70554f6ea17c41764
bug 9154: Send alert if found two virtual routers in master state
commit 66831056e4bf27665871bccd24e6159071564847
bug 9154: Code clean up
commit bf3f58a85741fa7118bd848a42d8b21baa4478d4
bug 9154: Add isRedundantRouter to DomainRouterResponse
2011-07-18 18:30:02 -07:00
Sheng Yang
4bc8686513
bug 10429: Backport redundant virtual router
...
Part 1
This backport contained:
commit 52317c718c25111c2535657139b541db0c9d1e1f
bug 9154: Initial check in for enabling redundant virtual router
commit 54199112055d754371bfb141168fb5538bf6d6ea
Add host verification for CheckRouterCommand
commit cef978a228c90056ead9be10cbc4de74c2b8de76
Fix CheckRouterAnswer's isMaster report
commit 4072f0a6991ac3b63601a1764fbe14188965f62f
Some build fixes and code refactoring for redundant router
commit 4d3350b7cd8ee2706a9bace4437fc194e36c8dd5
Redundant Router: Fix OVS
commit 6a228830e7c46d819fa0c3317e159e041337e887
Fix findByNetwork()/findByNetworkAndPod()'s return
commit c627777b3d5bdbcd60db4032cebd349a5b1ecd83
Redundant Router: Fix isVmAlive()
commit e1275d2514adc41f8744f5107d4069c38be195f1
Only issue CheckRouterCommand to redundant routers
And all modification to the scripts till
commit 4e3942462ed3fde3a3d7011e95839e2128fba514
logging changes
in the master branch.
2011-07-18 18:29:56 -07:00
Sheng Yang
0a9dd39a4a
bug 10737: Fix java.nio.BufferOverflowException in decompression
...
Also add unit test for compression/decompression
status 10737: resolved fixed
2011-07-15 18:22:25 -07:00
Sheng Yang
1dac8f3815
bug 10737: Fix java.nio.BufferOverflowException in decompression
...
Also add unit test for compression/decompression
status 10737: resolved fixed
2011-07-15 18:21:45 -07:00
alena
0d84cde633
bug 10409: added domainSuffix parameters to account/domain objects
2011-07-15 14:40:39 -07:00
alena
1979d1d065
bug 10681: for serviceOfferings, diskOfferings, templates/isos return records with not null Removed field on findById method call
...
status 10681: resolved fixed
Conflicts:
server/src/com/cloud/server/ManagementServerImpl.java
2011-07-13 18:25:13 -07:00
alena
25206e6257
bug 10681: for serviceOfferings, diskOfferings, templates/isos return records with not null Removed field on findById method call
...
status 10681: resolved fixed
2011-07-13 17:16:07 -07:00
Sheng Yang
d09008ff72
bug 10692: Fix the limitation of SSL packet is 16k using compression
2011-07-12 14:50:00 -07:00
Sheng Yang
8725257f6b
bug 10692: Fix the limitation of SSL packet is 16k using compression
2011-07-12 13:09:52 -07:00
anthony
d8da1e9412
bug 10690: add "live" option to migrate
...
status 10690: resolved fixed
2011-07-11 19:36:09 -07:00
anthony
67d51edbd3
bug 10690: add "live" option to migrate
...
status 10690: resolved fixed
2011-07-11 19:35:28 -07:00
Alex Huang
c537d8a00b
more logging for gson
2011-07-11 14:19:35 -07:00
Alex Huang
b9d4d65714
more logging to figure out problems with gson
2011-07-11 14:18:12 -07:00
Alex Huang
e5994a6485
added logging for the gson error
2011-07-09 10:58:14 -07:00
Edison Su
81475c256b
fix user/meta data: if data is empty, return a blank file, not 404
2011-07-08 13:50:27 -07:00
Kelven Yang
49999bf609
bug 10618: another place that could possibly throw NPE
2011-07-08 09:55:32 -07:00
Kelven Yang
97cdf2eccd
bug 10618: another place that could possibly throw NPE
2011-07-08 09:54:22 -07:00
alena
9be9a970c9
bug 10409: added domainSuffix parameters to account/domain objects
2011-07-06 16:57:19 -07:00
Nitin
fb981be800
bug 10580: Making necessary changes to stats collection to entertain multiple secondary storage.
...
status 10580: resolved fixed
2011-07-06 18:20:17 +05:30
Nitin
1c73e378da
bug 10580: Making necessary changes to stats collection to entertain multiple secondary storage.
...
status 10580: resolved fixed
2011-07-06 18:15:18 +05:30
Abhinandan Prateek
6137a6582d
bug 8962: chnaged the log level from wrn to debug for error message - VM does not exists, while stopping VM
...
bug status: resolved fixed
2011-07-04 17:02:44 +05:30
Edison Su
56bc4f27a9
fix user/meta data: if data is empty, return a blank file, not 404
2011-07-01 12:58:14 -07:00
kishan
9a6c567269
bug 10503: Skip usage events when StopAnswer details is Vm does not exist
...
status 10503: resolved fixed
2011-07-01 18:27:27 +05:30
kishan
1dcbfe09f9
reverting fix for 10503, VM stop answer
2011-07-01 18:10:49 +05:30
kishan
dde4b48088
bug 10503: Return StopAnswer status as false while stopping an already stopped Vm
...
status 10503: resolved fixed
2011-07-01 16:54:42 +05:30
kishan
36d7ee5634
bug 10372: Added Vm State Machine listener for usage events
...
status 10372: resolved fixed
2011-07-01 16:37:53 +05:30
kishan
12068f957c
bug 10503: Return StopAnswer status as false while stopping an already stopped Vm
...
status 10503: resolved fixed
2011-07-01 13:54:43 +05:30
anthony
2602614fd3
set correct secondary storage host id in snapshot table
2011-06-28 14:08:39 -07:00
anthony
1e7399dd19
set correct secondary storage host id in snapshot table
2011-06-28 14:08:18 -07:00
alena
18dc85c765
Pass isForRebalance parameter to processConnect method of all the listeners - some listeners don't have to be notified when connection happens as a a part of Agent Rebalance process (VirtualMachineManagerImpl listener for instance)
2011-06-27 10:37:00 -07:00
alena
826f5eedf1
bug 10447: don't notify VirtualMachineManager listener when do host rebalance - vm sync is not needed in this case.
...
status 10447: resolved fixed
2011-06-27 10:37:00 -07:00
alena
41f12eb642
Pass isForRebalance parameter to processConnect method of all the listeners - some listeners don't have to be notified when connection happens as a a part of Agent Rebalance process (VirtualMachineManagerImpl listener for instance)
2011-06-27 10:20:41 -07:00
alena
0bf34f3612
bug 10447: don't notify VirtualMachineManager listener when do host rebalance - vm sync is not needed in this case.
...
status 10447: resolved fixed
2011-06-27 10:20:40 -07:00
alena
74f34a0e0c
bug 10435: removed vpn feature
...
status 10435: resolved fixed
2011-06-24 09:18:46 -07:00
Alex Huang
a254e90ab3
Renamed IPAssoc to IpAssoc to be consistent with agent commands
2011-06-21 10:15:42 -07:00
Alex Huang
8459ae0beb
Renamed IPAssoc to IpAssoc to be consistent with agent commands
2011-06-21 09:25:29 -07:00
Sheng Yang
9466106c40
bug 9154: Add isRedundantRouter to DomainRouterResponse
2011-06-15 14:39:28 -07:00
Sheng Yang
6f0edd9541
bug 9154: Add router fault state report
2011-06-14 20:33:18 -07:00
Sheng Yang
07a61686db
bug 9154: Add redundant state to DomainRouterResponse
2011-06-14 19:31:24 -07:00
Sheng Yang
aef562c69d
bug 9154: Replace domain_router.is_master with domain_router.redundant_state in DB
...
Then we can distingush BACKUP state from UNKNOWN state(which means we didn't get
valid answer from CheckRouterCommand).
2011-06-14 18:48:56 -07:00
Sheng Yang
a492c07e4c
bug 9154: redundant virtual router
...
Add CheckRouterCommand for XenServer
Now VMware/Xen/KVM all support redundant virtual router.
2011-06-14 15:45:29 -07:00
alena
01538e4d1e
bug 9511: use new StringBuffer for each PF/StaticNat rule
...
status 9511: resolved fixed
2011-06-13 22:31:49 -07:00
alena
30617a947c
bug 9511: use new StringBuffer for each PF/StaticNat rule
...
status 9511: resolved fixed
2011-06-13 22:15:15 -07:00
Abhinandan Prateek
6c35a97cd8
added check for null
2011-06-14 10:31:03 +05:30
Abhinandan Prateek
11816a174d
added missing check for null
2011-06-14 10:24:49 +05:30
anthony
e91e0b4174
bug 9997:
...
put copy scripts in SetupCommand,
1. initiate returns host version,
2. if it doesn't match with DB, update DB, and reconnect the host.
status 9997: resolved fixed
2011-06-13 16:45:13 -07:00
Alex Huang
9461990d9e
revert accidental checkin
2011-06-13 14:51:07 -07:00
Alex Huang
c62643536a
Added new search
2011-06-12 06:04:27 -07:00
Alex Huang
2688d61a1e
bug 10222: fixed issue with associate ip introduced more than one nic. The problem is that associate ip automatically creates a nic but doesn't have sufficient information to properly creates so it uses what it knows for sure is the naming pattern to do it. However, we changed the naming pattern and it broke. I fixed it by passing all of the information in the ipaddressTO object.
2011-06-11 13:45:28 -07:00
Alex Huang
44d15d38b0
bug 10222: fixed issue with associate ip introduced more than one nic. The problem is that associate ip automatically creates a nic but doesn't have sufficient information to properly creates so it uses what it knows for sure is the naming pattern to do it. However, we changed the naming pattern and it broke. I fixed it by passing all of the information in the ipaddressTO object.
2011-06-11 13:45:00 -07:00
Abhinandan Prateek
8e4ec4ce09
bug 8962: moving vm from one account to other
2011-06-09 15:02:47 +05:30
Sheng Yang
62ac899091
bug 9154: Initial check in for enabling redundant virtual router
...
This patch enable redundant virtual routers.
1. To enable this feature, db need to be updated using follow SQL by now(we
would get a UI way later):
UPDATE network_offerings SET redundant_router=1 WHERE guest_type="Virtual" AND
system_only=0;
2. System would try to start up two routers at different hosts. But if there is
only one host in the zone, system would start up two routers on it.
3. The failover part is using keepalived, and connection tracking part is using
conntrackd. There would be one master router and one backup router. The status
of router(master or backup) can be query from the database table domain_router
now. Management server would update the status every 30s by default.
4. The routers for the same zone would use same external NIC(same ip and mac).
The script used for fail-over would ensure only one external NIC present in the
network at any time.
5. Currently management server don't got the ability to stop one of router is
both of them reported as master. The feature is in the todo list.
After two routers start up, disconnect anyone of them, the guest network
shouldn't be affected, and established connection(http, ssh, etc.) should still
works. The fail-over on gateway part should be 3~4 seconds.
Currently the patch works with KVM. Would deal with vmware and XenServer soon.
2011-06-07 14:47:45 -07:00
anthony
416efeb59a
bug 10152: supoort XenServer 5.6 service pack 2
...
status 10152: resolved fixed
2011-06-07 10:39:57 -07:00
Alex Huang
019cc78976
Fixes problems in routing between management servers
2011-06-05 16:06:54 -07:00
Alex Huang
a0ce3da191
fixed problem with header
2011-06-05 13:51:29 -07:00
Alex Huang
d9e0bcfa1e
bug 10126: Renamed getPodId() to getPodIdToDeployIn()
2011-06-03 22:17:08 -07:00
Edison Su
3cddd72c9b
fix template sync issue
2011-06-02 22:38:13 -04:00
Alex Huang
2dbb8eb502
bug 9651: Make same VLAN work on two different nics
2011-06-01 17:07:44 -07:00
Frank
6618440202
Add tempalte processor for ovm
2011-05-31 19:02:50 -07:00