Nitin Mehta
045dc02845
Bug 13564: Incorrect format was coming for kvm since there was a ohardcoding on the extension to be of size 3 Instead take the format from the ENUM.
...
Reviewed-By: Kishan
2012-02-09 20:21:00 +05:30
frank
169073e730
Bug 13526 - copying template across zone failing with status HTTP Server returned 403 (expected 200 OK) Even though gets status message copy succeeded (
...
Bug 13429 - copy template FAIL - HTTP Server returned 403
lots of things:
1. generate a IP list of all SSVM across all zones, set this IP list to my .htaccess allowable from.
so other SSVMs get privilege to access me.
2. broadcast my IP to other SSVMs instructing them set me to theirs .htacess allowable from. so I get
privilege to access others
3. set outbound route for downloading through public IP. Because public ip/private ip in the same subnet in basic
zone, the http download traffic may come in through public ip but go outside through private ip which finally causes
the VM where the traffic is from to drop response packets. To resolve this, set individual route for each SSVM public
ip making sure the inter-communication between system vm happens through public IP
however, I met certificate expiraton on one SSVM, will report another bug
reviewed-by: Sheng.yang
status 13526: resolved fixed
status 13429: resolved fixed
2012-02-08 18:33:18 -08:00
Kelven Yang
7a3ef1293b
bug 11814: Allow template to have details info in key/value pairs.
2012-01-31 15:09:14 -08:00
anthony
1f53790626
bug 13338:
...
increate timeout for sshcheck to 10 minutes
if sshcheck fails, finalizeCommandsOnStart fails, no exception
status 13338: resolved fixed
Conflicts:
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2012-01-27 10:06:53 -08:00
Edison Su
a455435f5f
only decrease the snapshot count when the snapshot status is in backuped state
2012-01-26 13:53:52 -08:00
anthony
432cfacf2a
cleanup snapshot in secondary storage in background
2012-01-19 20:39:45 -08:00
Kelven Yang
6d40c078f9
bug 11428: remove the constraint based on customer's feedback, we will allow creating volume from a snapshot that was originally taken from root volume. Customers should be aware that when the volume is attached as a data volume, some partitions that were originally created as a root volume may not be recognized by the guest OS
2012-01-17 16:01:22 -08:00
Edison Su
312df2ffac
do not need to hold a vm lock when taking snapshot
2012-01-16 10:37:51 -08:00
Nitin Mehta
dc4db76932
bug 13066 Storage over prov factor should be float rather than long which leads to wrong storage calculation
...
Reviewed by : Kishan.
2012-01-16 13:08:35 +05:30
anthony
cc702293ed
bug 10743: default local storage is ext in XenServer 6.0, add ext local storage support
...
Conflicts:
api/src/com/cloud/storage/Storage.java
2012-01-05 14:42:30 -08:00
Edison Su
04e5c842f8
bug 11991: don't duplicate templates into other secondary storages
...
status 11911: resolved fixed
Reviewed-by: anthony
2011-11-11 14:22:01 -08:00
frank
bb7293c9a5
Bug 11933 - Unable to add Primary Storage (OCFS2) to a OVM Cluster
...
Don't allow character beyond [A-Z0-9] in OCFS2 cluster name
it is not allowed by OCFS2 configure script
reviewed-by: edison
2011-11-10 17:06:46 -08:00
Edison Su
e12368da5f
bug 11981: upgrade snapshot version number from 2.1 to 2.2 if it's a root volume
...
status 11981: resolved fixed
Reviewed-by: Anthony
2011-11-10 16:21:23 -08:00
frank
3cc37ed3fb
refine the logic seraching ssvm when generate firewall configuration
2011-11-09 14:37:36 -08:00
Edison Su
883058ed1a
bug 11919: if volume is dettached, instance id is null
...
status 11919: resolved fixed
Reviewed-by: frank
2011-11-09 10:41:14 -08:00
Alena Prokharchyk
b16777994f
bug 11924: don't return ISO entries where removed != null
...
status 11924: resolved fixed
reviewed by: Will Chan
2011-11-09 09:39:31 -08:00
Nitin
e9b21dad49
bug 11428: For volumes use findIdIncludingRemoved since volumes can be removed
...
Reviewed by - Kishan
status 11428: resolved fixed
2011-11-07 19:05:44 +05:30
Nitin
18a243e1d6
bug 11428: Under VMware with current version, for snapshot related related operations,
...
1) if snapshot is originally created from root volume, allow only
CreateTemplateCommand from snapshot
2) if snapshot is originally created from data volume, allow only
CreateVolumeCommand from snapshot
Reviewed by - Kishan
status 11428: resolved fixed
2011-11-07 18:30:24 +05:30
root
55b5a5c5cd
Revert "bug 11791: adding Hypervisor type to list os API"
...
This reverts commit 78e01c3061795e5d3d80db8a147b5f1c8a836a3c.
2011-11-03 14:53:32 +05:30
Abhinandan Prateek
e54fc08862
bug 11791: adding Hypervisor type to list os API
2011-11-01 17:56:28 +05:30
alena
f41dd918a9
bug 11690: don't allow to remove the cluster when it's referenced by existing storage pools
...
status 11690: resolved fixed
2011-10-21 18:07:16 -07:00
anthony
c459604fa2
handle empty snapshot correctly
2011-10-17 17:24:32 -07:00
Kelven Yang
faa3622187
bug 11716: save VMware local datastore info to local storage to support multiple local datastores per host situation
2011-10-14 17:13:22 -07:00
frank
9bf4ac9041
Bug 11647 - OVM - no support for migrate instance
...
return error if taking snapshot API call happens on Ovm
2011-10-13 16:19:42 -07:00
Edison Su
96afeaf38f
bug 10624: copyvolume needs to put ".qcow2" at the end of the file
...
status 10624: resovled fixed
2011-10-05 17:48:22 -07:00
Edison Su
0f76c1fa24
bug 11600: aquirelock before deleting a volume, which can be aquired by snapshot manager
...
status 11600: resolved fixed
2011-10-03 16:40:59 -07:00
Kelven Yang
ad8f967503
bug 11531: while taking snapshot on volume, if volume is attached to a VM instance and under VMware, check if there are other ongoing snapshot tasks for the VM instance.
2011-09-22 16:19:40 -07:00
Edison Su
d722766427
bug 11047: change the put storage pool into maintenance mode: 1. only look at the available storoge pool in its own dc to decide to start vms created on it. 2. if start vm failed, don't throw exception, as these vms are marked stopped already, admin can start these vm by himself.
...
status 11047: resolved fixed
Reviewed-by: frank
2011-09-21 16:20:09 -07:00
anthony
16a97468c2
bug 9777: introduce Error status for snapshot, if snapshot creation fails, it will be in Error status
...
status 9777: resolved fixed
2011-09-14 18:12:44 -07:00
anthony
d6af51a402
bug 9777: only allow to delete snapshot in BackedUp status
...
status 9777: resolved fixed
2011-09-14 14:15:44 -07:00
anthony
bb44208ae3
bug 11275:
...
remove heartbeat entry for this Primary Storage, when put this Primary Storage into maintenance mode
create heartbeat entry for this Primary Storage, when cancal maintenance for this Primary Storage
status 11275: resolved fixed
2011-09-13 22:11:37 -07:00
frank
29b5945263
check hypervisorType and StoragePoolType in OCFS2 manager when delete host
...
don't take lock in processResourceEvent()
2011-09-13 17:35:34 -07:00
alena
0c127890ea
bug 11036: resource count update is refactored
...
status 11036: resolved fixed
1) Use row locks instead of global lock when update resource_count table. When update resource_count for account, make sure that we lock account+all related domains
2) Insert resource_count records for account/domain at the moment when account/domain is created.
3) As a part of DB upgrade, insert missing resource_count records for all non-removed accounts/domains
2011-09-13 10:47:55 -07:00
kishan
5a036b347a
bug 9778: Log snapshot create event only if the snapshot is in not removed state after backingUp to secondary. Log snapshot delete event for backed up snapshots only
...
status 9778: resolved fixed
2011-09-12 20:22:07 +05:30
kishan
2ffb859067
bug 9778: Log snapshot create event only if the snapshot is in not removed state after backingUp to secondary. Log snapshot delete event for backed up snapshots only
...
status 9778: resolved fixed
2011-09-12 20:06:18 +05:30
anthony
a369885a0f
1. added timeout in Command Class, then each command can configure itself timeout, if timeout is not configed, use the default timeout , which is 30 minute
...
2. added following configurable timeout
PrimaryStorageDownloadWait("Storage", TemplateManager.class, Integer.class, "primary.storage.download.wait", "10800", "In second, timeout for download template to primary storage", null),
CreateVolumeFromSnapshotWait("Storage", StorageManager.class, Integer.class, "create.volume.from.snapshot.wait", "10800", "In second, timeout for create template from snapshot", null),
CopyVolumeWait("Storage", StorageManager.class, Integer.class, "copy.volume.wait", "10800", "In second, timeout for copy volume command", null),
CreatePrivateTemplateFromVolumeWait("Storage", UserVmManager.class, Integer.class, "create.private.template.from.volume.wait", "10800", "In second, timeout for CreatePrivateTemplateFromVolumeCommand", null),
CreatePrivateTemplateFromSnapshotWait("Storage", UserVmManager.class, Integer.class, "create.private.template.from.snapshot.wait", "10800", "In second, timeout for CreatePrivateTemplateFromSnapshotCommand", null),
BackupSnapshotWait("Storage", StorageManager.class, Integer.class, "backup.snapshot.wait", "10800", "In second, timeout for BackupSnapshotCommand", null),
2011-09-07 19:18:36 -07:00
Kelven Yang
a73f41e56c
bug 11360: make user_vm_details generic to all VMs instead of user-only VMs, VM details info will be carried down to hypervisor resource
2011-09-07 15:37:50 -07:00
Chiradeep Vittal
d532bec118
fix perf. issue in deploy vm. also remove dead code in dao
2011-09-07 13:58:47 -07:00
alena
78b2df8549
Do account permission checks for snapshots the way it's done for all other ControlledEntities
2011-08-31 17:53:48 -07:00
frank
996d6302eb
Bug 8966 - Oracle VM (OVM) support
...
configure hostname of host for OCFS2
small fixes
2011-08-31 15:37:16 -07:00
alena
686f9406e1
Fixed the bug in extractTemplate - do ignoreCase comparison when verify the download mode.
2011-08-26 10:11:18 -07:00
alena
488b995299
bug 11236: domainAdmin/regularUser can edit/delete/copy/extract Public template/iso only if it was created by them. They still can use/see public template/iso when execute list/deploy/attachIso commands. Root admin can operate with other people templates w/o any restrictions.
...
status 11236: resolved fixed
2011-08-24 14:48:22 -07:00
Edison Su
be249bb10a
bug 11217: add secondary storage id into snapshot, if it's an empty snapshot
...
status 11217: resolved fixed
2011-08-24 11:05:19 -07:00
Edison Su
3786d42853
bug 11217: add secondary storage id into snapshot, if it's an empty snapshot
...
status 11217: resolved fixed
2011-08-24 10:47:47 -07:00
anthony
2e2e550cc4
reversed funtion parameter
2011-08-19 18:41:59 -07:00
frank
32ee2dbe2c
Remove baremetal specific parameters from AddHostCmd
2011-08-19 17:12:23 -07:00
frank
016700737c
Bug 8966 - Oracle VM (OVM) support
...
OCFS2 support -- reconfigure OCFS2 nodes when delete host
2011-08-19 17:06:48 -07:00
frank
7350d12fff
Bug 8966 - Oracle VM (OVM) support
...
OCFS2 support -- use cluster name as OCFS2 cluster name
2011-08-19 17:06:35 -07:00
frank
18f87c2108
Merge branch 'cvm' into 2.2.y
...
Conflicts:
api/src/com/cloud/api/BaseCmd.java
cloud.spec
core/src/com/cloud/storage/template/DownloadManagerImpl.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/deploy/FirstFitPlanner.java
server/src/com/cloud/host/dao/HostDao.java
server/src/com/cloud/network/security/SecurityGroupListener.java
server/src/com/cloud/storage/StorageManagerImpl.java
server/src/com/cloud/storage/listener/StoragePoolMonitor.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
utils/src/com/cloud/utils/SerialVersionUID.java
2011-08-19 16:08:35 -07:00
Edison Su
eada883b5e
bug 11183: put volume state into "Creating" state if it's created from snapshot.
...
status 11183: resolved fixed
2011-08-19 13:46:51 -07:00