Commit Graph

34084 Commits

Author SHA1 Message Date
Daan Hoogland 1c112ceae0 Merge branch 'sonarqube' of https://github.com/karuturi/cloudstack
This closes #269
2015-05-20 14:14:15 +02:00
Rajani Karuturi 8571314406 Fixed blocker issues reported by sonarqube in js files
All of them are trailing comma in array or object

more details @
https://analysis.apache.org/component_issues?id=org.apache.cloudstack%3Acloudstack#resolved=false|severities=BLOCKER|languages=js
2015-05-20 17:19:20 +05:30
Wido den Hollander 3894d34b2c CLOUDSTACK-8489: Set smbios information for guest
This allows a guest to easily detect that it is running inside CloudStack
and see which UUID it has.
2015-05-20 13:28:56 +02:00
wilderrodrigues c78f58e54d Merge branch 'feature_fix_pep8' of https://github.com/isoutham/cloudstack
This closes #265
2015-05-20 13:06:28 +02:00
wilderrodrigues ab7473eea0 Changing the JUnit runner in order to avoid problems with Java 8 - All tests passed using different approaches - Maven with parameters: -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 - Maven without parameters
All builds were executed using javac 1.8.0_31

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #266
2015-05-20 09:53:46 +01:00
Gaurav Aradhye 166df0f153 CLOUDSTACK-8394: Skipping recurring snapshot test cases for Hyperv and LXC
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #267
2015-05-20 11:36:15 +05:30
ramamurtis 2148dca24b CLOUDSTACK-8301: Enable configuring local storage use for system VMs at zone level. This commit contains the UI changes for the feature.
Signed-off-by: Koushik Das <koushik@apache.org>

This closes #259
2015-05-19 21:53:24 +05:30
Koushik Das 8ff90008b8 Merge branch 'CLOUDSTACK-8301' of https://git-wip-us.apache.org/repos/asf/cloudstack into CLOUDSTACK-8301 2015-05-19 21:49:24 +05:30
nitt10prashant b776cbc214 CLOUDSTACK-8471:Automation for feature Enable configuring local storage use for system VMs at zone level
Signed-off-by: Koushik Das <koushik@apache.org>

This closes #253
2015-05-19 21:32:14 +05:30
Koushik Das d423df66cc CLOUDSTACK-8301: Enable configuring local storage use for system VMs at zone level
Code cleanup, added helper method to get default system offering based on "system.vm.use.local.storage".
2015-05-19 21:32:14 +05:30
Koushik Das 3f7e31ed05 CLOUDSTACK-8301: Enable configuring local storage use for system VMs at zone level
Made system.vm.use.local.storage a zone level configuration.
2015-05-19 21:32:14 +05:30
Ian Southam ab915b6c92 Allow forward to fix port forwarding rules 2015-05-19 12:54:38 +00:00
Gaurav Aradhye dacdf97427 CLOUDSTACK-8482: Enhacing recurring snapshots test cases
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #260
2015-05-19 16:57:37 +05:30
Devdeep Singh a99c9d0e68 Implementation for the ability to disable a storage pool for provisioning
... of new volumes. Following changes are implemented 1. Disable or enable a pool with the
updateStoragePool api. A new 'enabled' parameter added for the same. 2. When a
pool is disabled the state of the pool is updated to 'Disabled' in the db. On
enabling it is updated back to 'Up'. Alert is raised when a pool is disabled or
enabled. 3. Updated other storage providers to also honour the disabled state.
4. A disabled pool is skipped by allocators for provisioing of new volumes. 5.
Since the allocators skip a disabled pool for provisioning of volumes, the
volumes are also not listed as a destination for volume migration.

FS: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Disabling+Storage+Pool+for+Provisioning

This closes #257

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-19 11:16:49 +01:00
Sowmya Krishnan bab4e3a6af Tests for Disable Storage Provisioning
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #257
2015-05-19 11:16:44 +01:00
Gaurav Aradhye 19c436fd59 CLOUDSTACK-8481: Adding test cases for validating global limit on concurrent snapshots
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #252
2015-05-19 15:25:29 +05:30
Rohit Yadav 4b597ca2b9 rat: add license header to error.jsp
(cherry picked from commit 9c995f1cab)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-18 23:22:26 +01:00
Rohit Yadav 9c995f1cab rat: add license header to error.jsp
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-18 23:21:52 +01:00
Rohit Yadav 5921c493c8 systemvmtemplate: Disable services that slow down boot
The console-setup service brings a nice font to the console, but why would we
want to use it. In most cases it takes a <10 seconds to set it up. When using
nested hypervising, I found this takes much longer time that causes tests to
time-out. I'd suggest turning off these services. They are not required for the
services the systemvm provides.

Manually picked from commit 95e7673
PR #254

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-18 23:17:09 +01:00
Rohit Yadav 98a1059413 ui: add custom error handling page
This makes sure we don't expose CloudStack stacktrace (if any) on the frontend
instead redirect to show an error handling page.

This closes #256

