Edison Su
508bc692ff
bug 12657: don't hold a vm lock when taking snapshot
...
status 12657: resolved fixed
Reviewed-by: Anthony.xu@citrix.com
2011-12-20 10:58:49 -08:00
kishan
e2cb4f94d6
bug 12337: Encrypt only password in host_detail table. Removed unused and duplicate references of HostDetailDao
...
status 12337: resolved fixed
reviewed-by: Abhi
2011-12-20 19:28:41 +05:30
anthony
93546c7cf7
SWIFT: swift id may be not 1
2011-12-19 18:33:09 -08:00
Alena Prokharchyk
42a460023e
Don't allow to create snapshotPolicy for disabled account and suspended/inactive project
2011-12-19 16:30:46 -08:00
Alena Prokharchyk
ceb0a918a1
createTemplate/createSnapshot for project - allow to execute for Projects in Active state only
2011-12-19 16:20:40 -08:00
anthony
bb11bf9efd
SWIFT : fixed create template from snapshot
2011-12-19 15:37:51 -08:00
Edison Su
aac9c540af
bug 12625: don't put volume into snapshotting state if we are taking snapshot on it
...
status 12625: resolved fixed
2011-12-19 15:19:19 -08:00
Nitin Mehta
b2b8ce1758
bug 10674: For recurring snapshots when there is quota hit log it and send an email alert.
...
Reviewed by : Kishan.
2011-12-13 14:34:25 +05:30
Nitin Mehta
35e2640019
bug 10674: For recurring snapshots when there is quota hit log it and send an email alert.
...
Reviewed by : Kishan.
2011-12-13 11:21:34 +05:30
kishan
ff14d09a8d
bug 12435: Create accountSearch join builder only once.
...
status 12435: resolved fixed
reviewed-by: Nitin
2011-12-08 17:55:24 +05:30
Alena Prokharchyk
2c2dfdc507
bug 12237: fixed listSnapshots to work correctly with projectId
...
status 12237: resolved fixed
2011-12-06 16:43:58 -08:00
kishan
1dfc3f8e34
bug 10280: Throw exception when snapshot allocation fails
...
status 10280 : resolved fixed
reviewed-by: Abhi
2011-12-01 23:37:36 +05:30
Alena Prokharchyk
34b24895eb
bug 12176: fixed NPE in resource limit calculation for snapshots
...
status 12176: resolved fixed
2011-11-24 10:33:11 -08:00
Edison Su
44218ef07c
bug 11919: if volume is dettached, instance id is null
...
status 11919: resolved fixed
Reviewed-by: frank
2011-11-09 10:43:32 -08:00
anthony
b4f8c85f20
Swift: add Swift Manager
2011-11-02 18:45:55 -07:00
anthony
46dac852fa
Merge branch 'swift'
...
Conflicts:
server/src/com/cloud/agent/AgentManager.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/host/dao/HostDao.java
server/src/com/cloud/host/dao/HostDaoImpl.java
server/src/com/cloud/resource/ResourceManagerImpl.java
server/src/com/cloud/server/ManagementServerImpl.java
server/src/com/cloud/storage/download/DownloadMonitorImpl.java
server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java
2011-10-31 15:04:48 -07:00
anthony
2f1e5504fb
Revert "handle empty snapshot correctly"
...
This reverts commit 99f985783e960d1ef8712c8ff724862f688b461e.
2011-10-31 14:30:09 -07:00
anthony
42a3f0041a
handle empty snapshot correctly
2011-10-31 11:42:58 -07:00
anthony
4116d0d4e4
Swift : bug fix
2011-10-27 16:04:18 -07:00
frank
cef30956e9
Merge branch 'newagentmgr'
...
Conflicts:
agent-simulator/src/com/cloud/api/commands/ConfigureSimulator.java
ovm/src/com/cloud/ovm/hypervisor/OvmDiscoverer.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/capacity/CapacityManagerImpl.java
server/src/com/cloud/network/F5BigIpManagerImpl.java
server/src/com/cloud/network/JuniperSrxManagerImpl.java
server/src/com/cloud/resource/ResourceManagerImpl.java
server/src/com/cloud/server/ManagementServerImpl.java
server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
utils/src/com/cloud/utils/db/GenericDao.java
2011-10-27 11:09:56 -07:00
anthony
510d1dbef7
Swift : upload template to Swift and sync between Swift and secondary storage
2011-10-24 18:48:16 -07:00
Edison Su
92eaf49f29
Add storage migration
2011-10-24 15:59:47 -07:00
anthony
0df249172d
Swift: DeleteSnapshotBackupCommand and DeleteSnapshotsDirCommand are executed in SSVM
2011-10-21 19:53:48 -07:00
anthony
19df7ed8af
Swift; create template from snapshot
2011-10-21 17:32:48 -07:00
anthony
6c5c24dd6b
swift: create volume from template works
2011-10-21 12:53:58 -07:00
anthony
c97010a160
BackupSnapshot to Swift
2011-10-18 18:11:09 -07:00
frank
5ee1a2456d
Bug 11647 - OVM - no support for migrate instance
...
return error if taking snapshot API call happens on Ovm
2011-10-13 16:20:49 -07:00
alena
25c2734e03
More stuff to Projects feature - added support for adding resources (vms, templates, isos) to the project
2011-10-05 13:24:25 -07:00
frank
89e04458b6
Bug 11522 - New agent manager
...
move all listxxx interface from HostDao to managers(ResourceManager, SecondaryStorageVmManager etc) with decent name using SearchCriteria2
or direct call SearchCriteria2 on demand
2011-10-04 14:35:26 -07:00
Edison Su
ae83246acb
bug 11600: aquirelock before deleting a volume, which can be aquired by snapshot manager
...
status 11600: resolved fixed
2011-10-03 16:43:47 -07:00
frank
683113cc38
Bug 11522 - New agent manager
...
get rid of all secondary storage interface from HostDao, instead, put them in
SecondaryStorageVmManager using SearchCriteria2 with decent name
2011-10-03 11:21:34 -07:00
Kelven Yang
2a6de104e2
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:22:12 -07:00
alena
9f9b60a287
1) Added resource limits for the Projects - the same as for the account
...
2) Added "Project" limit type for the Domain object
2011-09-21 17:09:49 -07:00
alena
a1331d1cfc
Intermidiate checkin to Project feature:
...
1) Introduce new managers - ProjectManager and DomainManager. Moved all domain related code from AccountManager to DomainManager.
2) Moved some code from ManagementServerImpl to the correct managers.
3) New resource limit for Domain - Project
2011-09-20 18:35:28 -07:00
anthony
6ecc981e25
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:14:02 -07:00
anthony
313b624373
bug 9777: only allow to delete snapshot in BackedUp status
...
status 9777: resolved fixed
2011-09-14 14:16:19 -07:00
alena
f6a79c603f
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
Conflicts:
core/src/com/cloud/alert/AlertManager.java
server/test/com/cloud/agent/MockAgentManagerImpl.java
2011-09-13 10:47:36 -07:00
kishan
b30827a0ec
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:30 +05:30
kishan
5928a9b370
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:01:19 +05:30
anthony
4423da06a2
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:17:54 -07:00
alena
8b5f2c758e
Do account permission checks for snapshots the way it's done for all other ControlledEntities
2011-08-31 18:15:08 -07:00
alena
e3f179844e
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:35 -07:00
Edison Su
9a6fc7de45
bug 11217: add secondary storage id into snapshot, if it's an empty snapshot
...
status 11217: resolved fixed
2011-08-24 11:05:45 -07:00
Edison Su
9a65935809
bug 11217: add secondary storage id into snapshot, if it's an empty snapshot
...
status 11217: resolved fixed
2011-08-24 10:48:10 -07:00
Murali Reddy
0969ba8063
bug 10923: changes for snapshot command to carry primary storage pool path
2011-08-12 17:45:02 +05:30
anthony
5fbd0a7a5f
bug 9255: do NOT allow creating snapshot/snapshotpolicy against System VM volume
...
status 9255: resolved fixed
2011-08-04 15:32:45 -07:00
kishan
36d7ee5634
bug 10372: Added Vm State Machine listener for usage events
...
status 10372: resolved fixed
2011-07-01 16:37:53 +05:30
anthony
2602614fd3
set correct secondary storage host id in snapshot table
2011-06-28 14:08:39 -07:00
alena
bb5eaf2f02
bug 9894: listSnapshots by domain admin - do recursive search if domainid is not specified in the request
...
status 9894: resolved fixed
2011-06-17 16:09:56 -07:00
anthony
559c334eeb
bug 9779: release lock for exception
...
status 9779: resolved fixed
2011-05-25 19:50:28 -07:00