Commit Graph

1791 Commits

Author SHA1 Message Date
alena 74e878ea7f Fixed xml doc writer 2011-02-09 19:35:03 -08:00
Kelven Yang 597ca9597b Bug 8401: avoid race condition between expunge worker and api execution 2011-02-09 15:58:47 -08:00
Kelven Yang 091b5850b3 Explicitly specify CPU speed for all system VMs, speed of 0 no longer works for VMware 2011-02-09 15:08:06 -08:00
Edison Su 25a9236438 add shuffling back 2011-02-09 14:24:32 -05:00
anthony b3256c6971 if it is empty snapshot, set setBackupSnapshotId to null, before remove it 2011-02-09 14:23:46 -08:00
anthony b7b0501150 list recurring snapshot if volumeId and interval are specified 2011-02-09 13:57:46 -08:00
Edison Su 08285af33f fix capacity caclulation issue after migration 2011-02-09 13:33:42 -05:00
anthony 4fb3beed76 return more meaningful error message for create snapshot/snapshot policy for volume which is not attached to a VM 2011-02-09 11:48:16 -08:00
nit 82506ff8d0 bug 8493: Check for resource limit for manual snapshots. 2011-02-09 19:01:39 +05:30
kishan 77719be46a bug 8465: track network usage per router in user_statistics table
status 8465: resolved fixed
2011-02-09 18:38:41 +05:30
nit 67a92e3f1d bug 8493: Check for resource limit for copy templates/ISO between zones. 2011-02-09 15:49:33 +05:30
nit 3bd3dacf9e bug 8493: Check for resource limit for create template from volume/snapshot. 2011-02-09 15:49:32 +05:30
anthony 16366fb4e0 bug 8481: root cause is the old way to get vdi parent sometime doesn't work
status 8481: resolved fixed
2011-02-08 21:10:52 -08:00
alena 558e16c50e Save vnet range in data_center table when do deploy from server-setup.xml in Dev environment 2011-02-08 19:18:52 -08:00
alena ab6ea4d6ef bug 8491: remove corresponding record from resource_limits table when limit is updated with -1 value
status 8491: resolved fixed
2011-02-08 19:08:35 -08:00
alena 1c7049ef26 Forgot to write login/logout commands to domainAdmin/regularUser api xml doc 2011-02-08 16:28:58 -08:00
abhishek 2d3b6cc310 changing the disk offering response object, to always return the disk size in gb 2011-02-08 15:43:52 -08:00
Alex Huang c22d4948d0 Added context to ha work 2011-02-08 15:38:26 -08:00
Alex Huang b92fc074aa added forced paramter to stop apis 2011-02-08 15:38:26 -08:00
alena 0bdefe03ae Added login/logout command generation to xml api doc generator 2011-02-08 15:25:55 -08:00
will c89ad5ae7b bug 8485: Merge from 2.2.x. Fixed ClassCastException with returning the login response in xml format 2011-02-08 15:22:40 -08:00
alena f16cb1caf2 Logs statements cleanup 2011-02-08 14:14:52 -08:00
abhishek f0f643dffe adding exceptions so that we can use login and logout commands via 8080 2011-02-08 14:06:33 -08:00
Alex Huang 0abd36c96f Change the wording in log 2011-02-08 13:39:50 -08:00
Edison Su 0bd6950bb8 fix wrong configuration for oss 2011-02-08 13:22:27 -05:00
abhishek 73eb597ba6 bug 8335: adding the security group objects to the list virtual machines response 2011-02-08 11:48:39 -08:00
alena 83209e53bc bug 8479: remove direct account specific network as a part of account cleanup. Before public direct ip addresses weren't released as a part of nic cleanup - deallocate() method was missing in DirectNetworkGuru
status 8479: resolved fixed
2011-02-08 10:47:05 -08:00
Edison Su 169ac1ce57 bug 8464,8404: allocator is not move reserved resource to used resource, in some case
status 8464: resolved fixed
status 8404: resolved fixed
2011-02-08 10:32:14 -05:00
Edison Su 4fe6219754 bug 8474: fix attaching ISO to xenserver vm
status 8474: resolved fixed
2011-02-08 10:04:56 -05:00
alena 44607a8960 bug 8473: fixed NPE in listUserVms - do "includingRemoved" when search for vm's host.
status 9473: resolved fixed
2011-02-08 09:43:03 -08:00
kishan 75e596bb80 bug 7952, 8363: Fixed usage events for Vm destroy and recover
status 7952, 8363: resolved fixed
2011-02-08 16:57:46 +05:30
nit a3b1609199 bug 8463: Decrease the resource_count if vm fails to Start and goes to ERROR state.
status 8463: resolved fixed
2011-02-08 16:52:09 +05:30
kishan 2a6bef2750 seperating service API call form internal calls for revoke port forwarding rule 2011-02-08 12:34:04 +05:30
anthony 213ea43f63 for the last host 2011-02-07 20:07:14 -08:00
abhishek bc4357f7dd bug 8456: fixing the upgrade issue
status 8456: resolved fixed
2011-02-07 18:34:37 -08:00
anthony c85e13fbf9 bug 7635: stop vms if this host is the last one in cluster , when put this host into maintenance mode
status 7635: resolved fixed
2011-02-07 18:31:16 -08:00
anthony 88ff55849d for detachISO command, iso for this VM is removed in DB even if the detachISO fails. Then after stop/start VM , the iso for this VM is gone 2011-02-07 17:50:02 -08:00
alena 9614a64636 bug 8445: listVms with keyword - don't do LIKE search for State field
status 8445: resolved fixed
2011-02-07 17:46:24 -08:00
alena 49392355b8 Don't allow to enable remote access vpn when domR is in Starting state 2011-02-07 17:46:24 -08:00
anthony ed197ae971 bug 8458: check if attachISO is successful before update DB
status 8458: resolved fixed
2011-02-07 17:34:13 -08:00
Alex Huang 5d796c718b bug 7612: fixed a bug where if start when through all retries, we throw an exception 2011-02-07 17:17:34 -08:00
abhishek cb5b1e60f3 bug 8439: changes in service/disk offerings
status 8439: resolved fixed
2011-02-07 17:11:28 -08:00
alena 0082b8435a Fixed account security checks for domain admins in following commands:
* listPortForwardingRules
* listIpForwardingRules
* listRemoteAccessVpns
* listVpnUsers
2011-02-07 16:24:34 -08:00
Alex Huang b322fb072f bug 8186: Changed the investigator to use the new networking 2011-02-07 16:04:23 -08:00
abhishek 3343aa890f bug 8427: resolving the class cast exception
status 8427: resolved fixed
2011-02-07 13:30:12 -08:00
alena 5c2bbf48f0 Fixed NPE in listAsyncJob apis: don't include instanceId/instanceType in the response when these values are null 2011-02-07 13:02:05 -08:00
Alex Huang c6fe6f2f45 Removed all the stats command/answer from debug logging 2011-02-07 12:50:22 -08:00
alena a502b497f2 bug 8446: fixed creating volume from diskOffering with custom size
status 8446: resolved fixed
2011-02-07 12:42:46 -08:00
alena 807562da50 bug 8424: fixed NPE in vmExpunge thread - set accountId for UserContext to the vm's ownerId (this value is being read by UsageEvents generator)
status 8424: resolved fixed
2011-02-07 12:13:59 -08:00
Alex Huang bee6953e09 ha done? needs testing 2011-02-07 10:58:25 -08:00
Alex Huang f948926a2f some minor adjustments before doing the big work 2011-02-07 10:58:25 -08:00
Murali Reddy 8798fce36d bug 8390: description of weekly and monthly snapshot policy contains hourly in global configuration
status 8390:resolved fixed
2011-02-07 10:05:54 -08:00
alena 6e399aa698 Vm expunge: when delete port forwarding rules as a part of vm expunge, do searchIncludingRemoved for the vm because vm can be marked for removal already. 2011-02-07 10:02:10 -08:00
alena e299402243 Perform security check for deleteNetwork inside the management server method instead of api command itself 2011-02-07 10:02:10 -08:00
nit 0f12529353 bug 8088: Making template sync more robust. If the url is null we cant initiate a download and so mark it as a download error instead.
status 8088: resolved fixed
2011-02-07 14:20:28 +05:30
nit df9003b0b6 bug 8088: Making template sync more robust. If the url is null we cant initiate a download and so mark it as a download error instead.
status 8088: resolved fixed
2011-02-07 14:20:28 +05:30
alena e58e085928 Added missing @DB annotation to createNetwork (was lost during git merge) 2011-02-05 18:11:21 -08:00
kishan 4eebc1c434 bug 8415: Added scheduled event for recurring snapshots
status 8415: resolved fixed
2011-02-05 14:40:26 +05:30
anthony e14b8311cc bug 7563: create snapshot in async create method
status 7563: resolved fixed
2011-02-04 19:20:47 -08:00
alena 4fbcbda4d2 bug 8409: listLoadBalancers - for domain admins list only lbs belonging to their domains and subdomains
status 8409: resolved fixed
2011-02-04 18:12:04 -08:00
will d2440eb44e bug 8315: Reordered logic when authenticating user so that we make a check on the authentication adapter before executing subsequent logic. This allows AuthenticationAdapters to create accounts if they are not already in the DB. 2011-02-04 18:02:18 -08:00
alena 4699d91f4e bug 8399: dhcp owner is System in Basic zone setup and for Direct zone wide network
status 8399: resolved fixed
2011-02-04 15:54:51 -08:00
alena e9dd1ee822 bug 8383: HA: perform ssh check before marking system vms as running. For domR, also reapply all ips/PF/LB/VPN/Dhcp/Userdata.
status 8383: resolved fixed
2011-02-04 14:33:14 -08:00
Kelven Yang 33d804846f Native HA support improvements 2011-02-04 14:32:18 -08:00
abhishek 1f8c4864d6 bug 8171: adding checks to ensure we do not start cp for any vm start unless we are out of maintenance
status 8171: resolved fixed
2011-02-04 14:00:37 -08:00
Alex Huang e153ab461c removed unused method 2011-02-04 11:56:21 -08:00
Alex Huang 86e51eb536 Made changes to the exceptions thrown by NetworkManagerImpl 2011-02-04 11:56:20 -08:00
Alex Huang 0105c03a27 initial HA work 2011-02-04 11:51:14 -08:00
alena 84fef40ce2 Refactored "allocate vlan to account" code 2011-02-04 09:54:16 -08:00
abhishek 030286279c adding a migration util 2011-02-04 08:52:47 -08:00
kishan 56f3343911 Added action events for VM, volume, Ip and snapshot actions 2011-02-04 19:59:41 +05:30
nit 5469916060 bug 7522 : Extract ISO/Template - By default these entities wouldnt be extractable, GLOBAL ADMINS - always allowed to extract, OTHERS - allowed to extract if - 1) Its own template and extractable=true 2) Its not its own template but public=true and extractable=true.
status 7522: resolved fixed
2011-02-04 17:51:42 +05:30
kishan a9fd67cab6 bug 8362: Included VmId in event description
status 8362: resolved fixed
2011-02-04 11:52:35 +05:30
Murali Reddy ee1c53ecf3 Revert "bug 8327: successive removeFromLoadBalancerRule(s) renders LB rule dysfunctional"
This reverts commit 368289aa12.
2011-02-03 20:40:38 -08:00
Edison Su 3cc5ce8642 add new configuration parameter: cmd.wait, for heavy timing-consuming commands, such as backupsnapshotcommand 2011-02-03 18:57:38 -05:00
alena 6f55c4dd7e bug 8270: Synchronize on 1) ipAddress object when create/delete ipForwarding/portForwardingRule and vpn service 2) on networkId when assignTo/removeFrom/deleteLoadBalancer
status 8270: resolved fixed
2011-02-03 18:45:49 -08:00
Frank 4c7fb08b33 Add OvsElement.java 2011-02-03 18:28:33 -08:00
Frank 54450460d2 implement network element for ovs stuff, so we don't make other code dirty 2011-02-03 17:39:03 -08:00
anthony 4227d1525b bug 8219: better error message
status 8219: resolved fixed
2011-02-03 15:57:36 -08:00
Edison Su fd0752e995 bug 5811, 8261: When delete host, send a shutdownCommand to kvm agent, then kvm agent will not automatically reconnect to mgt server
status 5811: resolved fixed
status 8261: resolved fixed
2011-02-03 13:40:07 -05:00
Murali Reddy 368289aa12 bug 8327: successive removeFromLoadBalancerRule(s) renders LB rule dysfunctional
status 8327: resolved fixed
2011-02-03 13:33:14 -08:00
alena 1a03097d1b Fixed NPE in VirtualNetworkApplianceManager - happened when stopped domR start was initiated by user vm start 2011-02-03 13:25:12 -08:00
keshav 66cb75ded3 Changed external network provider names to be model specific. 2011-02-03 11:55:39 -08:00
alena f36265c408 bug 8367: listNetworks - for domain admin list only networks belongig to his domain/subdomains
status 8367: resolved fixed
2011-02-03 11:38:43 -08:00
abhishek 2a38a58be0 bug 8335: changing the deployVm flow to take in a list of security group ids instead of a list of security group names 2011-02-03 11:37:49 -08:00
alena e9490bda55 bug 8359: fixed deleteDomainCommand - didn't work when domain had accounts assigned (incorrect method cleanupAccount was called instead of deleteAccount)
status 8359: resolved fixed
2011-02-03 10:38:53 -08:00
alena 026e6905c9 bug 8343: in api commands extending BaseAsyncCreate set owner account information only after all request parameters were read as account/domainId information can be specified in the request
status 8343: resolved fixed
2011-02-03 09:53:18 -08:00
kishan 6db6e8b4e9 Added action events for load balancer actions 2011-02-03 18:42:36 +05:30
kishan 5bedf10cbf Added action events for Ip and net rules 2011-02-03 18:13:23 +05:30
kishan 577fdd2c26 Added action events for Vm actions 2011-02-03 17:36:43 +05:30
kishan fcfd4e9e33 bug 8192: use volume size in bytes for usage
status 8192: resolved fixed
2011-02-03 16:38:48 +05:30
kishan 16f1a3a548 bug 7955: Added usage for network offerings
status 7955: resolved fixed
2011-02-03 15:49:59 +05:30
nit 0d895e816f bug 8258 : Allowing all shared storages to be shown in the listCapacity API.
status 8258: resolved fixed
2011-02-03 13:43:03 +05:30
kishan 5007f37479 bug 8320: Include router private Ip in stop command
status 8320: resolved fixed
2011-02-03 11:37:47 +05:30
anthony b226861783 bug 8194: add new storage pool type PreSetup,
1. user setup SR for xenserver pool
2. in UI, add a new storage pool as PreSetup
   server: "ip of storage "
   path:"name of the SR"
2011-02-02 19:33:08 -08:00
Edison Su 4ea260cafd bug 8204: mgt server needs to pass down iso info before migration, if the vm has ISO attached
status 8204: resolved fixed
2011-02-02 19:13:12 -05:00
Kelven Yang b12444bb64 Let HA manager support native HA 2011-02-02 17:59:20 -08:00
Edison Su a46155e895 bug 8094: send networkrulesforssvm command to agent, no matter security group is enabled or not
status 8094: resolved fixed
2011-02-02 16:26:54 -05:00
alena 848cff6318 Use static inner class instead of enum for Param parameter (used in VirtualMachineProfile) 2011-02-02 15:55:04 -08:00
alena fe67fa851a bug 8330: make a search including removed when get service offering information during vm start.
status 8330: resolved fixed
2011-02-02 14:06:54 -08:00