Commit Graph

187 Commits

Author SHA1 Message Date
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
abhishek dd17bbc27f more netapp changes 2010-10-11 09:20:30 -07:00
Kelven Yang 8081713020 Let failed VM in deployment phase to fall into error state 2010-10-09 21:38:00 -07:00
anthony fd04147ed4 bug 6462: notifyMonitorsOfConnection of handleDirectConnect may fail, but it still returns the removed attach, and lauch ping task
status 6462: resolved fixed
2010-10-09 17:26:50 -07:00
anthony 33d69b1746 bug 6749: remove VM if get nap ip failed
status 6749: resolved fixed
2010-10-08 19:47:01 -07:00
Kelven Yang 39b9a47b3b Deal with a race condition while async-job is submitted and soon failed 2010-10-08 18:46:59 -07:00
abhishek 0c00139a64 netapp allocators 2010-10-08 18:17:13 -07:00
anthony 65bc9f95a8 should use _hostDao.listByCluster instead of _hostDao.listByPodId in some places 2010-10-08 18:07:53 -07:00
Kelven Yang 8c4c9e9c5d Don't let it go through full state transition if only a DB record is created in vm deployment process at failure case 2010-10-08 17:19:18 -07:00
Kelven Yang 12489fd886 Fix a regression to cleanup after failure of deploying VMs 2010-10-08 16:13:00 -07:00
Chiradeep Vittal 669539c7d4 Merge branch 'networkrulesformigration' into 2.1.x 2010-10-08 14:23:08 -07:00
Chiradeep Vittal 0574b4ef45 Fix for system vms 2010-10-08 12:04:06 -07:00
Kelven Yang 0d5d301154 Implement the correct semantics of returning a VM instance ID in deploy vm async-call 2010-10-08 11:42:30 -07:00
Chiradeep Vittal f62ba52076 when user vm migrates, update rules on destination host 2010-10-08 10:30:54 -07:00
abhishek b20085af39 snapshot reservation for netapp 2010-10-08 09:19:06 -07:00
abhishek 537c42be47 more netapp 2010-10-07 16:04:23 -07:00
anthony e6b1add27f bug 6450: list all snapshot for admin
status 6450: resolved fixed
2010-10-07 15:35:10 -07:00
abhishek 0039c7a662 using a better way to validate if the vm is indeed a router vm 2010-10-07 10:49:24 -07:00
abhishek 46793343e9 bug 6443,6445: fixing exupunge and port forwarding issues around vms, domrs
status 6443,6445: resolved fixed
2010-10-07 10:46:36 -07:00
anthony c242266716 bug 6446: do not pass private, guest, public network in host_detail to CitrixResourceBase.configure
status 6446: resolved fixed
2010-10-06 18:06:46 -07:00
abhishek 01d526fc8b bug 6368: incremental fix 2010-10-06 17:17:13 -07:00
anthony 7a0902fd74 bug 6440: reconnect host after setupcommand
status 6440: resolved fixed
2010-10-06 16:05:32 -07:00
anthony df35aa1d16 Merge branch '2.1.x' of ssh://anthony@git.cloud.com/var/lib/git/cloudstack-oss into 2.1.x 2010-10-06 15:11:42 -07:00
anthony 12f07e1826 bug 6432: fixed
status 6432: resolved fixed
2010-10-06 15:10:24 -07:00
abhishek c3e1e0dce0 bug 6368: schema change 2010-10-06 15:04:39 -07:00
Kelven Yang 74793925ed Explictly reject console-access request if it does not carry an access ticket, this usually happens in migration process while old console proxy is in use 2010-10-06 14:58:04 -07:00
abhishek a10ec2223b bug 6368: schema et al checkin 2010-10-06 11:30:08 -07:00
anthony 550ef02f9c bug 6402: template id of volume could be null
status 6402: resolved fixed
2010-10-05 16:44:40 -07:00
anthony 0a2eccce7a bug 6403: template id of volume may be NULL, need to handle this
status 6403: resolved fixed
2010-10-05 15:43:21 -07:00
abhishek 666696f899 fixing the build 2010-10-05 14:28:58 -07:00
Kelven Yang ddb991467f When storing job record, for domain routers, appoint its owner account in stead of system account 2010-10-05 13:44:22 -07:00
abhishek 0ba6195168 some more improvements to the expunge 2010-10-04 16:58:40 -07:00
abhishek 45271210d5 some more vm networking and expunging improvements 2010-10-04 16:51:56 -07:00
Kelven Yang ccd7c4e617 Make queryAsyncJobResult support queries from domain administrators 2010-10-04 16:42:45 -07:00
abhishek 0b74b3d684 bug 6384: The bug is a synchronization issue on the domr lock, when 2 vms simultaneoulsy try to acquire a lock. One acquires, and the other times out. This should happen very infrequently, and in case it does, we are returning back an apt error with the request to retry the same operation again
status 6384: resolved fixed
2010-10-04 14:37:45 -07:00
Kelven Yang 39f2840053 Add time stamped ticket to console access URL to make it more secure 2010-10-01 18:15:54 -07:00
kishan 30600d55b0 bug 6195: removed service offering Id for ROOT volumes in usage data 2010-10-01 13:51:12 +05:30
kishan 63f706a1bb bug 6216: Added Id to listAlerts response 2010-10-01 13:50:02 +05:30
anthony e8a5872655 bug 6363:
1. delete local storage when delete host
2. delete host detail when delete host
3. allow one host in maintance mode in a cluster instead of in a pod

