26589 Commits

Author SHA1 Message Date
Daan Hoogland
7b51fda3b0 finbugs: mark false positive
hostuuid might be found after ten iterations.
2015-03-25 18:14:57 +01:00
Daan Hoogland
05099734fb findbugs: removed redundant null check 2015-03-25 18:12:42 +01:00
Daan Hoogland
c49273e3ab findbugs: to many lines removed in last commit 2015-03-25 17:55:11 +01:00
Daan Hoogland
8957dffc0d findbugs: dead store / unused locals removed 2015-03-25 17:54:12 +01:00
Daan Hoogland
61e38a188b findbugs: use explicit default charset encoding 2015-03-25 17:50:29 +01:00
Daan Hoogland
fa56045665 findbugs: wrapper object comparison (fixed) 2015-03-25 17:12:51 +01:00
Rohit Yadav
8fe3c0b8ba appliance: remove raw.img before exporting and building template for KVM
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-25 17:27:03 +05:30
Rohit Yadav
caba04d173 engine: add DB upgrade path from 4.4.3 to 4.5.0/4.5.1
Upgrade path extends over upgrade path from 4.4.2 to 4.5.0

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

Conflicts:
	engine/schema/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
2015-03-25 11:38:39 +05:30
Abhinav Roy
ead41f9215 changes made after second review
Signed-off-by: Sowmya Krishnan <sowmya.krishnan@citrix.com>
2015-03-24 17:46:22 +05:30
Yitao Jiang
52ffccff5f tools/apidoc: Fix the bug when build apidoc under windows cygwin environment
This closes #114

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-24 17:24:34 +05:30
Gaurav Aradhye
78fd8cf2cf Setting the default value of flag to False
This closes #127

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-24 16:58:11 +05:30
Gaurav Aradhye
54a4b2bad7 CLOUDSTACK-8278: Usage test path - Correct code flow in case the usage job configuration is not to be set through test case
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-24 16:58:07 +05:30
Gaurav Aradhye
191bcdd439 CLOUDSTACK-8251: Adding automation test cases for dedicated public IP ranges
This closes #128

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-24 16:56:33 +05:30
Rene Moser
dc2aa8a808 systemvm: use Debian http redirector for backports
This closes #123

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-24 16:51:05 +05:30
Damodar
27fa8a9453 CLOUDSTACK-7948: Two VOLUME.DELETE Events are being registered instead of one - On Destroying a User VM belonging to a Project 2015-03-23 16:27:21 +05:30
Gaurav Aradhye
c09427401a CLOUDSTACK-8340: Adding test case for stop/start operation for VPC router
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
 This closes #122
2015-03-23 15:57:12 +05:30
Rohit Yadav
6a881b9337 systemvmtemplate: install irqbalance from wheezy-backports
Ported systemvm enhancement by Rene Moser <rene.moser@swisstxt.ch> from
https://github.com/apache/cloudstack/pull/119

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-23 14:31:12 +05:30
Rene Moser
33280ade2e systemvm: fix/improve irqbalance on multicore VR.
This is a known issue in irqbalance 1.0.3 and was partially fixed in 1.0.4.
Using the package 1.0.6 from wheezy backports helped on many VRs balancing the
interrupts, but not on all.

It seems only 1.0.7 fixes all issues regarding this, also see thread in user ML
http://mail-archives.apache.org/mod_mbox/cloudstack-users/201503.mbox/%3C5508540E.4090302%40renemoser.net%3E

