Kris McQueen
8fafc892d3
bug 6730: if a volume was never attached to a VM, then the poolId will be null and this will be flagged as not on shared storage. Since the code was deleting detached volumes only on shared storage, the never-attached volume was in an undeletable state. Instead, allow deletion of any detached volume, regardless of storage pool until some technical reason limits this from happening.
...
Also, the UI was not allowing volumes to be deleted due to a bug in looking at the vmname property of the volume. The 'if' conditional always returned true that the volume was attached to a VM to due a boolean logic error.
status 6730: resolved fixed
2010-10-26 14:56:44 -07:00
Kris McQueen
365ac7501f
bug 6672: Fix up volume commands. For createVolume, the command is supposed to create a database object, but not assign it to a storage pool until the user first attaches it to a vm instance. That allows the volume to start off hypervisor agnostic. For attachVolume, detachVolume, and listVolumes, the responses had minor issues (sourceType could be null, for example) in either the response generation, or the response handling by the UI.
...
status 6672: resolved fixed
2010-10-21 15:15:01 -07:00
Kris McQueen
2740ba6c40
final merge of master->2.1.refactor preparing for merge back into master
2010-10-12 14:46:24 -07:00
Jessica Wang
426767f9f1
Primary Storage page, Host page - decode text.
2010-10-04 20:08:12 -07:00
Jessica Wang
b45b23b50a
Storage page - encode API parameters
2010-10-04 18:17:25 -07:00
Jessica Wang
7ab6a24876
decode text before it displays on UI.
2010-10-04 14:56:44 -07:00
Jessica Wang
ec71530d49
for bug 6381 - add primary storage - shows cluster option when hypervisor is KVM.
2010-10-01 18:36:51 -07:00
Kris McQueen
848ce60097
Merging master into 2.1.refactor, resolve the merge conflicts as best I can. New commands related to extracting template/iso/volume and related to instance groups were refactored to the new API framework.
2010-09-28 15:47:14 -07:00
Jessica Wang
9a4ceb64c0
fix bug 6287 - decode string before displaying on UI.
2010-09-28 10:46:14 -07:00
Jessica Wang
23bb32dcde
fix bug 6130 - when attaching volume, running and stopped VMs not displayed consistently.
2010-09-21 18:11:10 -07:00
Jessica Wang
67cfa3582e
new UI - volume page - implement Recurring Snapshot action.
2010-09-21 16:18:40 -07:00
Jessica Wang
0435d99247
new UI - volume page - implement delete volume action.
2010-09-21 11:55:12 -07:00
Kris McQueen
ebd06ae6f3
List clusters was using the name of the command rather than the name of the cluster to search for clusters, which was resulting in no clusters returned. Fixed. CreateStoragePool was returning an array of one pool every time, simplified it to just return the pool and changed the UI to expect one pool rather than an array. Fixed the backend code for creating a storage pool to (a) generate a UUID based on host name, path, and a timestamp and (b) to list only active storage pools when checking for duplicates. This allows a storage pool to be create with the same path as a pool that had previously been deleted.
2010-09-20 19:08:52 -07:00
Jessica Wang
37d82c8aa7
new UI - instance page - volume tab - show different action link for each volume depending on volume type and vm state.
2010-09-10 11:40:37 -07:00
Jessica Wang
1849d4a6b1
Issue #: 5894
...
Create Template from Snapshot dialog - add password dropdown field
2010-08-17 14:25:54 -07:00
Manuel Amador (Rudd-O)
14ae76781e
Committing Kris' big merge
2010-08-11 16:02:57 -07:00
Manuel Amador (Rudd-O)
ac730ec496
Branch 2.1.refactor committed
2010-08-11 09:13:42 -07:00
Manuel Amador (Rudd-O)
05c020e1f6
Source code committed
2010-08-11 09:13:29 -07:00