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
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
kishan
b12cd70216
bug 7504: Added usage events and made corresponding changes in usage server
2010-12-22 18:03:24 +05:30
kishan
a7626fc991
bug 7504: Added usage events
2010-12-22 12:28:05 +05:30
abhishek
6b1e4d92ef
made some changes to the vm expunge flow, also added a state transition to error for vm if creation fails
2010-12-21 12:48:13 -08:00
Alex Huang
0ecb0118ec
renamed the domainrouter services
2010-12-21 03:56:01 -08:00
Alex Huang
356526db83
Changed exception code to give the scope of the problem
2010-12-21 03:54:30 -08:00
abhishek
6eacec782e
bug 7528: the vm expunge action wasn't destroying the volumes during vm destroy. Added logic to do that. Also, made sure the volumes are removed during vm expunge
...
status 7528: resolved fixed
2010-12-20 14:56:32 -08:00
abhishek
583d4a2c2e
bug 7582: there was an error in re-starting user vm, due to the master refactor which happened. Fixed that regression
...
status 7582: resolved fixed
2010-12-20 12:40:44 -08:00
Alex Huang
65d0b32182
removed a bunch of old code
2010-12-16 14:04:32 -08:00
edison
e39f664e89
fix storage creation bugs
2010-12-13 20:48:31 -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
abhishek
33f71e1250
bug 7408: returning the source id and source type for vol creation
...
status 7408: resolved fixed
2010-12-13 12:38:43 -08:00
Kelven Yang
dedfe57280
seraral fixes for VMFS storage
2010-12-11 11:08:39 -08:00
Alex Huang
790bf40be6
Forgot what i change but must be important
2010-12-10 17:20:31 -08:00
edison
712953156b
fix boot from iso/attach iso/disks issue
2010-12-09 14:25:44 -08:00
abhishek
bf987c57d9
bug 6838: during vm creation, the volume's device id wasn't set leading to npe during attaching a new vol to the vm (it checks for device ids)
...
status 6838: resolved fixed
2010-12-07 14:59:54 -08:00
Alex Huang
daa9add158
removed router stuff from network manager
2010-12-04 17:32:31 -08:00
abhishek
4fc18ce760
bug 7414: defaulting startretry to 10 at all references in code
2010-12-03 09:54:21 -08:00
Alex Huang
b859e103d8
ip nat rule forwarding done
2010-12-03 08:48:03 -08:00