Commit Graph

23442 Commits

Author SHA1 Message Date
Joris van Lieshout
ed330d4dcd xenstore-utils on debian wheezy does not have /usr/sbin/xenstore so these commands file. It does have xenstore-write and xenstore-rm so by adding a - this is fixed easily.
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit 2e83baaca2)
2014-06-10 16:27:28 +02:00
Joris van Lieshout
94bb5c29b2 If for some reason dnsmasq.log does not exist anymore logrotate will create it with nobody as owner. This will prevent dnsmasq deamon from logging to that file.
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit c54ce3cafb)
2014-06-10 16:26:42 +02:00
Daan Hoogland
5eb0265349 rats
(cherry picked from commit b85dd956f8)
2014-06-10 16:25:55 +02:00
Joris van Lieshout
f94ff4ad04 blacklist pcspkr as cosmetic improvement. aesni_intel blacklisting was not working because the include only works if the file ends with .conf.
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit 11f532bbec)
2014-06-10 16:25:19 +02:00
Joris van Lieshout
af4e868547 By preloading some modules we fix two things. 1. Some sysctl settings like ip_conntrack_max are not set during boot because the module is not loaded at that time. 2. Passive ftp does not work through iptables without these modules.
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit bfccf439cf)
2014-06-10 16:24:17 +02:00
Saksham Srivastava
5bcd017de6 CLOUDSTACK-6654: Configkey parameters are not validated 2014-06-10 18:27:54 +05:30
Saksham Srivastava
c5ee5ad5c8 CLOUDSTACK-6864: UploadSSlCert API requires double encoding of URL params 2014-06-10 16:26:05 +05:30
Rajani Karuturi
390e498dc5 Fixed issues reported by coverity NPEs, unwritten field access and self assignment
Signed-off-by: Koushik Das <koushik@apache.org>
2014-06-10 14:23:43 +05:30
Olivier Lemasle
a1f278e9d4 CLOUDSTACK-6850: Return cpu cores, cpu speed and memory in listUsageRecords
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-06-10 03:12:29 -04:00
amoghvk
a4b401f29f CLOUDSTACK-6358: Remove hardcoded VMware mappings, handle snapshots 2014-06-09 17:07:04 -07:00
amoghvk
ac92b36903 CLOUDSTACK-6710: Add missing OS mappings 2014-06-09 16:23:46 -07:00
Jessica Wang
1641b28054 CLOUDSTACK-6852: UI - modules - add DR fields to volume detailView, network detailView, zone detailView. 2014-06-09 11:42:13 -07:00
Koushik Das
89a03c7099 CLOUDSTACK-6873: Tagged tests based on the limitation described in the bug 2014-06-09 16:45:17 +05:30
Rajesh Battala
c282bb3a12 CLOUDSTACK-6603 [Upgrade]DB Exception while Autoscale monitoring after upgrading from 4.3 to 4.4 2014-06-09 14:42:16 +05:30
Olivier Lemasle
f0ea44daf1 CLOUDSTACK-6669: Fix support resize in usage server
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-06-07 04:46:41 -04:00
Min Chen
961cd7657e CLOUDSTACK-6859:Management Server PermGen run out of memory after some
time due to class leak.
2014-06-06 23:45:53 -07:00
Jessica Wang
e9ebe6e22e CLOUDSTACK-6852: UI - modules - (1) add new shared function addExtraPropertiesIfDrModuleIncluded(). (2) add DR fields to Instances detailView. 2014-06-06 15:17:51 -07:00
Jessica Wang
d991e37865 CLOUDSTACK-6858: UI - remove obsolete variable rootAccountId whose value is no longer 1. 2014-06-06 13:29:04 -07:00
Jessica Wang
c29ed73d4d CLOUDSTACK-6852: UI - modules - add global variable drModuleIncluded. 2014-06-06 13:28:22 -07:00
Alena Prokharchyk
9e2db2f221 CLOUDSTACK-6585: added missing db upgrade statements 2014-06-06 11:09:38 -07:00
Daan Hoogland
fc52e641d8 try-with-resource to prevent resource leaks
(cherry picked from commit 39f775c381)
2014-06-06 19:24:08 +02:00
sedukull
91d054cb00 CLOUDSTACK-6793: Fixed an invalid Domain Id Issue
Signed-off-by: sedukull <santhosh.edukulla@gmail.com>
2014-06-06 14:09:51 +02:00
Alena Prokharchyk
96bfa8a73f Fixed unittest 2014-06-05 18:20:33 -07:00
Alena Prokharchyk
66df43572e CLOUDSTACK-6676: cleanup ip address details on ip disassoc 2014-06-05 17:26:01 -07:00
Alena Prokharchyk
03623fe57e CLOUDSTACK-6853: Search for non-removed nics only when check if the running vm belongs to a certain network 2014-06-05 17:07:52 -07:00
Jessica Wang
9b9154132d CLOUDSTACK-6852: UI - attach volume action - VM dropdown - populate options based on whether module is included and whether service is enabled. 2014-06-05 13:47:46 -07:00
Jessica Wang
431ea8e9c2 CLOUDSTACK-6852: UI - add sharedFunction isModuleIncluded(). 2014-06-05 13:47:10 -07:00
Rajesh Battala
d59cc1ff8f CLOUDSTACK-6831 [Hyper-V] Improve the logging for VM snapshot failures as it is not supported. Right now it is throwing NPEs 2014-06-05 15:06:24 +05:30
Rajesh Battala
945e879bf2 CLOUDSTACK-6833 [Hyper-V] Volume snapshot creation returns success even though snapshots are not supported for Hyper-V 2014-06-05 15:06:24 +05:30
Koushik Das
025c143ac7 CLOUDSTACK-6843: [Automation] List listServiceOfferings api fails with NPE
Incorrect parameter name used in query building resulted in a bad sql query.
2014-06-05 13:53:57 +05:30
Bharat Kumar
81bf37f338 CLOUDSTACK-6776: Removed hard coded vlan ids from BVT test_non_contiguous_vlan.py 2014-06-05 11:11:38 +05:30
Bharat Kumar
b4cb969d9b CLOUDSTACK-6769 Test case failure in test_iso.py Disableing all the tests in this suite untill issues mentioned in the above ticket are resolved.
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-06-05 09:37:07 +05:30
Edison Su
dfb59cd6cc CLOUDSTACK-6464: if guest network type is vlan://untagged, and traffic label is used, kvm agent needs to honor traffic label 2014-06-03 13:35:10 -07:00
Edison Su
5e80e5d33d CLOUDSTACK-5505: if vpc public network with snat enabled, then will triger this issue 2014-06-03 11:11:10 -07:00
Daan Hoogland
0329bebac5 update vlan uris
Conflicts:
	engine/schema/src/com/cloud/upgrade/dao/Upgrade430to440.java

