Commit Graph

1878 Commits

Author SHA1 Message Date
Rajesh Battala 4cb6c66f75 CLOUDSTACK-6518 [Hyper-V] Efficient way of finding the empty nic in VR/VpcVR to configure VPC entities fixed windows line ending issues
Conflicts:
	plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs
2014-05-12 12:54:16 +05:30
Harikrishna Patnala 3ac633d2f5 CLOUDSTACK-6551: [Automation] Failed to revert vm snapshot in xen 2014-05-08 13:43:32 +02:00
Bharat Kumar aabde469d2 Cloudstack-5077: reserve cpu and memory only when vmware.reserve.cpu/mem are set to true. Insted of setting the ovecommit values to one on upgrade, we popultate them from the global values.
Conflicts:
	engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java
	engine/schema/src/com/cloud/upgrade/dao/Upgrade420to421.java
	plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
2014-05-05 14:06:09 +02:00
Mike Tutkowski dd3076987f CLOUDSTACK-6170 Corrected an issue related to the "Reinstall VM" command and managed storage with VMware 2014-05-03 14:04:49 +02:00
Min Chen 1085695b5c CLOUDSTACK-6569: IAM - Regular user is able to listNetworks of another
user in the same domain , by passing account and domainId.
2014-05-03 00:44:25 +02:00
Sateesh Chodapuneedi 47f5d2862a CLOUDSTACK-6317 [VMware] Tagged VLAN support broken for Management/Control/Storage traffic
Check if switch name detected from traffic label for management, storage, control traffic is null before falling back to default value.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2014-05-02 19:02:45 +02:00
Wido den Hollander 1aff3a5f08 CLOUDSTACK-4549: Do not force RBD snapshot backups to RAW format
Since we use qemu-img to copy from RBD to Secondary Storage we no
longer have to force to RAW images, but can stick with QCOW2

When the snapshot backups are QCOW2 format they can easily be deployed
again when restoring from a backup

Conflicts:

	plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java
2014-05-02 18:49:28 +02:00
Anthony Xu 376078e90f Revert "disble XS event, found there is an issue when event.from is called by multiple thread."
This reverts commit 8696f386dd.
2014-04-30 10:38:13 -07:00
Min Chen 683c242ed3 CLOUDSTACK-6513: Optimize code by removing deprecated utility to
QueryManagerImpl as private method just used for listTemplates and
listAffinityGroups to avoid misuse by new list APIs.
2014-04-30 10:40:39 +02:00
Min Chen 4ca65496c2 CLOUDSTACK-6513: IAM - Templates - When templates are listed with
templatefilter="shared" is used , we see public templates also being
included in the list. This commit reverts listTemplates behavior to 4.3
old logic without using consistent interpretation of list parameters
adopted in new IAM model.
2014-04-30 10:38:02 +02:00
Anthony Xu 8696f386dd disble XS event, found there is an issue when event.from is called by multiple thread. 2014-04-29 11:06:03 -07:00
Rajani Karuturi 69e550f5ea Fixed CLOUDSTACK-6509 Cannot import multiple LDAP/AD users into a cloudstack account
Conflicts:
	api/src/com/cloud/user/AccountService.java
	plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapCreateAccountCmd.java
	plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapImportUsersCmd.java

Signed-off-by: Koushik Das <koushik@apache.org>
2014-04-29 13:37:28 +02:00
Mike Tutkowski 815e391173 CLOUDSTACK-6170 Needed to add logic for XS 6.2 + XS62ESP1 + XS62ESP1004 2014-04-29 12:34:27 +02:00
Sanjay Tripathi b6d14d77bd CLOUDSTACK-6452: Failed to Live Migrate VM across clusters with Xenserver 6.2.5. 2014-04-26 13:43:31 +02:00
Rajani Karuturi fe7ecad20b checkstyle fix for commit 8e2e8e5e8a
improved ldap logging. added stacktrace in debug level incase of exceptions.

Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-04-25 22:49:25 +02:00
Murali Reddy 5ba7f6c006 CLOUDSTACK-6431: OVS migrating vm to a new host added to the cluster
does not create gre tunnel port on the new host

