Commit Graph

132 Commits

Author SHA1 Message Date
Rajesh Battala 50c9377774 CLOUDSTACK-5312 added hyperv support in seeding the systemvm template script 2013-12-05 11:59:59 +05:30
Devdeep Singh d14592fe93 Make sure only unit tests are run during build time and not functional tests.
Fixing rebase issues after integrating with wmi v2 implementation.
Removing the executable attribute from some files.
Remove the unused wmi v1 interface file.
Unit test for DestroyCommand implementation in hyperv agent.
Fixed VM state changes w.r.t wmi version 2 changes
If a VM is already running, deploy virtual machine shouldn't fail and throw an exception.
Don't run vhd-util on templates which are present on CIFS. Hyperv uses cifs as secondary storage
Add a SCSI controller by default. This is needed so that data volumes can be added/removed
on a running vm.
Remove the hard coded path in the agent code.
Rat fixes for hyper agent. Added the missing headers in files where it was missing.
2013-11-04 18:48:54 +05:30
Edison Su 4fb4593553 CLOUDSTACK-4618: fix CLVM 2013-09-25 16:29:16 -07:00
Dave Cahill 062eab8df4 Fix specifying db passwd in cloud-install-sys-tmplt
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-08-12 10:59:37 +02:00
Anthony Xu 76e79851a0 vhd-util check doesn't work for some corrupted vhd file, use vhd-util read instead 2013-07-17 15:01:01 -07:00
Rene Diepstraten 53e6a1c0fa Removed unused script scripts/storage/qcow2/cleanupmyvms.sh
Signed-off-by: Rene Diepstraten <mail@renediepstraten.nl>
2013-07-17 18:35:38 +02:00
Edison Su bf32776f9f be able to upload template into swift 2013-07-16 18:07:06 -07:00
Edison Su 0c1ae20e77 add inital swift support
Conflicts:

	server/src/com/cloud/resource/ResourceManagerImpl.java
	server/test/com/cloud/resource/MockResourceManagerImpl.java
2013-07-13 02:07:03 -07:00
Edison Su 34f6538454 CLOUDSTACK-2970: wait is in seconds in command 2013-06-14 17:57:34 -07:00
Min Chen 18aeef3ef1 Merge branch 'master' (up to commit
c30d9be3ce) into object_store.
2013-06-12 11:20:32 -07:00
Anthony Xu 0b728f2e77 remove unused file 2013-05-29 13:51:22 -07:00
Edison Su 492127c035 fix kvm 2013-05-12 18:27:37 -07:00
Edison Su 5aeca646ae make create template from volume/snapshot work 2013-05-07 20:18:19 -07:00
Phong Nguyen aa79ccf985 CLOUDSTACK-922: LXC Support in Cloudstack.
Signed-off-by: Edison Su <sudison@gmail.com>
2013-04-01 15:41:42 -07:00
Wido den Hollander 29baacd120 debian: Include jasypt in the cloudstack-common package
This is required for the cloud-install-sys-tmplt installer.

Signed-off-by: Wido den Hollander <wido@42on.com>
2013-03-31 14:16:31 +02:00
Marcus Sorensen 0ca85659a6 CLOUDSTACK-1651 - point agent scripts to correct logging location, due to move
of /var/log/cloud to /var/log/cloudstack

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1363112422 -0600
2013-03-12 12:20:22 -06:00
Wido den Hollander e4b2fe42e0 CLOUDSTACK-1206: Change path from /etc/cloud to /etc/cloudstack
Reported-by: Pradeep Soundararajan <pradeep.soundararajan@citrix.com>
2013-02-08 10:50:48 +01:00
Marcus Sorensen 750fb2c31e Summary: Fix improper variable assignment in resizevolume.sh (remove $)
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360089640 -0700
2013-02-05 11:40:40 -07:00
Marcus Sorensen 8c5b82dfb4 Summary: several scripts are not mode executable
Detail: several scripts in the scripts directory weren't marked executable.
Normally this is handled/fixed in the packaging, but harder to deal with in
development environments, so marking them executable.

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1358446902 -0700
2013-01-17 11:21:42 -07:00
Marcus Sorensen 1ff7a147bd Revert "Summary: fix ipsectunnel.sh being called as ipsectunnel in KVM S2S vpn"
This reverts commit 1a2e69fb22.
accidentally pushed mode change of sh file as well, need to split this out
2013-01-17 11:17:43 -07:00
Marcus Sorensen 1a2e69fb22 Summary: fix ipsectunnel.sh being called as ipsectunnel in KVM S2S vpn
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1358446410 -0700
2013-01-17 11:13:30 -07:00
Marcus Sorensen 975021dda1 Summary: adding resizeVolume api call
Detail: This merges the resizevolume feature branch, which provides the
ability to migrate a disk between disk offerings, thereby changing its
size, or specifying a new size if current disk offering is custom.

