Commit Graph

22485 Commits

Author SHA1 Message Date
Gabor Apati-Nagy ca8ecc0470 CLOUDSTACK-7766: Field Validations Missing for Ingress and Egress Rules
(cherry picked from commit 94b16b3bd5)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-25 18:42:56 +05:30
Mihaela Stoica 0b317ea06d CLOUDSTACK-7837: [UI] Make the Source CIDR column wide enough to fit the CIDR value without ellipsizing
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
(cherry picked from commit 6490694231)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-25 18:34:18 +05:30
Daniel Vega c6e2166876 CLOUDSTACK-7849: Sorting projects alphabetically in drop down menu
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
(cherry picked from commit e03a7e6fea)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-25 18:33:32 +05:30
Koushik Das f0a81edb5b CLOUDSTACK-7869: Add simulator support for findHostsForMigration API
(cherry picked from commit 8378485e56)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	server/src/com/cloud/server/ManagementServerImpl.java
2014-11-25 18:31:37 +05:30
Jayapal 1e475892d5 CLOUDSTACK-7872: network getting shutdown inspite of running VM's in the network
(cherry picked from commit 709bf074de)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	engine/schema/src/com/cloud/vm/dao/NicDaoImpl.java
2014-11-25 18:28:20 +05:30
Damodar 23a03ac1b0 CLOUDSTACK-7877: The NET.IPRELEASE events are not added to usage_event on IP range deletion from Physical Networks.
Signed-off-by: Jayapal <jayapal@apache.org>
(cherry picked from commit 7e6ec2ce82)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	server/src/com/cloud/configuration/ConfigurationManagerImpl.java
2014-11-25 18:24:33 +05:30
Min Chen 04acc79b2d CLOUDSTACK-7884: Cloudstack MS is not responding (happening randomly) after some restart.
(cherry picked from commit 2ef06e754b)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-25 18:21:12 +05:30
Damodar 12d1c945f2 CLOUDSTACK-7886: cloudstackoperations like deployvm,deleteNW are failing if CS fail to contact rabbit mq server. This is happening in case of Async API calls.
Signed-off-by: Koushik Das <koushik@apache.org>
(cherry picked from commit 50a3c0b2e3)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-25 18:11:22 +05:30
Rohit Yadav bb81082e58 CLOUDSTACK-7951: Limit amount of memory used by cloudstack-agent jsvc
The -Xms value specifies the minimum heap size the JVM should start with and
-Xmx is the maximum heap size it can grow. The previous fix imposed minimum
limit of 1G which is unreasonably for small deployments. The fix is to start
with 256MB and limit to 2G for cloudstack-agent process. This was tested on
DevCloud/KVM and then again on a ACS/KVM deployment on real hardware.

With these values, it's possible for the agent to work in a DevCloud/KVM
environment and if JVM needs it can increase the heap size to 2G. The fix also
ports these settings to Debian cloud-agent init.d script as well.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-25 18:03:53 +05:30
Keiichi Yusa 20de43fd79 CLOUDSTACK-7951
Limit amount of memory used by cloudstack-agent jsvc.

Signed-off-by: Edison Su <sudison@gmail.com>
(cherry picked from commit 7884c750a2)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-25 17:45:59 +05:30
Rohit Yadav 712f8054d5 appliance: move built zip files to dist/
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-25 17:26:06 +05:30
Rohit Yadav 864e5ab2fc appliance: zip systemvm template for hyperv
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-25 17:24:00 +05:30
Daniel Vega 1f21c29855 CLOUDSTACK-7915: Remove hard-coded values for Load Balancer algorithms in UI
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
(cherry picked from commit ba6dfd8470)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	client/WEB-INF/classes/resources/messages_fr_FR.properties
	client/WEB-INF/classes/resources/messages_ja_JP.properties
	client/WEB-INF/classes/resources/messages_ko_KR.properties
	client/WEB-INF/classes/resources/messages_nl_NL.properties
	client/WEB-INF/classes/resources/messages_zh_CN.properties
	ui/dictionary.jsp
2014-11-25 17:12:49 +05:30
Daniel Vega c2f367982e CLOUDSTACK-7917: Validating Load Balancer Rule when updating LB + unit test
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
(cherry picked from commit c919ff83d8)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
2014-11-25 14:19:16 +05:30
Edison Su a62fa62fc6 CLOUDSTACK-7966:
remove snapshot_store_ref entry, in which role is Primary, during
storage GC

