Commit Graph

176 Commits

Author SHA1 Message Date
Alex Huang
f9a9698d96 more unused fields removed 2011-01-28 15:37:00 -08:00
abhishek
d8ea2f04ea setting cpvm restart to true with every storage pool being added 2011-01-28 14:24:44 -08:00
abhishek
5d18c4c527 bug 8242: introducing the concept of work queue for storage; introducing storage states as opposed to using host states; using row locks as opposed to db table locks
status 8242: resolved fixed
2011-01-28 13:43:36 -08:00
Kelven Yang
4696b16d10 Normalize name convention for vmware hypervisor 2011-01-28 11:16:30 -08:00
Edison Su
f8778ea4c6 add sharedmountpoint storage pool to support all kinds of clustered file system 2011-01-28 04:37:31 -05:00
Kelven Yang
83dd811221 Deal with the situation while volume was left over in Creating state 2011-01-25 17:20:08 -08:00
Alex Huang
fc33ef2be2 Removed several unused fields after the refactoring 2011-01-24 16:18:40 -08:00
abhishek
334c41a7e8 using the accessor method instead of the obj directly 2011-01-24 13:43:11 -08:00
abhishek
ab87e10ad1 bug 7970: some more improvements to the storage maintenance with 2 pools
status 7970: resolved fixed
2011-01-24 11:27:52 -08:00
Kelven Yang
cfb51ece25 Bug 8019: send snapshot commands to host that owns the VM 2011-01-21 11:08:23 -08:00
Alex Huang
3a9d6884ce Removed useless code 2011-01-20 09:54:05 -08:00
kishan
94ec7bf27a bug 7842: events refactoring. Still wrok in progress 2011-01-20 21:49:50 +05:30
nit
d1aa043aba bug 7525: Cleaning up primary storage stats from op_host_Capacity(reflected on dashboard) when primary storage is deleted.
status 7525 : resolved fixed
2011-01-20 20:38:43 +05:30
kishan
c685c77d74 Populate diskofferingid in usage events only if the offering is of type disk 2011-01-20 13:38:29 +05:30
abhishek
09960f76eb bug 8112: this broke again after the alex refactor. Fixing it again
status 8112: resolved fixed
2011-01-19 18:03:19 -08:00
abhishek
210e828a46 bug 8045: fixing the corner case around uncaught/unexpected exceptions; minor refactor of the code
status 8045: resolved fixed
2011-01-19 15:04:19 -08:00
abhishek
f97a5e78cb bug 7970: fixing sp maintenance for 2 pools
status 7970: resolved fixed
2011-01-19 14:32:56 -08:00
alena
2f608c31a4 bug 8096: secondary storage vm doesn't have to be UP when we do attachIso/startVm from iso
status 8096: resolved fixed
2011-01-19 10:42:41 -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
Alex Huang
42950f2e8b migration complete 2011-01-14 15:12:13 -08:00
Alex Huang
d43717eef8 merge changes 2011-01-14 15:12:13 -08:00
abhishek
c312147c52 bug 7991: blocking cancelmaintenance if sp is in prepareformaintenance
status 7991: resolved fixed
2011-01-13 18:21:52 -08:00
abhishek
3406f4d5c0 bug 7988: fixing the sp state on delete
status 7988: resolved fixed
2011-01-13 17:21:35 -08:00
keshav
b7392e99cd Enabled local storage cleanup 2011-01-13 16:45:51 -08:00
anthony
fa1da347c6 bug 7978: it happens when MS is restarted before DeleteTemplateCommand responds, if the template directory doesn't exist, return success
status 7978: resolved fixed
2011-01-13 16:24:43 -08:00
Chiradeep Vittal
d7d9a251be bug 7993: fix npe
status 7993: resolved fixed
2011-01-13 14:48:25 -08:00
kishan
389e77fc46 bug 7924: Do not create usage event for create volume
status 7924: resolved fixed
2011-01-14 04:14:13 +05:30
kishan
a2752c6207 bug 7842: Move events to service layer from http api 2011-01-14 03:58:57 +05:30
kishan
388e689755 bug 7842: Move events to service layer from http api 2011-01-14 03:58:56 +05:30
abhishek
0e9ab0ee6a appended stacktrace instead of logging it. 2011-01-13 13:26:01 -08:00
abhishek
5f06654b38 bug 7960: the npe should be fixed with my previous fix. adding better logging and some exception handling
status 7960: resolved fixed
2011-01-13 13:24:04 -08:00
Alex Huang
6d9442be54 Finished all merges and unit testing 2011-01-11 18:02:09 -08:00
Alex Huang
6e6e8ff876 better expunge and destroy of volumes 2011-01-11 18:02:09 -08:00
abhishek
eec9f5f6f6 A minor fix to take into account stopping of a vm in stopping state. We will get a concurrentmodificationexception, and end in errorinmaintenance. This behavior is consistent with how stop works for cpvm. 2011-01-11 17:11:41 -08:00
abhishek
8995a0afb6 adding more logging for the corner case 2011-01-11 12:14:13 -08:00
abhishek
95756802e3 bug 7899: this seems to be a corner case, and from the logs, there was a vol with no pool id associated with it. Adding a check against it, as this should never happen
status 7899: resolved fixed
2011-01-11 12:11:46 -08:00
Kelven Yang
323fc6299d Use volume state to determine whether or not we need to send volume DestroyCommand to hypervisor hosts. 2011-01-07 05:41:28 -08:00
anthony
be174f7f36 correct checking answer 2011-01-07 13:54:58 -08:00
keshav
d2196d169e Moved global lock inside storage cleanup method. 2011-01-06 17:46:36 -08:00
abhishek
3aa1726009 bug 7822: fixing the storage maintenance failures centered around domr stop/start
status 7822: resolved fixed
2011-01-04 17:37:50 -08:00
Alex Huang
4eba6d10d7 Moved State into VirtualMachine like other States of objects 2011-01-04 15:01:34 -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
Kelven Yang
e7749afdfe Bug 7772: Add hypervisor type to snapshots table, fix issues with createVolumeFromSnapshot if snapshot was taken under data volume 2010-12-29 21:54:17 -08:00
Alex Huang
544fa7ff1b remote access vpn, user ip address changes 2010-12-29 09:32:54 -08:00
kishan
494a46a10f bug 7735: Set null for templateId instead of -1 for usage records
status 7735: resolved fixed
2010-12-29 18:29:14 +05:30
anthony
f865e8b061 moveVolume is broken due to not setup hypervisortype in dskch
fixed
2010-12-28 19:46:21 -08:00
alena
d005f9133e bug 7603: update uservm count when deploy/recover vm. Also fixed updating volumes count when volume is created as a part of vm deployment
status 7603: resolved fixed

Couple of other fixes:
* Set correct user_id for createVolume event instead of hardcoding it to System (1)
* Deploy dhcp vm when Zone's gateway provider is External Firewall and network is Virtual
2010-12-28 17:32:17 -08:00
abhishek
344a151ffe someone had commented out the domr code in the storage maintenance, enabling the same 2010-12-27 15:25:02 -08:00
abhishek
bb7170884d bug 7677: fixing the volumes issue when we destroy a vm
status 7677: resolved fixed
2010-12-27 13:54:52 -08:00
kishan
e51dc79000 bug 7504: Events refactoring
status 7504: resolved fixed
2010-12-24 19:38:28 +05:30