Commit Graph

1432 Commits

Author SHA1 Message Date
Min Chen 7cd125ca39 CLOUDSTACK-5446:KVM-Secondary Store down-Even after secondary store is
brought back up after being down for few hours,snapshot jobs do not get
triggered with reason "there is other active snapshot tasks on the
instance to which the volume is attached".
2013-12-13 18:09:16 -08:00
Devdeep Singh f69100e2e8 CLOUDSTACK-5489: Cloud user doesn't have permissions to copy systemvm.iso to secondary.
Make sure when a cifs (secondary) is mounted, uid is set for the user who owns the files
and directories on the filesystem.
2013-12-13 17:28:30 +05:30
Rajani Karuturi 24392c15f5 CLOUDSTACK-5435 enabled encryption for ldap params 2013-12-13 12:45:37 +05:30
Devdeep Singh 7151ec63fa CLOUDSTACK-5311: Fix the host version reported by the hyper-v agent. Also updated the hypervisor
capabilities for hyper-v.
2013-12-12 16:48:46 +05:30
Donal Lafferty 23bc02d12a CLOUDSTACK-5462: Hyperv agent confused by existing volume of different
image type. Works by avoiding volume image format inference errors and
removing existing files with same name, but different format.
2013-12-12 14:53:33 +05:30
Devdeep Singh 388510ff39 CLOUDSTACK-5473: Fixed the name with which the hyper-v agent gets
installed as a service.
2013-12-12 14:53:14 +05:30
Syed Ahmed fb89a2d8f6 CLOUDSTACK-5296: Add certificate chain support for netscaler.
adds support for trust chains in the netscaler
2013-12-12 12:13:43 +05:30
Rajani Karuturi 900bedbe15 added LDAP group name label in add account wizard
changed the parameter for domain in api importLdapUser from name to UUID

improved error handling
2013-12-11 23:35:58 +00:00
Mike Tutkowski 2dfa84bf2b CLOUDSTACK-5468: Configuration property should be optional 2013-12-11 12:43:01 -07:00
Devdeep Singh 3cd004c924 CLOUDSTACK-5455: Fix detach iso on hyperv. Made sure normalized path is
used while attaching and detaching iso. Also made normalization of path
across the agent code.
2013-12-11 19:29:19 +05:30
Devdeep Singh 5dea7728a3 CLOUDSTACK-5248: Fixed creation of mount point when running as non root (cloud) user.
The systemvm iso file is copied only when a systemvm or router vm is to be started on
a host. The file gets copied to the secondary storage. The mount point used is the one
that has permissions for regular user to mount a share.
CLOUDSTACK-5275: The failure was because a secondary storage wasn't available when the
host was added. When a setup is done through wizard the hosts get added before the
secondary storage. CS was tying to copy yhe systemvm iso to secondary and it used to
fail if it wasn't available. Made a change to copy the iso only when a systemvm is
being started on a host.
CLOUDSTACK-5202: Made changes to clean up mount points on stop and start.

All the three are related fixes; so putting a fix in one commit.
2013-12-11 17:22:45 +05:30
Rajani Karuturi db4e0d688c CLOUDSTACK-5375 :ldapconfig and ldapRemove api's are not working Added support for 4.2 ldap apis
Conflicts:
	plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapManagerImpl.java

Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-12-11 16:08:24 +05:30
Murali Reddy 4fb54ca32d CLOUDSTACK-5428: support NetScaler to be configured exclusively for GSLB
service and not used for LB

Fix adds a boolean flag to addNetscalerLoadBalancer api, which
will mark added NetScaler for exclusive GSLB service. A netscaler marked
as exclusive gslb service provider is not picked for any guest network's
lb provider.