This closes #119

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit a45f0e29e226b057beea1a18bb7a366880648ee6)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-23 14:21:13 +05:30
Amogh Vasekar
35b741a1c9 excluded plain text authenticator
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
2015-03-23 11:59:47 +05:30
Pierre-Luc Dion
a86dbd3c20 remove 'double quotes' from description because it cause problem with integration tests 2015-03-21 21:04:09 -04:00
Gaurav Aradhye
8031b62b7f Adding more test case for shared network
This closes #120
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-03-20 17:32:25 +05:30
Gaurav Aradhye
02c7bc0201 CLOUDSTACK-8336: Adding test for shared network restart, with and without cleanup
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-03-20 17:32:14 +05:30
Rohit Yadav
694b723899 CLOUDSTACK-8312: Fix NPE regression, copy template can have NULL volume size
The copy command reply can have null size returned, so check and set values

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 53ca0b1861c743caf61ec04f776c87eac334f185)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-20 17:27:14 +05:30
Gaurav Aradhye
62a733e8cf CLOUDSTACK-8330: Tagging test cases which should be run with vmware dvs configuration
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-03-20 17:20:55 +05:30
SrikanteswaraRao Talluri
5cea73d413 Revert "Merge branch '8330' of https://github.com/gauravaradhye/cloudstack"
This reverts commit f4498c48e30b473b2388c012b2e745bcbf9261c4, reversing
changes made to 7a2e27c3b3b3a3fef887f2bdcaa47a4980d904e4.
2015-03-20 17:14:07 +05:30
SrikanteswaraRao Talluri
f4498c48e3 Merge branch '8330' of https://github.com/gauravaradhye/cloudstack
This closes #121
2015-03-20 16:14:25 +05:30
Rohit Yadav
7a2e27c3b3 appliance: save md5 checksums after building systemvm templates
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-20 15:16:57 +05:30
Gaurav Aradhye
104ea2b5ef CLOUDSTACK-8330: Tagging test cases which should be run with vmware dvs configuration 2015-03-20 10:28:39 +05:30
Pierre-Luc Dion
304116623b removing previously added java.security.ciphers for add distro 2015-03-19 15:36:45 -04:00
Pierre-Luc Dion
dc8ab6057f fix centos7 rpm build, file misplaced 2015-03-19 10:16:20 -04:00
Pierre-Luc Dion
8d4f5b914e fix build for rpm packages due to missing file java.security.ciphers 2015-03-19 09:28:36 -04:00
Rohit Yadav
d7b4a1d843 packaging: install java.security.ciphers in rpms
This fixes rpm build failure

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-19 14:49:59 +05:30
Rohit Yadav
eddcb101dc CLOUDSTACK-8331: have savepassword try all interfaces
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit b8192114767040ef4869a7e71886df5965dadb37)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-18 14:40:23 +05:30
Rohit Yadav
b011c9bad4 Add missing license headers from recent branch merge 3c429ee
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-18 11:03:54 +05:30
Rohit Yadav
f0da19a060 vpc_passwd_server: use the improved Python based password server
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 3262b0bfd99528fd74a1693185544948f4d951ef)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-18 10:43:20 +05:30
Rohit Yadav
3c429ee6b5 Merge remote-tracking branch 'sbp/feature/persisten-systemvm-redundant-vpc-REBASE'
This closes #118

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-17 15:44:57 +05:30
Rohit Yadav
83736ab534 CLOUDSTACK-8331: savepassword should try all IPs on eth0
The logic is same as passwd_server_ip script which runs password server on all
IPs on eth0 interface.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 294503a0251a1305c61a83bf4a094c1af8030a4c)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-17 14:23:07 +05:30
Rohit Yadav
e3c04c7147 savepassword: use eth0's IP address, as password server listens on that IP
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 488625b1937eeb38f9a29706b6e7333043ae3e6e)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-17 13:24:06 +05:30
Rajani Karuturi
e4fe7b3bbc Fixed build failure due to commit 843f6b16914159ea6241c6c1a0a04e9d0fefaed4
(cherry picked from commit 31cdb57e6b5de031d3a3f27c61fe55cf7dfb2d26)
2015-03-17 10:34:00 +05:30
Wei Zhou
b6eace03e4 UI: Fix typo in ui/scripts/configuration.js
(cherry picked from commit 5a860fe0aed62245f51e48fb70ef277d067955a0)
2015-03-16 12:58:50 +01:00
Ian Southam
23c100d949 If master gets called and then within a few seconds backup (this can happen during provisioning), the master process will complete after the backup one. Not what we want. These commands must be serial
Used a wee Unix socket to create a lock

We still need to find out why the flip flop occasionally happens. nopreempt should stop this ...
2015-03-16 11:40:12 +01:00
Ian Southam
7bfccd699b Fixed Port forwarding (DNAT/SNAT) for isolated networks
Fixed failure on using eth10 (which CS now supports)
Refactored CSForward to us CsInterface object instead of teh way it was kludged together
Fixed hex conversion for device numbers and iptables marks
2015-03-16 11:40:12 +01:00
Ian Southam
6fc680be71 Fixed password server respawning issue
Some changes to isolated network acl generation
2015-03-16 11:40:11 +01:00
Ian Southam
5ddf87b2fd Use reload on keepalived
restart causes the master status to flip unecessarily during provisioning tasks
2015-03-16 11:40:11 +01:00
Ian Southam
c38f0b91e3 Disable this for now - causes too much grief
Is also the root cause of the status UNKNOWN
2015-03-16 11:40:10 +01:00
Ian Southam
585f5f7000 ACL issues
ACL order issues
Do not block multicast traffic for vrrp
Many smaller bug fixes
checkrouter provided in /opt/cloud/bin
2015-03-16 11:40:10 +01:00
wilderrodrigues
8edeca179b Remove the priority checks from the code
- We do not use it anymore
2015-03-16 11:40:09 +01:00
Ian Southam
3cc0915a01 Work arounds for how CS adds and removes hosts 2015-03-16 11:40:08 +01:00
Ian Southam
748e2e51a9 Check both ip and hosts when building dhcp bag 2015-03-16 11:40:08 +01:00
Ian Southam
c1ec5b0b16 nat rules added to incorrect interface 2015-03-16 11:40:07 +01:00