Commit Graph

161 Commits

Author SHA1 Message Date
nit 06a1e47fb3 bug 7161 : Fixed CreatePrivateTemplate NPE. This was getting thrown when template creation was ordered from a volume for hypervisor other than KVM. For now we support template creation from volume only for KVM. The bug was more due to conversion of Long to long where the Long object was null.
status 7161: resolved fixed
2010-11-15 15:14:56 +05:30
abhishek fe1f2824a4 bug 7172: this npe occurs when we try and delete rules on a router which does not exist. fixing the same.
status 7172: resolved fixed
2010-11-13 09:27:53 -08:00
anthony bfed53ab3a bug 7158:
this is not a bug, the policy is not delete but in inactive status.
anyway, now the policy is delete,

status 7158: resolved fixed
2010-11-12 18:00:49 -08:00
anthony fae1c0c054 fix build 2010-11-12 16:43:48 -08:00
Kelven Yang 9abbd60e7b Improve console access security based on Godaddy's feedback 2010-11-12 15:45:51 -08:00
anthony 5958a4469a bug 7149: merge from master 2010-11-12 15:00:27 -08:00
anthony 8d2bee85f2 bug 7149: find the correct host to start VM
the root cause is there is another volume entry for this VM, any the volume creation is failed, MS think the VM is created on storage pool 213

+----------------------------+-------------+-----------+---------------------+---------+---------+---------+
| 734 |          8 |         4 |     213 |         652 |         0 | i-8-652-VM-ROOT |          0 | NULL   | NULL                                 |      1 |              1 | NULL       | NULL    | ROOT        | STORAGE_POOL  | NULL      | NOT_MIRRORED |       NULL |               23 |           2 | NULL                       |           0 |         0 | 2010-11-10 16:08:09 | NULL    | NULL    | Failed  |
| 735 |          8 |         4 |     203 |         652 |         0 | i-8-652-VM-ROOT | 8589934592 | lvm    | 29308205-5472-46aa-b75e-cf992ca7718a |      2 |              1 | NULL       | NULL    | ROOT        | STORAGE_POOL  | LVM       | NOT_MIRRORED |       NULL |               23 |           2 | NULL                       |           0 |         0 | 2010-11-10 16:08:11 | NULL    | NULL    | Created |

status 7149:  resolved fixed
2010-11-12 12:46:26 -08:00
anthony c22afd71c2 bug 6987:
do not delete template from secondary storage in 2.1.x , it is needed by snapshot

status 6987: resolved fixed
2010-11-11 13:45:17 -08:00
anthony 1708e0a531 bug 7055: delete all snapshotschedule after restart
I tested this in master, but didn't in 2.1.x. they are different

status 7055: resolved fixed
2010-11-10 14:33:26 -08:00
anthony d695e0f5ba bug 7055: reschedule all policies after management server restart
test:
1. create policies for serveral volume.
2. stop management server
3. detele serveral rows in snapshot_schedule
4. start management server
5. check if the deleted row come back

status 7055: resolved fixed
2010-11-08 18:22:44 -08:00
alena da30ddbef7 bug 6777: get correct userId when save event for volumeDestroy command
status 6777: resolved fixed
2010-11-08 13:13:24 -08:00
edison 10e9396996 bug 5839: add console proxy for domr
status 5839: resolved fixed
2010-11-08 11:56:47 -08:00
anthony 3df5ec7981 bug 6987: root disk snapshot depends on template, if template is deleted, then you can not use the snapshot. this issue doesn't exist in 2.2. in this fix, template is not deleted from sencondary storage
test:

1. create a template
2. create a vm from this template
3. create several snapshots againg vm root dist
4. delete template
5, create vm from one of the snapshots
see if the issue is fixed

status 6987: resolved fixed
2010-11-04 11:39:20 -07:00
anthony 86d02eaa15 bug 6882: relink the child to parent after delete snapshot
change dd block size from 512 to 1M, make taking snapstho faster for iscsi primary storage

