Commit Graph

22438 Commits

Author SHA1 Message Date
Likitha Shetty
e2fd4ef42c CLOUDSTACK-6011 . When detach is called on a deleted volume, avoid the NPE and throw an appropriate exception instead
(cherry picked from commit f4a96d4c85)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-14 17:32:41 +05:30
Chris Suich
d9e94717b5 CLOUDSTACK-5785: VM display name cell not updated upon detaching volume from VM
(cherry picked from commit ea29adb7b9)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-14 17:31:27 +05:30
Sateesh Chodapuneedi
17676d6bb9 CLOUDSTACK-6652 CLONE - [Automation] Vmware- System's StartCommand failed with "NumberFormatException" while using VMware DVS
vlan id format was like "vlan://<id>" instead of just "<id>". This causes numberformatexception while converting the vlan id to integer form from string form. this was fixed for standard vswitch in bug Cloudstack-5046. now fixed for other 2 cases of dvswitch as well as pvlan.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
(cherry picked from commit a605ca09cd)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-14 17:25:34 +05:30
Sateesh Chodapuneedi
1d7adf5216 CLOUDSTACK-7250 [vCenter 5.5] SourceNAT,StaticNAT and Portfowrding is not working with Vmware DVS in vCenter 5.5
Change in vCenter 5.5 API from prior versions forced code change in CloudStack. Update property value of property "VirtualE1000.deviceInfo.summary" is accommodated now.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
(cherry picked from commit dfa607fb44)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	vmware-base/src/com/cloud/hypervisor/vmware/mo/VirtualMachineMO.java
2014-11-14 17:22:34 +05:30
Jayapal
d81b67939f 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.

(cherry picked from commit 19668713ed)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-14 15:47:46 +05:30
Sheng Yang
76f5f3048e CLOUDSTACK-6432: Blocking DHCP server to service DNS outside network
This would cover only DHCP only network since in basic and shared network, the
private IP used by VR and network may expose to outside.

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

Conflicts:
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2014-11-14 00:19:31 +05:30
Kishan Kavala
83df80b715 CLOUDSTACK-6371: Set snapshot size in copycommand answer during snapshot backup
(cherry picked from commit 295fa84d4d)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-14 00:12:16 +05:30
Rohit Yadav
2aabcc11d3 CLOUDSTACK-6892: use lowercase noredist, as package.sh lowercases build type
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit a18d067278)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-13 17:49:57 +05:30
Jessica Wang
48f595beac CLOUDSTACK-6805: UI > create account > fix a bug that account creation failed when password contains # character.
(cherry picked from commit 9f4d464640)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-13 17:26:14 +05:30
Rohit Yadav
88d222abaa CLOUDSTACK-6438, CLOUDSTACK-6442: XAPI plugins must be copied to XS master first
Backported fix for 4.3 using e0e226869d by:
Anthony Xu <anthony.xu@citrix.com>

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-11 15:38:15 +05:30
Rohit Yadav
c8929dfd10 CLOUDSTACK-7871: allow VM and template details update using update APIs
Allows updating details (key/value) pair which updates entries in
vm_template_details and user_vm_details tables using updateVM and updateTemplate
APIs. This allows sys admins to update nics, controllers etc without DB hacking.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-10 18:12:37 +05:30
Rohit Yadav
9a4e79990a CLOUDSTACK-7855: NIC3 should set MTU and not NIC1 for storage network nic
The fix also persists the configuration in /etc/network/interfaces

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-06 18:23:17 +05:30
Rohit Yadav
f7378d8ad5 CVEยญ2014ยญ3566: Avoid using SSLv3 on apache2 that runs on SSVM
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-04 14:40:26 +05:30
Rohit Yadav
4f69fab5ee systemvmappliance: upgrade debian iso, openswan crashes with old kernel
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-04 13:46:24 +05:30
Rohit Yadav
faf531ef3c systemvm: Prefer TLS over SSL in apache, POODLE workaround (CVEยญ2014ยญ3566)
Just prefer TLS over SSL in apache configuration in systemvm

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 88acc9bd53)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-04 01:51:40 +05:30
Daan Hoogland
52cf8af08e whitespace 2014-10-09 10:55:03 +02:00
Kishan Kavala
7a86dc516d CLOUDSTACK-2625, CLOUDSTACK-3401: Usage records are ordered by start_date which is not unique. While listing large datasets or when page size is small this will result in duplicates. Order records by id instead
(cherry picked from commit 63109a97b1)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	server/src/com/cloud/usage/UsageServiceImpl.java
2014-10-09 10:56:10 +05:30
Murali Reddy
6d0a9b2482 CLOUDSTACK-7679: bump up the RabbitMQ AMQP java client version from
2.8.7 to 3.3.5

3.3.5 is the latest stable version of AMQP client, which is also
backward comaptible. Successfully tested with updated client library.

