Commit Graph

68 Commits

Author SHA1 Message Date
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
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
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
Alex Huang
0105c03a27 initial HA work 2011-02-04 11:51:14 -08:00
kishan
56f3343911 Added action events for VM, volume, Ip and snapshot actions 2011-02-04 19:59:41 +05:30
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
Murali Reddy
8ce576dde5 bug 8239: NPE while executing CreateSnapshotCmd
status 8239: resolved fixed
2011-02-02 13:12:34 -08:00
alena
668fde991c Don't default resource owner to System account when command is executed via 8096 and account or domainId are missing 2011-02-01 14:20:45 -08:00
abhishek
447153f570 bug 8247: when we have vms in error state, we destoy their volumes. then, when we delete account with such vms, we should NOT try and destroy vols already destroyed.
status 8247: resolved fixed
2011-02-01 11:13:40 -08:00
alena
620466d393 Network destroy: when release ip addresses assigned to the network, no need to send applyIpAssociations command to the network elements as they are already shutdown. 2011-01-28 10:09:20 -08:00
alena
6304a92c23 bug 7881: fixed publicIpAllocation to an account.
status 7881: resolved fixed

Also fixed the issue with account delete when nonSourceNat ip addresses were not being released
2011-01-24 10:03:18 -08:00
alena
af3373c4d6 Deleted global config parameter direct.network.no.default.route that is no longer in use. 2011-01-20 13:15:25 -08:00
alena
a4cfe20db8 bug 7389: implemented listPortForwardingRules by ip/account/domainId. Also fixed broken pagination for this call
status 7389: resolved fixed
2011-01-20 11:35:40 -08:00
kishan
94ec7bf27a bug 7842: events refactoring. Still wrok in progress 2011-01-20 21:49:50 +05:30
abhishek
afcb202923 bug 7900: removing obsolete network domain param
status 7900: resolved fixed
2011-01-19 17:18:02 -08:00
alena
632d3c67f1 bug 6689: release source nat ip address as a part of domR/dhcp destroy
status 6689: resolved fixed

Changes to destroyNetwork process. Here are the steps:
* shutdown network - shutdowns all network elements (domRs/Dhcps)
* delete network - destroy all network elements, cleanup network's resources (vlans, ip ranges), mark network with Destroyed state and set Removed field
2011-01-18 19:31:04 -08:00
Chiradeep Vittal
2b66b8a924 bug 7929: remove security groups when account is deleted.
status 7929: resolved fixed
2011-01-13 15:40:29 -08:00
alena
381717854c Fixed NPE in deleteAccount - search for all accounts (instead of searching for active accounts only) when do deleteNetwork 2011-01-12 16:34:56 -08:00
alena
916b516d13 bug 7878: Fixed Basic zone functionality - uservm/systemvm/domR start
status 7878: resolved fixed
2011-01-06 15:44:13 -08:00
alena
0b7a15ab99 bug 7348: reapply PortForwardingRules (including 1-1 Nat), LB rules, Vpn as a part of domr Stop/Start
status 7348: resolved fixed