(cherry picked from commit 44012ddadf)
2014-06-03 15:41:47 +02:00
Rajani Karuturi
bd5cd69517 Fixed ResouceLeak on pstmtCidr in the function Upgrade430to440.moveCidrsToTheirOwnTable as reported by coverity
Fixed another leak which might occur due to outer while loop.

Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit 004e0cbf61)
(cherry picked from commit fa3bbe9a19)
2014-06-03 15:41:24 +02:00
Rajani Karuturi
d511847cfe Fixed Resource leak (RESOURCE_LEAK) 11. overwrite_var: Overwriting "pstmt" in "pstmt = conn.prepareStatement("INSERT INTO cloud.ldap_configuration(hostname, port) VALUES(?,?)")" leaks the resource that "pstmt" refers to.
Signed-off-by: Koushik Das <koushik@apache.org>
2014-06-03 17:32:43 +05:30
Rajani Karuturi
67d92726cb Fixed ResouceLeak on pstmtCidr in the function Upgrade430to440.moveCidrsToTheirOwnTable as reported by coverity
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2014-06-03 09:19:29 +02:00
Nitin Mehta
7333016722 CLOUDSTACK-6824: In case there is a failure to delete the soft link of a download url, dont bail out since there can be cases such as destroy ssvm where the soft links do not exist any more. 2014-06-02 17:52:37 -07:00
ynojima
1f7167555d CLOUDSTACK-6816 bugfix: cloudstack-setup-management make /root directory's permission 0777 improperly 2014-05-31 12:54:55 -06:00
Nitin Mehta
be765ce868 CLOUDSTACK-6599: Add the column in Java upgrade path since 4.2 already has the extract template/volume columns 2014-05-30 14:53:42 -07:00
Nitin Mehta
48ea9e0b5e 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:23:50 -07:00
Rajani Karuturi
cc663bb7fc FIXED CLOUDSTACK-6669 Support volume resize in usage server 2014-05-30 14:50:52 +05:30
Rajani Karuturi
c5a1423d3d FIXED CLOUDSTACK-6808 Need to add Database Information to Alter table statements in a commit to schema-430to440.sql 2014-05-30 14:50:40 +05:30
Devdeep Singh
f5ce280da3 CLOUDSTACK-6810: Fix storage migration of a vm with volume on local was failing. When a plan
with hostid included was passed to the local storage pool allocator, it returned all the local
storage pools in the cluster, instead of just the local pool on the given host in the plan.
This was happening the search at a host level was happening only for data disk. Fixed this.
Additionally, the query to list the storage pools on a host was failing if the pool did have
tags. Fixed the query too.

CLOUDSTACK-6802: Fix for not being able to attach data disk on local. This issue gets fixed
with the above issue too. The query to list pools on a host was failing if there were no
tags on the storage pool.
2014-05-30 14:34:53 +05:30
Jessica Wang
76c71c7bc1 CLOUDSTACK-6805: UI > create account > fix a bug that account creation failed when password contains # character. 2014-05-29 11:52:42 -07:00
Daan Hoogland
f9c57daf28 Merge branch '4.4-forward' of https://git-wip-us.apache.org/repos/asf/cloudstack into 4.4-forward 2014-05-29 19:22:04 +02:00
Hiroki Ohashi
0710c089c2 Allow usaage reporting on removed service offering 2014-05-29 19:21:42 +02:00
Gaurav Aradhye
323de6823d CLOUDSTACK-6782: Egress FW rules test cases - Format unicode to string before string matching 2014-05-29 11:08:38 +05:30
Harikrishna Patnala
80b9849981 Disabling the failed test cases mentioned in the following tickets integration.smoke.test_iso - CLOUDSTACK-6769, CLOUDSTACK-6774
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-05-28 11:51:49 +05:30