ensure OveElement gets a chance to setup tunnel network on the host
before VM is migrated.
2014-04-25 22:13:03 +02:00
Murali Reddy 61fc57121c CLOUDSTACK-6505: XenServer bridge for the OVS tunnel network gets reset
on the hosts in the xenserver cluster

this fix ensures that brige is created only once so that openflow rules
configured on the bridge are not lost.
2014-04-25 22:08:03 +02:00
Murali Reddy cbe326838d CLOUDSTACK-6507: ensure sequence numbers are honoured while processing
OvsVpcPhysicalTopologyConfigCommand and OvsVpcRoutingPolicyConfigCommand

fix ensures only latest updates are applied (new openflow rules) to the
bidge enabled for distributed routing.
2014-04-25 22:07:37 +02:00
Rajani Karuturi 9aab6046ae improved ldap logging. added stacktrace in debug level incase of exceptions.
Conflicts:
	plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapContextFactory.java

Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-04-25 21:48:31 +02:00
Rajesh Battala 234f7e4b76 CLOUDSTACK-6338 [Automation] Failed to NetScaler Device with error 2014-04-25 21:45:54 +02:00
Mike Tutkowski 66fcfee220 CLOUDSTACK-6488 Fixed an issue where the "path" field was not being set properly in the DB when the volume had a snapshot taken of it 2014-04-25 21:35:24 +02:00
Anthony Xu 33c0d6c7bb CLOUDSTACK-6438
CLOUDSTACK-6442
  XAPI plugins must be copied to XS master first.
2014-04-23 15:30:36 -07:00
Mike Tutkowski 4ae75b426b CLOUDSTACK-6469 2014-04-23 08:57:22 +02:00
Mike Tutkowski b32fb37c51 [DB-CHANGE] CLOUDSTACK-6170 (VMware root-disk support for managed storage) 2014-04-22 10:06:42 +02:00
Anthony Xu 3f74cb2feb enable event on XS 6.2 + FOX 2014-04-21 14:26:40 -07:00
Mike Tutkowski e49e282c63 CLOUDSTACK-6170 (VMware root-disk support for managed storage) 2014-04-19 10:13:10 -06:00
Sheng Yang 3578c7137f CLOUDSTACK-6047: Make aggregation command timeout configurable
In case some environments has different performance or we found some commands
would took too long to execute, one global configuration item is introduced to
specify "time out in seconds per one command in aggregation commands".

By default it's 3 seconds. If admin feel it's too long, it can be adjust to as
low as 1 seconds, which runs still well in my machine.
2014-04-18 23:27:12 -07:00
Murali Reddy 4c0505f649 remove the unintended file checked in 2014-04-18 19:18:54 +05:30
Murali Reddy 18c269a575 fix KVM plug-in for OVS tunnel network. Fix addreses two issues.
fix  mismatch of ovs-host-setup, ovs_host_setup used Libvirt resource and
scripts