(cherry picked from commit 112cecc2d4)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-18 23:11:59 +01:00
Rohit Yadav 112cecc2d4 ui: add custom error handling page
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #256
2015-05-18 23:11:11 +01:00
Rohit Yadav bc636de122 engine: add upgrade path from 4.5.1 to 4.5.2
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-18 22:09:36 +01:00
wilderrodrigues 0cdb4b6108 Fixing the testGetHostStatsCommand test under LibvirtComputingResourceTest. - Removed the expected value from the Test annotation - Mocking the bash path in order to avoid environment/OS issues
Fixing typo on LibvirtRequestWrapper
  - Replace linbvirtCommands by libvirtCommands on LibvirtRequestWrapper

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #255
2015-05-18 20:07:02 +02:00
Rohit Yadav 9d8a62d0ee systemvmtemplate: install libc6:i386 for 64bit template
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-18 19:58:57 +02:00
Rohit Yadav 8daa665fca systemvm64template: install libc6:i386
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-18 19:57:01 +02:00
Remi Bergsma 95e7673a55 Systemvm: Disable services that slow down boot
The console-setup service brings a nice font to the console, but why would we want to use it. In most cases it takes a <10 seconds to set it up. When using nested hypervising, I found this takes much longer time that causes tests to time-out. I'd suggest turning off these services. They are not required for the services the systemvm provides.
2015-05-18 13:44:09 +02:00
pritisarap12 f6789532b0 CLOUDSTACK-8476: Disabling Zone, Pod, Cluster: --Test cases for testing the behaviour of resources running on zone and admin/non-admin user after disabling the Zone
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #242
2015-05-18 12:18:15 +05:30
nitt10prashant e5cee452b9 CLOUDSTACK-8471:Automation for feature Enable configuring local storage use for system VMs at zone level
Signed-off-by: Koushik Das <koushik@apache.org>

This closes #253
2015-05-15 09:38:01 +05:30
Koushik Das ff0160c71e CLOUDSTACK-8301: Enable configuring local storage use for system VMs at zone level
Code cleanup, added helper method to get default system offering based on "system.vm.use.local.storage".
2015-05-14 17:30:19 +05:30
Rene Moser fd97705f83 listPortForwardingRules: fix typo in doc
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #248

(cherry picked from commit e8f8e0e3f2)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-13 15:44:13 +02:00
Rene Moser e8f8e0e3f2 listPortForwardingRules: fix typo in doc
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #248
2015-05-13 15:43:53 +02:00
Rene Moser b90e8f96b4 debian: allow tomcat7 as optional dependency
This closes #247

(cherry picked from commit 7451f13f91)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	debian/control
2015-05-13 15:42:46 +02:00
Rene Moser 7451f13f91 debian: allow tomcat7 as optional dependency
This closes #247

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-13 15:40:52 +02:00
Rohit Yadav 256e227cd5 schema: fix foreign key checks for 3.0.7 to 4.1.0 upgrade path
Without this upgrades from 3.0.7 version fails.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit a0cff4ca48)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-13 14:11:56 +02:00
Rohit Yadav a0cff4ca48 schema: fix foreign key checks for 3.0.7 to 4.1.0 upgrade path
Without this upgrades from 3.0.7 version fails.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-13 14:11:11 +02:00
Koushik Das e26722daa3 CLOUDSTACK-8301: Enable configuring local storage use for system VMs at zone level
Made system.vm.use.local.storage a zone level configuration.
2015-05-13 17:35:29 +05:30
Gaurav Aradhye b1f2e598e8 CLOUDSTACK-8468: Correct test case in test_bugs.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #251
2015-05-13 16:40:00 +05:30
wilderrodrigues c7d2e444d2 Fixing license header in a file added during the LibVirt refactor
- New class is MigrateKVMAsync
2015-05-13 11:56:43 +02:00
wilderrodrigues 45c0fa2faa Merge branch 'refactor/libvirt_resource' of https://github.com/schubergphilis/cloudstack
This closes #233
2015-05-13 11:23:12 +02:00
Daan Hoogland 06de2d6292 backport of CLOUDSTACK-8197 create MinVRVersion config item
Conflicts:
  api/src/com/cloud/network/VirtualNetworkApplianceService.java
  engine/orchestration/src/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #244
2015-05-13 09:33:16 +02:00
Abhinandan Prateek 60b6dc1368 CLOUDSTACK-8467: set version to unknown instead of null 2015-05-13 12:28:50 +05:30
Gaurav Aradhye b8e82a97b6 CLOUDSTACK-8466: Fixed import error in testpath_snapshot_limits.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
2015-05-13 11:16:05 +05:30
Abhinandan Prateek bcb33b3815 adding simple logging for java version dependency 2015-05-13 10:57:37 +05:30
Abhinandan Prateek 8a1ec9d0f6 adding mysql dependency for usage 2015-05-13 10:11:22 +05:30
Rohit Yadav 9e3c7d309a systemvmtemplate: update version and fix chmod issue
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-12 16:47:59 +02:00
Rohit Yadav 0f82650dcf systemvmtemplate: use ovftool for building vmware template if available
This commit fixes a chmod issue where extracted vmdk file is not readable by all
users/groups. The other improvement is to use ovftool to build systemvm template
for vmware if it's available. This is based on a dev ML discussion and a suggested
approach by Ilya: http://markmail.org/message/kntsetgxdbppfh22

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-12 16:46:23 +02:00
Rohit Yadav 034b986595 systemvmtemplate: use ovftool for building vmware template if available
This commit fixes a chmod issue where extracted vmdk file is not readable by all
users/groups. The other improvement is to use ovftool to build systemvm template
for vmware if it's available. This is based on a dev ML discussion and a suggested
approach by Ilya: http://markmail.org/message/kntsetgxdbppfh22

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-12 16:34:01 +02:00
Wido den Hollander 43d20e67f8 graphite: Do not cache DNS names for Graphite host 2015-05-12 13:47:59 +02:00
Erik Weber 877c07e126 CLOUDSTACK-1667: Make a better description of the extractable flag
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #245

(cherry picked from commit ab1df169f2)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-12 12:52:27 +02:00
Erik Weber ab1df169f2 CLOUDSTACK-1667: Make a better description of the extractable flag
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #245
2015-05-12 12:51:56 +02:00