Commit Graph

24963 Commits

Author SHA1 Message Date
Rohit Yadav e1e5e12aaa CLOUDSTACK-6212: Let vm_instance table's ID field be unique and auto_increment
`vm_instance` table's id column is unique but does not auto_increment like other
resource tables. The fix simply alter the table's id column to have it
auto_increment which may avoid id conflicts in a multi-master mysql setup.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-06 05:54:39 +05:30
Jessica Wang 4f748e6e30 CLOUDSTACK-8039: UI > Infrastructure > router, systemvm > detailView > hide ChangeServiceOffering action when vm's hypervisor is XenServer and vm's status is Running. 2014-12-05 14:40:21 -08:00
Gaurav Aradhye 7c951a2fa9 CLOUDSTACK-8018: Improve code quality - test_redundant_router.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 19:51:13 +05:30
Sheng Yang ddf6fd2f9a CLOUDSTACK-7436: Fix automation test on RvR status detection
Everytime when checking the RvR status, you must wait some time for RvR to
update it's status. The polling thread would update the status only every 30
seconds by default.
2014-12-05 19:51:04 +05:30
Gaurav Aradhye 8d5ce97edc CLOUDSTACK-8029: Remove unused kaypairs from test_data.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 18:36:19 +05:30
Gaurav Aradhye a72b6a7f99 CLOUDSTACK-8028: Fix test_data.py - Separate virtual_machine dict having userdata key
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 18:36:19 +05:30
Jayapal 2d7f0c693b CLOUDSTACK-8027: Update error msg for enable static nat 2014-12-05 12:55:41 +05:30
Gaurav Aradhye d5370a95d2 CLOUDSTACK-8002: test_high_availability.py - Skip test cases if enough hosts are not available
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 11:19:03 +05:30
Gaurav Aradhye a6fd3190c0 CLOUDSTACK-8003: test_egress_fw_rules.py - Remove test case dependency on each other and improve cleanup code
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 11:18:54 +05:30
Damodar 7ef0f5507d Attach volume events are not correctly shown in events.
Signed-off-by: Koushik Das <koushik@apache.org>
2014-12-04 20:01:41 +05:30
Rohit Yadav bf88be5b25 Revert "CLOUDSTACK-8011: Upgrade maven dependencies"
This reverts commit 482815d084.
2014-12-04 19:47:23 +05:30
Rohit Yadav 752980f370 Revert "packaging: updated hardcoded jasypt version to 1.9.2"
This reverts commit 43f39a1ec3.
2014-12-04 19:47:10 +05:30
Ashutosh K 1f7699f458 CLOUDSTACK-7998: test_escalations_instances.py - Correcting code related to detach volume
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-04 16:37:35 +05:30
Ashutosh K c2c7ee25ed CLOUDSTACK-8020: test_snapshots.py - Fixed cleanup issue
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-04 16:32:48 +05:30
Sheng Yang feeafa76a4 CLOUDSTACK-5241: Remove Rot13 cipher 2014-12-03 19:30:31 -08:00
Min Chen ab16011874 CLOUDSTACK-5949: remove unused vnc_password from user_vm_view view to avoid decryption bottleneck. 2014-12-03 14:48:01 -08:00
Rohit Yadav 43f39a1ec3 packaging: updated hardcoded jasypt version to 1.9.2
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-04 04:02:46 +05:30
Rohit Yadav 482815d084 CLOUDSTACK-8011: Upgrade maven dependencies
Changes;
- Upgrades maven-war plugin to 4.5 (faster war packaging)
- Upgrade spring framework to latest minor release
- Upgrade ehcache, jasypt, httpclient, httpcore and other core dependencies
- Upgrade to latest ipv6 library, fix unit test NetUtilsTest
- httpcore and httpclient are sharing same version variable
- commons-httpclient is different that httpclient, the fix gives it a separate var
- Apidocs failed to generate and get stuck with new reflections version, for now
  we will continue using 0.9.8

Newer dependencies can be listed using:
mvn versions:display-dependency-updates -Dnoredist -Dsimulator -P developer,systemvm

Testing;
- Tested using Maven 3.2.1
- Local noredist build with unit tests succeeds
- CloudStack mgmt server started, basic business layer tests work
- Observed 10-15% build time improvement using new maven-war plugin

Branch: bugfix/4.5-8011 (commits are squashed in favour of a linear history)

Pull request:
https://github.com/apache/cloudstack/pull/50

This closes #50

TravisCI build summary:
https://travis-ci.org/shapeblue/cloudstack/builds/42902172

- Build passes with unit tests
- Apidocs generates successfully
- Most integration tests pass, some fail due to timeout errors, second re-run
  passes some of them

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

Conflicts:
	pom.xml
