Nitin Mehta
cdd94c1b9a
bug 11811: Introduce a global config to disable extraction altogether for all users except root admin. Make changes so that volumes are based out of ISO. Take care of upgrade as well for this global config.
...
Reviewed by : Kishan.
2011-11-24 00:12:24 +05:30
Nitin Mehta
ec3a00a230
bug 10281: Template/ISO APIs should throw an exception in failure case for the events to be registered as failure.
...
Reviewed by : Kishan.
status 10281: resolved fixed
2011-11-21 18:58:06 +05:30
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
9a668416f8
Swift: List ISO fix
2011-10-31 11:10:28 -07:00
anthony
4a3deefd02
Swift : template sync fix
2011-10-28 16:49:24 -07:00
anthony
2b039530c0
Swift : list Template
2011-10-28 16:07:31 -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
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
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
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
alena
459b32cc6a
bug 11493: no need to do cross domain checks for the templates as domain level templates are not supported. We support only public (everybody can see and use) and private (only owner can see and use unless changed with updateTemplatePermissions call)
...
status 11493: resolved fixed
Reviewed-by: will@cloud.com
2011-09-20 10:31:57 -07:00
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
eb9b5c1f65
bug 11259: ROOT admin can extract template/iso even when it's not mark as extractable
...
status 11259: resolved fixed
2011-09-02 12:37:15 -07:00
alena
482528ce8c
Fixed the bug in extractTemplate - do ignoreCase comparison when verify the download mode.
2011-08-26 10:11:30 -07:00
prachi
16986c01c8
Bug 9921 - template tags
...
-Added missing import statement.
2011-08-25 12:16:09 -07:00
prachi
05440f0905
Bug 9921 - template tags
...
Changes:
- CreateTemplate and RegisterTemplate now support adding a template tag. It is a string value. This is root-admin only action - only admin can add template tags.
- ListTemplates will return the template tag in response.
- HostAllocator changed to use template tag along with the existing tag on service offering. If both tags are present, allocator now finds hosts satisfying both tags. If no hosts have both tags, allocation will fail.
- DB changes to add new column to vm_template table.
- DB upgrade changes for upgrade from 2.2.10 to 2.2.11
2011-08-25 12:03:59 -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
alena
2c1df02ba1
Removed unused imports
2011-08-18 15:02:04 -07:00
Nitin
56ce65710d
bug 5370: copy Template/Iso - generating the started and completed events.
...
status 5370: resolved fixed
2011-08-11 16:14:27 +05:30
Kelven Yang
bf13273889
adjust to merged changes
2011-08-08 18:46:00 -07:00
Kelven Yang
02e64f90de
Add prepareTemplate command(admin only) to allow pre-loading template into primary storage
2011-08-08 18:45:47 -07:00
anthony
50a2fc7111
private template may be downloaded to multiple secondary storage in a zone,
...
fixed it
2011-07-29 17:34:55 -07:00
Kelven Yang
79cb5b7c19
bug 10834: fix step 2. Sending command to pool now only picks hosts that are in UP state
2011-07-28 14:32:28 -07:00
alena
1979d1d065
bug 10681: for serviceOfferings, diskOfferings, templates/isos return records with not null Removed field on findById method call
...
status 10681: resolved fixed
Conflicts:
server/src/com/cloud/server/ManagementServerImpl.java
2011-07-13 18:25:13 -07:00
anthony
cae81c9a66
bug 10669: it is due to there is a templatehostref for this template, whose status is not DOWNLOADED
...
fixed by only check ready templatehostref for ISO download
status 10669: resolved fixed
2011-07-08 17:39:19 -07:00
Kelven Yang
d0de1a5b94
bug 10620: allow ISO attachment failure to propogate up
2011-07-07 17:02:51 -07:00
Nitin
62078ffef2
bug 8915: Adding events for TEMPLATE.CREATE, TEMPLATE.DELETE, ISO.DELETE, ISO.ATTACH, ISO.DETACH.
...
Status 8915: resolved fixed
2011-06-30 16:31:02 +05:30
nit
a9ccd0d51f
bug 8677 , 8673 : listIsos - make the parameter - name work properly.
...
status 8677 , 8673: resolved fixed
2011-06-09 16:30:36 +05:30
Edison Su
00268632ac
bug 10177: fix multiple local secondary storage: when we starting vm, only choose the local secondary storage that related to the planned computing host
...
status 10177: resolved, fixed
2011-06-07 20:22:16 -04:00
Edison Su
d9b61f26da
fix dettach iso issue: if dettach iso failed on hypervisor, mgt server still regards it as success, then you can't attach another ISO to the vm again unless your stop/start the VM
2011-06-01 10:37:04 -04:00
Abhinandan Prateek
d006fd141c
bug 9909: upload manager support multiple secondary storage
2011-05-30 12:39:15 +05:30
anthony
99be3718cf
bug 3224:
...
multiple secondary storage, copying template between zone works
2011-05-19 19:07:44 -07:00
kishan
6bd8cece48
bug 8830: added source template id to template usage records
...
status 8830: resolved fixed
2011-05-19 16:53:33 +05:30
alena
b5aabfab75
bug 9898: fixed attachIso by domain admin - no need to make permission check when iso is public
...
status 9898: resolved fixed
2011-05-17 11:11:13 -07:00
alena
7292706a9f
bug 9841: added missing permission checks to the deleteTemplate/deleteIso API
...
status 9841: resolved fixed
Conflicts:
server/src/com/cloud/template/TemplateManagerImpl.java
2011-05-11 10:39:49 -07:00
Chiradeep Vittal
303e2a7481
Start of zonesfeature / mycloud/cloudkit
2011-05-03 10:40:17 -07:00
Frank
d23658022b
Template Adapter:
...
Return correct adapter by hypervisor type
2011-04-29 18:21:37 -07:00
Frank
ef10dab968
Intrdouce adapter to template manager
...
small fix
2011-04-27 14:04:37 -07:00
Frank
504eb25c37
Intrdouce adapter to template manager.
2011-04-27 14:04:37 -07:00
nit
8cbdfe07c9
bug 8803: Allow to add an ISO with URL that doesn't end with ".iso". The check checks that the url path should end with an iso
...
status 8803: resolved fixed
2011-04-21 16:37:53 +05:30
Frank
5645137f9c
reslove conflicts api/src/com/cloud/api/ApiConstants.java
2011-04-11 14:26:48 -07:00
Frank
105db3b15a
Merge branch 'baremetal' to master
...
modifies:
api/src/com/cloud/api/ApiConstants.java
api/src/com/cloud/api/commands/AddHostCmd.java
api/src/com/cloud/api/commands/CreatePodCmd.java
api/src/com/cloud/api/commands/DeployVMCmd.java
api/src/com/cloud/dc/Pod.java
api/src/com/cloud/network/NetworkService.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
server/src/com/cloud/dc/HostPodVO.java
server/src/com/cloud/network/NetworkManager.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
setup/db/create-schema.sql
utils/src/com/cloud/utils/SerialVersionUID.java
2011-04-11 14:21:41 -07:00
prachi
c3d2bab81b
Some more changes for Bug 8932 - add md5 sum to list templates call:
...
Also changed 'RegisterTemplate' to take in a new optional parameter 'checksum'.
The value set to it is stored as-is in the DB in vm_template table, 'checksum' column.
2011-04-11 13:17:23 -07:00
nit
debe236a8d
bug 8710: CONTD....Introducing a new user role in cloudstack called RESOURCE_DOMAIN_ADMIN. The role would have all the domain_admin rights and the rights to list zone,pods,clusters and so on. More info in the bug
2011-04-11 19:40:37 +05:30
Edison Su
ee3d6f5cea
bug 9205: resolved fixed
...
status 9205: fix NPE in usageEvent
2011-03-29 15:00:35 -04:00
Frank
6be5a9a3a9
Bug 8208 - bare metal provisioning
...
Don't ask secondary storage VM to download baremetal template.
Immediately make baremetal template ready after registerTemplateCmd
as well as listTemplateCmd
Use zone id instead of secondary storage VM id to identify baremetal
template in template_host_ref table
2011-03-24 12:15:08 -07:00