Ian Southam
8a92a0a460
Corrected a couple of small typos
2015-03-16 11:35:23 +01:00
Sander Botman
9b40f3d379
fixing the nullpointer on type which is null
2015-03-16 11:35:18 +01:00
Sander Botman
4c5113b9e5
Creating new model for the firewall rules
2015-03-16 11:35:18 +01:00
Hugo Trippaers
d2e3b238ed
New style dnsmasq configuration
2015-03-16 11:35:17 +01:00
Sander Botman
daf6c33507
Creating new model for the MonitorService
2015-03-16 11:35:17 +01:00
Sander Botman
b4acd77abf
New model for RemoteAccessVpn and moving into the new structure
2015-03-16 11:35:16 +01:00
Hugo Trippaers
caef7ee9a9
Staticroutes to new json style
2015-03-16 11:35:16 +01:00
Hugo Trippaers
58919dcf50
Change the location for the temporary json files to /var/cache/cloud
2015-03-16 11:35:16 +01:00
Sander Botman
92aca76c3b
Adding new model for the Site2SiteVpn configuration.
2015-03-16 11:35:15 +01:00
Hugo Trippaers
2e968d85fe
Migrate ip alias commands
2015-03-16 11:35:15 +01:00
Hugo Trippaers
660fdbe238
modified StaticNatRule to use the new style
2015-03-16 11:35:14 +01:00
Sander Botman
f423f3ea4e
New style manage VPN user command <Still need some testing with the VR image>
2015-03-16 11:35:13 +01:00
Hugo Trippaers
6ae56b7275
Add forwarding rules to the new config format and do a little rewrite on
...
the models
2015-03-16 11:35:13 +01:00
Hugo Trippaers
3ab83fdba7
New style save password command
2015-03-16 11:35:11 +01:00
Hugo Trippaers
bda4c0d2c9
Move some static strings to constants and remove some duplicate code
2015-03-16 11:35:11 +01:00
Hugo Trippaers
9b2a73370b
Put a netmask in the netmask field
2015-03-16 11:35:09 +01:00
Hugo Trippaers
25b8510c43
Change vmdata to the new config system
2015-03-16 11:35:06 +01:00
Hugo Trippaers
43fd212298
Add some debug logging to keep track of timing
2015-03-16 11:35:05 +01:00
Hugo Trippaers
7b8050c056
Rewrite networkacl model to have separate entries for each rule
2015-03-16 11:35:05 +01:00
Hugo Trippaers
0027db6cd1
Switch ip associations to new model and update the recipes
2015-03-16 11:35:04 +01:00
Hugo Trippaers
183b248c4e
Include a type field in all json configuration objects
2015-03-16 11:35:04 +01:00
Hugo Trippaers
1f1a9ba8b0
Create a json file for SetNetworkACL
2015-03-16 11:35:03 +01:00
Hugo Trippaers
639b24a575
Replace CreateGuestNetwork config script with a json file.
2015-03-16 11:35:01 +01:00
Hugo Trippaers
9514f259f6
Removed useless array from SetStaticRoutesCmd.
2015-03-16 11:34:59 +01:00
Hugo Trippaers
0f5af91668
Switch ip associations to the new config file system
2015-03-16 11:34:58 +01:00
Rajani Karuturi
3de5d9db5f
volume upload: Restart of MS leads to loss of browser uploaded templates
...
on restart of management server, template sync runs. It checks for
templates in ssvm using the uniquename. If it doesnt find any, cleans
the directory. In case of uploaded templates, these are getting saved
using name instead on uniquename and hence template sync cant find them
and does cleanup. Using uniquename in template.properties now.
2015-03-16 12:45:24 +05:30
Likitha Shetty
bdd28a45ed
CLOUDSTACK-8319. For both 'MigrateVolume' and 'MigrateVMWithVolumes, ensure VM's vconfiguration files are migrated along with VM's root volume.
2015-03-12 11:57:02 +05:30
Funs
c27c69438b
hypervisors: add OVM3 plugin that supports OVM 3.2.1/3.3.x
...
This is a plugin that puts in ovm3 support ranging from 3.3.1 to 3.3.2. Basic
functionality is in here, advanced networking etc..
Snapshots only work when a VM is stopped now due to the semantics of OVM's raw
image implementation (so snapshots should work on a storage level underneath the
hypervisor shrug)
This closes #113
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-12 11:33:42 +05:30
Rajani Karuturi
b16520bcec
volume upload: added max size check for temaplte/volume post upload
...
used the existing configuration variables max.template.iso.size and
storage.max.volume.upload.size for templates and volumes respectively.
2015-03-03 17:27:40 +05:30
Laszlo Hornyak
df11bb2811
CLOUDSTACK-8279: Fix unit test for java 1.8
...
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2015-02-27 20:06:27 +01:00
Laszlo Hornyak
f8c003d13a
CLOUDSTACK-8279: test fix for java 1.8
...
The test build on an assumption on the order of items in a Set, while this changed in java 1.8
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2015-02-27 19:38:12 +01:00
Laszlo Hornyak
e6e3a20bd6
removed redundant autoboxing
...
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2015-02-27 19:38:12 +01:00
Laszlo Hornyak
5626a340dd
Logical expression simplification, == true is redundant
...
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2015-02-27 19:38:12 +01:00
Rohit Yadav
6f4db0ce4b
CLOUDSTACK-5237: Add a default PBKDF2-SHA-256 based authenticator
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 9533c54db6 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-27 15:53:58 +05:30
Koushik Das
d19ea5226a
volume upload: Use volume/template UUID instead of ID in UploadStatusCommand
2015-02-17 12:31:40 +05:30
Koushik Das
121ff19cba
volume-upload: Attaching uploaded volume to an instance failing while copying from secondary to primary storage
...
The volume/template size and install path was not getting updated properly.
The upload status response should return these properties on completion of upload.
2015-01-31 17:27:46 +05:30
Koushik Das
c9908d2678
volume-upload: management server polling and upload status from agent
...
Some more fixes to the polling logic
2015-01-31 17:10:46 +05:30
Mike Tutkowski
0f84e042b9
Adding support for creating a volume from a snapshot when the snapshot is on managed storage
2015-01-20 15:24:33 -07:00
Rajani Karuturi
15ae33a5b6
volume upload: refactored post upload command and used it during template registration
2015-01-20 09:24:14 +05:30
Rajani Karuturi
ad6b7b30cb
Volume upload: sending the nfsstore url in the metadata
...
decoding the metadata and deserialising it on receiving it
2015-01-19 18:04:14 +05:30
Koushik Das
1f1c96d2ee
volume upload: management server polling and upload status from agent
...
- Added config parameters for upload monitoring interval and operation timeout
- Some updates to the volume state machine
2015-01-16 15:28:17 +05:30
Koushik Das
627f5a62dc
volume upload: management server polling and upload status from agent
...
MS polling logic to query status for volumes that are uploaded
2015-01-14 10:19:12 +05:30
Rajani Karuturi
1ae34d98d4
volume upload: fixed circular reference error while generating json
2015-01-13 10:41:39 +05:30
Likitha Shetty
15b348632d
CLOUDSTACK-8129. Cold migration of VM across VMware DCs leaves the VM behind in the source host.
...
If VM has been cold migrated across different VMware DCs, then unregister the VM from source host.
2014-12-26 11:07:30 +05:30
Koushik Das
ceae97868c
CLOUDSTACK-8115: Update default ordering of HA investigators
...
Moved HV specific investigators before PingInvestigator in default ordering
2014-12-23 16:12:39 +05:30
Likitha Shetty
647532376f
CLOUDSTACK-8111. NFS secondary storage repetitively mounted on CS server with ESXi hypervisors.
...
Fix cleanup of NFS mounts on management server during server starup by correcting how mount points are listed for a management server.
2014-12-23 13:23:43 +05:30
Rajani Karuturi
9bb6cf8452
volume upload: persisting the volume metadata
...
on calling GetUploadParamsForVolume, persisting the metadata to db
validating the account limits and incrementing the appropriate limits
encoded the metadata on management server using preshared key
2014-12-18 17:50:51 +05:30
Rajani Karuturi
7e030ee72d
volume upload: persisting the template metadata
...
on calling GetUploadParamsForTemplate, persisting the metadata to db
validating the account limits and incrementing the appropriate limits
encoded the metadata on management server using preshared key
2014-12-16 11:52:09 +05:30
Rajani Karuturi
d2ef7295f9
volume upload: sending the preshared key to ssvm
...
sending the key to ssvm in the secondary storage setup command
saving it in a file on ssvm
2014-11-28 16:40:20 +05:30
Laszlo Hornyak
3577423da9
removed executable flags from java classes
...
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-11-23 19:49:01 +01:00
Hugo Trippaers
22ad646aca
CID-1114601/CID-1114602 Fix ignored return values and remove duplicate code
2014-11-18 15:05:09 +01:00
Mike Tutkowski
455ffc3342
Create a template from a SAN snapshot
2014-11-06 10:33:23 -07:00
Santhosh Edukulla
1aef5cba66
Fixed Coverity Issues
2014-11-03 16:45:30 +05:30
Hugo Trippaers
4ebaf0a583
Bump master version to 4.6.0-SNAPSHOT after branching 4.5.0-SNAPSHOT
2014-10-29 14:54:23 +01:00
Mike Tutkowski
15c8d8caf6
Pass on new command
2014-10-21 16:01:15 -06:00
Mike Tutkowski
0cea0346ae
Support for back-end snapshots on primary storage
2014-10-21 16:01:14 -06:00
Daan Hoogland
1de0cb7094
restore barematel work after merge
2014-10-17 10:24:01 +02:00
amoghvk
71c9804165
Fixing possible formatting issue with license header, causing builds to fail. Works well locally
2014-10-14 14:37:38 -07:00
Sanjay Tripathi
176e0d47bb
CLOUDSTACK-6650: Reorder Cluster list in deployment planner to protect
...
GPU enabled hosts from non-GPU VM deployment.
Cluster reordering is based on the number of unique host tags in a cluster,
cluster with most number of unique host tags will put at the end of list.
Hosts with GPU capability will get tagged with implicit tags defined by
global config param 'implicit.host.tags' at the time os host discovery.
Also added FirstFitPlannerTest unit test file.
2014-10-14 17:55:37 +05:30
amoghvk
da73d735b2
Revert "CLOUDSTACK-6650: Reorder Cluster list in deployment planner to protect"
...
This reverts commit d910b4ff14 since it is causing encryption/decryption issues with RPM builds
(cherry picked from commit fbcab01ff0 )
2014-10-13 00:37:34 -04:00
Hugo Trippaers
5990ed4610
Move the PrepareKickstartPxeServerCommand to the core api so other
...
modules can use it.
(cherry picked from commit b6401b04f22b0a5b686c7c477da4c6e0fd18df84)
Conflicts:
plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BaremetalKickStartServiceImpl.java
2014-10-13 00:22:50 -04:00
Sanjay Tripathi
47d2a578ee
CLOUDSTACK-6650: Reorder Cluster list in deployment planner to protect
...
GPU enabled hosts from non-GPU VM deployment.
Cluster reordering is based on the number of unique host tags in a cluster,
cluster with most number of unique host tags will put at the end of list.
Hosts with GPU capability will get tagged with implicit tags defined by
global config param 'implicit.host.tags' at the time os host discovery.
Also added FirstFitPlannerTest unit test file.
(cherry picked from commit 39fe766c2b )
2014-10-13 00:15:03 -04:00
Edison Su
9278a6378b
fix checkstyle
...
(cherry picked from commit 8db4f197ef )
2014-10-13 00:12:54 -04:00
Edison Su
ae0bf7db5f
speed up template download: don't sync io for each write
...
(cherry picked from commit 6de4dcb10a )
2014-10-13 00:12:36 -04:00
Hugo Trippaers
4ad2734576
CID-1114601 to 1114604 Recommended practice is to test the result of
...
skip and read for EOF
2014-09-19 14:29:01 +02:00
Hugo Trippaers
90df7cf881
CID-1116300 Prevent potential NPE
2014-09-19 11:55:17 +02:00
Anthony Xu
071004e3e1
removed start/stop VR from queue
2014-09-17 19:04:34 -07:00
Jayapal
86bf33bfab
CLOUDSTACK-7540: Fixed NPE in check s2svpn connection status
2014-09-15 14:54:13 +05:30
Fred Clift
355eb72c7d
make virtual router /latest/.htaccess file be static - no longer dynamically generate it, remove code that managed the file previously
...
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-09-04 04:22:27 -04:00
Hugo Trippaers
dc3f0cbc63
Improve the handling of the findbug exclude files
2014-09-03 10:41:22 +02:00
Rohit Yadav
47c9050871
core: Add registry and beans in spring registry for PluggableAPIAuthenticator
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-08-28 19:45:22 +02:00
Devdeep Singh
f099732be7
CLOUDSTACK-7359. Make sure timeout value is set for the MigrateVolumeCommand. This will
...
make sure the agent waits for the resource to complete (success/failure) migration of
volume on the hypervisor.
2014-08-18 11:38:29 +05:30
Hugo Trippaers
d2aa1c4aa1
Fix concurrency issues CID-1230585 and CID-1230586
2014-08-13 08:39:40 +02:00
Min Chen
e3564658be
CLOUDSTACK-6940, CLOUDSTACK-7312, CLOUDSTACK-5512: Template/ISO/Volume
...
upload rejects some valid URL formats. Also consolidate URL format check
into one util routine.
2014-08-12 11:43:08 -07:00
Kishan Kavala
c09888fcb5
CLOUDSTACK-7237 : Added TAR image processor for templates with tar extension
2014-08-06 18:03:02 +05:30
Jayapal
1bfb1f6503
CLOUDSTACK-7246: corrected script name of createipalias
2014-08-05 14:41:12 +05:30
Jayapal
912dc15bc1
CLOUDSTACK-7246: corrected script name of createipalias
2014-08-05 14:20:32 +05:30
Santhosh Edukulla
e4d6cd8e6a
Fixed coverity reported concurrency issues
...
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-05 12:16:08 +05:30
Anthony Xu
330c4ba578
completed the new vmsync TODOs in the code.
...
removed old vmsync logic
2014-07-28 12:51:37 -07:00
Hugo Trippaers
49f60ca744
Fix a coverity issue about unchecked returns and make the code flow a
...
litle bit more easy to follow.
2014-07-28 14:42:42 +02:00
Sheng Yang
f4757a198a
Revert "CLOUDSTACK-7124: Fix semicolon caused VPN programming issue"
...
This reverts commit 809b47e4eb .
Because the fix cause CLOUDSTACK-7163. Would fix it in another way.
Conflicts:
core/src/com/cloud/agent/resource/virtualnetwork/ConfigHelper.java
2014-07-25 14:10:35 -07:00
Sheng Yang
717e697246
Revert "CLOUDSTACK-7124: Fix unit test"
...
This reverts commit ef28fd3672 .
Fix of CLOUDSTACK-7124 caused CLOUDSTACK-7163.
2014-07-25 14:08:20 -07:00
Hugo Trippaers
70e68be4f3
Fix string encoding problem reported by coverity
2014-07-22 13:12:47 +02:00
Murali Reddy
9dc322d46f
CLOUDSTACK-7144: No GSLB provider is available during assigning load
...
balancing rule
this fix ensures any bean implementing GslbProvider interface are injected
into GlobalLoadBalancingRulesServiceImpl.
2014-07-21 16:50:21 +05:30
Hugo Trippaers
a963fd34b5
CLOUDSTACK-7111 Empty commandlist must return a succes
2014-07-18 09:28:42 +02:00
Hugo Trippaers
5651a13cfd
Remove duplicated code
2014-07-18 09:28:42 +02:00
Sheng Yang
ef28fd3672
CLOUDSTACK-7124: Fix unit test
2014-07-17 19:40:45 -07:00
Sheng Yang
809b47e4eb
CLOUDSTACK-7124: Fix semicolon caused VPN programming issue
...
Semicolon can cause trouble in bash, need to be escaped.
2014-07-17 18:40:14 -07:00
Hugo Trippaers
dbc7d80329
Aggregate command cleanup is not required for the virtual router as we
...
already cleanup in the finish.
And consequently dies if somebody tries to test with assertions enabled.
2014-07-16 16:24:54 +02:00
amoghvk
6831ed4026
CLOUDSTACK-6358: Missing patches in master branch
2014-07-14 15:17:58 -07:00
Hugo Trippaers
a49bb7e8e3
Cleanup licenses in core with com.mycila:license-maven-plugin:format
2014-07-14 16:28:29 +02:00
Hugo Trippaers
109d129096
Enforce licenses and license format in cloud-core
2014-07-14 16:28:29 +02:00
Hugo Trippaers
1ed554650c
One day i'll remember to put the licenses in right away.
2014-07-14 16:04:29 +02:00
Hugo Trippaers
c12767908d
Refactor VirtualRoutingResource, put the ConfigItems in separate classes and create a separate ConfigHelper
2014-07-14 15:32:31 +02:00
Santhosh Edukulla
97d296bfbd
Fixed Coverity reported performance issues like inefficient string concatenations, wrong boxing or unboxing types, inefficent map element retrievals
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-07-01 22:06:25 +02:00
Damodar Reddy
5cbb182c6d
CLOUDSTACK-6636: [Windows] Can not create Template from ROOT snapshot on Windows management server with Xen/NFS storage type. This change is only for XenServer with NFS Storage Server. Will fix remaining when we touch them.
...
Signed-off-by: Koushik Das <koushik@apache.org>
2014-06-19 09:35:26 +05:30
Nitin Mehta
b65ce7e756
CLOUDSTACK-6929: HAPlanner (SkipHeuresticsPlanner) gets added into the list of regular planners currently, add it in the exclude list. Also create allocator order list
...
(cherry picked from commit 6fca4eb0f1 )
2014-06-17 17:00:12 -07:00
Mike Tutkowski
42d00cae58
SolidFire (shared-access) Provider
2014-06-16 12:15:29 -06:00
Nitin Mehta
5393387bbd
CLOUDSTACK-6599:
...
1. Adding the missing Template/Volume URLs expiration functionality
2. Improvement - While deleting the volume during expiration use rm -rf as vmware now contains directoy
3. Improvement - Use standard Answer so that the error gets logged in case deletion of expiration link didnt work fine.
4. Improvement - In case of domain change, expire the old urls
2014-05-30 10:48:42 -07:00
Marcus Sorensen
15ac47e47b
CLOUDSTACK-6088: Check first bytes of template when downloading to verify format/type
2014-05-28 15:40:57 -06:00