anthony
43de3ec249
bug 10511: lock on snapshot entry instead of volume entry
...
status 10511: resolved fixed
2011-06-29 18:40:18 -07:00
anthony
446d08187b
fixed several template issues
...
merge createtemplateresponse and createteisoresponse
on UI template
only show template corresponding hypervisor exists
2011-06-29 15:56:01 -07:00
anthony
260e4dbb51
list template will list ready template if there is, if not, list in progress, if not list other
2011-06-28 19:03:46 -07:00
anthony
f85fb432ba
fixed a template creation bug
2011-06-28 17:55:21 -07:00
Edison Su
28f0068151
add new option to force destroy vm when delete host, if the VMs are created on local storage
2011-06-23 20:36:13 -04:00
anthony
62249f3eae
1. return message to UI if adding primary storage failed
...
2. delete primary storage entry if if adding primary storage failed
2011-06-22 18:44:33 -07:00
Murali Reddy
34a36b7009
Bug 10012: Vague error event created when user attempted to exceed limit set for a given resource
...
status 10012: resolved fixed
2011-06-22 13:00:59 +05:30
Edison Su
dca3405b8b
bug 10293: don't destroy volume if it's not created
...
status 10293: resolved fixed
2011-06-15 14:38:37 -04:00
kishan
090506d7f7
bug 9197: Added delete volume usage event when volume creation fails
...
status 9197: resolved fixed
2011-06-15 12:40:23 +05:30
Edison Su
36fa0fbf52
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-08 11:14:59 -04:00
Alex Huang
d9e0bcfa1e
bug 10126: Renamed getPodId() to getPodIdToDeployIn()
2011-06-03 22:17:08 -07:00
anthony
db6aa765a3
bug 10146 : fixed NPE
...
status 10146 : resolved fixed
2011-06-03 15:52:31 -07:00
anthony
d02e4fb37f
bug 10100 : if there are more than one hypervisor type in one zone, create_template_from_snapshot may be sent to host with diferent hypervisor type
...
status 10100 : resolved fixed
2011-06-01 15:30:22 -07:00
Edison Su
59a6e2157a
fix user data, and template sync
2011-05-27 19:44:26 -04:00
anthony
7a266b9321
bug 10046: size in diskofferingVO is in type now
...
status 10046: resolved fixed
2011-05-26 13:51:08 -07:00
anthony
559c334eeb
bug 9779: release lock for exception
...
status 9779: resolved fixed
2011-05-25 19:50:28 -07:00
Edison Su
2f8235dbd2
fix local seconeary storage related issues(sync/download templates, etc) for mycloud
2011-05-21 12:05:02 -04:00
anthony
99be3718cf
bug 3224:
...
multiple secondary storage, copying template between zone works
2011-05-19 19:07:44 -07:00
anthony
a19e5284d0
more check
2011-05-16 19:44:33 -07:00
anthony
d835067f40
multiple secondary storage support
...
template download works
creating snapshot works
creating volume/template from snapshot works
2011-05-16 16:37:15 -07:00
anthony
ba6b2ca670
initial checkin for multiple secondary storage
2011-05-16 16:37:15 -07:00
Alex Huang
5ce631e9d7
Separated resource management and agent management code. It's not all done but at least we make a first step
2011-05-16 10:55:18 -07:00
alena
0f0dcc1964
bug 9827: call destroyVolume() method only after ensuring that the volume is not destroyed already.
...
status 9827: resolved fixed
2011-05-11 14:12:19 -07:00
alena
7cb11b09f5
bug 9796: throw an exception when try to create volume/template from the non-ready snapshot
...
status 9796: resolved fixed
2011-05-09 16:35:09 -07:00
anthony
10c4c14ad5
swift integration checkin
2011-05-05 13:55:29 -07:00
Chiradeep Vittal
303e2a7481
Start of zonesfeature / mycloud/cloudkit
2011-05-03 10:40:17 -07:00
Alex Huang
6ce656220f
bug 9643: propagate fix from 2.2.4
2011-04-29 17:51:42 -07:00
Alex Huang
53949833ac
bug 9456: added the host id that was already tried to avoid list. Added more debug logs in case that condition happens.
2011-04-28 14:44:46 -07:00
Alex Huang
5b361e5e8f
bug 9597: Fixed the recreatable problem. Also added the 2.2.1 upgrade step
2011-04-27 13:56:52 -07:00
prachi
209be1065b
Bug 9585 - Existing Data Disk is being destroyed and recreated on Stop and Start of a User VM.
...
Changes:
- When the ROOT volume of a VM is found to be READY, changed planner to reuse the pool for every volume(root or data) that is READY and that has a pool not in maintenance and not in avoid state
- If ROOT volume is not ready, we dont care about the DATA disk. Both would get re-allocated.
- When a pool is reused for a ready volume, Planner does not call storagepool allocators. And such volumes are not assigned a pool in the deployment destination returned by the planner. Accordingly StorageManager :: prepare method wont recreate these volumes since they are not mentioned in the destination.
2011-04-27 11:36:51 -07:00
Alex Huang
9909371eaa
bug 9445: Signal alert for the host if a primary storage pool was unavailable on that host
2011-04-26 15:09:36 -07:00
prachi
6e39019b6a
Bug 9548 [Cloud Stack Upgrade - 2.1.8 to 2.2.4] System VM's Volumes Recreation is not happening on an event of New Volume creation Failures
...
Changes:
- Reason was that the old volume's templateId was being updated before volume creation was attempted. So on the retry, we dint find a difference in volume's templateId and VM's templateId and did not enter the recreation logic.
- Fix is to update the new volume's templateId with the VM's templateId while creating the new volume. The old volume's templateId stays the same and the volume is marked as 'Destroy' when a new volume is created.
2011-04-26 11:35:24 -07:00
alena
b749c64d4e
bug 9550: get storagePool to Host mappings before doing processDisconnect because these references are being deleted as a part of processDisconnect call.
...
status 9550: resolved fixed
Conflicts:
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/storage/StorageManagerImpl.java
2011-04-23 20:43:24 -07:00
anthony
8271f034ce
bug 9541: fix one snapshot DB migrate, one java check and one script typo
...
status 9541: resolved fixed
2011-04-22 12:57:16 -07:00
alena
1a6d78eae4
Code cleanup. No need to declare runtime exceptions (CloudRuntimeException, InvalidParameterException, PermissionDenied exceptions)
2011-04-21 16:26:53 -07:00
Kelven Yang
7103e1c9a7
global replacement to avoid using getClass().getName() for unique names
2011-04-19 17:26:41 -07:00
nit
8567935561
bug 9221: Parse storage.overprovisioning.factor as a float rather than as an int.
...
Status 9221: resolved fixed
2011-04-15 13:46:51 +05:30
anthony
86f32e4735
bug 9455: when host is disconnected, also remove entry in storage_pool_host_ref
...
status 9455: resolved fixed
2011-04-14 14:31:16 -07:00
anthony
60768d0014
bug 9411:
...
1. adding storage pool fails, remove the entry in DB
2. in introduce SR, create pbd for master host
status 9411: resolved fixed
2011-04-14 11:17:24 -07:00
Murali Reddy
9dddeaa5a5
Bug 9440: we specify the wrong disk size when attaching storage device with custom size offering
...
wrong usage of volume size which is in bytes for setting the size of disk offering which in MB
pushing 2.2.4 fix to master
2011-04-14 21:16:08 +05:30
alena
dad9dacc92
bug 9425: fixed detached volume removal.
...
status 9425: resolved fixed
2011-04-13 15:54:10 -07:00
Kelven Yang
1b9cbd9166
bug 9223, 9224: persist runid to form cluster session, based on cluster session and DB condition to issue isolation notification for self-fencing
2011-04-13 15:13:54 -07:00
prachi
b1700af146
Bug 9387: Recreate system vms if template id changed....
...
Changes:
While starting a System VM:
- We check, incase the ROOT volume is READY, if the templateID of the volume matches the SystemVM's template.
- If it does not match, we update the volumes' templateId and ask deployment planner to reassign a pool to this volume even if it is READY.
In general:
- If a root volume is READY, we remove its entry from the deploydestination before calling storagemanager :: prepare()
- StorageManager creates a volume if a pool is assigned to it in deploydestination passed to it.
- If a volume has no pool assigned to it in deploydestination, it means the volume is ready and has a pool already allocated to it.
2011-04-13 13:47:07 -07:00
anthony
e0ba2a2fa6
clean up transation code
2011-04-12 18:56:49 -07:00
prachi
47f43df01b
More changes for 9387:
...
Checks in StorageManagerImpl :: prepare() method to avoid NPE's if DeployDestination passed in is null.
2011-04-12 18:19:59 -07:00
prachi
47c31a077a
Bug 9387 - Recreate system vms if template id changed...
...
Changes:
- Planner must reassign the storage pool if the template id for system vms has changed. StorageManager must then recreate the volume if the volume has been
reassigned. This is needed to do automatic update of the system template.
2011-04-12 18:19:58 -07:00
alena
4d8df029d3
bug 8245: mark storage pool status as Removed before performing actual cleanup
...
status 8245: resolved fixed
2011-04-12 14:44:55 -07:00
alena
52bf157387
bug 9398: removed resource_type from volumes table as we no longer use it. Corresponding db upgrade scripts are updated
...
status 9398: resolved fixed
Conflicts:
server/src/com/cloud/storage/StorageManagerImpl.java
2011-04-11 18:14:35 -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
Murali Reddy
290c799b2c
Bug 9273 : [Stress Test] 'Count' in resource_count table has negative values
...
pushing 2.2.4 changes in to master
2011-04-11 15:37:53 +05:30