Conflicts:
	engine/schema/src/com/cloud/network/dao/ExternalLoadBalancerDeviceVO.java
	plugins/network-elements/f5/src/com/cloud/network/element/F5ExternalLoadBalancerElement.java
	plugins/network-elements/netscaler/src/com/cloud/api/commands/AddNetscalerLoadBalancerCmd.java
	plugins/network-elements/netscaler/src/com/cloud/api/response/NetscalerLoadBalancerResponse.java
	plugins/network-elements/netscaler/src/com/cloud/network/element/NetscalerElement.java
	server/src/com/cloud/network/ExternalLoadBalancerDeviceManager.java
	server/src/com/cloud/network/ExternalLoadBalancerDeviceManagerImpl.java
	setup/db/db/schema-421to430.sql
2013-12-11 15:36:22 +05:30
Bharat Kumar 903af43be4 CLOUDSTACK-4498 Do not reserve memory and cpu for vmware VMs, if
the vmware.reserve.cpu and vmware.reserve.mem are set to false while not over committing.

Signed-off-by: Jayapal <jayapal@apache.org>
2013-12-11 13:07:22 +05:30
Jayapal 3caef2b1d5 CLOUDSTACK-5278 Fixed cleaning up egress default rules on VR and SRX
1. Egress default policy rules is send to the firewall provider. It is up to the
    provider to configure the rules.
   2. The default policy rules are send for both allow and deny default policy.
   3. On network shutdown rules for delete are send.
   4. For VR and SRX, by default deny the traffic. So no default rule to deny traffic is required.
2013-12-10 14:43:13 +05:30
Anthony Xu ff9786177e put CS/XS plugin log into seperate directory 2013-12-10 01:11:59 -08:00
Will Stevens 794c17921b CLOUDSTACK-5425: Fixed egress rules in Palo Alto plugin and removed un-need api commands.
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2013-12-09 18:28:48 -08:00
Anshul Gangwar 1742e7627c Fix nuget package path error. 2013-12-09 13:06:47 +05:30
Anshul Gangwar a7e10fcfaf Fix the directory path of where the nuget packages get downloaded. 2013-12-09 11:06:56 +05:30
Likitha Shetty bc86103c2b CLOUDSTACK-5216. delete volume failed due to Exception: java.lang.Exception" while destroying Vms 2013-12-06 12:00:44 +05:30
Frank.Zhang ae19fc98e1 add missing files during merging UCS 2013-12-05 22:28:20 -08:00
Frank.Zhang 80e88dd482 fix merge error breaking compile 2013-12-05 18:04:58 -08:00
Frank.Zhang d3bff27ef9 CLOUDSTACK-5112
[Baremetal]Make IPMI retry times configurable

Conflicts:

	server/src/com/cloud/configuration/Config.java
	setup/db/db/schema-420to421.sql
2013-12-05 17:30:54 -08:00
Frank.Zhang 48a4391568 [UCS] increate ipmi command retry 2013-12-05 17:29:08 -08:00
Frank.Zhang fd5b9a2780 CLOUDSTACK-4674
[baremetal] /usr/share/cloudstack-common/scripts/util/ipmi.py script
need to recognize various ipmi version and BMC type of server
2013-12-05 17:28:20 -08:00
Frank.Zhang ef6038f1b3 commit 8edaf63c4e
Author: Frank.Zhang <frank.zhang@citrix.com>
Date:   Thu Oct 10 14:45:03 2013 -0700

    CLOUDSTACK-4850
        [UCS] using template instead of cloning profile
2013-12-05 17:25:57 -08:00
Frank.Zhang 59406cf225 Change security_group_agent python side in line with default
security group rules change in 4.2
2013-12-05 10:51:56 -08:00
Frank.Zhang e5e39577c0 Change security_group_agent python side in line with default
security group rules change in 4.2
2013-12-05 10:51:04 -08:00
Frank.Zhang fb1f3f0865 Add missing Baremetal security_group_agent java part
Change security_group_agent python side in line with default security
group rules change in 4.2

Conflicts:

	plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BareMetalResourceBase.java
