Commit Graph

22453 Commits

Author SHA1 Message Date
Rohit Yadav df9fe7817c travis: run jetty using IPv4 stack only
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-21 20:02:21 +05:30
Min Chen eaaac81870 CLOUDSTACK-7954:ListTags API is ignoring the resourceID and displaying
all the tags of all resources.

(cherry picked from commit 5fa7801b20)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-21 18:52:28 +05:30
Sujaya Maiyya 5563a7314e fixed CLOUDSTACK-6261: remove the forceful timeout setting when login to NetScaler.
(cherry picked from commit e07d0ddabf)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java
2014-11-21 18:45:53 +05:30
Rohit Yadav 2a72afdc48 Revert "Revert "Bump release version to 4.3.2-SNAPSHOT and add empty db upgrade path""
The revert was an error, sorry about that.
  - Rohit

This reverts commit 0aba9654f8.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-21 18:04:33 +05:30
Likitha Shetty 59ce63918e CLOUDSTACK-7415. Host remains in Alert after vCenter restart.
Management server PingTask should update PingMap entry for an agent only if it is already present in the Management Server's PingMap.

(cherry picked from commit 8ce6eba549)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-21 16:20:48 +05:30
Rohit Yadav 0aba9654f8 Revert "Bump release version to 4.3.2-SNAPSHOT and add empty db upgrade path"
This reverts commit c3c3bab41a.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-20 20:35:45 +05:30
Rohit Yadav 57f28f1085 appliance: change CLOUDSTACK version to match 4.3.1 for building systemvmtemplate
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-20 20:18:44 +05:30
Wido den Hollander 5cd0d25812 CLOUDSTACK-3383: Fetch CPU utilization more reliable.
This should fix that we can't gather CPU statistics on hypervisors
> Ubuntu 12.04

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

Conflicts:
	plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
2014-11-20 19:41:53 +05:30
Syed 56d8b173a0 CLOUDSTACK-7952: Remove private key from SslCertResponse (listSslCerts)
Signed-off-by: Will Stevens <wstevens@cloudops.com>
(cherry picked from commit 8ea7902075)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-20 19:38:47 +05:30
Will Stevens 9258b8350e CLOUDSTACK-7822: Fixed SSL Cert Tests and relaxed chain validation
(cherry picked from commit 92d4a41a69)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	server/test/org/apache/cloudstack/network/lb/CertServiceTest.java
	server/test/resources/certs/root_chain.crt
	server/test/resources/certs/root_chain.key
	server/test/resources/certs/rsa_ca_signed2.crt

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

Conflicts:
	server/src/org/apache/cloudstack/network/lb/CertServiceImpl.java
	server/test/org/apache/cloudstack/network/lb/CertServiceTest.java
	server/test/resources/certs/rsa_ca_signed.crt
	server/test/resources/certs/rsa_ca_signed.key
	server/test/resources/certs/rsa_self_signed.crt
	server/test/resources/certs/rsa_self_signed.key
	server/test/resources/certs/rsa_self_signed_with_pwd.crt
	server/test/resources/certs/rsa_self_signed_with_pwd.key
2014-11-20 19:33:16 +05:30
Rajani Karuturi 09a3eefba7 Fixed CLOUDSTACK-7937 CloudStack accepts unauthenticated LDAP binds
added validation checks for empty username and password and debug logs
when that happens.

Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-11-20 12:13:02 +01:00
Rohit Yadav c3c3bab41a Bump release version to 4.3.2-SNAPSHOT and add empty db upgrade path
This reverts commit e6d00bcc66.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-20 14:04:43 +05:30
Anshul Gangwar 14e048dada CLOUDSTACK-7752: Fixed deployment planner stuck in infinite loop. If we create VM with shared service offering and attach disk with local disk offering, and one of storage pool is full(cannot be allocated) and other is not full then we are not putting the cluster in avoid list which is causing this infinite loop.
Fixed by putting the cluster in avoid list even if one of the storage pool is full(cannot be allocated)

Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-11-19 12:21:02 +01:00
Rohit Yadav e6d00bcc66 Revert "Updating pom.xml version numbers for release 4.3.2-SNAPSHOT"
This reverts commit 063bb8f5b4.
2014-11-18 16:04:33 +05:30
Milamber e615f218a9 Update L10N strings from Transifex to repo (4.3 branch) 2014-11-15 08:59:10 +00:00
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