Commit Graph

1846 Commits

Author SHA1 Message Date
Jessica Wang eb7d531456 bug 8577: Make listAlerts API take in id parameter. 2011-02-16 15:35:34 -08:00
Jessica Wang 35397d7176 bug 8577: Make listEvents API take in id parameter. 2011-02-16 15:20:05 -08:00
Jessica Wang c475aacc08 bug 8578: make listRouters API take in id parameter. 2011-02-16 15:06:11 -08:00
abhishek de4b79bd6d fixing pagination issues with listVolumes 2011-02-16 14:58:52 -08:00
anthony 80a328034c bug 8609: when failed to start a VM in HA (due to domr is not migrated), a runtimeException is thrown out, caused HA for this VM is not resheduced.
status 8609: resolved fixed
2011-02-16 14:20:28 -08:00
alena b0e4ecb3af bug 7901: Prevent using the same cidr for POD and zone's virtual network
status 7901: resolved fixed
2011-02-16 11:17:20 -08:00
alena 8654aa3833 bug 6366: allow to extend pod private ip range even when there are allocated private ip addresses in the pod
status 6366: resolved fixed
2011-02-16 10:51:53 -08:00
alena 4ae5734ab0 createPod/editPod: don't allow gateway to overlap start-end ip range 2011-02-16 10:51:53 -08:00
alena e573e66074 bug 8502: allow to edit pod name in all the cases; even when pod has resources allocated
status 8502: resolved fixed
2011-02-16 10:51:53 -08:00
Kelven Yang d78cea1cea fix merge conflicts 2011-02-15 17:08:01 -08:00
Kelven Yang 43c82d03d8 UTF-8 fix - make encoding work across GET/POST 2011-02-15 17:06:29 -08:00
alena a05400604b bug 8565: throw unsupported error code when non existing api command is sent
status 8565: resolved fixed
2011-02-15 16:01:09 -08:00
Chiradeep Vittal db2bd762a8 bug 8604: ensure .ssh directory is created before trying to write keys there 2011-02-15 15:40:28 -08:00
alena 42ddf74bc5 bug 8284: don't allow to create static nat rules for 2 different ip addresses and the same vm.
status 8284: resolved fixed
2011-02-15 13:52:00 -08:00
alena c11a9c18e2 bug 8381: disassociateIpAddress is async now 2011-02-15 12:24:18 -08:00
alena 9c2db92b63 Fixed the bug when port forwarding rules were not reset correctly on domR restart/start (multiple public ip addresses case) 2011-02-15 10:49:46 -08:00
alena d9dfd37bd4 Reapply static nat rules when domR starts/reboots 2011-02-15 10:45:28 -08:00
alena d80caf24fd bug 8564: Changed implementation for static nat rules. Now we use separate interfaces instead of PortForwardingRules interfaces.
status 8564: resolved fixed
2011-02-15 10:45:28 -08:00
Kelven Yang a0c48d7fa1 1) Rename console-common to console so that Eclipse project name is the same as folder name
2) Fix UTF encoding issue at servlet response
2011-02-15 10:04:06 -08:00
abhishek 1aab49fd8f bug 8547: some additions to the config vars to better indicate the units they use
status 8547: resolved fixed
2011-02-14 14:28:15 -08:00
alena 8cd7426dd0 bug 8455: for static nat port range don't allow start port to be bigger than end port
status 8455: resolved fixed
2011-02-11 17:43:56 -08:00
alena 0938509bc0 bug 7341: introduced search by id/vmId to listIpForwardingRules command
status 7341: resolved fixed
2011-02-11 17:14:34 -08:00
Alex Huang 7dd54f079b started vms with these latest 2011-02-11 17:03:04 -08:00
Alex Huang b0f0efa29b more changes to make it work better in a cluster 2011-02-11 17:03:04 -08:00
Alex Huang db7bc893b9 added cluster awareness to vm start/stop 2011-02-11 17:03:04 -08:00
alena cb73c1e1fa Fixed NPE in deleteAccount code - when shutdown the network, always set reservation context with account/userCaller information 2011-02-11 12:06:04 -08:00
Kelven Yang 3113ae4993 Add display name to user VM in console title 2011-02-11 11:43:00 -08:00
alena 829c865133 router.ram.size global config is hidden now as it's used by system only 2011-02-11 11:38:02 -08:00
abhishek 5d1d9ec387 bug 8263: allowing a private zone to be made public 2011-02-11 11:35:07 -08:00
nit e901ccfe07 bug 8498: Make osTypeId optional. Introdue a new OS type None to be shown for non bootable ISOs. Add check that when the ISO is bootable a valid osTypeId gets passed 2011-02-11 18:44:26 +05:30
anthony 0db879d053 reduce lock granularity 2011-02-10 20:11:45 -08:00
alena 3328ec5d2d Fixed the bug when dhcp server wasn't started for Direct netwok on JuniperSrx setup 2011-02-10 19:12:10 -08:00
anthony 6501bcd3c4 bug 8518: replytimeout is not set
replytimeout is set to 10 min for XenServer

status 8518: resolved fixed
2011-02-10 18:59:42 -08:00
Kelven Yang 737954bed8 1) prepare to seperate volume/snapshot logic to secondary storage VM
2) Add vmware.service.console configuration variable to allow customized VMware setup
2011-02-10 16:41:19 -08:00
alena 4054d7e2b5 Store ip address as String instead of Long in user_ip_address and port_forwarding_rules tables 2011-02-09 19:35:03 -08:00
alena 7e6570570d bug 8515: Allow only positive non zero numbers for "max" parameter in createSnapshotPolicy
status 8515: resolved fixed
2011-02-09 19:35:03 -08:00
alena 7b13c89956 bug 8493: Don't allow to create a snapshot policy with max value exceeding domain/account snapshot limit
status 8493: resolved fixed

Also increase/reduce resource count when recurring snapshot is taken/removed
2011-02-09 19:35:03 -08:00
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
alena 95f90fd986 Removed bad word from log4j config files. 2011-02-08 13:55:40 -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