Commit Graph

23352 Commits

Author SHA1 Message Date
Santhosh Edukulla
87c3d77518 Fixed coverity issues
(cherry picked from commit 4ba3aae2ea)
2014-06-12 14:44:26 +02:00
Jayapal
80d8cef240 CLOUDSTACK-6899: Added vmId in listnics response
(cherry picked from commit e9f60ee292)
2014-06-12 14:18:42 +02:00
Santhosh Edukulla
ce334b4ee5 CLOUDSTACK-6791 Fixed the issue
(cherry picked from commit 62cc238e12)
2014-06-12 13:43:44 +02:00
Murali Reddy
1c17df853f CLOUDSTACK-6755: [OVS] Can't create more than 7 GRE tunnel networks in
xen cluster

XenServer does not create a bridge automatically when VIF from domU is connected
to internal network. So there is logic to force bridge creation by
creating VIF in dom0 connected to GRE tunnel network. But there is no
logic to delete the VIF after bridge gets created. So this fix ensure
VIF is delted when atleast there is one domU VIF connected to the
network.

(cherry picked from commit 9e4e62466a)
2014-06-12 12:38:12 +02:00
Saksham Srivastava
40d3503760 CLOUDSTACK-6812: Do not allow edit of storage.overprovision.factor for non supported types
(cherry picked from commit f14f36170e)
2014-06-12 12:25:55 +02:00
Saksham Srivastava
9771e79b1b CLOUDSTACK-6654: Configkey parameters are not validated
(cherry picked from commit 5bcd017de6)
2014-06-12 12:25:14 +02:00
Saksham Srivastava
23b7993d58 CLOUDSTACK-6864: UploadSSlCert API requires double encoding of URL params
(cherry picked from commit c5ee5ad5c8)
2014-06-12 12:23:52 +02:00
Jessica Wang
b24f5355f3 CLOUDSTACK-6602: UI - VPC - createNetworkACL - fix a bug that caused wrong value being passed to action parameter in API call.
(cherry picked from commit 95b7330d56)
2014-06-12 12:21:34 +02:00
Nitin Mehta
a1ab3364f4 CLOUDSTACK-6895: 1. Populate firstclass entities as uuids in the context instead of dbids for performance.
2. Add ctxDetails in the ParamGenericValidationWorker to avoid warning for api validation
3. Add some missing events.
4. Correcting mapping for ResourceObjectType.NetworkACL and ResourceObjectType.NetworkACLItem

(cherry picked from commit 8a9092c3cd)

Conflicts:
	api/src/com/cloud/event/EventTypes.java
	api/src/org/apache/cloudstack/api/BaseCmd.java
2014-06-12 12:18:12 +02:00
Milamber
d6a92b4c59 Update L10N strings from Transifex to repo (before 4.4 next RC) 2014-06-12 07:55:42 +01:00
Harikrishna Patnala
0667f678b8 CLOUDSTACK-6869: SSH Public key content is overridden by template's meta data when you create a instance
(cherry picked from commit aa75b43885)
2014-06-11 16:10:49 +02:00
Min Chen
891ec9bd54 CLOUDSTACK-6890:createVPC invoked by admin does not observe start flag.
(cherry picked from commit 09a357fb90)
2014-06-11 10:08:40 +02:00
Joris van Lieshout
99aa7a096a 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)
(cherry picked from commit ed330d4dcd)
2014-06-10 16:29:01 +02:00
Joris van Lieshout
8ff5ca0b2f 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)
(cherry picked from commit 94bb5c29b2)
2014-06-10 16:28:51 +02:00
Daan Hoogland
4262080ba4 rats
(cherry picked from commit b85dd956f8)

(cherry picked from commit 5eb0265349)
2014-06-10 16:28:41 +02:00
Joris van Lieshout
3394d3c4f5 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)
(cherry picked from commit f94ff4ad04)
2014-06-10 16:28:34 +02:00
Joris van Lieshout
1e35431dec 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)
(cherry picked from commit af4e868547)
2014-06-10 16:28:22 +02:00
Olivier Lemasle
c934e7b052 CLOUDSTACK-6850: Return cpu cores, cpu speed and memory in listUsageRecords
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
(cherry picked from commit a1f278e9d4)
2014-06-10 13:39:43 +02:00
amoghvk
b490da25ba CLOUDSTACK-6358: Remove hardcoded VMware mappings, handle snapshots
(cherry picked from commit a4b401f29f)
2014-06-10 13:18:56 +02:00
amoghvk
04665ee256 CLOUDSTACK-6710: Add missing OS mappings
(cherry picked from commit ac92b36903)
2014-06-10 13:18:08 +02:00
Rajesh Battala
fc7d0b2a33 CLOUDSTACK-6603 [Upgrade]DB Exception while Autoscale monitoring after upgrading from 4.3 to 4.4
(cherry picked from commit c282bb3a12)
2014-06-09 21:20:03 +02:00
Olivier Lemasle
6721701a54 CLOUDSTACK-6669: Fix support resize in usage server
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
(cherry picked from commit f0ea44daf1)
2014-06-07 11:01:07 +02:00
Min Chen
65bffefd0b CLOUDSTACK-6859:Management Server PermGen run out of memory after some
time due to class leak.