status 6363: resolved fixed
2010-09-30 19:02:17 -07:00
anthony b5510a9614 bug 6359: find the existing pool master
status 6359: resolved fixed
2010-09-30 14:40:48 -07:00
anthony 25f7d46aed bug 6332: remove the new snapshot if it is empty
status 6332: resolved fixed
2010-09-30 12:29:25 -07:00
anthony 154880cebf private.network.device may change, always try to find out the real private.network.device 2010-09-29 19:20:42 -07:00
anthony 394371eba6 bug 6326: correctly update poolsToAvoid
status 6326: resolved fixed
2010-09-29 18:30:57 -07:00
abhishek c7257505e3 bug 6338: refactored a bunch of code, and enhanced the logic to expunge the port fwding rules, anytime we expunge the vm
status 6338: resolved fixed
2010-09-29 17:51:00 -07:00
abhishek c9dc6de7a3 enhancements to the port forwarding feature 2010-09-29 15:08:23 -07:00
abhishek eb2da8c663 comment cleanup 2010-09-28 15:32:05 -07:00
abhishek 799a75b548 another fix 2010-09-28 15:17:29 -07:00
abhishek 8afd59ef9a some changes wrt ip selection for zones and accounts 2010-09-28 14:56:09 -07:00
alena 25a278afab Moved PreallocatedLun api commands from premium to FOSS package 2010-09-27 17:31:44 -07:00
Alex Huang c5d0d806b4 dogfood checkin 2010-09-27 11:17:17 -07:00
anthony 1ab1bdf92f record used byte not available byte 2010-09-23 16:23:41 -07:00
anthony 93fac76bd9 bug 6181: ingore provisioning factor for iscsi primary storage
status 6181: resolved fixed
2010-09-22 20:32:27 -07:00
abhishek 0f4a2699ed some more improvements for selection of a guest ip in the directly attached vm case 2010-09-22 16:03:05 -07:00
abhishek d151897892 a few minor modifications to the return values 2010-09-22 15:50:38 -07:00
abhishek dff7e5c58f bug 6241: returning the vm display name for a host of cases
status 6241: resolved fixed
2010-09-22 15:47:49 -07:00
abhishek 843cfc8793 merging 6271 int0 2.1.x 2010-09-22 11:27:03 -07:00
anthony c29a3a9a82 bug 6190: add rate limit for system VM, after you change rate limit, you need to restart managementserver to make it effect
status 6190: resolved fixed
2010-09-21 12:50:59 -07:00
kishan e06c588828 bug 6195,6255: Only ROOT volumes will have templateId. offeringId will be diskOfferingId for DATA volumes and serviceOfferingId for ROOT volume
status 6195,6255: resolved fixed
2010-09-21 18:43:48 +05:30
kishan 808f17cbdb Bug 5947: decrement resource count when deployVM fails for direct attached case 2010-09-17 17:17:17 +05:30
kishan e001d7e577 bug : 6095 Show proper error when vm create fails due to insufficient capacity 2010-09-17 16:17:08 +05:30
kishan 3232479106 bug 6080: handle default route list when dhcp is in use 2010-09-17 16:14:14 +05:30
kishan f65e739bb6 bug 6036: Added usage exec timeZone and made aggregation timezone as GMT 2010-09-17 16:09:21 +05:30
anthony 0755c86304 first host doesn't need to switch master 2010-09-15 21:23:33 -07:00
anthony f2e020cb5b always add master host first 2010-09-15 19:41:31 -07:00
abhishek 84aecf835e bug 6163: incremental checkin 2010-09-15 17:46:10 -07:00
abhishek 2f3a43ddda bug 6133: incremental checkin 2010-09-15 17:46:10 -07:00
abhishek b72e677b11 bug 6163: incremental checkin 2.1.x branch 2010-09-15 17:46:10 -07:00
anthony da8c7c9add execute only emergency command with slaveconn. othersiwe api call hands 2010-09-15 14:30:03 -07:00
abhishek 8ad314f471 bug 6159: now we can add at most 2 records per public port (one for tcp, one for udp) eg: 1:2:tcp and 1:3:udp; any other combination for this port will result in an error being propagated back to the UI
status 6159: resolved fixed
2010-09-13 10:28:04 -07:00
abhishek 77734721e6 bug 6159: incremental checkin 2010-09-13 10:27:08 -07:00
anthony be1185b5b3 fixed a bug about snapshot 2010-09-09 15:06:44 -07:00
edison 785c2c1640 Merge branch '2.1.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.1.x 2010-09-07 16:09:28 -07:00
edison 2e98918814 fix domr live migration 2010-09-07 14:08:59 -07:00
abhishek 668a831b22 bug 6044: Added functionality to ensure vms belonging to deleted accounts do not show up
status 6044: resolved fixed
2010-09-07 10:27:47 -07:00
alena 2098127074 Cleaned up Storage capacity Global Lock code that no longer in use. 2010-09-05 19:51:05 -07:00