23576 Commits

Author SHA1 Message Date
Joris van Lieshout
2e83baaca2 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>
2014-06-10 16:06:58 +02:00
Joris van Lieshout
c54ce3cafb 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>
2014-06-10 15:51:03 +02:00
Joris van Lieshout
11f532bbec 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>
2014-06-10 15:45:15 +02:00
Joris van Lieshout
bfccf439cf 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>
2014-06-10 15:42:40 +02:00
Rajani Karuturi
b666a1f3a5 Fixed issues reported by coverity NPEs, unwritten field access and self assignment
Signed-off-by: Koushik Das <koushik@apache.org>
2014-06-10 14:34:47 +05:30
Olivier Lemasle
a5902f1db4 CLOUDSTACK-6850: Return cpu cores, cpu speed and memory in listUsageRecords
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-06-10 03:11:35 -04:00
Jessica Wang
044c5e0eee CLOUDSTACK-6852: UI - modules - add DR fields to volume detailView, network detailView, zone detailView. 2014-06-09 11:43:20 -07:00
Tim Mackey
a8212d9ef4 Cleanup of Xen and XenServer terms. Cloned xen plugin creating a xenserver plugin, then removed xen plugin
Signed-off-by: Tim Mackey <tmackey@gmail.com>
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-06-07 04:50:23 -04:00
Olivier Lemasle
303e6ffc1e CLOUDSTACK-6669: Fix support resize in usage server
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-06-07 04:45:44 -04:00
Min Chen
25580c7cd1 CLOUDSTACK-6859:Management Server PermGen run out of memory after some
time due to class leak.
2014-06-06 23:57:26 -07:00
Prachi Damle
3b3f4577b0 CLOUDSTACK-6476: Basic Zone with Multiple Pods Setup: DHCP server doesnt get deployed in the pod where the VM gets deployed
Changes:
PodId in which the router should get started was not being saved to the DB due to the VO's setter method not following the setXXX format. So when planner loaded the router from DB, it always got podId as null and that would allow planner to deploy the router in any pod. If the router happens to start in a different pod than the user VM, the Vm fails to start since the Dhcp service check fails.

Fixed the VO's setPodId method, that was causing the DB save operation fail.
2014-06-06 16:15:31 -07:00
Jessica Wang
36ec16e4f5 CLOUDSTACK-6852: UI - modules - (1) add new shared function addExtraPropertiesIfDrModuleIncluded(). (2) add DR fields to Instances detailView. 2014-06-06 15:18:46 -07:00
Jessica Wang
ea196a4ffc CLOUDSTACK-6858: UI - remove obsolete variable rootAccountId whose value is no longer 1. 2014-06-06 13:30:13 -07:00
Jessica Wang
a8a853e322 CLOUDSTACK-6852: UI - modules - add global variable drModuleIncluded. 2014-06-06 13:29:53 -07:00
Alena Prokharchyk
2459f55c23 CLOUDSTACK-6585: added missing db upgrade statements 2014-06-06 11:00:28 -07:00
sedukull
b43517c496 CLOUDSTACK-6856 : Fixed few data corruption and retries issues for failing cases
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-06-06 21:52:03 +05:30
Daan Hoogland
39f775c381 try-with-resource to prevent resource leaks 2014-06-06 17:38:18 +02:00
Alena Prokharchyk
ac1b4b0316 Fixed unittest 2014-06-05 18:37:56 -07:00
Alena Prokharchyk
57e66ddaa6 CLOUDSTACK-6676: cleanup ip address details on ip disassoc 2014-06-05 17:36:32 -07:00
Alena Prokharchyk
2ed9b474d8 CLOUDSTACK-6853: Search for non-removed nics only when check if the running vm belongs to a certain network 2014-06-05 17:09:32 -07:00
Jessica Wang
4b4fb1ac90 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:49:19 -07:00
Jessica Wang
f2a8082a43 CLOUDSTACK-6852: UI - add sharedFunction isModuleIncluded(). 2014-06-05 13:48:51 -07:00
Brian Federle
2ac0013505 List view: multi-select actions: Show loading icon during action 2014-06-05 12:29:20 -07:00
Hugo Trippaers
8b5ec64842 Small fix for people that have JDK 1.8 installed on MacOSX and don't bother to fix their links 2014-06-05 15:35:05 +02:00
Koushik Das
d34419579e 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:57:38 +05:30
Leo Simons
95314ac452 Fix set-eclipse-profile.sh to work with mac/bsd sed.
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-06-05 09:40:37 +02:00
Bharat Kumar
96272f4cde CLOUDSTACK-6776: Removed hard coded vlan ids from BVT test_non_contiguous_vlan.py
Conflicts:
	test/integration/smoke/test_non_contigiousvlan.py