(cherry picked from commit 961cd7657e)
2014-06-07 10:17:15 +02:00
Alena Prokharchyk
3a578fff1f CLOUDSTACK-6585: added missing db upgrade statements
(cherry picked from commit 9e2db2f221)
2014-06-06 22:09:34 +02:00
Daan Hoogland
beaa65f777 try-with-resource to prevent resource leaks
(cherry picked from commit 39f775c381)
2014-06-06 19:28:21 +02:00
sedukull
6c0b43431f CLOUDSTACK-6793: Fixed an invalid Domain Id Issue
Signed-off-by: sedukull <santhosh.edukulla@gmail.com>
(cherry picked from commit 91d054cb00)
2014-06-06 15:54:45 +02:00
Alena Prokharchyk
0b08d5319c Fixed unittest
(cherry picked from commit 96bfa8a73f)
2014-06-06 13:43:56 +02:00
Alena Prokharchyk
e6c37ffd41 CLOUDSTACK-6853: Search for non-removed nics only when check if the running vm belongs to a certain network
(cherry picked from commit 03623fe57e)
2014-06-06 13:42:12 +02:00
Alena Prokharchyk
11d8c953e3 CLOUDSTACK-6676: cleanup ip address details on ip disassoc
(cherry picked from commit 66df43572e)
2014-06-06 13:41:23 +02:00
Koushik Das
5fe7eb3357 CLOUDSTACK-6843: [Automation] List listServiceOfferings api fails with NPE
Incorrect parameter name used in query building resulted in a bad sql query.

(cherry picked from commit 025c143ac7)
2014-06-05 15:51:39 +02:00
Rajesh Battala
073928fef5 CLOUDSTACK-6831 [Hyper-V] Improve the logging for VM snapshot failures as it is not supported. Right now it is throwing NPEs
(cherry picked from commit d59cc1ff8f)
2014-06-05 14:36:17 +02:00
Rajesh Battala
1f7d2ee091 CLOUDSTACK-6833 [Hyper-V] Volume snapshot creation returns success even though snapshots are not supported for Hyper-V
(cherry picked from commit 945e879bf2)
2014-06-05 12:21:14 +02:00
Edison Su
91391e6779 CLOUDSTACK-6464: if guest network type is vlan://untagged, and traffic label is used, kvm agent needs to honor traffic label
(cherry picked from commit dfb59cd6cc)
2014-06-04 16:49:43 +02:00
Daan Hoogland
c6e00c6825 release branch fix 2014-06-04 15:03:36 +02:00
Edison Su
3f0dcc76ae CLOUDSTACK-5505: if vpc public network with snat enabled, then will triger this issue
(cherry picked from commit 5e80e5d33d)
2014-06-04 09:26:25 +02:00
Nitin Mehta
16afdc0314 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-04 09:24:13 +02:00
Rajani Karuturi
004e0cbf61 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>
2014-06-03 15:38:16 +02:00
Nitin Mehta
9fd0655adb CLOUDSTACK-6599: Add the column in Java upgrade path since 4.2 already has the extract template/volume columns
Conflicts:
	engine/schema/src/com/cloud/upgrade/dao/Upgrade430to440.java
2014-06-03 10:04:52 +02:00
Nitin Mehta
9286417f05 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

(cherry picked from commit 48ea9e0b5e)
2014-06-03 10:02:06 +02:00
Rajani Karuturi
b941b1882c 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:21:50 +02:00
Daan Hoogland
e249038ee5 update vlan uris 2014-06-02 15:53:18 +02:00
ynojima
426c8741b2 CLOUDSTACK-6816 bugfix: cloudstack-setup-management make /root directory's permission 0777 improperly 2014-05-31 22:32:26 +02:00
Rajani Karuturi
c476312a10 FIXED CLOUDSTACK-6669 Support volume resize in usage server 2014-05-30 19:07:25 +02:00
Rajani Karuturi
fab339e4cf FIXED CLOUDSTACK-6808 Need to add Database Information to Alter table statements in a commit to schema-430to440.sql 2014-05-30 19:05:28 +02:00
Devdeep Singh
3b642c7578 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 19:03:21 +02:00
rayeesn
b4021284b8 CLOUDSTACK-6392: system template always create with name master instead of specific branch
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-05-30 09:45:38 +02:00
Hiroki Ohashi
58d4a2400a Allow usaage reporting on removed service offering 2014-05-29 19:13:39 +02:00
Rajani Karuturi
032be54fc6 FIXED CLOUDSTACK-6781 [Automation] integration.smoke.test_portable_publicip.TestPortablePublicIPRange.test_createPortablePublicIPRange failing on 4.4
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-05-28 10:11:47 +02:00
Wido den Hollander
93cc3e80d9 CLOUDSTACK-6783: Return a proper LibvirtStoragePool object after creating the pool
In situations where libvirt lost the storage pool the KVM Agent will re-create the
storage pool in libvirt.

This could be then libvirt is restarted for example.

The object returned internally was missing essential information like the sourceDir
aka the Ceph pool, the monitor IPs, cephx information and such.

In this case the first operation on this newly created pool would fail. All operations
afterwards would succeed.
2014-05-27 16:39:49 +02:00
Jayapal
c83e90b008 CLOUDSTACK-6328: added license header and removed white space 2014-05-27 11:26:56 +02:00