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
nit
bc360f499d
bug 9397 : CreateTemplate - generate MD5 checksum of the template. The code will calculate the checksum after the template has been created in the secondary storage. This code would be executed by ssvm. This would be agnostic of the way the template was created (not hypervisor specific).
...
status 9397: resolved fixed
2011-05-12 18:13:29 +05:30
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
Chiradeep Vittal
f1ea4d0c19
bug 9809: resume iso download (broken by multihypervisor)
...
status 9809: resolved fixed
2011-05-11 12:04:20 -07:00
Edison Su
feb226b8e9
fix compiler error
2011-05-10 16:39:25 -04:00
Edison Su
882919ae40
fix system vm template download issue
2011-05-10 16:10:31 -04:00
Alex Huang
154c6d9021
Propagating 1345af2a0e84684a804bde5b281c30df72f148a0
2011-05-10 05:52:39 -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
alena
2df6b0a6e1
bug 9774: display non-ready templates. Added "state" field to all snapshot* api responses.
2011-05-06 16:48:27 -07:00
anthony
2d52813ff2
fixed build /start management server
2011-05-05 16:12:19 -07:00
anthony
10c4c14ad5
swift integration checkin
2011-05-05 13:55:29 -07:00
Chiradeep Vittal
87867c8f39
for mycloud: if no system vm required do not start it
2011-05-03 11:40:44 -07:00
alena
9ef6f9ff54
bug 9663: do account permission check against the volume when create snapshot
...
status 9663: resolved fixed
Conflicts:
api/src/com/cloud/storage/snapshot/SnapshotService.java
2011-05-03 11:38:01 -07:00
Chiradeep Vittal
35066e235c
merge from zonesfeature -- float overprovisioning factor
2011-05-03 10:41:31 -07:00
Chiradeep Vittal
303e2a7481
Start of zonesfeature / mycloud/cloudkit
2011-05-03 10:40:17 -07:00
Alex Huang
8c8354a00e
bug 8745: we decided on not implementing revert on the agent because it really requires business logic above. Stop if the checkSsh doesn't work
2011-05-02 14:47:49 -07:00
Alex Huang
2daa318009
Removed a potentially dangerous
2011-04-29 17:56:17 -07:00
Alex Huang
6ce656220f
bug 9643: propagate fix from 2.2.4
2011-04-29 17:51:42 -07:00
alena
671ec62358
bug 9623: set ha_enable to false for consoleProxy vms and service_offering.
...
status 9623: resolved fixed
Also set ram_size to 1024 for console proxy offering during the upgrade
Conflicts:
core/src/com/cloud/vm/SecondaryStorageVmVO.java
server/src/com/cloud/agent/manager/allocator/impl/UserConcentratedAllocator.java
server/src/com/cloud/consoleproxy/ConsoleProxyManagerImpl.java
server/src/com/cloud/storage/allocator/LocalStoragePoolAllocator.java
server/src/com/cloud/storage/secondary/SecondaryStorageManagerImpl.java
2011-04-29 11:53:07 -07:00
Alex Huang
99bc15f64a
changed getName to getHostname
2011-04-29 08:34:10 -07:00
Kelven Yang
9b86ef7942
bug 9022: turn off HA for SSVM and Console Proxy VM
2011-04-28 18:03:11 -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
alena
22ee7117f5
bug 9521: fixed NPE in finalizeCommandsOnStart() method by adding vm's nic to vm profile during the vm to vmProfile conversion.
...
status 9521: resolved fixed
Conflicts:
server/src/com/cloud/consoleproxy/ConsoleProxyManagerImpl.java
server/src/com/cloud/storage/secondary/SecondaryStorageManagerImpl.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
2011-04-20 16:16:01 -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
Frank
92155522f2
Add license header to files
2011-04-14 11:23:14 -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
prachi
1a3483ac4f
More changes for Bug 9438 - [Cloud Stack Upgrade - 2.1.8 to 2.2.4] Secondary Storage VM could not start after stopping it.
...
Added log statement to indicate that a pool is not chosen because the vm template has no entry in template_host_ref table.
2011-04-13 18:06:42 -07:00
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
Chiradeep Vittal
b56c82e3b6
bug 9330: ensure that console proxies are always created from the same hypervisor type
2011-04-12 15:24:59 -07:00
Chiradeep Vittal
f37f7f36aa
bug 9330: discover system vm template for a given hypervisor type
2011-04-12 14:50:24 -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
Chiradeep Vittal
ae9180d33b
bug 9330: add kvm / vmware system vm template definitions
2011-04-11 15:46:37 -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
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