BUG-ID: CLOUDSTACK-644
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1358358209 -0700
2013-01-16 17:43:35 -07:00
Marcus Sorensen 7ce2227108 Summary: master - Copy qcow2 instead of converting if source and dest are qcow2
Detail: If source image is qcow2, and we want a qcow2 image, then doing a
convert strips off compression and any snapshots the user had in that image. If
a backing file exists, we stick with convert so we can pull in both the backing
file and the COW image, otherwise we just cp the qcow2 file. This is also faster

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1354755241 -0700
2012-12-05 17:54:01 -07:00
Marcus Sorensen a91df8f32d Summary: master - Fix typo in createvolume.sh
Detail: createvolume.sh had '$qemu-img' in one spot instead of '$qemu_img' as it
uses everywhere else

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1354754792 -0700
2012-12-05 17:46:32 -07:00
Edison Su d068a40fe8 t-templateid-to-bypass-db-access-during-cloud-instal 2012-09-17 11:27:38 -07:00
Hiroaki Kawai b3d4246a14 typo in cloud-install-sys-tmplt 2012-09-11 18:37:24 -07:00
Anthony Xu b52bd1fc5a The file scripts/storage/secondary/cloud-install-sys-tmplt had a syntax error,
provided-by : Marcus Sorensen
2012-09-07 16:36:38 -07:00
Edison Su b88033ff2a fix installation issue 2012-09-07 05:12:27 -07:00
Edison Su 263216caa5 Adds CLVM as an option for primary storage. It copies most of the RBD bits, in most cases simply adding an 'else if' or similar. In the managesnapshot.sh we add the ability to manipulate snapshots for the CLVM volumes, as well as a few minor fixes like adjusting the usage for the -b option to reflect that it accepts four arguments (note that it already accepted four args, it just wasn't reflected in the usage).
RB: https://reviews.apache.org/r/6470/
Send-by: shadowsor@gmail.com
2012-08-10 13:33:06 -07:00
David Nalley d630fa8697 license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
frank 27265597bf make cloud-install-sys-tmplt work without db.properties file
this allows developer setup secondary storage from their development environment
2012-06-20 11:08:33 -07:00
butanet 2c001bbe21 Fix variable name in createtmplt.sh 2012-05-28 14:18:47 -04:00
butanet f5eefc0493 Fix variable name in createtmplt.sh ($tmplfs -> $tmpltfs) 2012-05-28 14:13:37 -04:00
Nitin Mehta d77af1a96c bug CS-14941: Revert accidental chages to the create template script for KVM 2012-05-21 09:11:40 +05:30
Edison Su bafc3f2a5a CS-14521
Remove CLVM, due to license issue
2012-05-15 15:13:15 -07:00
Nitin Mehta 4434aa0d2d bug CS-10789: More changes for the imageformat, introdueced new column in db for the format, created scripts for doffernt hypervisors ...and the list goes on. 2012-04-23 13:44:34 +05:30
Nitin Mehta ac2175bdbc bug CS-10789: Adding volume sync and delete functionality. 2012-04-23 12:29:38 +05:30
Nitin Mehta 564cef8ddf More changes for uploadVolume. Create framework for upload volume progress communication between MS and SSVM. 2012-04-23 12:14:35 +05:30
frank 2f634c0913 Switch to Apache license 2012-04-03 04:50:05 -07:00
kishan 606902ff09 Bug 11931: Add quotes to snapshot name and volume name. Fixed create template from snapshot also by adding quotes
Status 11931: resolved fixed
Reviewed-By: Nitin

Conflicts:

	scripts/storage/qcow2/createtmplt.sh
2012-02-08 17:24:17 +05:30
Edison Su 738a5927a8 quote the snapshot name 2012-01-31 16:23:34 -08:00
frank 52610ffcb3 add copyright header to shell scripts 2012-01-11 18:41:53 -08:00
Edison Su c067763075 bug 12604: if there are actually snapshots creating on the volume, then don't move the snapshot
status 12604: resolved fixed
2011-12-20 15:12:31 -08:00
frank 9c4f009c69 Bug 12241 - document all supported options in routing script: cloud-install-sys-tmplt
status 12241: resolved fixed
2011-12-15 14:49:16 -08:00
Edison Su ee60039404 bug 8489: remove the leading /
status 8489: resolved fixed
2011-12-06 14:14:09 -08:00
kishan 489a1d5738 bug 12365: Read secret key from file for encryption type file. For web type use comman-line option -s.
status 12365 : resolved fixed
reviewed-by: Nitin
2011-12-06 14:52:57 +05:30
kishan cdbf5b0db5 bug 12262: Updated jasypt jar path 2011-12-03 08:47:37 +05:30
kishan d64747a657 bug 12262: Added "-s" option. When encryption is used provide mgmt secret key using "-s" option.
status 12262 : resolved fixed
reviewed-by: Prasanna
2011-12-02 21:12:49 +05:30
frank 7eddef60fe Bug 11926 - Need parameter check before execution of cloud-install-sys-tmplt
make the check for mount point a litter earlier

status 11926: resolved fixed
2011-11-30 13:50:07 -08:00
Edison Su 6841e265d3 bug 10330: finally merge Rommer's CLVM patch
status 10330: resolved fixed
2011-11-02 18:03:58 -07:00
anthony 59b084a867 add swift client from 1.4.3 into SSVM 2011-10-13 15:52:58 -07:00
kishan b7214e6202 bug 10626: Modified install sys tmpl script to get templateId from DB using db.properties
status 10626: resolved fixed
2011-09-14 01:08:07 +05:30
Edison Su d18a1ddc28 fix the long time issue that sometimes libvirt reports volume missing 2011-09-02 01:01:27 -07:00
Edison Su 8bcad6960c add rhel6.1 support 2011-07-29 20:05:01 -07:00
anthony 384f30101e fixed template download 2011-05-17 14:01:12 -07:00
Frank 92155522f2 Add license header to files 2011-04-14 11:23:14 -07:00
Chiradeep Vittal ae9180d33b bug 9330: add kvm / vmware system vm template definitions 2011-04-11 15:46:37 -07:00
anthony 6a0530823b remove the hidden flag in template vhd-file 2011-03-15 16:53:58 -07:00
Edison Su c4ac92af3f fix destroy snapshot 2011-03-09 10:20:05 -05:00
Edison Su c80335c9df bug 8783: user vm fs is crashed, use O_DIRECT instead of O_DSYNC/O_SYNC in qemu, aka cache=none. Hope we can reduce the possibility of guest vm crashed.
status 8783: resolved fixed
2011-03-01 16:38:23 -05:00
Frank 735388ed79 Bug 8312 - Too high (10GB) of a free disk requirement for system VM templates
status: resloved fixed
2011-02-01 17:33:34 -08:00
Chiradeep Vittal 34dc0695c2 Cleanup some scripts 2011-01-19 10:08:30 -08:00
Chiradeep Vittal 37598f182c bug 3981: Add more logs for long running operations, only for systemvm initial install
status 3981: resolved fixed
2011-01-18 17:21:05 -08:00
Chiradeep Vittal 8ca5028430 bug 3981: Add more logs for long running operations 2011-01-18 17:21:05 -08:00
Chiradeep Vittal 6a66fc58c2 bug 4390: check for 10G space in NFS mount and local
status 4390: resolved fixed
2011-01-18 14:29:09 -08:00
Chiradeep Vittal f1880942c3 bug 7288: report errors and bail
status 7288 resolved fixed
2011-01-18 14:29:09 -08:00
Edison Su c12526d4e0 %s/xen/xenserver 2011-01-04 09:42:11 -05:00
edison 254a59fc6c fix installrtng for vmware 2010-11-29 15:08:50 -08:00
edison 23d85f042b when re-seed systemvm template, we just need to specify hypervisor type, no need to the wired number 2010-11-23 19:15:14 -08:00
Anthony Xu 4d053964b6 remove zfs related staff, which is not used 2010-11-18 14:43:20 -08:00
edison 4d7d09a7a8 fix the import vmware template 2010-11-01 18:33:34 -07:00
Kris McQueen 2740ba6c40 final merge of master->2.1.refactor preparing for merge back into master 2010-10-12 14:46:24 -07:00
edison 3028dab141 fix systemvm template in direct attached mode, guest vm can't get gateway and dns server 2010-10-07 16:32:46 -07:00
Kelven Yang 15f5fa5c1d Make installrtng.sh support vmware template 2010-10-07 11:19:04 -07:00
Kris McQueen 848ce60097 Merging master into 2.1.refactor, resolve the merge conflicts as best I can. New commands related to extracting template/iso/volume and related to instance groups were refactored to the new API framework. 2010-09-28 15:47:14 -07:00
Chiradeep Vittal 71cae63323 vhd.size not filled in depending on where the script is run from 2010-09-09 15:12:06 -07:00
Alex Huang 7249f168d5 more file changes 2010-09-09 13:27:20 -07:00
anthony 56b33b578c bug 5944: add basical vhd file check
status 5994: resolved fixed
2010-08-31 19:44:18 -07:00
edison 3ab4651cf0 Issue #: 5978 5977 5971 5972
Status 5978: resolved fixed
Status 5977: resolved fixed
Status 5971: resolved fixed
Status 5972: resolved fixed
2010-08-25 15:27:34 -07:00
Manuel Amador (Rudd-O) 14ae76781e Committing Kris' big merge 2010-08-11 16:02:57 -07:00
Manuel Amador (Rudd-O) ac730ec496 Branch 2.1.refactor committed 2010-08-11 09:13:42 -07:00
Manuel Amador (Rudd-O) 05c020e1f6 Source code committed 2010-08-11 09:13:29 -07:00