2014-12-04 02:14:54 +05:30
Min Chen 344d98e0bd CLOUDSTACK-7981: added back resource tag related columns to user_vm_view to support resource tag related search. 2014-12-03 09:48:07 -08:00
Jessica Wang 54f4240e0e CLOUDSTACK-8005: UI > storage > volume > Resize Volume action > hide "Shrink OK" checkbox when selected disk offering's disksize is bigger than the volume's disksize. Show it otherwise. 2014-12-02 11:16:08 -08:00
Gaurav Aradhye 98d75b0259 CLOUDSTACK-7991: test_security_groups.py - Move config data to test_data.py and fix pep8 issues
Signed-off-by: Pierre-Luc Dion <pdion891@apache.org>
2014-12-02 10:03:41 -05:00
Rohit Yadav d42e3df9cf CLOUDSTACK-7563: Fix potential NPE in checking answer
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-02 16:14:29 +05:30
Chandan Purushothama 4c21172f3b CLOUDSTACK-7979 : Fixed the script 'test_security_groups.py' - Zone Network Type Information should to be passed to VirtualMachine create method 2014-12-02 15:44:22 +05:30
Gaurav Aradhye 3d279bbb19 CLOUDSTACK-7993: Code enhancement - test_egress_fw_rules.py - Removing unncessary waits
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-02 15:40:47 +05:30
Gaurav Aradhye e6236297a1 CLOUDSTACK-8001: test_add_remove_network.py - Tag invalid test case as invalid
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-02 15:32:33 +05:30
Sheng Yang c987080c26 CLOUDSTACK-7999: Always override local keystore file with the entry in DB 2014-12-01 18:59:25 -08:00
Logan Barfield 3a36681b6e Fixed root disk resize on deploy for RBD.
Signed-off-by: Wido den Hollander <wido@widodh.nl>
(cherry picked from commit 3a52a83fae)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java
2014-12-02 01:56:37 +05:30
Wei Zhou bf9e1ae7e8 Deploy vm to specified host through Infrastructure -> Hosts -> <Select one> -> View Instances -> Add Instance
(cherry picked from commit ce2b2a1fc7)
2014-12-01 14:50:01 +01:00
Koushik Das 513adab51b CLOUDSTACK-7994: Network rules are not configured in VR after out-of-band movement due to host crash
Ensure that VR is re-booted when it is moved to another host out-of-band. This is necessary to re-program all network rules
2014-12-01 18:09:58 +05:30
Wei Zhou 21b0ad4a62 Remove error message when start management server if JAVA_HOME is not set
(cherry picked from commit 449d123ce7)
2014-12-01 13:38:27 +01:00
Loic Lambiel 99cb19787e CLOUDSTACK-7404: Failed to start an instance when originating template has been deleted
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
(cherry picked from commit c1bf7eeeee)
2014-12-01 13:05:12 +01:00
Rohit Yadav 1a67b6e98b README: add information about official git repository
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 45423c737e)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-01 17:10:35 +05:30
Rohit Yadav 5241d0faf8 CLOUDSTACK-7903: Fix build regression from previous fix
The previous fix tried to access StatsCollector from UsageManagerImpl
which is not possible due to dependency cycle.

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

Conflicts:
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2014-12-01 16:39:01 +05:30
Ilia Shakitko e124781445 CLOUDSTACK-7903: Decreased minimal usage aggregation range value
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 9b907902d2)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2014-12-01 15:55:30 +05:30
Pierre-Luc Dion 7afd123418 CLOUDSTACK-7482: removed listAll from UI for API call not supporting it, still some left 2014-11-30 21:14:03 -05:00
Pierre-Luc Dion 7ade8083d6 CHANGES.md: fixed in 4.5.0 initial list 2014-11-30 18:24:58 -05:00
Pierre-Luc Dion 4bb5d6713f Populate 4.4.1 and 4.4.2 changes 2014-11-30 18:17:49 -05:00
Pierre-Luc Dion 1b5cf79143 jira-changes.py: generate content for CHANGES.md from jira filter 2014-11-30 18:17:21 -05:00
Ian Duffy a2ede05d57 modify travis file to force true on test execution. The XML parser will determine failures
(cherry picked from commit 879f94c743)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	.travis.yml
2014-11-29 21:07:45 +05:30
Rohit Yadav d28b716d8a CLOUDSTACK-7989: Ignore Auth API calls in unauthenticated HTTP handlers
If an auth API call (such as login, logout) is called on unauthenticated port
such as the 8096 integration server port, we need to ignore such API calls
as calling auth APIs on 8096 is un-necessary and is undefined.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 21a6bef53b)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-28 15:46:17 +05:30
Wei Zhou 66afce66b4 Add support for Debian 7 on KVM/LXC 2014-11-27 20:42:50 +01:00
Wei Zhou 9928d66fda CLOUDSTACK-6893: fix enum ValueOf issue which causes systemvm fail to start
(cherry picked from commit 63ff5a7cbc)
(cherry picked from commit d0e0edca11)
2014-11-27 17:01:17 +01:00
Kishan Kavala 807bfb03e7 CLOUDSTACK-7320: Added default CentOS 7 template for LXC
Conflicts:
	setup/db/db/schema-442to450.sql
2014-11-27 18:13:55 +05:30
Hiroki Ohashi 0f8f6eff2c CLOUDSTACK-7412: Can't create proper template from VM on S3 secondary storage environment
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
2014-11-27 17:06:08 +05:30
Harikrishna Patnala cdfdda2051 CLOUDSTACK-6075: Increase the ram size for router service offering
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 488c17858f)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-27 16:05:34 +05:30
Hugo Trippaers 737a4c43ca The template for the system VM is Wheezy 7 not Wheezy 7.0 on XenServer 6.4.99
(cherry picked from commit 612b4ae6d9)
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2014-11-27 10:29:53 +01:00
Min Chen bf8dd828f5 CLOUDSTACK-7981: listVirtualMachine is too slow in case of duplicate
resource tags due to joining user_vm_details to user_vm_view.
2014-11-26 17:40:06 -08:00
amoghvk 86576593be Adding support for RHEL 6.5 2014-11-26 14:08:02 -08:00
Koushik Das 3fc392abf8 CLOUDSTACK-7960: [Automation] Creation of Volume from Snapshot fails due to StringIndexOutOfBoundsException
Fixed the appropriate CopyCommand handler in simulator plugin
2014-11-26 16:00:54 +05:30
Koushik Das d55059dd5d CLOUDSTACK-7973: Proper handler for FenceCommand in simulator
Added a proper handler for FenceCommand in simulator
2014-11-26 15:58:47 +05:30