status 6882: resolved fixed
2010-11-03 15:59:16 -07:00
Chiradeep Vittal fe9a8c5aeb bug 6909: get the logic of removing ips from the second vif right
status 6909: resolved fixed
2010-11-02 17:48:45 -07:00
Chiradeep Vittal a907c1d09f bug 6807: split associateIp into single ip and ip list cases since it is impossible to assure correct operation with previous approach
status 6807: resolved fixed
2010-11-01 23:47:22 -07:00
nit 01197d2730 bug 6748: Correcting secondary storage space utilization on the dashboard. The fix will update the existing db entry and will create a new entry for the first time only.
status 6748: resolved fixed
2010-11-01 13:40:08 +05:30
anthony f802808613 Merge branch '2.1.x' of ssh://anthony@git.cloud.com/var/lib/git/cloudstack-oss into 2.1.x 2010-10-29 20:00:52 -07:00
anthony 80a32ad031 remove heartbeat.log
don't create bond
2010-10-29 20:00:31 -07:00
kishan 8294ce7fec bug 6789: release router lock after commiting transaction
status 6789: resolved fixed
2010-10-29 16:18:08 +05:30
edison e876d74507 Add back creating template from volume for KVM 2010-10-25 16:03:45 -07:00
anthony 118066eeab bug 6665: don't need to send poolEject command for the last host, and mark it as success
status 6665: resolved fixed
2010-10-21 10:17:17 -07:00
anthony 9d6e553288 bug 6688: there is obsolete nfs handle, try to umount it
status 6688: resolved fixed
2010-10-20 19:26:03 -07:00
Kris McQueen 2307255aab bug 6680: constrain the snapshot list by domainId so that snapshots are listed only for the domain hierarchy that the admin has access to
status 6680: resolved fixed
2010-10-20 15:24:05 -07:00
anthony 21da2d6608 There are subdomain concept, so this patch doesn't fix the issue,
Kris is on this

Revert "for domain admin, only list snapshot inside this domain"

This reverts commit f314c59ba8.
2010-10-20 11:21:51 -07:00
anthony f314c59ba8 for domain admin, only list snapshot inside this domain 2010-10-20 11:11:13 -07:00
anthony 173b30233d one more fix about deletestoragepool
set uuid of storagepoolvo to null
2010-10-15 14:20:27 -07:00
anthony 1b477750e0 DeleteStoragePool command fix
1. not delete SR in xenserver side, only delete it in database.
2. remove a storagepool,  adding it back fails
2010-10-15 13:57:59 -07:00
edison 182c3de665 add a new exception basecmd type 2010-10-15 13:51:36 -07:00
abhishek 5b2ec08154 more changes 2010-10-14 23:21:54 -07:00
abhishek e682b1bd4f more netapp 2010-10-14 22:29:46 -07:00
Alex Huang 258037335c no cross pod for direct network 2010-10-14 16:33:03 -07:00
abhishek bc4e750996 refactored code 2010-10-14 14:16:12 -07:00
anthony 87c05ab5f9 revert this, we need to send commands to host which is in connecting status 2010-10-14 11:05:02 -07:00
alena 31df1e61e2 List Long type instead of Int for LUN size in netapp code 2010-10-13 19:02:56 -07:00
anthony 2ffab4fe29 only send command to host which is UP 2010-10-13 18:13:44 -07:00
abhishek d33ca58320 more netapp 2010-10-13 15:26:58 -07:00
abhishek d614a680e6 bug 6553: snapshot policy fix
status 6553: resolved fixed
2010-10-13 15:11:43 -07:00
Kris McQueen dec110408f Bug 6543: fix searching to include keyword and all other search criteria rather than just keyword whenever keyword is passed to the API. This prevents filtering of domainId when domain admins are searching for resources (VMs, volumes, events, alerts, etc.).
Status 6543: resolved fixed
2010-10-13 14:09:30 -07:00
Kelven Yang 06472033fd clear last_host_id on start-failure in deployVM process 2010-10-12 18:01:05 -07:00
anthony 310556ecf2 bug 6521: for add host, return api response, even if the host is in disconnected state
status 6521: resolved fixed
2010-10-12 17:59:22 -07:00
anthony b69d7d443a bug 6516: didn't consider it last snapshot is deleted but the new snapshot is empty
status 6516: resolved fixed
2010-10-12 16:55:54 -07:00
Alex Huang eb60dc690c domr cannot be recreated in a different pod 2010-10-12 16:17:38 -07:00
abhishek 8cd2289ef3 restoring state (was testing a commit) 2010-10-12 09:59:57 -07:00
abhishek 2d82902ffc test commit 2010-10-12 09:38:26 -07:00
anthony 3dd7ed7fc6 bug 6499: If there is volume created from this template, this template can't be delete from secondary storage, it can be removed from DB
status 6499: resolved fixed
2010-10-11 12:59:46 -07:00
anthony b0a3f329a0 bug 6500: add back the special handle for secodary storage host, it is in the same path of handling xenserver host, it is easy to break that, so I add some comments there
status 6500: resolved fixed
2010-10-11 11:59:10 -07:00
anthony 059077ce9f bug 6494: didn't call txt.commit before throwing exception, break the transaction
status 6494: resolved fixed
2010-10-11 11:10:09 -07:00
abhishek 136523eb0f bug 6484: fixing the iprangeoverlap check
status 6484: resolved fixed
2010-10-11 10:51:44 -07:00
abhishek f3d9adefdf netapp change 2010-10-11 10:13:10 -07:00