Mike Tutkowski
a7e267b416
CLOUDSTACK-6170 (VMware root-disk support for managed storage)
2014-04-24 15:03:05 -06:00
Rajani Karuturi
baadf930fb
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-24 17:30:12 +05:30
Rajesh Battala
ca6e6e2b7c
CLOUDSTACK-6338 [Automation] Failed to NetScaler Device with error
2014-04-24 17:10:23 +05:30
Rajani Karuturi
a92610d277
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-24 16:47:52 +05:30
Mike Tutkowski
db9de2e39b
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-23 18:30:19 -06:00
Anthony Xu
e0e226869d
CLOUDSTACK-6438
...
CLOUDSTACK-6442
XAPI plugins must be copied to XS master first.
2014-04-23 15:32:36 -07:00
Mike Tutkowski
523913a315
CLOUDSTACK-6469
2014-04-22 22:52:33 -06:00
Anthony Xu
4cb3e553d5
enable XS event for XS 6.2 + SP1 + FOX
2014-04-22 11:43:43 -07:00
Mike Tutkowski
1bb31412fc
CLOUDSTACK-6170 (VMware root-disk support for managed storage)
2014-04-21 22:22:50 -06:00
Devdeep Singh
b54ae73917
Fixing rat failure
2014-04-21 14:32:00 +05:30
Anshul Gangwar
455d2b3284
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-21 14:10:17 +05:30
Laszlo Hornyak
54cfc2c2b1
md5 authenticator test
...
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-04-21 10:25:16 +02:00
Koushik Das
bcc640d138
Changed mode from 755 to 644 for simulator related files
2014-04-21 13:41:05 +05:30
Mike Tutkowski
c0910cbdb9
CLOUDSTACK-6170 (VMware root-disk support for managed storage)
2014-04-19 10:41:42 -06:00
Sheng Yang
4620c27ebf
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.
Conflicts:
setup/db/db/schema-430to440.sql
2014-04-18 23:36:19 -07:00
Koushik Das
b088821c61
CLOUDSTACK-6445: Simulator enhancements
...
Refer FS - https://cwiki.apache.org/confluence/display/CLOUDSTACK/Simulator+enhancements
2014-04-18 16:44:21 +05:30
Min Chen
da13165743
Change AccountManagerImpl.checkAccess to invoke SecurityChecker
...
interface that takes multiple controlled entities.
2014-04-17 17:53:01 -07:00
Wido den Hollander
c9b22af6c7
kvm: Add more log lines around storage pool operations
2014-04-17 17:42:17 +02:00
Sachchidanand Vaidya
085911f0a6
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-16 14:29:33 +02:00
Anthony Xu
b1dfeb9cf4
destroy event when the task is done
2014-04-15 17:12:23 -07:00
Chris Suich
6d18654958
CLOUDSTACK-6422: Fixed errors with simulator VM snapshot delete and revert
2014-04-15 17:23:28 -04:00
Anshul Gangwar
55f53e13e8
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 14:37:05 +05:30
Anshul Gangwar
3ec7497e1e
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 14:36:55 +05:30
Anshul Gangwar
0aa6cc60c7
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 14:36:37 +05:30
Ding Yuan
c031eb7d38
CLOUDSTACK-6242: exception handling improvements
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-04-15 08:07:15 +02:00
Koushik Das
5e90b75c98
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:52:37 +05:30
Koushik Das
5f53dced5e
CLOUDSTACK-6363: [Automation] jetty server is going OOM for simulator
2014-04-14 09:39:51 +05:30
Wido den Hollander
8d2baf8017
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 14:00:08 +02:00
Marcus Sorensen
11f5bdd78d
CLOUDSTACK-6191 Add support for specifying volume provisioning
...
type (thin, sparse, fat) in disk/compute offerings.
Submitted-by: Yoshikazu Nojima <mail@ynojima.net>
Reviewed-by: Marcus Sorensen, Mike Tutowski
2014-04-10 09:23:04 -06:00
Wido den Hollander
4ba688f07d
kvm: Add more debugging information when a volume is deleted.
...
There was no clear reference of libvirt being instructed to remove
the volume
2014-04-10 14:33:49 +02:00
Kishan Kavala
85072cb6b9
CLOUDSTACK-6371: Set snapshot size in copycommand answer during snapshot backup
2014-04-10 14:45:14 +05:30
Wido den Hollander
0615d4e6a5
rbd: 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.
modified: plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java
2014-04-10 05:30:06 +02:00
Sanjay Tripathi
a195205d11
CLOUDSTACK-6366: add vgpuTypes details in vgpu_types table.
2014-04-09 18:23:50 +05:30
Harikrishna Patnala
ecc71518a9
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:12:20 +05:30
Murali Reddy
bc17f17776
CLOUDSTACK-6365: support virtual host and ssl in rabbitMQ event bus
...
with this fix, virtual host on the AMQP server can be specified. Also
SSL can be used for connection between management server and AMQP
servers.
2014-04-09 17:36:59 +05:30
Anshul Gangwar
ade4d44de4
CLOUDSTACK-6262: Fixed network throttling in hyper-v, Now network rate parameter is honored in hyper-v. Network rate parameter now set the max bandwidth of nic on hyper-v
2014-04-09 13:10:30 +05:30
Anthony Xu
8d1c90684f
make sure volumeUuid is not full path
2014-04-08 16:34:59 -07:00
Anthony Xu
8f9d87c6d9
Destroy unplugged VIFs before creating a VIF for a VM
2014-04-08 16:15:06 -07:00
Murali Reddy
855fac1811
CLOUDSTACK-6356: OVS: tunnel networks does not work across the XenServer
...
clusers
across the poll members an internal network created is visible to al the
members but bridge is not necessariliy created. This fix enables
plugging a temp VIF connected to internal network to dom0 and then
unplug-it. this action creates a bridge on the host of the network.
2014-04-08 19:07:38 +05:30
Anshul Gangwar
1dfe4c19b5
CLOUDSTACK-6289: fixed storage migration failing in case of hyper-v if there are multiple disks attached to VM
2014-04-08 14:39:13 +05:30
Anshul Gangwar
e644ac1653
CLOUDSTACK-6325: [hyper-v] fixed cleaning of bin and obj directories when building with mono, they were not cleaning up and resulting in use of stale dlls in some cases
2014-04-08 14:37:21 +05:30
Anshul Gangwar
f40e8a835c
CLOUDSTACK-6326: fixed password visible in plain text in some of commands in Hyper-v Agent logs
2014-04-08 14:37:13 +05:30
Sheng Yang
e8227c88d8
CLOUDSTACK-6314: Use SSH commands for Xen VR execution
...
Instead of XAPI, which would make XenServer unnecessary busy.
2014-04-07 13:38:14 -07:00
Wido den Hollander
6da087e601
rbd: Add some more debugging while deleting a physical disk
2014-04-07 06:20:57 +02:00
Min Chen
94ebc90877
Remove usage of sameOwner checkAccess invocation, and convert to
...
OperateEntry IAM check.
2014-04-04 16:38:29 -07:00
Anthony Xu
ecbaa11f09
clean up xenserver resource code
2014-04-04 16:02:49 -07:00
sbalineni
0560254c04
internal lb support for contrail vpc
...
Signed-off-by: Alena Prokharchyk <alena.prokharchyk@citrix.com>
2014-04-04 15:36:09 -07:00
Anthony Xu
15c142326f
clean up xenserver resource code
2014-04-04 14:14:22 -07:00
Sanjay Tripathi
60c58c5cac
CLOUDSTACK-6339: Getting exception while adding XenServer625 host.
2014-04-04 12:30:33 +05:30
Sanjay Tripathi
3666df4d34
CLOUDSTACK-6268: Unable to get GPU stats, You tried to call a method that does not exist.
2014-04-04 10:21:03 +05:30
Koushik Das
af1eba2708
CLOUDSTACK-6286: [Automation] VM deployment is failing in simulator
...
Added AggregationContolCommand to simulator
2014-04-03 11:45:53 +05:30
Abhinandan Prateek
228aa07153
Revert "CLOUDSTACK-6286: added FinishAggregationCommand and StartAggregationCommand to simulator"
...
This reverts commit 1586f419dc . Reverting as the commit that includes the two classes is missing.
2014-04-03 10:21:16 +05:30
Alex Huang
e9c81c78b9
Applied Tina's patches for removing the xapi jar
2014-04-02 14:00:56 -07:00
Abhinandan Prateek
9ddfbe1128
CLOUDSTACK-6286: added FinishAggregationCommand and StartAggregationCommand to simulator
2014-04-02 20:38:19 +05:30
Anshul Gangwar
24820d20d3
CLOUDSTACK-6288: Changing default ImageFormat to vhdx for hyper-v and allowing registration of vhdx format templates.
...
Signed-off-by: Devdeep Singh <devdeep@gmail.com>
2014-04-01 14:00:24 +05:30
Mike Tutkowski
06c0486d0b
CLOUDSTACK-6170 (VMware root-disk support for managed storage)
2014-04-01 00:09:53 -06:00
Mike Tutkowski
21455222e4
CLOUDSTACK-6170 (VMware root-disk support for managed storage)
2014-03-31 21:20:43 -06:00
Sheng Yang
b2ffd86570
CLOUDSTACK-6309: Fix timeout in KVM when execute VR commands
...
Timeout is in seconds rather than milliseconds.
2014-03-31 11:30:06 -07:00
Mike Tutkowski
1577e75a3d
CLOUDSTACK-6170 (VMware root-disk support for managed storage)
2014-03-31 00:13:30 -06:00
Anthony Xu
58b2b6b9e1
Add support for XS6.2 Fox hotfix
2014-03-28 16:45:16 -07:00
Anthony Xu
d4d5cabb50
fix build
2014-03-28 16:34:50 -07:00
Edison Su
25a6234a5b
fix build
2014-03-28 16:24:45 -07:00
Edison Su
578d2f62f1
fix devcloud reboot issue: should not start heartbeat for devcloud
...
Conflicts:
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
2014-03-28 16:24:36 -07:00
edison
d1d855fef4
CLOUDSTACK-5857: for some reasons, delete secondary pool failed during copy template from secondary storage to primary storage, but the volume is already copied to primary storage, we didn't clean up the volume on primary storage, then all the following copy the same template to primary storage failed, as we are always using the same uuid when creating a new volume, libvirt complaining that the volume already exists.
...
Current fix is ignoring "the delete secondary storage error".
2014-03-28 16:23:34 -07:00
edison
f79ba98cce
CLOUDSTACK-5370: delete snapshot on primary storage in case of backup snapshot failed.
2014-03-28 16:22:41 -07:00
edison
6647802d08
CLOUDSTACK-5573: bump gson version to 1.7.2, fix https://code.google.com/p/google-gson/issues/detail?id=354
2014-03-28 16:22:32 -07:00
edison
a8bfb3dd00
CLOUDSTACK-5737: ignore umount secondary storage failure during backup snapshot
2014-03-28 16:22:24 -07:00
Edison Su
a1762a6e7e
CLOUDSTACK-5264: add delta snapshot for existing xenserver
...
Conflicts:
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServerStorageProcessor.java
2014-03-28 16:22:05 -07:00
Edison Su
e656201fee
CLOUDSTACK-5395: mark snapshot_store_ref as destroyed in case of backup snapshot failed
...
Conflicts:
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServerStorageProcessor.java
2014-03-28 16:21:22 -07:00
Edison Su
a72222dd46
fix devcloud: after devcloud vm itself reboot, local storage's name label is changed to orignal
...
Conflicts:
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XcpOssResource.java
2014-03-28 16:21:04 -07:00
Edison Su
b9855968a8
fix devcloud: user template's guest os type is changed
...
Conflicts:
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XcpOssResource.java
2014-03-28 16:20:15 -07:00
Edison Su
731ccb8219
fix devcloud router start
...
Conflicts:
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XcpOssResource.java
2014-03-28 16:16:51 -07:00
Edison Su
b1bba4b3fb
CLOUDSTACK-5737: isExternalSnapshot should return true for CLVM and RBD only
2014-03-28 16:14:59 -07:00
Mike Tutkowski
0879ab812e
CLOUDSTACK-6170 (VMware root-disk support for managed storage)
2014-03-28 13:15:04 -06:00
Anthony Xu
d68e13fcbd
Revert "change below file names for consistency"
...
This reverts commit f8996fe837 .
2014-03-28 12:05:25 -07:00
Anthony Xu
f8996fe837
change below file names for consistency
...
Xenserver625Resource.java -> XenServer625Resource.java
Xenserver625StorageProcessor.java -> XenServer625StorageProcessor.java
2014-03-28 11:48:50 -07:00
Daan Hoogland
8b62b2cb92
findbugs: exclude known spiffy hacks a.k.a. false positives
2014-03-28 14:28:10 +01:00
Marcus Sorensen
7390f99afb
CLOUDSTACK-6292: Fix live migration of KVM when vnc ip address
...
changes
Submitted-by: Yoshikazu Nojima
2014-03-27 16:45:42 -06:00
Anthony Xu
6356f5fdb0
add more log for creating XS pool network
2014-03-27 15:31:59 -07:00
Anthony Xu
73a2aa1aa4
Fixed a typo
2014-03-27 10:58:23 -07:00
Santhosh Edukulla
3060f884ab
Added fix for CLOUDSTACK-6269
...
Added fix for CLOUDSTACK-6269.More details inside the bug
Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
2014-03-27 14:53:43 +05:30
Kishan Kavala
fe7b753b03
CLOUDSTACK-6122: Map rbd image on host before attaching to Vm
2014-03-27 14:53:36 +05:30
Anthony Xu
2dc1c7bec8
get rrd through http directly instead of xapi plugins
2014-03-26 18:04:41 -07:00
Anthony Xu
ff1c0647fc
in XS, joining a host to a XS pool may not work as expected, especially when there are multiple nics, binding devices.
...
admin needs to check if the right nics are binded togather, if network are propagated to the new host correctly before adding this host to CS.
2014-03-26 16:25:26 -07:00
Anthony Xu
c9edb7ecfe
set nosubdir for NFS SR
2014-03-26 14:56:58 -07:00
Anthony Xu
6de28bb1a4
in XenServer, host eject may fail due to diffent reasons, it's hard for CS to handle all failure.
...
in CS, removing a host means CS will not manage the host, admin needs to eject the host from XS pool outside of CS
2014-03-26 14:22:49 -07:00
Anthony Xu
a596edbdf6
make sure XS host is enabled when creating XAPI connection
2014-03-25 11:20:16 -07:00
Anthony Xu
88c1da679c
check_heartbeat and pingtest execute through ssh, not XAPI, because XAPI may hang when master host is downi
2014-03-25 10:44:20 -07:00
Murali Reddy
7b08bb7cab
CLOUDSTACK-6281: OVS distributed routing: exclude non implemented
...
networks while sending VPC topology updates as GRE key is not associated
with the network unless implemented.
2014-03-25 16:43:46 +05:30
Anthony Xu
d14f66f58d
when start vm times out, check VM status, if it is running , return succeed.
...
change XAPI timeout to 60 second.
2014-03-24 17:15:08 -07:00
Anthony Xu
bf48309e14
addHostCmd will try to load all hosts in a pool
2014-03-24 16:06:26 -07:00
Wido den Hollander
9763faf85e
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-03-24 16:35:13 +01:00
Murali Reddy
d2d54a9463
region level VPC support
...
introduce 'RegionLevelVpc' as capability of 'Connectivity' service. Add
support for CreateVPCOffering to take the 'regionlevelvpc' as capability
of service 'connectivity'.
introduces new capability 'StretchedL2Subnet' for 'Connectivity'
service. Also add support to createNetworkOffering api to allow
StretchedL2Subnet capablity for the connectivity service.
adds check to ensure 'Connectivity' service provider supports
'StretchedL2Subnet' and 'RegionLevelVpc' capabilities when specified in
createNetworkOffering and createVpcOffering respectivley
enable ovs plug-in to support both StretchedL2Subnet and RegionLevelVpc
capabilities
make zone id optional parameter in createVpc, zone id can be null only
if vpc offfering supports region level VPC
in region level vpc, let the network/tier to be created in any zone of
the region
keep zoneid as required param for createVpc
skip external guest network guru if 'Connectivy' service is present in
network offering
fix build break in contrail manager
permit VM's to be created in different zone that in which network is
created if the network support streched L2 subnet
add integration tests for region level VPC
rebase to master
Conflicts:
setup/db/db/schema-430to440.sql
Conflicts:
api/src/org/apache/cloudstack/api/ApiConstants.java
engine/schema/src/com/cloud/network/vpc/VpcVO.java
setup/db/db/schema-430to440.sql
2014-03-20 16:32:22 +05:30
Rajani Karuturi
07365c3dab
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>
2014-03-20 14:44:23 +05:30
Sheng Yang
1d3a6eaa50
CLOUDSTACK-6047: Fix timeout issue when try to execute aggregated commands
...
Add executeInVR() with timeout interface to VirtualRouterDeployer
AggregationControlCommand with Action.Finish may take longer than normal command
since it would execute all the commands in one execution, and it may result in
SSH timeout for SshHelper or other mechanism communicate with VR.
Introduce an new executeInVR() interface with added timeout period for waiting
FinishAggregationCommand to complete execution.
2014-03-18 17:43:59 -07:00
Edison Su
0c1b6b44a8
add apache licence header for cloudbyte
2014-03-18 15:02:02 -07:00
Edison Su
0288a87045
pump the version
2014-03-18 11:14:23 -07:00
punith-cloudbyte
f3c7c607bd
cloudbyte storage plugin for master commit
2014-03-18 11:14:23 -07:00
sbalineni
c56df036e8
Per contrail implementation, CS ingress policy mapping: rule cidr should be mapped to src net, dst net is 'local' i.e same as 'guest network' on which rule is applied
...
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2014-03-18 11:04:19 -07:00
Marcus Sorensen
d638d04cbf
CLOUDSTACK-6181: Merge of resize root feature (resize-root branch)
2014-03-14 07:17:33 -06:00