More fixes:
* Update user_statistics on each domR stop/reboot
* Reset dhcpData/userData as a part of domR stop/reboot
* More logging for domR commands
2011-01-03 23:00:05 -08:00
kishan
511c780e97 bug 7754: added userId and accountId for deleteUser event
status 7754: resolved fixed
2011-01-03 16:42:54 +05:30
alena
dfecc1f448 Changed account state to be in lower case. 2010-12-30 09:57:59 -08:00
Alex Huang
da4ed648ac consolidated all of the vm destroy, cleanup and account cleanup. 2010-12-30 05:46:54 -08:00
Alex Huang
544fa7ff1b remote access vpn, user ip address changes 2010-12-29 09:32:54 -08:00
alena
52478aaf73 bug 7699: set correct account_id/user_id for createUser events
status 7699: resolved fixed
2010-12-27 19:54:36 -08:00
kishan
e51dc79000 bug 7504: Events refactoring
status 7504: resolved fixed
2010-12-24 19:38:28 +05:30
kishan
53d3455cbe bug 7504: Events refactoring 2010-12-24 12:58:32 +05:30
kishan
bb0e6a0ae3 bug 7504: Events refactoring 2010-12-24 12:58:32 +05:30
Alex Huang
0ecb0118ec renamed the domainrouter services 2010-12-21 03:56:01 -08:00
alena
21bb9df292 Fixed accountCleanup to release all public ip addresses and delete the corresponding networks. 2010-12-20 20:20:09 -08:00
abhishek
376d5da45d bug 7106: fixing the account updating bug
status 7106: resolved fixed
2010-12-16 17:32:22 -08:00
abhishek
5154ba1539 bug 6361: this is a good point to commit; 1st round of refactor is done, code is clean compiling and ms is deploying 2010-12-16 15:37:19 -08:00
abhishek
6ae9e73c0b bug 7466: adding a whole bunch of new apis for accounts and users; merging account locking and disabling into one; preventing account manipulation on user disabling; disabling user lock 2010-12-14 15:38:37 -08:00
alena
d077b127aa bug 7498: fixed search by keyword in listUserVm/listSystemVms/listRouters commands
status 7498: resolved fixed
2010-12-13 15:22:11 -08:00
alena
c7a9267225 Delete network as a part of account cleanup 2010-12-13 10:47:10 -08:00
Alex Huang
87626bea6b start vm is working 2010-12-06 14:17:53 -08:00
Alex Huang
fcdd20ca06 more checkin 2010-12-06 14:17:53 -08:00
Alex Huang
16caf1954b New ip address states and mode 2010-12-04 17:32:32 -08:00
Alex Huang
daa9add158 removed router stuff from network manager 2010-12-04 17:32:31 -08:00
Alex Huang
bb78986ddb port forwarding working 2010-12-03 08:48:02 -08:00
alena
f4908758b3 bug 7234: don't try to delete pod level vlan when it doesn't exist
status 7234: resolved fixed
2010-11-23 15:06:29 -08:00
alena
a495f34d4f Fixed enableAccount command - domain permission check was done incorrectly 2010-11-19 15:25:29 -08:00
alena
a0eaf32cad Fixed updateAccount command to work via 8096 port. 2010-11-18 17:35:41 -08:00
alena
0b2b8e31d8 Fixed updateUser command - didn't work correctly via 8096 port (user account info was taken from UserContext instead of User object). 2010-11-18 17:07:20 -08:00
alena
a95b853a17 bug 6898: updateResourceLimit command requires domainId or account/domainId now if executed via 8096 port
status 6898: resolved fixed
2010-11-17 19:43:06 -08:00
abhishek
7575a03663 bug 6861: we were setting the account cleanup flag incorrectly, even for a vol which was never attached to a vm. Fixing the same
status 6861: resolved fixed
2010-11-16 16:11:55 -08:00
nit
ff4250fe89 bug 5360 : USER.DELETE - Adding Started event and refactored the code around it.
status 5360: resolved fixed
2010-11-12 14:47:30 +05:30
Alex Huang
edf9ddd464 added reservation id to vnet 2010-11-08 12:29:38 -08:00
alena
1c24deda34 1) Refactored current Apis not to use reflection for method invocation. In new version following has to be done:
* Implement callCreate() and execute() methods in apis extending BaseAsyncCreateCmd (example - CreateVolumeCmd)
* Implement execute() method in apis extending BaseCmd and BaseAsyncCmd (example - deleteVolumeCmd and deleteUserCmd)

We no longer need createMethod(), method(), manager() fields in @Implementation annotation, cleanup has to be done.

2) Moved Account/User related methods to AccountManagerImpl. Methods are exposed via AccountService interface.
3) Enhanced exception handing for Api calls.
4) Created ConfigurationService interface, all Api config methods are exposed via it.
2010-11-08 11:27:36 -08:00
Alex Huang
e27bb550fe Harmony among gurus 2010-11-03 21:18:31 -07:00