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
Edison Su
df6bee4061
add template for simulator
2011-08-18 11:37:50 -07:00
Edison Su
1bc7631bf2
finally, test framework works now
2011-08-18 10:51:31 -07:00
Murali Reddy
cc60989a68
bug 10923: changes for snapshot command to carry primary storage pool path
2011-08-12 17:43:18 +05:30
Nitin
5ef0c96e70
bug 11096: ExtractTemplate - For private template choose the correct sec storage host id since its not present in all the sec storage now.
2011-08-12 14:30:34 +05:30
Kelven Yang
fe9ccf33b5
Seperate template cleanup control to enable template preloading
2011-08-09 13:38:27 -07:00
alena
06d007337a
bug 10561: intermidiate checkin for FirewallRuleFeature
...
1) Added new apis: createFirewallRule, deleteFirewallRule, listFirewallRules
2) Modified existing apis - added boolean openFirewall parameter to createPortForwardingRule/createIpForwardingRule/createRemoteAccessVpn. If parameter is set to true, open firewall on the domR before creating an actual PF rule there
Modified backend calls appropriately.
3) Schema changes for firewall_rules table:
* startPort/endPort can be null now
* added icmp_type, icmp_code fields (can be not null only when protocol is icmp)
4) Added new manager - FirewallManagerImpl
2011-08-08 20:59:40 -07:00
anthony
1a070f4c1b
bug 11014:
...
1. if there is no storage pool, don't try to start system VM
2. not use "consoleproxy.restart" as other meaning
status 11014: resolved fixed
2011-08-08 18:28:34 -07:00
frank
c89425325b
Bug 8966 - Oracle VM (OVM) support
...
OCFS2 support -- add files
2011-08-08 13:32:27 -07:00
frank
c881bae64e
Bug 8966 - Oracle VM (OVM) support
...
OCFS2 support -- use ComponentLocater to load OCFS2 manager
2011-08-08 13:30:15 -07:00
frank
c6fba0fd42
Bug 8966 - Oracle VM (OVM) support
...
OCFS2 support -- prepare OCFS2 nodes
2011-08-05 17:46:29 -07:00