Commit Graph

1034 Commits

Author SHA1 Message Date
Marcus Sorensen e624632dfd CLOUDSTACK-5968 create vm.memballoon.disable agent parameter 2014-01-28 15:32:37 -07:00
Jayapal 782265e713 CLOUDSTACK-5966 Added enable/disable monitoring service in global config 2014-01-28 20:08:54 +05:30
Likitha Shetty e8ba2d0850 CLOUDSTACK-5796. [VMware] Size column is not getting updated in snapshot_store_ref table when a snapshot is backed up in secondary storage.
Calculate and update the size of a backed up snapshot. This snapshot size is in turn used to update the secondary_storage count for an account.
2014-01-28 09:17:01 +05:30
Hugo Trippaers 60ac12780b Backport fixed for issues found by Findbugs 2014-01-25 10:52:09 +01:00
Hugo Trippaers f18c5a1910 Findbugs finding : Incorrect use of equality
(cherry picked from commit 10cc5645e8b9713bc7c86d543413d396ce203cc6)
2014-01-25 10:52:09 +01:00
Devdeep Singh 6d997bd689 CLOUDSTACK-5942: The agent at places logs the password of the user. It should mask the
password from the message string before writing to the log. Made a change to do so.
2014-01-24 15:01:23 +05:30
Santhosh Edukulla d31fa09c7e Added Fix for CLOUDSTACK-5875
Added fix for exception and listing. Mentioned details under bug.
Post the fix, simulator works fine.

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
Signed-off-by: Koushik Das <koushik@apache.org>
2014-01-23 16:53:15 +05:30
Devdeep Singh 8ef47e8ff3 CLOUDSTACK-5936: Hyper-V agent should log to the windows event log. Changed the default
log appender for the agent.
2014-01-23 15:20:21 +05:30
Kelven Yang 50f311ed94 CLOUDSTACK-5928: disable host delta sync when new VM sync is enabled 2014-01-22 11:17:25 -08:00
Likitha Shetty 94ea2736f4 CLOUDSTACK-5927. Storage garbage collector is trying to destroy the SSVM/CPVM root disk that is in use.
In case of VMware VM during root volume preparation if we are switching to a new volume, force expunge root disk that was created from the old template.
Because otherwise storage garbage collector will later try to expunge the old disk marked for expunge and fail with 'Cannot delete file' exception
since in VMware the new root vmdk has the same name and is now in use.
2014-01-22 17:32:13 +05:30
Anthony Xu af5f3d5676 CLOUDSTACK-5923: CS doesn't do master switch for XS any more, CS will depend on XS HA to do master switch, XS HA needs to be enabled. 2014-01-21 17:55:56 -08:00
Animesh Chaturvedi 70ba92fc14 Updating pom.xml version numbers for release 4.3.0
Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-01-21 17:29:51 -08:00
Hugo Trippaers 7c4831df92 CLOUDSTACK-5884 make getTargetSwitch(NicTO nicTo) do all the work to select switch name, type and vlan token. Change preference to use the tags set on the physical network. 2014-01-21 08:18:21 +01:00
Mike Tutkowski 0e053668b8 CLOUDSTACK-5873: [Automation] Failed to attach volume to VM, if the vm is created with option startvm=false 2014-01-18 12:36:53 -07:00
Devdeep Singh eb6bed8037 CLOUDSTACK-5894: A template created from a volume on hyper-v became unusable after
the management server was restarted. The template.properties file created for the
template has the format field in upper-case. This caused the template service to
not to recognise the format and it removed the entry from the template_store_ref
table in db. Fixed the format field in the templatee.properties.
2014-01-17 19:12:59 +05:30
Saksham Srivastava 330571cea6 CLOUDSTACK-5692: obscure passwords when using cifs as storage 2014-01-17 13:49:46 +05:30
Mike Tutkowski e2364cfca6 CLOUDSTACK-5873: [Automation] Failed to attach volume to VM, if the vm is created with option startvm=false 2014-01-16 12:08:05 -07:00
Anshul Gangwar ab0a068d9f CLOUDSTACK-5880: Communication between management server and hyper-v agent should be secure. 2014-01-16 14:42:24 +05:30
Edison Su 9ed4ab731f CLOUDSTACK-5395: mark snapshot_store_ref as destroyed in case of backup snapshot failed 2014-01-15 18:46:57 -08:00
Mike Tutkowski fef4c79cb2 CLOUDSTACK-5873: [Automation] Failed to attach volume to VM, if the vm is created with option startvm=false 2014-01-15 00:18:34 -07:00
Edison Su e8307d9b3e fix devcloud: after devcloud vm itself reboot, local storage's name label is changed to orignal 2014-01-14 14:35:55 -08:00
Devdeep Singh 5bf5d3669d CLOUDSTACK-5689: System vm creation on local storage fails for hyper-v. A
null pointer exception was getting generated when a VolumeTO object was
serialized to create an answer object. If a local storage is used the uri
field will be null. Added null checks for the same.
2014-01-14 19:53:26 +05:30
jayapal b177015121 CLOUDSTACK-5867 Fixed SetMonitorServiceCommand command path 2014-01-14 18:14:28 +05:30
Edison Su f2519cf5fc fix devcloud: user template's guest os type is changed 2014-01-13 15:37:52 -08:00
edison 8dda69952f 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-01-13 14:55:47 -08:00
Likitha Shetty 6bb15a0005 CLOUDSTACK-5707. Hitting multiple 'User unauthenticated' exceptions when vCenter is upgraded to 5.5 from 5.1.
We hit these excptions whenever a management server held session that was with the old 5.1 vCenter server
is used to make resource calls to the new 5.5 vCenter.
Validate a vCenter session context before it is being used to make a resource call.
And if the context is invalid then discard the context and retrieve a new one.
During the invalidation of an old context handle the context disconnect better
by catching the appropriate exception and returning a newly created context.
2014-01-13 21:57:39 +05:30
Devdeep Singh 06a7795552 CLOUDSTACK-5657: Run the service as an account (hyper-v admin on host) so
that migration can work across hosts.
2014-01-10 17:09:26 +05:30
Devdeep Singh f417297bbb CLOUDSTACK-5639: If path field in the TO already has the complete path, do
not try to generate the path.
2014-01-10 16:34:06 +05:30
Edison Su eef4a8957d fix devcloud router start 2014-01-09 17:16:27 -08:00
Edison Su 9583c47a3f fix devcloud: get back whatever we have before 2014-01-09 15:25:09 -08:00
Min Chen 9a4a2911da CLOUDSTACK-5819:extractTemplate fails with Vmware host on migration of
NFS to S3.
2014-01-09 14:05:35 -08:00
Devdeep Singh 2ace4fe241 CLOUDSTACK-5795: Template.properties file wasn't created when a template
was created from a volume. Added a post creation change to create the file
with the necessary information.
2014-01-09 10:50:59 +05:30
edison f438f55ab0 CLOUDSTACK-5370: delete snapshot on primary storage in case of backup snapshot failed. 2014-01-08 14:15:29 -08:00
Marcus Sorensen 44c73fdcef CLOUDSTACK-5430: NPE can be thrown in disconnectPhysicalDiskViaVmSpec in
certain failure scenarios. This can only be triggered if other bugs allow
pools to be deleted while VMs are using them.
2014-01-08 09:41:40 -07:00
Marcus Sorensen 5a8ea8ae71 CLOUDSTACK-5697 This patchset fixes a bug with the recently merged
vxlan code. Users can set a physical network to isolation type 'vxlan',
put public traffic on that physical network, and it will still attempt
to use 'vlan' isolation on the KVM hosts. This is going to be an issue
for other isolation types as well, but I'm not familiar with them, so
I'm just fixing vxlan for now.
2014-01-07 17:03:36 -07:00
Mike Tutkowski ecd4a9c642 CLOUDSTACK-5823: Taking a VMware snapshot doesn't work 2014-01-07 12:41:18 -07:00
Devdeep Singh 7fc3c4fd15 CLOUDSTACK-5788, CLOUDSTACK-5789: Attaching upload volume and download
volume was failing for hyper-v. Copy command answer was failing while
creating the answer object. Fixing the issue.
2014-01-06 16:34:46 +05:30
Likitha Shetty 665d036e8b CLOUDSTACK-5782. [VMware] Snapshot creation on a detached volume failes with NPE.
For a detached volume, don't try to find the associated VM on the hypervisor/peer hypervisor host.
By default create a worker VM to perform snapshot operations.
2014-01-06 14:24:07 +05:30
Mike Tutkowski 811b0856d5 CLOUDSTACK-5662: XenServer can't discover iSCSI targets with different credentials
VAGs
2014-01-04 21:11:14 -07:00
edison 2795c4ecfb CLOUDSTACK-5737: ignore umount secondary storage failure during backup snapshot 2014-01-03 12:59:54 -08:00
Edison Su 07ad69cebf CLOUDSTACK-5737: isExternalSnapshot should return true for CLVM and RBD only 2014-01-03 12:43:16 -08:00
Sanjay Tripathi 3964a566f7 CLOUDSTACK-5701: physical size is not getting updated in snapshot_store_ref table. 2014-01-03 18:20:31 +05:30
Devdeep Singh 741634b87e CLOUDSTACK-5691: Fix for attaching an uploaded volume to instance running
on hyperv. There were multiple issues here. Upload volume was actually
failing because the post download check for vhd on the cifs share was
unsuccessful. Also the agent code wasn't parsing the volume path correctly.
Fixed it too.
2014-01-03 16:43:21 +05:30
Rajesh Battala 9313a35f41 CLOUDSTACK-5658 CLOUDSTACK-5563 deploying VM from template created from volumes fails 2014-01-03 16:14:38 +05:30
Hugo Trippaers 6e57067859 Wei Zhou found another statement that was effected by commit 3a999e7 in
OvsVifDriver.isBridgeExists.

Based on commit 725bed43b4 in master
2014-01-02 15:23:04 +01:00
Hugo Trippaers ec81c334ba Commit 3a999e7 changed the return values for the Script.execute function, this introduced a bug in the openvswitch bridge detection code.
Based on c024a93826 in master
2014-01-02 13:48:18 +01:00
Likitha Shetty 10a6c4f582 CLOUDSTACK-5704. OVA files exist for templates created from volumes.
Don't package the OVF and VMDK files into OVA after a template is created from volume.
Since packaging process contains reading and writing from the NFS mount, it doubles the amount of data that needs to be moved around
2014-01-02 16:23:45 +05:30
Anshul Gangwar e74889ac91 CLOUDSTACK-5703: putting rdp server port value in host details 2014-01-01 15:05:09 +05:30
Devdeep Singh 4d05056252 CLOUDSTACK-5605: Fixing GetStorage stats command for hyper-v. The agent
wasn't looking up the share path correctly for reading the stats of a smb
share.
2014-01-01 14:29:43 +05:30
Marcus Sorensen 83f1f68408 CLOUDSTACK-5697 - public ip ranges should allow VNI rather than only working with untagged 2013-12-31 16:03:06 -07:00