Kris McQueen
41a16a478a
Fixes required for regressions found running automated tests. (1) method signatures that weren't properly refactored to new API framework (2) API request parameter types should always be specified lest they default to String which may or may not be desired (3) better exception handling with regard to Queued commands and generic exceptions (4) fix eventing to pass the proper accountId where neccessary
2010-10-01 14:11:18 -07:00
anthony
f433a4d360
bug 6363:
...
1. delete local storage when delete host
2. delete host detail when delete host
3. allow one host in maintance mode in a cluster instead of in a pod
status 6363: resolved fixed
2010-10-01 10:40:08 -07:00
edison
b441deec94
Need to set all the system vms as read state
2010-09-30 20:39:34 -07:00
abhishek
4955c97b03
bug 5190: incremental checkin
2010-09-30 18:12:07 -07:00
anthony
1f173cc8f3
bug 6359: find the existing pool master
...
status 6359: resolved fixed
2010-09-30 15:19:25 -07:00
Kris McQueen
5f2acc8cdd
Fixing API responses for user VMs (we need to return ipaddress rather than privateip) and domain routers (guestMacAddress != guestmacaddress for case sensitive string comparison)
2010-09-30 14:22:10 -07:00
edison
26807bc701
bug 6362: Need to call guestos.getDisplayName to the guest os name now.
...
status 6362: resolved fixed
2010-09-30 12:26:37 -07:00
Kris McQueen
bc2449a69a
If the session in invalidated due to a bad session key, just return to avoid the situation where the session is invalidated twice (which causes IllegalStateException)
2010-09-30 11:39:36 -07:00
anthony
f6bd092327
private.network.device may change, always try to find out the real private.network.device
2010-09-29 19:23:37 -07:00
edison
58c430f7d7
add xenserver specific configruation back
2010-09-29 18:48:26 -07:00
edison
7615f569ff
after rebase, fix bugs
2010-09-29 18:41:55 -07:00
edison
ad1ef80459
Now we have multiple routing template and buitin templates now, refactor template download code, that can handle it.
...
Basically, change the meaning of type field in template table: SYSTEM means sytem vm template, BUILIIN means buildin templates.
2010-09-29 18:41:55 -07:00
edison
fb9f43d807
clean up hypervisor.type, actually hypevisor.type may only make sense on the UI in multi-hypervisor.
...
In our java code, we should not write code based on hypervisor.type.
2010-09-29 18:41:54 -07:00
edison
d478bb9d95
don't add the "untagged"
2010-09-29 18:41:54 -07:00
Kelven Yang
b7efa12d59
Fix corrupted eclipse project settings, schema fixes and updated template download url
2010-09-29 18:41:54 -07:00
edison
6fc7528809
create data volume is splitted into two stage:
...
1. create a volume entry in the database,
2. when user attaching the volume to a VM, then actually create the volume on storage pool.
2010-09-29 18:41:54 -07:00
edison
abba8398b3
fix add xen-pv-iso, add cloud-guest as the xen.guest.network
2010-09-29 18:41:54 -07:00
edison
964f8f1fe3
fix boot from iso
2010-09-29 18:41:54 -07:00
edison
d98d6cbb9f
fix template download, listguestos type
2010-09-29 18:41:53 -07:00
edison
baeb1af265
fix register template hypervisor type
2010-09-29 18:41:53 -07:00
edison
ea1efa95f6
send guestosdisplay to agent
2010-09-29 18:41:53 -07:00
edison
b8c1d2ea17
set external ipallocator as true by default
2010-09-29 18:40:52 -07:00
edison
9e0f57bc0e
change code for new UI
2010-09-29 18:40:52 -07:00
edison
8943cc6745
create volume
...
Conflicts:
api/src/com/cloud/vm/VmCharacteristics.java
core/src/com/cloud/dc/ClusterVO.java
core/src/com/cloud/server/ManagementServer.java
server/src/com/cloud/network/NetworkManager.java
server/src/com/cloud/storage/allocator/AbstractStoragePoolAllocator.java
2010-09-29 18:40:51 -07:00
Kelven Yang
86d59bdddd
Implement CreateVolume/AttachVolue for vmware
2010-09-29 18:40:51 -07:00
Kelven Yang
2337a9d99f
Fix a NPE in AbstractStoragePoolAllocator.java when creating standalone volume
2010-09-29 18:40:51 -07:00
Kelven Yang
72e8b767fe
Mount secondary storage as a datastore to implement ISO attachment
2010-09-29 18:40:50 -07:00
Kelven Yang
9db2925b77
Make database config recognize service offering change
2010-09-29 18:40:49 -07:00
Kelven Yang
6ae1c8fa31
Enable logging for deploydb and add support for hypervisor type in service offering
2010-09-29 18:40:49 -07:00
edison
b3427fc634
don't remove template
2010-09-29 18:40:48 -07:00
edison
7c4fe92a9f
s/VMWare/Vmware
2010-09-29 18:40:48 -07:00
edison
e2282ba800
don't throw exceptions when you can't add host
2010-09-29 18:40:48 -07:00
edison
edb16aa117
change storage allocator policy based on hypervisor
2010-09-29 18:40:47 -07:00
edison
3aef9f408e
step1
2010-09-29 18:40:47 -07:00
edison
211b4c5da2
hybrid
2010-09-29 18:40:47 -07:00
anthony
b8c8aacca3
bug 6326: correctly update poolsToAvoid
...
status 6326: resolved fixed
2010-09-29 18:38:01 -07:00
Kris McQueen
0105aec338
Always set the response type on the command object so that the correct output is generated. Add both Strings and Longs to the login response (domainId and userId will be the Longs). Use the correct method name for ListSystemVMsCmd.
2010-09-29 17:32:19 -07:00
anthony
bca96b1079
pass guest OS name instead of guest ID when start system VM
2010-09-29 17:18:27 -07:00
anthony
be5fa82229
remove snapshotpolicyRef
2010-09-29 16:24:57 -07:00
anthony
9b03017a07
bug 6354: return correct interval
...
status 6354: resolved fixed
2010-09-29 16:09:06 -07:00
anthony
5b75f8e03b
bug 6365: find policy from volumeId instead of snapshotID
...
status 6365: resolved fixed
2010-09-29 15:25:46 -07:00
Kris McQueen
da660f2575
Change session parameters to be their actual type (domainId and userId are saved to the session as Longs and not Strings)
2010-09-29 15:18:43 -07:00
Kris McQueen
9e2d1f5e70
Refactoring disableUser and disableAccount to new API framework (they are both async commands).
2010-09-29 13:57:26 -07:00
abhishek
cd42fcc1bf
some code refactoring
2010-09-29 11:17:42 -07:00
kishan
153dca3ddf
bug 6195: removed service offering Id for ROOT volumes in usage data
2010-09-29 18:29:07 +05:30
kishan
9e87534e42
bug 6216: Added Id to listAlerts response
2010-09-29 15:52:13 +05:30
anthony
319d4f1aa0
snapshot redesign
...
1. use full snapshot and delta snapshot, there are maxsnashot/2 of delta snapshot between two full snapshot
2. only support one policy for one volume
3. remove all coleases in secondary storage.
2010-09-28 18:37:46 -07:00
Kris McQueen
95a7f20a0a
Adding in XML response serializing. Now the new API framework supports both XML and JSON responses the way the old framework did.
2010-09-28 17:36:27 -07:00
Kris McQueen
848ce60097
Merging master into 2.1.refactor, resolve the merge conflicts as best I can. New commands related to extracting template/iso/volume and related to instance groups were refactored to the new API framework.
2010-09-28 15:47:14 -07:00
abhishek
e5186bde2b
bug 5190: a part of the enhancement is complete; now we can upload a custom cert using a file from our local machine, into the system. It is stored in the certificate table as a "text" column
2010-09-28 13:52:14 -07:00