(cherry picked from commit 7175247c5e)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-25 14:14:31 +05:30
Rohit Yadav 6d31aca25c CLOUDSTACK-6075: Increase the ram size for router service offering
Increased the ram size of Internal load balancer vm service offering also
Backported from fix by Harikrishna Patnala <harikrishna.patnala@citrix.com>
https://reviews.apache.org/r/17941/

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-25 14:08:25 +05:30
Kelven Yang 2aa9bb6896 CLOUDSTACK-6743: Use edge-triggering in MessageDetector to handle bogus wakeup gracefully. Level triggering plus bogus wakeup can cause a tight loop to spin
(cherry picked from commit 09ec127470)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	framework/ipc/src/org/apache/cloudstack/framework/messagebus/MessageDetector.java
	framework/ipc/test/org/apache/cloudstack/messagebus/TestMessageBus.java
2014-11-25 00:03:40 +05:30
Rohit Yadav 15ded4fdda CHANGES: add backported commits on 4.3 branch since 4.3.1 release
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-24 23:54:18 +05:30
Mike Tutkowski a165309b89 Allow infrastructure to handle delete of volume from DB
(cherry picked from commit 6602ad71ac97fb1875131f41bb5f92ff1e3a1c7b)

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-24 23:47:05 +05:30
Rohit Yadav 11d446a0d8 Fix build failure from cherry-picked commits
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-24 23:47:04 +05:30
Olivier Lemasle ed90e0c751 CLOUDSTACK-6669: Fix support resize in usage server
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
(cherry picked from commit 303e6ffc1e)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	usage/src/com/cloud/usage/parser/VolumeUsageParser.java
2014-11-24 23:47:04 +05:30
Rajani Karuturi 06a664b063 FIXED CLOUDSTACK-6669 Support volume resize in usage server
(cherry picked from commit bdde5335f9)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	usage/src/com/cloud/usage/UsageManagerImpl.java
2014-11-24 23:47:04 +05:30
Harikrishna Patnala 90c92ff17d CLOUDSTACK-6466: cpu and ram is not getting updated correctly in usage_vm_instance table for usage type 2
(cherry picked from commit 14f1b96b51)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-24 23:47:03 +05:30
Kelven Yang 839ef94ce9 CLOUDSTACK-6970: Protect event interpretion from causing NPE exception
(cherry picked from commit 06d8d3a03f)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-24 23:47:03 +05:30
Kelven Yang b716444b84 Move EventBus hookup on job framework to ApiServer to decouple job framework away from business logic related hookups. The decoupling is done through internal messaging facility provided inside management server.
(cherry picked from commit 521ac796dd)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	server/src/com/cloud/api/ApiServer.java
2014-11-24 21:13:14 +05:30
Min Chen 4e3ac55a0e CLOUDSTACK-6859:Management Server PermGen run out of memory after some
time due to class leak.

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

Conflicts:
	framework/ipc/src/org/apache/cloudstack/framework/async/AsyncCallbackDispatcher.java
2014-11-24 21:13:14 +05:30
Harikrishna Patnala 122332b326 CLOUDSTACK-5992: default values of configuraiton parameters in configuration table are set NULL on fresh setup Some configuration parameters have Component names different from fresh and upgrade setup
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
(cherry picked from commit 5d389b1a71)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	framework/config/src/org/apache/cloudstack/framework/config/impl/ConfigDepotImpl.java
2014-11-24 21:13:14 +05:30
Harikrishna Patnala e25690ca83 CLOUDSTACK-6463: password is not set for VMs created from password enabled template
(cherry picked from commit 2284a95e4f)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-24 21:13:13 +05:30
Kelven Yang 421137d9f6 NDC.pop() can return empty string, this causes a loop spinning in CallContext.UnregisterAll().
(cherry picked from commit cdf605b2cd)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-24 21:13:13 +05:30
Kelven Yang e4a3ee1526 CLOUDSTACK-6647: appending instance name with custom supplied info that contains - character can break vmsync.
(cherry picked from commit 98307bfcea)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	api/src/com/cloud/vm/VirtualMachineName.java
2014-11-24 21:13:13 +05:30
Rohit Yadav cef29cc818 appliance: use 4.3 git snapshot to configure services
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-24 12:12:01 +05:30
Ian Duffy 879f94c743 modify travis file to force true on test execution. The XML parser will determine failures 2014-11-23 04:45:03 +00:00
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