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
Anshul Gangwar
92bc68d1f1
CLOUDSTACK-6663: Fixed Hyper-V agent fails to start on some setups. During startup agent tries
...
to get nic info of 0.0.0.0. To get it, it iterates through all nics and return the last NIC in
the list if it doesn't match with any IP address. In case last NIC doesn't have unicastAddress,
Hyper-V agent will fail to start. We don't need IP address during initialization. It get
initialized with startupcommand later.
2014-05-27 10:44:34 +02:00
Saurav Lahiri
d298546ccc
CLOUDSTACK-6328: run.sh check if an existing java process is running, before spawining new ones
...
Signed-off-by: Jayapal <jayapal@apache.org>
2014-05-27 10:42:23 +02:00
Jayapal
9bb35ce11d
CLOUDSTACK-6761: Fixed removing proxy arp rule on deleting static nat or PF rule on ip
...
The proxy-arp add/del is done on firewall rule add/del.
The proxy-arp rule is deleted only when there is no static nat or dest nat rule is not using the ip.
When there is static nat or PF and firewall rule
a. Delete firewall rule. It skips delete proxy-arp because the rule is used by static nat rule.
b. After deleting fw rule if we disable static nat there is no way to delete proxy-arp rule.
On VM expunge we are deleting firewall rules first then static nat rules. This caused the stale proxy-arp
rules.
With this fix adding/deleting proxy arp rule on static nat/PF rule add/del.
2014-05-27 10:39:13 +02:00
Rajani Karuturi
df42ce903d
Fixed CLOUDSTACK-6756: usage id is not being returned for an ip in deleted ip range
2014-05-27 10:37:55 +02:00
Rajesh Battala
1fea5d9ea7
Fixed windows line ending issues
...
Conflicts:
plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs
2014-05-26 14:40:43 +02:00
Daan Hoogland
6f2ee6daac
CLOUDSTACK-6485 prevent ipaddress asignment of gateway to gateway-interface on vpc router
2014-05-24 19:45:18 +02:00
Min Chen
3fc781d660
Convert windows line ending to unix forIAMService.java.
2014-05-24 09:40:53 +02:00
Ian Duffy
ec28b2bc27
Resolve issue with build script for systemvm hanging due to libssl waiting on a input prompt caused by apt-get update
2014-05-23 10:16:13 +02:00
Min Chen
f002e4d161
CLOUDSTACK-6752: IAM command class separation caused ApiDoc warning of
...
duplicated cmd class for the same api name.
2014-05-23 10:10:12 +02:00
Min Chen
f1a586e9be
CLOUDSTACK-6745:DomainAdmin is not able to deploy Vm for users in his
...
domain/subdomain.
2014-05-23 10:07:18 +02:00
Amogh Vasekar
b0b71e59e9
CLOUDSTACK-6671: Fixing NPE when a mapping is missing
...
Adding missing KVM mappings
Testing Done:
Local testing with removing CentOS mapping and launch a VM.
Signed-off-by: Nitin Mehta <nitin.mehta@citrix.com>
2014-05-22 20:38:57 +02:00