2014-06-05 11:33:08 +05:30
Daan Hoogland
7ccf4bd169 release branch fix
(cherry picked from commit c6e00c6825509bb56dcafea2947e89b7b9e396b3)
2014-06-04 15:04:58 +02:00
Damodar Reddy
603eab751a CLOUDSTACK-6701, CLOUDSTACK-6702:
1. Integrate System Seed Template into MSI Installer
2. Added progress bar status messages for custom actions at needed places.

Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-06-04 12:23:33 +05:30
Brian Federle
c312aa95c2 List view->Detail view: Add new parameter 'noPanelView'
Adds 'noPanelView' option for detail view connected to list view. When
specified, don't support opening the detail view in a new browser pane (i.e.,
only render quickview).
2014-06-03 11:25:57 -07:00
Hugo Trippaers
703febc64b Fix CID-1147052 Use try-with-resources to fix the leak 2014-06-03 17:20:16 +02:00
Hugo Trippaers
d21a15beb2 Fix CID-1212194 Resource like dues to left-open statements and
resultsets
2014-06-03 16:52:58 +02:00
Hugo Trippaers
a59db987f9 Fix CID-1219920 Dereference before null check 2014-06-03 16:39:32 +02:00
Rajani Karuturi
fa3bbe9a19 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 004e0cbf61e9bf29bd716c8a0d7ac2f10c57433b)
2014-06-03 15:39:28 +02:00
Rajani Karuturi
793462e5fa 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:19:58 +05:30
Rajani Karuturi
2424d9a9e0 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:09:55 +02:00
Nitin Mehta
8b6dc7ce2f 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.
(cherry picked from commit 73330167228d14ea8494c9c1893627b6936626a7)
2014-06-02 17:55:09 -07:00
Rohit Yadav
eb8e630f24 AlertGenerator: Fix NPE from CLOUDSTACK-3272
There was a commit 4b89a45e571a34dff0191d501089aa9b1046bc08 on master which was
added by "root@devcloud.apache.org" with no committer signature so I cannot tell
whom to reach. In the code it looks like they forgot to initialize the static
config dao variable which is causing NPE on master. The fix simply initializes
the s_configDao with injected configDao object.

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2014-06-02 22:43:27 +05:30
Daan Hoogland
44012ddadf update vlan uris
Conflicts:
	engine/schema/src/com/cloud/upgrade/dao/Upgrade430to440.java
2014-06-02 15:57:18 +02:00
ynojima
ab89eb106f CLOUDSTACK-6816 bugfix: cloudstack-setup-management make /root directory's permission 0777 improperly 2014-05-31 12:54:09 -06:00
Nitin Mehta
81d3a9e3ee CLOUDSTACK-6599: Add the column in Java upgrade path since 4.2 already has the extract template/volume columns
(cherry picked from commit be765ce8680564b743a73dd360c590c0e495c204)
2014-05-30 14:56:05 -07: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
Rajani Karuturi
bdde5335f9 FIXED CLOUDSTACK-6669 Support volume resize in usage server 2014-05-30 15:03:02 +05:30
Rajani Karuturi
dbd05e3ff5 FIXED CLOUDSTACK-6808 Need to add Database Information to Alter table statements in a commit to schema-430to440.sql 2014-05-30 15:02:18 +05:30
Devdeep Singh
7c2b1deb34 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:46:39 +05:30
Brian Federle
0b5163f8cf Tree view: Add event hook on sub-item removal 2014-05-29 14:02:47 -07:00
Jessica Wang
9f4d464640 CLOUDSTACK-6805: UI > create account > fix a bug that account creation failed when password contains # character. 2014-05-29 12:58:47 -07:00
Brian Federle
e656fd67a0 Tree view: Add event hook on sub-item creation 2014-05-29 12:53:36 -07:00
Hiroki Ohashi
3256e88623 Allow usaage reporting on removed service offering 2014-05-29 19:12:11 +02:00
monism
cdf4047ce8 CLOUDSTACK-6282-Added Autometed test for network APIs after incorporating review comments 2014-05-29 18:03:12 +05:30