(cherry picked from commit ff797dfa59)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-10-07 22:23:41 +05:30
Daan Hoogland
1a1190eb1d CLOUDSTACK-7674 throw an exception when encountered 2014-10-07 08:05:27 +02:00
Harikrishna Patnala
be37378242 CLOUDSTACK-7658: Upgrading debian packages as part of system vm template build
Signed-off-by: Jayapal <jayapal@apache.org>
2014-09-30 17:34:30 +05:30
Vincent Bernat
08cb7ef7fa CLOUDSTACK-7633: fix "Provides" in most LSB headers
In init.d scripts, the LSB header may specify what kind of service is
provided by an init script. If spaces are used, this means the init
script is providing several boot facilities. We fix that by using an
hyphen.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-25 16:56:19 +02:00
Rohit Yadav
a22a59efcd debian: fix 4.3.2-snapshot deb build
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-23 13:31:42 +02:00
Jayapal
853ec38b06 CLOUDSTACK-7517: loading ftp modules in VR
(cherry picked from commit b4f03a1339)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-23 13:27:27 +02:00
Sebastien Goasguen
063bb8f5b4 Updating pom.xml version numbers for release 4.3.2-SNAPSHOT
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-09-16 09:16:47 -04:00
Rohit Yadav
c45f73cc21 CLOUDSTACK-6738: Add configs in developer prefill to avoid restart mgmt server
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-15 14:47:32 +02:00
Sebastien Goasguen
1687bcdd9b Updating pom.xml version numbers for release 4.3.1
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-09-10 17:24:06 +02:00
Sebastien Goasguen
63af61732a Fix XenServer xapi artifact build script error 2014-09-10 14:53:38 +02:00
Rohit Yadav
58bbe165fa XenServerJava: revert xapi version string to have -SNAPSHOT suffix
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-10 14:35:15 +02:00
Rohit Yadav
6627825482 Revert "pom: fix xapi version from root pom.xml as 41c0eaa remove it from deps/XenServer"
This reverts commit b6ee5e6455.
2014-09-10 14:29:52 +02:00
Rohit Yadav
94f67eb944 CHANGES: add bugfixes after 4.3.1 round #3
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-10 13:52:31 +02:00
Bharat Kumar
57c69a8ba0 CLOUDSTACK-6099 live migration is failing for vm deployed using dynaic compute offerings with NPE
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-10 13:24:06 +02:00
Rohit Yadav
885c02dbd8 CLOUDSTACK-7528: More verbose logging when sending alert fails
When sendAlert is called on an AlertManager impl, if it fails it logs that
something was wrong but does not log the body of the issue/error. This means
we tell the user/admin that there was an issue but don't share the "issue"
with them at all as the email alert fail (or that they were not initialized).

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-10 11:34:58 +02:00
Rohit Yadav
99198738fc debian: fix changelog which is having badly formatted timestamp
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-09 18:47:23 +02:00
Rohit Yadav
ac5309b8b4 appliance: fix newer debian iso links and checksums for debian
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-09 18:37:15 +02:00
Rohit Yadav
b6ee5e6455 pom: fix xapi version from root pom.xml as 41c0eaa remove it from deps/XenServer
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-09 18:23:12 +02:00
Sebastien Goasguen
33911723f8 Update CHANGES file with 6224 2014-09-09 13:56:45 +02:00
Rohit Yadav
c3617f9867 CLOUDSTACK-6624: set specifyIpRanges to true if specifyVlan is set to true
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-08 10:51:11 +02:00
Rohit Yadav
a1d230b88b appliance: fix build.sh for vmware systemvm building and exporting
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-08 10:39:52 +02:00
Rohit Yadav
fc5c92ed27 pom: exclude CHANGES.md for license checking
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-05 18:44:02 +02:00
Sebastien Goasguen
1509216729 Update CHANGES file with 7404 bug fix 2014-09-05 17:33:37 +02:00
Loic Lambiel
c1bf7eeeee CLOUDSTACK-7404: Failed to start an instance when originating template has been deleted
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-09-05 17:28:33 +02:00
Rohit Yadav
e2b49613d6 debian: fix version to 4.3.1 in debian log and console-proxy pom
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-05 16:58:41 +02:00
Sebastien Goasguen
41c0eaa14d Updating pom.xml version numbers for release 4.3.1
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-09-04 16:47:57 +02:00
Sebastien Goasguen
e0a3a06e9d Release: Fix typo in CHANGES file 2014-09-04 16:45:14 +02:00
Rajani Karuturi
8960c4fda3 simulator manager impl changes to handle SetMonitorServiceCommand This fixes some of the test cases in the integration test test_assign_vm.py when run against a simulator
Signed-off-by: Koushik Das <koushik@apache.org>

Conflicts:
	plugins/hypervisors/simulator/src/com/cloud/agent/manager/SimulatorManagerImpl.java
2014-09-04 03:12:42 -04:00
Sebastien Goasguen
61e551b5ae Edit travis config and CHANGES file 2014-09-03 06:45:25 -04:00
Daan Hoogland
14bd151512 strip leading spaces from path
(cherry picked from commit c1aa3a3f1a)

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-02 16:30:03 +02:00
Rajani Karuturi
ab8fcd0b22 CLOUDSTACK-6531: stopping the router in case of command failures. Also added alerts for failures.
Signed-off-by: Jayapal <jayapal@apache.org>
(cherry picked from commit 59bf355919)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2014-09-02 14:33:31 +02:00
Hugo Trippaers
c8b80893a4 Fix for -SNAPSHOT problem in debian rules. Use -snapshot in the changelog to force the packaging to use the -SNAPSHOT extension for maven targets
(cherry picked from commit 2b47611c5d)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	debian/changelog
	debian/rules
2014-09-02 13:04:22 +02:00
Rohit Yadav
1a8e07d172 travis: for 4.3 just --load on nosetests to only use cfg and not deploy zone
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-01 21:21:54 +02:00