plug the nic to OVS bridges created for the tunnel network.
2014-04-18 18:14:14 +05:30
Murali Reddy 192856fdcc add support for sequence numner in the VPC topology updates and VPC
routing policy updates
2014-04-18 18:14:13 +05:30
Anshul Gangwar 7d6712c05e CLOUDSTACK-6411: removing license header from nuget.config and agent settings file, with
the header they are not getting loaded properly. Added an exception to not to do rat
checks on these files.
2014-04-18 15:42:55 +05:30
Sachchidanand Vaidya 8d371ab031 CLOUDSTACK-6322 - Don't allow service instance creation with empty or null service-instance "name".
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-04-17 03:47:43 -06:00
Prachi Damle 48c9b46328 CLOUDSTACK-6349: IAM - No error message presented to the user , when invalid password is provided.
- AccountManager now works using accountId instead of accountType in following methods too:
- isResourceDomainAdmin()
- isAdmin()
2014-04-16 11:26:57 -07:00
Anthony Xu d814383265 destroy event when the task is done 2014-04-15 17:04:37 -07:00
Chris Suich 47208dc23d CLOUDSTACK-6422: Fixed errors with simulator VM snapshot delete and revert 2014-04-15 17:23:21 -04:00
Anthony Xu 46f6b26d49 disable XAPI event 2014-04-15 11:42:53 -07:00
Anshul Gangwar b78aee8f11 CLOUDSTACK-6401: [hyper-v] fixed correct host state, if host is up and hyper-v agent is down then the host state will be shown as up(actual host state) in cloudstack 2014-04-15 12:24:57 +05:30
Anshul Gangwar d45ee3ef21 CLOUDSTACK-6400: [hyper-v] [vmsync] fixed occasionally VM is not deleted from back-end when it is stopped from Hyper-V manager and then destroyed-expunged from CS and returning only power VMs for vmsync 2014-04-15 12:24:38 +05:30
Anshul Gangwar 36103633c2 CLOUDSTACK-6398:[hyper-v] changed auto shutdown and startup actions of VMs to shutdown and nothingauto shutdown and startup actions of VMs to shutdown and nothing so that they are consistent with cloudstack auto shudown and startup behavior 2014-04-15 12:24:13 +05:30
Koushik Das 800e9dbac5 CLOUDSTACK-6402: Fix StopCommand so that VMs are not removed accidentally as part of vmsync
Added a new flag 'checkBeforeCleanup' to StopCommand based on which check is done to see if VM is running in HV host.
If VM is running then in this case it is not stopped and the operation bails out.
Also modified the MS code to call the StopCommand with appropriate value for the flag based on the context.
Currently it is only set to 'true' when called from the new vmsync logic based on powerstate of VM. For rest it
is set to 'false' meaning no change in behaviour.
2014-04-14 16:12:35 +05:30
Koushik Das aa3cb3f041 CLOUDSTACK-6363: [Automation] jetty server is going OOM for simulator 2014-04-14 09:18:55 +05:30
Anthony Xu 3854e5b106 add log and comment 2014-04-11 16:16:49 -07:00
Wido den Hollander 8764692b27 rbd: Use qemu-img to backup up a RBD snapshot to Secondary Storage
This reduces the amount of time and storage it takes dramatically. We no longer
do a full copy, but a sparse copy. The destination image is still in RAW
format, but we only copy over used blocks.

Qemu is also better in doing this then us doing it in Java code.
2014-04-11 15:20:49 +02:00
Wido den Hollander 95f6f65312 rbd: Use qemu-img to convert from QCOW2 templates to RBD directly.
This saves the step of writing to a temporary image in /tmp first before
writing to RBD.

This is possible due to a new version in librbd. With the rbd_default_format
setting we can now force qemu-img to create format 2 RBD images.

This is available since Ceph version 0.67.5 (Dumpling).
2014-04-11 15:20:34 +02:00
Anthony Xu 1c10d00ec9 avoid to create same FileSR on host more than once 2014-04-10 17:47:27 -07:00
Wido den Hollander 75792bf08e CLOUDSTACK-4665: Check if a snapshot is protected before trying to unprotect
Otherwise a RBDException will be thrown with the message that the snapshot
isn't protected.

Conflicts:

	plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java
2014-04-10 15:59:12 +02:00
Kishan Kavala 295fa84d4d CLOUDSTACK-6371: Set snapshot size in copycommand answer during snapshot backup 2014-04-10 15:28:48 +05:30
Anthony Xu 9f44909e63 use event instead of poll for xapi async call in XS 6.2 and above to reduce the pressure on XAPI 2014-04-09 13:45:04 -07:00
Sanjay Tripathi 127196e95d CLOUDSTACK-6366: add vgpuTypes details in vgpu_types table. 2014-04-09 18:22:06 +05:30
Harikrishna Patnala 68c80e28c0 CLOUDSTACK-6253: Optimizing VR alerts getting algorithm In addition to this a new configuration parameter is added router.alerts.check.interval defaulted to 30minutes to check for alerts in Virtual Router 2014-04-09 18:11:24 +05:30