2013-12-05 10:50:25 -08:00
Anthony Xu 0847ccfe97 XS VMmetadata platform contains virtual platform related info, CS should save platform info in DB to migrate the VM to other Cluster
Conflicts:
	engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java
	plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
	server/src/com/cloud/template/TemplateManagerImpl.java
2013-12-05 01:17:56 -08:00
Rajesh Battala 26020fc078 added support to run hyperv agent on 0.0.0.0 and startuprouting command will discover the ip details and send in response 2013-12-05 14:46:44 +05:30
Rajesh Battala 5d9ed55d99 Modified savepassword.sh path in Hyperv Resource according to the new template 2013-12-05 11:10:57 +05:30
Nitin Mehta 86af80b0f5 fixing the test 2013-12-04 16:12:42 -08:00
Nitin Mehta fee41bad41 CLOUDSTACK-5352:
CPU cap calculated incorrectly for VMs on XenServer hosts. It should not be limited by the overprovisioning and should set the cap as service offering
2013-12-04 14:48:41 -08:00
Nitin Mehta e85334ff51 CLOUDSTACK-5352:
CPU cap calculated incorrectly for VMs on XenServer hosts. It should not be limited by the overprovisioning and should set the cap as service offering
2013-12-04 14:10:28 -08:00
Devdeep Singh 3744deab14 CLOUDSTACK-5178: DeployVm from ISO fails. Fixed the creation of root
volume and made sure the iso is attached when a vm is deployed.
2013-12-04 19:59:40 +05:30
Donal Lafferty 9e04e33d17 Changes for fixing the hyperv agent build on windows using mono. 2013-12-04 12:19:50 +05:30
Alena Prokharchyk b315ca1895 CLOUDSTACK-5261: support for alert publishing via Root admin web api
listAlerts: introduced new parameter "name" to the alertResponse

Added new Admin API - generateAlert. Available to ROOT admin only

listAlerts: implemented search by alert name
2013-12-03 17:08:23 -08:00
Min Chen 8367a8fae1 CLOUDSTACK-5355: addImageStore should not log password in clear text in
the log.
2013-12-03 16:46:02 -08:00
Devdeep Singh 2d90ee469a Fix for live migration of vm. Use the host name as the migration
destination. Also mapped the vm state corrected in check vm on host
answer.
2013-12-03 19:31:22 +05:30
Jayapal 8454885fbe Corrected parsing vlan tag in JuniperSrx resource
With out this chagne ipAssoc command for juniperSrx is failed
2013-12-03 17:33:06 +05:30
Devdeep Singh 80a5dd75cd Changes for allowing migration of a vm on hyperv. Migration was blocked in cloudstack for hyperv.
Enabled it. Also updated the agent code to allow hyperv migration.
2013-12-03 17:27:24 +05:30
Anshul Gangwar a0bfc99261 adding missing license headers for cs files 2013-12-03 15:51:00 +05:30
Anthony Xu 971b159f45 put shell scripts to a seperate directory in XS
use same scripts for both XS and XCP
2013-12-03 01:48:55 -08:00
Anshul Gangwar b1c8efb0ea code to install and uninstall agent as windows service 2013-12-03 12:01:23 +05:30
Rajesh Battala 99e65d051d Fixed issues on HyperV Agent code for shared network VR issues 2013-12-02 18:09:37 +05:30
Wei Zhou c8f6a3623a CLOUDSTACK-5293: get vm disk statistics only from DISK (not for ISO/FLOPPY)
(cherry picked from commit d473d5a36a)
2013-11-29 10:54:46 +01:00
Rajesh Battala dff2825a97 Fix VM stats collections in HyperV 2013-11-27 16:03:14 +05:30
Devdeep Singh 8585e01ff6 Fixing creation of VM with virtual disks on a shared storage for hyperv. The shared storage
path wasn't getting interpreted correctly by the agent.
2013-11-27 13:01:28 +05:30
Wei Zhou 96842475d9 CLOUDSTACK-5280: fix issue in getBroadcastUriFromBridge 2013-11-26 23:35:38 +01:00