Commit Graph

289 Commits

Author SHA1 Message Date
Kelven Yang
eb28549e6c Seperate template cleanup control to enable template preloading 2011-08-09 13:42:50 -07:00
anthony
455f9f642c 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:31:14 -07:00
frank
7e1fc2ca1a Bug 8966 - Oracle VM (OVM) support
OCFS2 support -- use cluster name as OCFS2 cluster name
2011-08-08 18:22:43 -07:00
frank
6aaf3d5ae0 Merge branch 'cvm'
Conflicts:
	api/src/com/cloud/api/BaseCmd.java
	api/src/com/cloud/storage/Storage.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/storage/StorageManagerImpl.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
	server/src/com/cloud/vm/VirtualMachineManagerImpl.java
	utils/src/com/cloud/utils/SerialVersionUID.java
2011-08-08 14:14:09 -07:00
frank
c6fba0fd42 Bug 8966 - Oracle VM (OVM) support
OCFS2 support -- prepare OCFS2 nodes
2011-08-05 17:46:29 -07:00
anthony
e666cf5e77 bug 10743: default local storage is ext in XenServer 6.0, add ext local storage support 2011-07-21 17:31:43 -07:00
alena
3b3a99ce43 bug 10727: fixed duplicated usage event generation when create volume from snapshot
status 10727: resolved fixed

Conflicts:

	server/src/com/cloud/storage/StorageManagerImpl.java
2011-07-14 10:34:55 -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
Alex Huang
ea48d40e5f connection conierge to deal with connections that are not returned to pools 2011-07-08 18:04:57 -07:00
Alex Huang
c679fc078a bug 10632: allow volume to be recreated when it is in recreating state 2011-07-08 18:04:57 -07:00
Edison Su
a24eef5c81 add new option to force destroy vm when delete host, if the VMs are created on local storage 2011-07-08 13:49:05 -07:00
Edison Su
902f8172e3 bug 10293: don't destroy volume if it's not created
status 10293: resolved fixed
2011-07-08 13:19:32 -07:00
anthony
fc5c657980 bug 10608:
only one primary storage in a cluster can be in PrepareMaintenance mode
2011-07-07 19:43:43 -07:00
anthony
01a04935aa bug 10611: MS puts primary storage into cancelmaintenace mode, then try to start VMs which were running on top of it, but failed because primary storage is in cancelmaintenace mode
fixed

status 10611: resolved fixed
2011-07-07 16:21:23 -07:00
anthony
47296e64ac bug 10587: correctly use transaction
status 10587: resolved fixed

Conflicts:

	server/src/com/cloud/storage/StorageManagerImpl.java
2011-07-06 18:57:36 -07:00
kishan
561f415d5a bug 10382: Move volume delete events to destroyVolume method
status 10382: resolved fixed
2011-07-06 18:08:48 +05:30
kishan
fd6900a3d8 bug 10382: wrapped usage events in txn 2011-07-01 18:11:56 +05:30
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
b6eafd7102 bug 10512: lock on snapshot entry instead of volume entry
status 10512: resolved fixed
2011-06-29 18:54:53 -07:00
anthony
ed614c4f52 bug 10511: lock on snapshot entry instead of volume entry
status  10511: resolved fixed
2011-06-29 18:41:55 -07:00
anthony
2fb5de8852 fixed several template issues
merge createtemplateresponse and createteisoresponse

on UI template
only show template corresponding hypervisor exists

Conflicts:

	api/src/com/cloud/api/ResponseGenerator.java
	server/src/com/cloud/storage/StorageManager.java
2011-06-29 18:31:13 -07:00
anthony
7d060d3388 list template will list ready template if there is, if not, list in progress, if not list other 2011-06-28 19:18:10 -07:00
anthony
d902d313b7 fixed a template creation bug
Conflicts:

	server/src/com/cloud/storage/StorageManager.java
2011-06-28 19:17:34 -07:00
anthony
4bbed17d02 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:39:21 -07:00
Murali Reddy
1d4bee51e7 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:06:59 +05:30
alena
fc28a332c5 bug 10271: don't include removed records when search for local storage pool
status 10217: resolved fixed
2011-06-16 16:00:45 -07:00
kishan
6744645ba5 bug 9197: Added delete volume usage event when volume creation fails
status 9197: resolved fixed
2011-06-14 16:01:56 +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
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