Anthony Xu
fa499dadbc
bug 7220: the parameter type transfer may cause NPE
...
status 7220: resolved fixed
2010-11-19 15:56:04 -08:00
Alex Huang
5b4a6f27db
Changed networkconfigurations to network as per Sheng's suggestion
2010-11-19 15:44:42 -08:00
edison
0c35f2f743
bug 7237: disk size is passed in diskProfile, no need size parameter in createcommand
...
status 7237: rresolved fixed
2010-11-19 11:55:27 -08:00
abhishek
317554d983
ensuring all the following have api values taken in, in GB (disk offering, service offering, custom vol creation and vm creation from cust disk offering)
2010-11-18 14:32:50 -08:00
Kelven Yang
5490577469
1) Remove forwarding between eth1 and eth2 as it does not solve the problem of asymmetic routing
...
2) correct Eclipse project settings
3) If VM is hosted by vmware hypervisor, give the previous host preference to start on to fit VMware's VM-centric model
2010-11-17 15:55:04 -08:00
alena
c5d78a726e
Modified exception handing in API. Following exceptions are supported now (location - BaseCmd.java):
...
* MALFORMED_PARAMETER_ERROR - when type of the request parameter is invalid (String instead of Long for id for example)
* PARAM_ERROR - when invalid parameter value is specified in api request. For example, id of non existing vm for StartVmCmd
* ACCOUNT_RESOURCE_LIMIT_ERROR - when user tries to exceed his resource limits by executing the api command.
* INSUFFICIENT_CAPACITY_ERROR - when resource fails to create/start due to insufficient capacity.
* RESOURCE_UNAVAILABLE_ERROR - when user tries to create a vm when storage is not available.
* RESOURCE_IN_USE_ERROR - when user tries to delete/modify resource while it's in use. For example, when we try to delete a network group when it contains ingress rules.
* NETWORK_RULE_CONFLICT_ERROR - when LB/PF rule to add conflicts with existing rule
* ACCOUNT_ERROR - when user is not authorized to execute operation on the resource.
* INTERNAL_ERROR
2010-11-16 11:56:34 -08:00
abhishek
6d943abf55
bug 7119: code refactor away from the ms calls, to the share and prepare methods based on alex's recommendations
...
status 7119: resolved fixed
2010-11-15 11:17:36 -08:00
anthony
2537dc3058
bug 7149: merge from 2.1.x
2010-11-12 13:16:03 -08:00
abhishek
e79e432807
we were using debug logging without checking ifDebugEnabled(), fixing that
2010-11-11 17:20:57 -08:00
abhishek
fcd7f37839
bug 7037: adding more logging to the deletepool cmd
...
status 7037: resolved fixed
2010-11-11 17:20:57 -08:00
edison
f30d3f4839
don't break other people
2010-11-11 17:13:21 -08:00
edison
0db9303bca
don't break others
2010-11-11 17:04:10 -08:00
edison
8ca6f1669e
start2command fro secondarys storage vm and make it work for KVM
2010-11-11 17:04:10 -08:00
edison
40481cfe6e
add start2command for secondarystorage vm
2010-11-11 17:04:10 -08:00
edison
393666feea
start2command for secvm
2010-11-11 17:04:10 -08:00
abhishek
709fc3686f
another fix for a related bug on data volumes I found whilst testing the parent bug
2010-11-11 16:39:15 -08:00
abhishek
968dc0616f
bug 7021: data disk wasn't being created for custom sizes. Also, we were having max size checks in GB, whereas disk offerings are in MB. Made the change there as well.The storage allocators were commented out in master, uncommented them.
...
Status 7021: resolved fixed
2010-11-11 15:45:21 -08:00
will
a69f961bd8
bug 5903: Reworked the entire UI to accomodate the new snapshot policy in 2.2.
...
- Fixed issues with deleting snapshot policies
- Fixed maxsnaps being set wrong in the DB.
2010-11-10 19:19:18 -08:00
nit
351f98ceef
bug 5363: SNAPSHOT.CREATE - Add Started event.
...
status 5363: resolved fixed
2010-11-09 19:37:01 +05:30
anthony
8df96da0a5
don't delete template if template check fail, give user a chance to check the template manually
...
use can delete the template though UI
2010-11-08 21:03:59 -08:00
anthony
4646be7587
for recursive snapshot, use UID_SYSTEM instead
2010-11-08 18:08:08 -08:00
anthony
0febfb4938
don't reschedule manual snapshot
2010-11-08 18:08:08 -08:00
anthony
3aad88e94b
reschedule all polocies after management server restart, in case some schedules are missing
2010-11-08 18:08:08 -08:00
anthony
71a670defc
snapshot code cleanup
2010-11-08 18:08:08 -08:00
anthony
9ee6d69c9f
the default delta snapshot number between two full snapshots is 16, it is configurable
2010-11-08 18:08:07 -08:00
abhishek
7262b854a5
bug 7121: made the disk offering id optional, and added a check to ensure we never have both disk offering and snapshot ids to be null
...
status 7121: resolved fixed
2010-11-08 17:59:26 -08:00
Alex Huang
aca8ef79cd
a bunch of other changes for network refactoring
2010-11-08 12:29:37 -08:00
anthony
224da7e775
several snapshot fixes
2010-11-05 20:55:19 -07:00
abhishek
0b1bddb125
code realignment
2010-11-04 18:42:38 -07:00
abhishek
103278415e
bug 7035: allowing cancel maintenance for all sp states except UP
...
status 7035: resolved fixed
2010-11-04 18:42:38 -07:00
abhishek
364e1e1c4a
bug 7034,6869: fixing the storage pools issue, and the npe at load balancer if the router is not found.
...
status 7034, 6869: resolved fixed
2010-11-04 17:18:58 -07:00
abhishek
e9bd0594bd
bug 7022: fixing the custom size for volumes bug
...
status 7022: resolved fixed
2010-11-04 15:51:33 -07:00
abhishek
9a3d5c3ae3
forgot to throw the serverapiexception in the cancel maintenance cmd
2010-11-04 14:35:36 -07:00
abhishek
52d2111ed3
bug 6972: fixing the ssl cert warning
...
status 6972: resolved fixed
2010-11-04 14:11:28 -07:00
abhishek
baa28d2022
returning serverapiexceptions for prepare and cancel pool maintenance; making it consistent with other pieces of code
2010-11-04 13:40:10 -07:00
abhishek
55e9378f9a
don't set state to errorinmaintenance if cancel maintenance encounters a ps with a state !=Maintenance
2010-11-04 13:35:57 -07:00
abhishek
d96a1a841d
adding logic to prevent commands from being sent to the pool when it is NOT up; also adding better thread safety and db locking, along with a general refactor
2010-11-04 13:35:57 -07:00
abhishek
89f0c455e3
fixing the vm creation issue
2010-11-04 10:47:59 -07:00
nit
7dc7a4838a
bug 4286: Fixing the extract functionality for Upload after new API framework. Also added a check to avoid system created templates and ISO's from getting extracted as per Mike.
...
status 4286: resolved fixed
2010-11-04 19:09:38 +05:30
abhishek
84ee08430a
making changes to the list zones flow, to add the domain name to the table, and return it
2010-11-03 22:08:32 -07:00
Alex Huang
e27bb550fe
Harmony among gurus
2010-11-03 21:18:31 -07:00
alena
52a8370102
bug 6955: return embedded object for PreparePrimaryStorageForMaintenance
...
status 6955: resolved fixed
2010-11-03 14:30:35 -07:00
edison
f3cc113525
bug 6933: send the snapshot related command to host on which vm created for kvm
...
status 6933: resolved fixed
2010-11-03 13:03:21 -07:00
abhishek
426e445811
bug 6904: during volume creation, we were NOT converting the size of the parent disk offering (which is in MB), to bytes. This is the size used to create the volume. I am adding the appropriate multipliers. Other flows like creating volume from snapshot etc should remain unaffected, as the parent volume created from the disk offering will be set right.
...
status 6904: resolved fixed
2010-11-03 11:13:06 -07:00
Kelven Yang
3c6b3b3e3d
Add more volume info to BackupSnapshotCommand, to generalize multi-hypervisor usage
2010-11-02 17:04:07 -07:00
Alex Huang
5fe5450abc
even more refactoring
2010-11-02 15:25:07 -07:00
Alex Huang
560d7a275e
Removed InternalErrorException. Renamed the lock methods on the DAO objects to be more understandable.
2010-11-02 12:25:08 -07:00
Alex Huang
3279c26796
Removed a bunch of InternalErrorException
2010-11-02 12:25:08 -07:00
Kris McQueen
519633cd38
bug 6763: restore the volume lock when creating a snapshot for the volume to ensure only one thread is creating the snapshot at a time.
2010-10-29 13:53:00 -07:00
nit
c9069303ce
Code clean up for Extract functionality and making it more robust.
2010-10-28 18:45:12 +05:30